/* Juliana Nails – Kundenservice page.
 * Native Gutenberg content/layout + one small dynamic wp_mail form block.
 * No frontend JavaScript required.
 */
.jnds-customer-service-page,
.jnds-customer-service-page * {
    box-sizing: border-box;
}

.jnds-customer-service-page {
    --jnds-service-rail: 1600px;
    --jnds-service-text: #231f20;
    --jnds-service-dark: #212121;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 14px clamp(56px, 6vw, 90px) !important;
    color: var(--jnds-service-text);
    font-family: Montserrat, Arial, sans-serif;
}

.jnds-customer-service-hero,
.jnds-customer-service-main {
    width: min(100%, var(--jnds-service-rail));
    max-width: var(--jnds-service-rail) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.jnds-customer-service-hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.jnds-customer-service-hero figure {
    margin: 0 !important;
}

.jnds-customer-service-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.jnds-customer-service-hero figcaption,
.jnds-customer-service-hero .wp-element-caption {
    display: none !important;
}

.jnds-customer-service-main {
    margin-top: clamp(34px, 4.5vw, 64px) !important;
}

.jnds-customer-service-columns {
    gap: clamp(36px, 5vw, 80px) !important;
    align-items: flex-start !important;
    margin: 0 !important;
}

.jnds-customer-service-columns > .wp-block-column {
    min-width: 0;
    margin: 0 !important;
}

.jnds-customer-service-columns > .wp-block-column + .wp-block-column {
    border-left: 1px solid #eee;
    padding-left: clamp(36px, 5vw, 80px);
}

.jnds-customer-service-eyebrow {
    margin: 0 0 3px !important;
    color: #8e8e8e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.jnds-customer-service-heading {
    margin: 0 0 24px !important;
    color: #191919 !important;
    font-size: clamp(27px, 2.1vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
}

.jnds-customer-service-subheading {
    margin: 26px 0 8px !important;
    color: #191919 !important;
    font-size: clamp(20px, 1.5vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
}

.jnds-customer-service-copy {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.jnds-customer-service-copy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jnds-customer-service-form {
    width: 100%;
    margin: 0 !important;
}

.jnds-customer-service-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.jnds-customer-service-form__field {
    grid-column: 1 / -1;
    min-width: 0;
}

.jnds-customer-service-form__field--half {
    grid-column: auto;
}

.jnds-customer-service-form label,
.jnds-customer-service-form__field > label {
    display: block;
    margin: 0 0 7px;
    color: #272727;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.jnds-customer-service-form input[type='text'],
.jnds-customer-service-form input[type='email'],
.jnds-customer-service-form textarea {
    width: 100%;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    background: #fff;
    color: #231f20;
    font: inherit;
    font-size: 15px;
    line-height: 1.35;
}

.jnds-customer-service-form input[type='text'],
.jnds-customer-service-form input[type='email'] {
    min-height: 48px;
}

.jnds-customer-service-form textarea {
    min-height: 150px;
    resize: vertical;
}

.jnds-customer-service-form input:focus,
.jnds-customer-service-form textarea:focus {
    outline: 2px solid #d4a5ae;
    outline-offset: 1px;
    border-color: #d4a5ae;
}

.jnds-customer-service-form__acceptance {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 0 !important;
    font-weight: 500 !important;
}

.jnds-customer-service-form__acceptance input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.jnds-customer-service-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin: 22px 0 0;
    padding: 14px 28px;
    border: 0;
    border-radius: 15px;
    background: var(--jnds-service-dark);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.jnds-customer-service-form__submit:hover,
.jnds-customer-service-form__submit:focus-visible {
    background: #000;
}

.jnds-customer-service-form__notice {
    margin: 0 0 20px !important;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.jnds-customer-service-form__notice--success {
    background: #eef8f0;
    color: #205d2d;
}

.jnds-customer-service-form__notice--error {
    background: #fff0f0;
    color: #8a2020;
}

.jnds-customer-service-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

@media (max-width: 781px) {
    .jnds-customer-service-page {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .jnds-customer-service-columns {
        gap: 34px !important;
    }

    .jnds-customer-service-columns > .wp-block-column + .wp-block-column {
        border-left: 0;
        border-top: 1px solid #eee;
        padding-top: 28px;
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .jnds-customer-service-form__grid {
        grid-template-columns: 1fr;
    }

    .jnds-customer-service-form__field,
    .jnds-customer-service-form__field--half {
        grid-column: 1;
    }

    .jnds-customer-service-form__submit {
        width: 100%;
    }
}


/* =========================================================
   RC119 - HR contact page layout hardening
   Break the page out of Shoptimizer's narrow article rail and keep the
   redesign on the same wide JN content rail used by the modern pages.
   ========================================================= */
body.jnds-contact-hr-active {
    overflow-x: clip;
}

body.jnds-contact-hr-active .site-content {
    padding-top: 0 !important;
}

body.jnds-contact-hr-active .site-content > .col-full,
body.jnds-contact-hr-active .site-content .col-full,
body.jnds-contact-hr-active .site-content .content-area,
body.jnds-contact-hr-active .site-content #primary,
body.jnds-contact-hr-active .site-content .site-main,
body.jnds-contact-hr-active .site-content #main,
body.jnds-contact-hr-active .site-content article.type-page,
body.jnds-contact-hr-active .site-content article.page,
body.jnds-contact-hr-active .site-content .entry-content {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.jnds-contact-hr-active .site-content .entry-content::before,
body.jnds-contact-hr-active .site-content .entry-content::after {
    content: none !important;
}

body.jnds-contact-hr-active .site-content .entry-header,
body.jnds-contact-hr-active .rank-math-breadcrumb {
    display: none !important;
}

/* =========================================================
   RC118 - HR contact page redesign
   Core Gutenberg only, no frontend JavaScript.
   ========================================================= */
.jnds-customer-service-page--hr {
    --jnds-contact-pink: #ec74a3;
    --jnds-contact-pink-soft: #fbf1f5;
    --jnds-contact-pink-border: #efd8e1;
    --jnds-contact-ink: #202020;
    --jnds-contact-muted: #6f6b6d;
    --jnds-contact-rail: 1400px;
    padding-right: 0 !important;
    padding-bottom: clamp(58px, 6vw, 92px) !important;
    padding-left: 0 !important;
    overflow-x: clip;
}

.jnds-contact-hr-hero {
    width: 100%;
    margin: 0 !important;
    padding: clamp(58px, 7vw, 104px) 20px !important;
    background:
        radial-gradient(circle at 88% 24%, rgba(236,116,163,.26), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff 54%, #fbf1f5 100%);
    border-bottom: 1px solid #f2e4e9;
}

.jnds-contact-hr-hero__inner,
.jnds-contact-hr-main {
    width: min(100%, var(--jnds-contact-rail));
    max-width: var(--jnds-contact-rail) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.jnds-contact-hr-hero__inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.jnds-contact-hr-eyebrow,
.jnds-contact-hr-section-label,
.jnds-contact-hr-card__topic {
    margin: 0 0 8px !important;
    color: var(--jnds-contact-pink) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jnds-contact-hr-title {
    max-width: 880px;
    margin: 0 !important;
    color: var(--jnds-contact-ink) !important;
    font-size: clamp(38px, 5vw, 72px) !important;
    font-weight: 900 !important;
    line-height: .98 !important;
    letter-spacing: -.045em;
}

.jnds-contact-hr-intro {
    max-width: 760px;
    margin: 22px 0 0 !important;
    color: var(--jnds-contact-muted) !important;
    font-size: clamp(16px, 1.45vw, 20px) !important;
    line-height: 1.65 !important;
}

.jnds-contact-hr-pills {
    gap: 10px !important;
    margin-top: 30px !important;
}

.jnds-contact-hr-pills p {
    margin: 0 !important;
    padding: 10px 16px;
    border: 1px solid var(--jnds-contact-pink-border);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #3c3638;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(40,24,30,.04);
}

.jnds-contact-hr-main {
    margin-top: clamp(48px, 5vw, 76px) !important;
    padding: 0 20px !important;
}

.jnds-contact-hr-section-title {
    margin: 0 !important;
    color: var(--jnds-contact-ink) !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    letter-spacing: -.03em;
}

.jnds-contact-hr-section-copy {
    max-width: 720px;
    margin: 12px 0 0 !important;
    color: var(--jnds-contact-muted) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.jnds-contact-hr-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
    margin: 30px 0 0 !important;
}

.jnds-contact-hr-cards > .wp-block-column {
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
}

.jnds-contact-hr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    height: 100%;
    margin: 0 !important;
    padding: clamp(24px, 2.4vw, 34px) !important;
    border: 1px solid var(--jnds-contact-pink-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(37,25,30,.055);
    overflow: hidden;
}

.jnds-contact-hr-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at top right, rgba(236,116,163,.18), transparent 68%);
    pointer-events: none;
}

.jnds-contact-hr-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 0 24px !important;
    border-radius: 50%;
    background: var(--jnds-contact-pink-soft);
    color: var(--jnds-contact-pink) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.jnds-contact-hr-card__topic {
    margin-bottom: 5px !important;
}

.jnds-contact-hr-card__title {
    margin: 0 !important;
    color: var(--jnds-contact-ink) !important;
    font-size: clamp(24px, 2vw, 31px) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em;
}

.jnds-contact-hr-card__description {
    min-height: 48px;
    margin: 12px 0 0 !important;
    color: var(--jnds-contact-muted) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.jnds-contact-hr-card__details {
    flex: 1 1 auto;
    margin-top: 26px !important;
    padding-top: 22px !important;
    border-top: 1px solid #f0e5e9;
}

.jnds-contact-hr-card__meta-label {
    margin: 16px 0 4px !important;
    color: #aaa0a4 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: .11em;
}

.jnds-contact-hr-card__details > .jnds-contact-hr-card__meta-label:first-child {
    margin-top: 0 !important;
}

.jnds-contact-hr-card__phone,
.jnds-contact-hr-card__hours,
.jnds-contact-hr-card__email {
    margin: 0 !important;
    color: #2b2929 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.jnds-contact-hr-card__phone a,
.jnds-contact-hr-card__email a {
    color: inherit !important;
    font-weight: 800;
    text-decoration: none !important;
}

.jnds-contact-hr-card__email a {
    overflow-wrap: anywhere;
}

.jnds-contact-hr-card__actions {
    gap: 9px !important;
    margin-top: auto !important;
    padding-top: 26px;
}

.jnds-contact-hr-card__actions .wp-block-button__link {
    min-height: 44px;
    padding: 12px 17px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.jnds-contact-hr-card__call .wp-block-button__link {
    border: 1px solid #222 !important;
    background: #222 !important;
    color: #fff !important;
}

.jnds-contact-hr-card__mail .wp-block-button__link {
    border: 1px solid #dec5cf !important;
    background: transparent !important;
    color: #30282b !important;
}

.jnds-contact-hr-card__actions .wp-block-button__link:hover,
.jnds-contact-hr-card__actions .wp-block-button__link:focus-visible {
    transform: translateY(-1px);
}

.jnds-contact-hr-note {
    gap: 14px !important;
    margin-top: 24px !important;
    padding: 18px 20px !important;
    border-radius: 14px;
    background: var(--jnds-contact-pink-soft);
}

.jnds-contact-hr-note__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin: 0 !important;
    border-radius: 50%;
    background: #fff;
    color: var(--jnds-contact-pink) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.jnds-contact-hr-note__copy {
    margin: 0 !important;
    color: #4b4145 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

@media (max-width: 1000px) {
    .jnds-contact-hr-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .jnds-contact-hr-cards > .wp-block-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 781px) {
    .jnds-contact-hr-cards {
        grid-template-columns: 1fr !important;
    }

    .jnds-contact-hr-cards > .wp-block-column:last-child {
        grid-column: auto;
    }

    .jnds-contact-hr-card__description {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .jnds-contact-hr-hero {
        padding: 44px 18px 50px !important;
    }

    .jnds-contact-hr-main {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .jnds-contact-hr-title {
        font-size: clamp(36px, 11vw, 52px) !important;
    }

    .jnds-contact-hr-pills {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .jnds-contact-hr-pills::-webkit-scrollbar {
        display: none;
    }

    .jnds-contact-hr-pills p {
        flex: 0 0 auto;
    }

    .jnds-contact-hr-card {
        padding: 24px 20px !important;
        border-radius: 16px;
    }

    .jnds-contact-hr-card__actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .jnds-contact-hr-card__actions .wp-block-button,
    .jnds-contact-hr-card__actions .wp-block-button__link {
        width: 100%;
    }
}


/* RC119: desktop polish — cards use the available rail and CTA rows line up exactly. */
@media (min-width: 1001px) {
    .jnds-contact-hr-hero__inner,
    .jnds-contact-hr-main {
        width: min(calc(100% - 40px), var(--jnds-contact-rail)) !important;
    }

    .jnds-contact-hr-card__actions {
        display: grid !important;
        grid-template-columns: minmax(112px, .78fr) minmax(148px, 1fr);
        align-items: stretch !important;
        width: 100%;
    }

    .jnds-contact-hr-card__actions .wp-block-button,
    .jnds-contact-hr-card__actions .wp-block-button__link {
        width: 100%;
        height: 100%;
    }
}

/* =========================================================
   RC120 - HR contact cards: remove Gutenberg constrained-child rail
   The main group uses a constrained layout, so its Columns block inherited
   WordPress' global reading width and squeezed three cards into a narrow row.
   Let the cards + response note use the full JN contact rail instead.
   ========================================================= */
.jnds-customer-service-page--hr .jnds-contact-hr-main.is-layout-constrained > .jnds-contact-hr-cards,
.jnds-customer-service-page--hr .jnds-contact-hr-main.is-layout-constrained > .jnds-contact-hr-note {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Keep both CTAs safely inside every card even if a theme/editor rule narrows it. */
@media (min-width: 1001px) {
    .jnds-contact-hr-card__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .jnds-contact-hr-card__actions .wp-block-button,
    .jnds-contact-hr-card__actions .wp-block-button__link {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .jnds-contact-hr-card__actions .wp-block-button__link {
        padding-right: 12px !important;
        padding-left: 12px !important;
        white-space: nowrap;
    }
}
