/* Juliana Nails – Jobs page.
 * Core Gutenberg for layout/content + one small dynamic application form block.
 * No frontend JavaScript required.
 */
.jnds-jobs-page,
.jnds-jobs-page * {
    box-sizing: border-box;
}

.jnds-jobs-page {
    --jnds-jobs-rail: 1600px;
    --jnds-jobs-text: #231f20;
    --jnds-jobs-dark: #212121;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    color: var(--jnds-jobs-text);
    font-family: Montserrat, Arial, sans-serif;
}

.jnds-jobs-hero-desktop {
    position: relative;
    min-height: 470px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.jnds-jobs-hero__image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.jnds-jobs-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.jnds-jobs-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 470px;
    margin: 0 !important;
    padding: clamp(70px, 7vw, 112px) max(24px, calc((100% - var(--jnds-jobs-rail)) / 2)) !important;
}

.jnds-jobs-hero__content {
    width: min(50%, 760px);
    margin: 0 !important;
}

.jnds-jobs-hero__title,
.jnds-jobs-hero__subtitle {
    color: #000 !important;
}

.jnds-jobs-hero__title {
    margin: 0 !important;
    font-size: clamp(34px, 3.3vw, 58px) !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
}

.jnds-jobs-hero__subtitle {
    margin: 16px 0 0 !important;
    font-size: clamp(20px, 1.7vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.jnds-jobs-hero-mobile {
    display: none;
    margin: 0 !important;
}

.jnds-jobs-hero-mobile figure,
.jnds-jobs-hero-mobile img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
}

.jnds-jobs-content {
    width: min(calc(100% - 28px), var(--jnds-jobs-rail));
    max-width: var(--jnds-jobs-rail) !important;
    margin: 0 auto !important;
    padding: clamp(32px, 4.2vw, 64px) 0 clamp(56px, 6vw, 96px) !important;
}

.jnds-jobs-section-title {
    margin: 0 0 16px !important;
    color: #272727;
    font-size: clamp(25px, 2vw, 36px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.jnds-jobs-section-title + .jnds-jobs-section-title {
    margin-top: 32px !important;
}

.jnds-jobs-accordion {
    margin: 0 0 14px !important;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: clip;
    background: #fff;
}

.jnds-jobs-accordion summary {
    position: relative;
    padding: 18px 54px 18px 20px;
    color: #272727;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.jnds-jobs-accordion summary::-webkit-details-marker {
    display: none;
}

.jnds-jobs-accordion summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}

.jnds-jobs-accordion[open] summary::after {
    content: '−';
}

.jnds-jobs-accordion__body {
    padding: 0 20px 22px !important;
}

.jnds-jobs-accordion__body p {
    margin: 0 0 12px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

.jnds-jobs-accordion__body p:last-child {
    margin-bottom: 0 !important;
}

.jnds-jobs-accordion__body a {
    color: inherit;
}

.jnds-jobs-form-wrap {
    margin-top: clamp(40px, 5vw, 72px) !important;
}

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

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

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

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

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

.jnds-job-form input[type='text'],
.jnds-job-form input[type='email'],
.jnds-job-form input[type='file'],
.jnds-job-form textarea {
    width: 100%;
    min-height: 48px;
    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-job-form input[type='file'] {
    padding: 9px 12px;
}

.jnds-job-form textarea {
    min-height: 140px;
    resize: vertical;
}

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

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

.jnds-job-form__acceptance input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

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

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

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

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

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

.jnds-job-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;
}

.jnds-job-form__hint {
    margin: 6px 0 0 !important;
    color: #666;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

@media (max-width: 767px) {
    .jnds-jobs-hero-desktop {
        display: none !important;
    }

    .jnds-jobs-hero-mobile {
        display: block !important;
        width: 100vw;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    .jnds-jobs-content {
        width: min(calc(100% - 28px), var(--jnds-jobs-rail));
        padding-top: 28px !important;
    }

    .jnds-job-form__grid {
        grid-template-columns: 1fr;
    }

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

    .jnds-jobs-accordion summary {
        padding: 16px 46px 16px 16px;
        font-size: 16px;
    }

    .jnds-jobs-accordion__body {
        padding: 0 16px 18px !important;
    }
}

/* RC133 – Croatian career / open application page. */
.jnds-job-form input[type='tel'] {
    width: 100%;
    min-height: 48px;
    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-job-form input[type='tel']:focus {
    outline: 2px solid #d4a5ae;
    outline-offset: 1px;
    border-color: #d4a5ae;
}

.jnds-jobs-page--hr {
    --jnds-jobs-hr-rail: 1320px;
    --jnds-jobs-hr-pink: #ef72a4;
    --jnds-jobs-hr-pink-soft: #fbf1f5;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: clip;
    background: #fff;
}

.jnds-jobs-hr-hero,
.jnds-jobs-hr-hero__picture,
.jnds-jobs-hr-hero__image {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.jnds-jobs-hr-hero__image {
    height: auto;
    object-fit: cover;
    vertical-align: top;
}

.jnds-jobs-hr-content {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.42fr);
    gap: clamp(32px, 5vw, 78px);
    align-items: start;
    width: min(calc(100% - 40px), var(--jnds-jobs-hr-rail));
    max-width: var(--jnds-jobs-hr-rail) !important;
    margin: 0 auto !important;
    padding: clamp(44px, 6vw, 88px) 0 clamp(60px, 7vw, 104px) !important;
}

.jnds-jobs-hr-intro,
.jnds-jobs-hr-form-card {
    margin: 0 !important;
}

.jnds-jobs-hr-intro {
    position: sticky;
    top: 110px;
    padding-top: 8px;
}

.jnds-jobs-hr-eyebrow,
.jnds-jobs-hr-form-eyebrow {
    margin: 0 0 10px !important;
    color: var(--jnds-jobs-hr-pink) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .08em;
    line-height: 1.2 !important;
}

.jnds-jobs-hr-title {
    margin: 0 !important;
    color: #222 !important;
    font-size: clamp(38px, 4vw, 64px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em;
    line-height: .98 !important;
}

.jnds-jobs-hr-lead {
    max-width: 560px;
    margin: 20px 0 0 !important;
    color: #5f5b5d !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
}

.jnds-jobs-hr-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0 !important;
}

.jnds-jobs-hr-docs p {
    margin: 0 !important;
    padding: 8px 12px;
    border: 1px solid #ead9e0;
    border-radius: 999px;
    background: #fff;
    color: #332d30;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.jnds-jobs-hr-form-card {
    padding: clamp(24px, 3vw, 42px) !important;
    border: 1px solid #eadde2;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
    box-shadow: 0 16px 42px rgba(34, 25, 29, .07);
}

.jnds-jobs-hr-form-title {
    margin: 0 !important;
    color: #222 !important;
    font-size: clamp(28px, 2.4vw, 40px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em;
    line-height: 1.05 !important;
}

.jnds-jobs-hr-form-copy {
    margin: 12px 0 26px !important;
    color: #706b6d !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.jnds-job-form--hr .jnds-job-form__grid {
    gap: 18px 16px;
}

.jnds-job-form--hr label,
.jnds-job-form--hr .jnds-job-form__field > label {
    color: #2a2527;
    font-size: 13px;
    font-weight: 800;
}

.jnds-job-form--hr input[type='text'],
.jnds-job-form--hr input[type='email'],
.jnds-job-form--hr input[type='tel'],
.jnds-job-form--hr input[type='file'],
.jnds-job-form--hr textarea {
    min-height: 50px;
    border-color: #ded6d9;
    border-radius: 10px;
    background: #fff;
}

.jnds-job-form--hr textarea {
    min-height: 150px;
}

.jnds-job-form--hr .jnds-job-form__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    border-radius: 10px;
    background: #222;
}

.jnds-job-form--hr .jnds-job-form__submit:hover,
.jnds-job-form--hr .jnds-job-form__submit:focus-visible {
    background: #000;
}

@media (max-width: 980px) {
    .jnds-jobs-hr-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .jnds-jobs-hr-intro {
        position: static;
        max-width: 760px;
    }
}

@media (max-width: 767px) {
    .jnds-jobs-page--hr {
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .jnds-jobs-hr-content {
        width: min(calc(100% - 28px), var(--jnds-jobs-hr-rail));
        padding: 34px 0 64px !important;
    }

    .jnds-jobs-hr-title {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    .jnds-jobs-hr-lead {
        margin-top: 16px !important;
        font-size: 15px !important;
    }

    .jnds-jobs-hr-form-card {
        padding: 22px 16px !important;
        border-radius: 14px;
    }

    .jnds-job-form--hr .jnds-job-form__grid {
        grid-template-columns: 1fr;
    }

    .jnds-job-form--hr .jnds-job-form__field,
    .jnds-job-form--hr .jnds-job-form__field--half {
        grid-column: 1;
    }
}
