/**
 * RPNL CSS MODULE: JOBS
 *
 * Oferty pracy, archiwum ofert, pojedyncza oferta i formularz dodawania.
 *
 * Źródło: main.css z motywu RPNL v1.5.5.
 * Moduł nie jest jeszcze ładowany przez functions.php.
 */

/* =========================================================
   POJEDYNCZA OFERTA PRACY
   ========================================================= */

.rpnl-job-single {
    padding: 34px 0 70px;
}

.rpnl-job-single__container {
    width: calc(100% - 48px);
    max-width: var(--rpnl-container);
    margin-inline: auto;
}

.rpnl-job-single__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
    color: var(--rpnl-text-muted);
    font-size: 0.86rem;
}

.rpnl-job-single__breadcrumbs a {
    color: var(--rpnl-text-muted);
}

.rpnl-job-single__breadcrumbs a:hover {
    color: var(--rpnl-red);
}

/* Nagłówek oferty */

.rpnl-job-single__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 38px 42px;
    margin-bottom: 30px;
    background: var(--rpnl-navy);
    color: var(--rpnl-white);
    border-radius: var(--rpnl-radius);
    box-shadow: var(--rpnl-shadow);
}

.rpnl-job-single__hero-content {
    min-width: 0;
}

.rpnl-job-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 17px;
}

.rpnl-job-badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.rpnl-job-badge--active {
    background: #dcfce7;
    color: #166534;
}

.rpnl-job-badge--expired {
    background: #fee2e2;
    color: #991b1b;
}

.rpnl-job-badge--featured {
    background: #fef3c7;
    color: #92400e;
}

.rpnl-job-badge--verified {
    background: #dbeafe;
    color: #1e40af;
}

.rpnl-job-single__hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--rpnl-white);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.rpnl-job-single__company {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    font-weight: 700;
}

.rpnl-job-single__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 24px;
}

.rpnl-job-single__summary span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 700;
}

.rpnl-job-single__logo {
    display: flex;
    flex: 0 0 150px;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    padding: 18px;
    overflow: hidden;
    background: var(--rpnl-white);
    border-radius: 16px;
}

.rpnl-job-single__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Układ treści */

.rpnl-job-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    align-items: start;
}

.rpnl-job-single__main {
    min-width: 0;
}

.rpnl-job-section {
    padding: 30px 34px;
    margin-bottom: 22px;
    background: var(--rpnl-white);
    border: 1px solid var(--rpnl-border);
    border-radius: var(--rpnl-radius);
    box-shadow: 0 5px 18px rgba(11, 45, 77, 0.05);
}

.rpnl-job-section h2 {
    padding-bottom: 14px;
    margin: 0 0 22px;
    color: var(--rpnl-navy);
    font-size: 1.42rem;
    line-height: 1.25;
    border-bottom: 2px solid var(--rpnl-border);
}

.rpnl-job-section h2::after {
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 14px;
    margin-bottom: -17px;
    background: var(--rpnl-red);
    content: "";
}

.rpnl-job-section__content > *:first-child {
    margin-top: 0;
}

.rpnl-job-section__content > *:last-child {
    margin-bottom: 0;
}

/* Tabele danych */

.rpnl-job-details {
    margin: 0;
}

.rpnl-job-details > div {
    display: grid;
    grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
    gap: 22px;
    padding: 15px 0;
    border-bottom: 1px solid var(--rpnl-border);
}

.rpnl-job-details > div:first-child {
    padding-top: 0;
}

.rpnl-job-details > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.rpnl-job-details dt {
    color: var(--rpnl-text-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.rpnl-job-details dd {
    min-width: 0;
    margin: 0;
    color: var(--rpnl-text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.rpnl-job-info-block {
    padding: 20px 22px;
    margin-top: 16px;
    background: var(--rpnl-background);
    border-left: 4px solid var(--rpnl-blue);
    border-radius: 8px;
}

.rpnl-job-info-block:first-of-type {
    margin-top: 0;
}

.rpnl-job-info-block--important {
    background: #fff7ed;
    border-left-color: #ea580c;
}

.rpnl-job-info-block h3 {
    margin: 0 0 8px;
    color: var(--rpnl-navy);
    font-size: 1rem;
}

.rpnl-job-info-block p {
    margin: 0;
}

/* Komunikaty */

.rpnl-job-alert {
    padding: 22px 24px;
    margin-bottom: 22px;
    border: 1px solid;
    border-radius: var(--rpnl-radius);
}

.rpnl-job-alert--expired {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.rpnl-job-alert--notice {
    background: #fff8e6;
    color: #573a00;
    border-color: #f2c66d;
    border-left: 6px solid #d97706;
}

.rpnl-job-alert--notice h2 {
    margin: 0 0 12px;
    color: #7c2d12;
    font-size: 1.25rem;
}

.rpnl-job-alert--notice p {
    margin: 0 0 12px;
}

.rpnl-job-alert--notice p:last-child {
    margin-bottom: 0;
}

/* Panel kontaktowy */

.rpnl-job-contact {
    position: sticky;
    top: 112px;
}

.rpnl-job-contact__card {
    padding: 28px;
    background: var(--rpnl-white);
    border: 1px solid var(--rpnl-border);
    border-top: 5px solid var(--rpnl-red);
    border-radius: var(--rpnl-radius);
    box-shadow: var(--rpnl-shadow);
}

.rpnl-job-contact__eyebrow {
    margin: 0 0 8px;
    color: var(--rpnl-red);
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rpnl-job-contact h2 {
    margin: 0 0 16px;
    color: var(--rpnl-navy);
    font-size: 1.45rem;
    line-height: 1.2;
}

.rpnl-job-contact__name {
    padding-bottom: 15px;
    margin: 0 0 18px;
    font-weight: 700;
    border-bottom: 1px solid var(--rpnl-border);
}

.rpnl-job-contact__actions {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.rpnl-job-contact__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    color: var(--rpnl-navy);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    background: var(--rpnl-white);
    border: 2px solid var(--rpnl-navy);
    border-radius: 8px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.rpnl-job-contact__button:hover,
.rpnl-job-contact__button:focus-visible {
    background: var(--rpnl-navy);
    color: var(--rpnl-white);
}

.rpnl-job-contact__button--primary {
    background: var(--rpnl-red);
    color: var(--rpnl-white);
    border-color: var(--rpnl-red);
}

.rpnl-job-contact__button--primary:hover,
.rpnl-job-contact__button--primary:focus-visible {
    background: var(--rpnl-navy);
    border-color: var(--rpnl-navy);
}

.rpnl-job-contact__note,
.rpnl-job-contact__disclaimer,
.rpnl-job-contact__expiry {
    font-size: 0.84rem;
    line-height: 1.5;
}

.rpnl-job-contact__note {
    padding: 13px 15px;
    background: var(--rpnl-background);
    border-radius: 7px;
}

.rpnl-job-contact__disclaimer {
    color: var(--rpnl-text-muted);
}

.rpnl-job-contact__expiry {
    padding-top: 15px;
    margin-bottom: 0;
    color: var(--rpnl-navy);
    border-top: 1px solid var(--rpnl-border);
}

/* Stopka widoku */

.rpnl-job-single__footer {
    margin-top: 28px;
}

.rpnl-job-single__footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 17px;
    color: var(--rpnl-navy);
    font-size: 0.9rem;
    font-weight: 800;
    background: var(--rpnl-white);
    border: 1px solid var(--rpnl-border);
    border-radius: 8px;
}

.rpnl-job-single__footer a:hover {
    color: var(--rpnl-red);
    border-color: var(--rpnl-red);
}

/* Tablet */

@media (max-width: 980px) {
    .rpnl-job-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rpnl-job-contact {
        position: static;
    }

    .rpnl-job-contact__card {
        max-width: none;
    }
}

/* Telefon */

@media (max-width: 700px) {
    .rpnl-job-single {
        padding: 22px 0 45px;
    }

    .rpnl-job-single__container {
        width: calc(100% - 24px);
    }

    .rpnl-job-single__breadcrumbs {
        margin-bottom: 16px;
        font-size: 0.76rem;
    }

    .rpnl-job-single__breadcrumbs span[aria-current="page"] {
        display: none;
    }

    .rpnl-job-single__hero {
        align-items: flex-start;
        padding: 25px 21px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .rpnl-job-single__hero h1 {
        font-size: 1.85rem;
    }

    .rpnl-job-single__company {
        font-size: 1rem;
    }

    .rpnl-job-single__summary {
        display: grid;
        gap: 8px;
        margin-top: 19px;
    }

    .rpnl-job-single__logo {
        display: none;
    }

    .rpnl-job-single__layout {
        gap: 20px;
    }

    .rpnl-job-section {
        padding: 23px 20px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .rpnl-job-section h2 {
        font-size: 1.24rem;
    }

    .rpnl-job-details > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 13px 0;
    }

    .rpnl-job-details dt {
        font-size: 0.78rem;
    }

    .rpnl-job-alert {
        padding: 19px 18px;
        margin-bottom: 16px;
    }

    .rpnl-job-alert--notice h2 {
        font-size: 1.14rem;
    }

    .rpnl-job-contact__card {
        padding: 23px 20px;
    }

    .rpnl-job-contact h2 {
        font-size: 1.3rem;
    }

    .rpnl-job-single__footer {
        margin-top: 20px;
    }
}
/* ==========================================================
   OFERTY PRACY — ARCHIWUM I POJEDYNCZA OFERTA
   Wyłącznie klasy modułu pracy.
   ========================================================== */

.rpnl-jobs-archive,
.rpnl-job-single {
    padding: 24px 0 64px;
    color: var(--rpnl-text, #1e293b);
    background: var(--rpnl-background, #f5f8fc);
}

.rpnl-jobs-archive *,
.rpnl-jobs-archive *::before,
.rpnl-jobs-archive *::after,
.rpnl-job-single *,
.rpnl-job-single *::before,
.rpnl-job-single *::after {
    box-sizing: border-box;
}

.rpnl-jobs-archive__container,
.rpnl-job-single__container {
    width: min(calc(100% - 40px), 1150px);
    margin-inline: auto;
}

/* Archiwum: hero */

.rpnl-jobs-hero {
    width: min(calc(100% - 64px), 1840px);
    padding: 28px 0 32px;
    margin: 0 auto 28px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(22, 119, 255, 0.26), transparent 34%),
        linear-gradient(135deg, #0b2d4d, #103f6b);
    border-radius: 15px;
}

.rpnl-jobs-breadcrumbs,
.rpnl-job-single__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
}

.rpnl-jobs-breadcrumbs {
    color: rgba(255, 255, 255, 0.72);
}

.rpnl-jobs-breadcrumbs a {
    color: rgba(255, 255, 255, 0.88);
}

.rpnl-jobs-breadcrumbs a,
.rpnl-job-single__breadcrumbs a {
    text-decoration: none;
}

.rpnl-jobs-hero__content {
    max-width: 760px;
}

.rpnl-jobs-hero__eyebrow,
.rpnl-jobs-filters__eyebrow,
.rpnl-job-contact__eyebrow {
    margin: 0 0 8px;
    color: #e30613;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rpnl-jobs-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.1;
}

.rpnl-jobs-hero__content > p:last-child {
    max-width: 700px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

/* Archiwum: filtry */

.rpnl-jobs-filters,
.rpnl-jobs-empty,
.rpnl-jobs-disclaimer,
.rpnl-job-single__hero,
.rpnl-job-section,
.rpnl-job-contact__card,
.rpnl-job-alert {
    background: #fff;
    border: 1px solid var(--rpnl-border, #dbe4ee);
    border-radius: var(--rpnl-radius, 12px);
    box-shadow: var(--rpnl-shadow, 0 8px 24px rgba(11, 45, 77, 0.08));
}

.rpnl-jobs-filters {
    padding: 26px;
    margin-bottom: 24px;
}

.rpnl-jobs-filters__heading,
.rpnl-jobs-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rpnl-jobs-filters__heading {
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--rpnl-border, #dbe4ee);
}

.rpnl-jobs-filters h2,
.rpnl-jobs-empty h2,
.rpnl-jobs-disclaimer h2,
.rpnl-job-section h2,
.rpnl-job-contact h2 {
    margin: 0;
    color: #0b2d4d;
}

.rpnl-jobs-filters__reset {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.rpnl-jobs-filters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.rpnl-jobs-filter-field--search {
    grid-column: span 2;
}

.rpnl-jobs-filters__submit {
    align-self: end;
}

.rpnl-jobs-filter-field label {
    display: block;
    margin-bottom: 7px;
    color: #0b2d4d;
    font-size: 0.78rem;
    font-weight: 800;
}

.rpnl-jobs-filter-field input,
.rpnl-jobs-filter-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    color: #1e293b;
    font: inherit;
    font-size: 0.88rem;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.rpnl-jobs-filter-field input:focus,
.rpnl-jobs-filter-field select:focus {
    border-color: #1677ff;
    outline: 3px solid rgba(22, 119, 255, 0.14);
}


.rpnl-job-place-autocomplete {
    position: relative;
}

.rpnl-job-place-suggestions {
    position: absolute;
    z-index: 80;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    box-shadow: 0 14px 32px rgba(11, 45, 77, 0.16);
}

.rpnl-job-place-suggestion {
    display: block;
    width: 100%;
    padding: 11px 13px;
    color: #1e293b;
    font: inherit;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eef2f7;
}

.rpnl-job-place-suggestion:last-child {
    border-bottom: 0;
}

.rpnl-job-place-suggestion:hover,
.rpnl-job-place-suggestion:focus-visible {
    color: #0b2d4d;
    background: #f1f6fb;
    outline: 0;
}

.rpnl-jobs-geo-notice {
    padding: 12px 15px;
    margin: -10px 0 20px;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.5;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-left: 4px solid #1677ff;
    border-radius: 8px;
}

.rpnl-jobs-filters__submit,
.rpnl-job-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 20px;
    color: #fff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background: #e30613;
    border: 2px solid #e30613;
    border-radius: 8px;
}

.rpnl-jobs-filters__submit:hover,
.rpnl-job-contact__button:hover {
    background: #0b2d4d;
    border-color: #0b2d4d;
}

.rpnl-jobs-results-bar {
    min-height: 42px;
    margin-bottom: 12px;
}

.rpnl-jobs-results-bar p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 700;
}

/* Archiwum: odseparowane karty */

.rpnl-job-listings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rpnl-job-listing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rpnl-border, #dbe4ee);
    border-radius: var(--rpnl-radius, 12px);
    box-shadow: 0 5px 18px rgba(11, 45, 77, 0.06);
}

.rpnl-job-listing-card--featured {
    border-top: 4px solid #e30613;
}

.rpnl-job-listing-card__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 17px 19px 0;
}

.rpnl-job-listing-card__badges,
.rpnl-job-listing-card__extras,
.rpnl-job-single__badges,
.rpnl-job-single__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rpnl-job-listing-card__badge,
.rpnl-job-badge,
.rpnl-job-listing-card__extras span {
    display: inline-flex;
    padding: 5px 8px;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 800;
    background: #f1f5f9;
    border-radius: 5px;
}

.rpnl-job-listing-card__badge--featured,
.rpnl-job-badge--featured,
.rpnl-job-badge--expired {
    color: #991b1b;
    background: #fee2e2;
}

.rpnl-job-listing-card__badge--verified,
.rpnl-job-badge--verified,
.rpnl-job-badge--active {
    color: #166534;
    background: #dcfce7;
}

.rpnl-job-listing-card__date {
    flex: 0 0 auto;
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.68rem;
}

.rpnl-job-listing-card__body {
    flex: 1;
    padding: 18px 19px;
}

.rpnl-job-listing-card__company {
    margin: 0 0 7px;
    color: #e30613;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rpnl-job-listing-card__title {
    margin: 0 0 18px;
    color: #0b2d4d;
    font-size: 1.25rem;
    line-height: 1.3;
}

.rpnl-job-listing-card__title a {
    color: inherit;
    text-decoration: none;
}

.rpnl-job-listing-card__details p {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    margin: 0;
    border-top: 1px solid var(--rpnl-border, #dbe4ee);
}

.rpnl-job-listing-card__details span {
    color: #64748b;
    font-size: 0.72rem;
}

.rpnl-job-listing-card__details strong {
    font-size: 0.78rem;
}

.rpnl-job-listing-card__extras {
    margin-top: 14px;
}

.rpnl-job-listing-card__footer {
    padding: 0 19px 19px;
}

.rpnl-job-listing-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #0b2d4d;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid #0b2d4d;
    border-radius: 8px;
}

.rpnl-job-listing-card__button:hover {
    color: #fff;
    background: #0b2d4d;
}

.rpnl-jobs-empty,
.rpnl-jobs-disclaimer {
    padding: 28px;
}

.rpnl-jobs-empty {
    text-align: center;
}

.rpnl-jobs-empty p,
.rpnl-jobs-disclaimer p {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.65;
}

.rpnl-jobs-pagination {
    margin-top: 30px;
}

.rpnl-jobs-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.rpnl-jobs-pagination a,
.rpnl-jobs-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px;
    color: #0b2d4d;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--rpnl-border, #dbe4ee);
    border-radius: 7px;
}

.rpnl-jobs-pagination .current {
    color: #fff;
    background: #0b2d4d;
}

.rpnl-jobs-disclaimer {
    margin-top: 34px;
    background: #fff8e6;
    border-left: 5px solid #d97706;
}

/* Pojedyncza oferta */

.rpnl-job-single__hero {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    margin-bottom: 24px;
}

.rpnl-job-single__hero h1 {
    margin: 12px 0 8px;
    color: #0b2d4d;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.rpnl-job-single__company {
    margin: 0 0 16px;
    color: #e30613;
    font-weight: 800;
}

.rpnl-job-single__summary span {
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
}

.rpnl-job-single__logo {
    flex: 0 0 150px;
}

.rpnl-job-single__logo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.rpnl-job-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.rpnl-job-single__main {
    display: grid;
    gap: 20px;
}

.rpnl-job-section,
.rpnl-job-alert,
.rpnl-job-contact__card {
    padding: 26px;
}

.rpnl-job-section h2,
.rpnl-job-alert h2,
.rpnl-job-contact h2 {
    margin-bottom: 18px;
}

.rpnl-job-section__content {
    line-height: 1.75;
}

.rpnl-job-details {
    margin: 0;
}

.rpnl-job-details > div {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid var(--rpnl-border, #dbe4ee);
}

.rpnl-job-details dt {
    color: #64748b;
    font-weight: 700;
}

.rpnl-job-details dd {
    margin: 0;
    font-weight: 700;
}

.rpnl-job-info-block--important,
.rpnl-job-alert--notice {
    border-left: 5px solid #d97706;
}

.rpnl-job-alert--expired {
    border-left: 5px solid #e30613;
}

.rpnl-job-contact {
    position: sticky;
    top: 100px;
}

.rpnl-job-contact__name {
    color: #0b2d4d;
    font-weight: 800;
}

.rpnl-job-contact__actions {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.rpnl-job-contact__button:not(.rpnl-job-contact__button--primary) {
    color: #0b2d4d;
    background: #fff;
    border-color: #0b2d4d;
}

.rpnl-job-contact__note,
.rpnl-job-contact__disclaimer,
.rpnl-job-contact__expiry {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.55;
}

.rpnl-job-single__footer {
    margin-top: 26px;
}

.rpnl-job-single__footer a {
    color: #0b2d4d;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .rpnl-jobs-filters__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rpnl-jobs-filter-field--search {
        grid-column: span 2;
    }

    .rpnl-job-listings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rpnl-job-single__layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 760px) {
    .rpnl-jobs-archive,
    .rpnl-job-single {
        padding: 14px 0 44px;
    }

    .rpnl-jobs-archive__container,
    .rpnl-job-single__container {
        width: calc(100% - 24px);
    }

    .rpnl-jobs-hero {
        width: calc(100% - 24px);
        padding: 22px 0 25px;
        margin-bottom: 20px;
        border-radius: 11px;
    }

    .rpnl-jobs-hero .rpnl-jobs-archive__container {
        width: calc(100% - 36px);
    }

    .rpnl-jobs-filters__heading,
    .rpnl-job-single__hero {
        display: block;
    }

    .rpnl-jobs-filters,
    .rpnl-job-section,
    .rpnl-job-alert,
    .rpnl-job-contact__card,
    .rpnl-job-single__hero {
        padding: 20px;
    }

    .rpnl-jobs-filters__grid,
    .rpnl-job-listings,
    .rpnl-job-single__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rpnl-jobs-filter-field--search {
        grid-column: auto;
    }

    .rpnl-jobs-filters__submit {
        width: 100%;
    }

    .rpnl-job-single__logo {
        width: 110px;
        margin-top: 20px;
    }

    .rpnl-job-contact {
        position: static;
    }

    .rpnl-job-details > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }
}
/* ==========================================================
   DODAWANIE OFERTY PRACY
   Wyłącznie klasy formularza zgłoszeniowego.
   ========================================================== */

.rpnl-job-submission {
    padding: 24px 0 64px;
    color: var(--rpnl-text, #182230);
    background: var(--rpnl-background, #f5f8fc);
}

.rpnl-job-submission *,
.rpnl-job-submission *::before,
.rpnl-job-submission *::after {
    box-sizing: border-box;
}

.rpnl-job-submission-container {
    width: min(calc(100% - 40px), 1150px);
    margin-inline: auto;
}

/* Hero */

.rpnl-job-submission-hero {
    width: min(calc(100% - 64px), 1840px);
    padding: 28px 0 32px;
    margin: 0 auto 28px;
    overflow: hidden;
    color: var(--rpnl-white, #ffffff);
    background:
        radial-gradient(circle at 88% 20%, rgba(22, 119, 255, 0.26), transparent 34%),
        linear-gradient(135deg, #0b2d4d, #103f6b);
    border-radius: 15px;
}

.rpnl-job-submission-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 600;
}

.rpnl-job-submission-breadcrumbs a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.rpnl-job-submission-breadcrumbs a:hover,
.rpnl-job-submission-breadcrumbs a:focus-visible {
    color: var(--rpnl-white, #ffffff);
    text-decoration: underline;
}

.rpnl-job-submission-eyebrow {
    margin: 0 0 8px;
    color: var(--rpnl-red, #e30613);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rpnl-job-submission-hero h1 {
    margin: 0;
    color: var(--rpnl-white, #ffffff);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.1;
}

.rpnl-job-submission-hero .rpnl-job-submission-container > p:last-child {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.96rem;
    line-height: 1.65;
}

/* Komunikaty */

.rpnl-job-submission-message {
    padding: 24px 26px;
    margin-bottom: 24px;
    background: var(--rpnl-white, #ffffff);
    border: 1px solid var(--rpnl-border, #dfe7ef);
    border-left-width: 5px;
    border-radius: var(--rpnl-radius, 12px);
    box-shadow: var(--rpnl-shadow, 0 8px 24px rgba(11, 45, 77, 0.08));
}

.rpnl-job-submission-message h2 {
    margin: 0 0 8px;
    color: var(--rpnl-navy, #0b2d4d);
    font-size: 1.3rem;
    line-height: 1.3;
}

.rpnl-job-submission-message p,
.rpnl-job-submission-message ul {
    margin: 0;
    line-height: 1.65;
}

.rpnl-job-submission-message ul {
    padding-left: 20px;
}

.rpnl-job-submission-message a {
    display: inline-block;
    margin-top: 15px;
    color: var(--rpnl-blue, #1677ff);
    font-weight: 750;
}

.rpnl-job-submission-message--success {
    border-left-color: #15803d;
}

.rpnl-job-submission-message--error {
    color: #7f1d1d;
    background: #fff7f7;
    border-color: #fecaca;
    border-left-color: var(--rpnl-red, #e30613);
}

.rpnl-job-submission-message--error h2 {
    color: #991b1b;
}

/* Formularz i sekcje */

.rpnl-job-submission-form {
    display: grid;
    gap: 22px;
}

.rpnl-job-submission-section {
    padding: 27px 28px 29px;
    background: var(--rpnl-white, #ffffff);
    border: 1px solid var(--rpnl-border, #dfe7ef);
    border-radius: var(--rpnl-radius, 12px);
    box-shadow: var(--rpnl-shadow, 0 8px 24px rgba(11, 45, 77, 0.08));
}

.rpnl-job-submission-section h2 {
    padding-bottom: 15px;
    margin: 0 0 20px;
    color: var(--rpnl-navy, #0b2d4d);
    font-size: 1.35rem;
    line-height: 1.3;
    border-bottom: 1px solid var(--rpnl-border, #dfe7ef);
}

.rpnl-job-submission-section > p {
    margin: -9px 0 20px;
    color: var(--rpnl-text-muted, #667085);
    font-size: 0.88rem;
    line-height: 1.6;
}

.rpnl-job-submission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 22px;
}

.rpnl-job-submission-field--wide {
    grid-column: 1 / -1;
}

.rpnl-job-submission-field {
    min-width: 0;
    margin: 0;
}

.rpnl-job-submission-field > span,
.rpnl-job-submission-field > label > span,
.rpnl-job-submission-field > legend {
    display: block;
    padding: 0;
    margin: 0 0 7px;
    color: var(--rpnl-navy, #0b2d4d);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.4;
}

.rpnl-job-submission-field input:not([type="checkbox"]),
.rpnl-job-submission-field select,
.rpnl-job-submission-field textarea {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 11px 13px;
    color: var(--rpnl-text, #182230);
    font: inherit;
    font-size: 0.91rem;
    line-height: 1.45;
    background: var(--rpnl-white, #ffffff);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.rpnl-job-submission-field textarea {
    min-height: 112px;
    resize: vertical;
}

.rpnl-job-submission-field textarea[rows="10"] {
    min-height: 230px;
}

.rpnl-job-submission-field input::placeholder,
.rpnl-job-submission-field textarea::placeholder {
    color: #98a2b3;
}

.rpnl-job-submission-field input:not([type="checkbox"]):hover,
.rpnl-job-submission-field select:hover,
.rpnl-job-submission-field textarea:hover {
    border-color: #94a3b8;
}

.rpnl-job-submission-field input:not([type="checkbox"]):focus,
.rpnl-job-submission-field select:focus,
.rpnl-job-submission-field textarea:focus {
    border-color: var(--rpnl-blue, #1677ff);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.14);
}

.rpnl-job-submission-field small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

/* Grupy pól wyboru */

fieldset.rpnl-job-submission-field {
    padding: 18px;
    border: 1px solid var(--rpnl-border, #dfe7ef);
    border-radius: 9px;
}

fieldset.rpnl-job-submission-field > legend {
    padding: 0 8px;
    margin-left: -8px;
}

fieldset.rpnl-job-submission-field > label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    margin: 3px 6px 3px 0;
    color: #334155;
    font-size: 0.87rem;
    font-weight: 650;
    line-height: 1.35;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
}

.rpnl-job-submission-field input[type="checkbox"],
.rpnl-job-submission-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--rpnl-blue, #1677ff);
}

/* Zgoda i wysłanie */

.rpnl-job-submission-consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 17px 18px;
    color: #334155;
    font-size: 0.86rem;
    line-height: 1.55;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid var(--rpnl-border, #dfe7ef);
    border-radius: 9px;
}

.rpnl-job-submission-consent input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.rpnl-job-submission-actions {
    display: flex;
    justify-content: flex-end;
    padding: 2px 0 0;
}

.rpnl-job-submission-actions button {
    min-height: 50px;
    padding: 12px 24px;
    color: var(--rpnl-white, #ffffff);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    background: var(--rpnl-red, #e30613);
    border: 1px solid var(--rpnl-red, #e30613);
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(227, 6, 19, 0.2);
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.rpnl-job-submission-actions button:hover {
    background: var(--rpnl-navy, #0b2d4d);
    border-color: var(--rpnl-navy, #0b2d4d);
    transform: translateY(-1px);
}

.rpnl-job-submission-actions button:focus-visible {
    outline: 3px solid rgba(22, 119, 255, 0.28);
    outline-offset: 3px;
}

/* Pole antyspamowe niewidoczne dla użytkownika */

.rpnl-job-submission-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Tablet */

@media (max-width: 800px) {
    .rpnl-job-submission-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rpnl-job-submission-field--wide {
        grid-column: auto;
    }
}

/* Telefon */

@media (max-width: 700px) {
    .rpnl-job-submission {
        padding: 14px 0 45px;
    }

    .rpnl-job-submission-container {
        width: calc(100% - 24px);
    }

    .rpnl-job-submission-hero {
        width: calc(100% - 24px);
        padding: 22px 0 25px;
        margin-bottom: 20px;
        border-radius: 11px;
    }

    .rpnl-job-submission-hero .rpnl-job-submission-container {
        width: calc(100% - 36px);
    }

    .rpnl-job-submission-breadcrumbs {
        margin-bottom: 14px;
        font-size: 0.75rem;
    }

    .rpnl-job-submission-hero h1 {
        font-size: 1.8rem;
    }

    .rpnl-job-submission-hero .rpnl-job-submission-container > p:last-child {
        margin-top: 12px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .rpnl-job-submission-form {
        gap: 16px;
    }

    .rpnl-job-submission-section {
        padding: 21px 18px 22px;
        border-radius: 10px;
    }

    .rpnl-job-submission-section h2 {
        padding-bottom: 13px;
        margin-bottom: 17px;
        font-size: 1.2rem;
    }

    .rpnl-job-submission-grid {
        gap: 15px;
    }

    fieldset.rpnl-job-submission-field {
        padding: 14px;
    }

    fieldset.rpnl-job-submission-field > label {
        display: flex;
        width: 100%;
        margin: 3px 0;
    }

    .rpnl-job-submission-message {
        padding: 21px 18px;
        border-radius: 10px;
    }

    .rpnl-job-submission-actions button {
        width: 100%;
    }
}
.rpnl-job-submission-consent a {
	color: var(--rpnl-blue, #1677ff);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rpnl-job-submission-consent a:hover,
.rpnl-job-submission-consent a:focus-visible {
	color: var(--rpnl-red, #e30613);
}
