.postal-vagas-shell,
.postal-vaga-single {
    --postal-blue-900: #003f63;
    --postal-blue-700: #005f86;
    --postal-blue-500: #087bb2;
    --postal-yellow: #ffc400;
    --postal-orange: #f28c18;
    --postal-ink: #163142;
    --postal-muted: #647887;
    --postal-line: #d9e5ec;
    --postal-soft: #f5f9fb;
    color: var(--postal-ink);
    font-family: inherit;
}

.postal-vagas-shell *,
.postal-vaga-single * {
    box-sizing: border-box;
}

.postal-vagas-shell {
    width: min(1320px, calc(100vw - 48px));
    max-width: none;
    margin: 0 0 0 50%;
    padding: 36px 24px 48px;
    transform: translateX(-50%);
}

.postal-vagas-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 24px 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #004b70, #006889);
    color: #fff;
    box-shadow: 0 16px 36px rgba(0, 63, 99, .14);
}

.postal-vagas-hero span,
.postal-vaga-single__heading span,
.postal-vaga-apply > span,
.postal-vagas-modal__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--postal-yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.postal-vagas-hero h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 400;
}

.postal-vagas-hero strong {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.postal-vagas-filtros {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid var(--postal-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 22px rgba(0, 63, 99, .05);
}

.postal-vagas-filtros label,
.postal-vagas-modal label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.postal-vagas-filtros span,
.postal-vagas-modal label > span {
    color: var(--postal-muted);
    font-size: 12px;
    font-weight: 600;
}

.postal-vagas-filtros input,
.postal-vagas-filtros select,
.postal-vagas-modal input[type="email"] {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--postal-line);
    border-radius: 6px;
    background: #fff;
    color: var(--postal-ink);
    font-size: 14px;
}

.postal-vagas-filtros button,
.postal-vaga-apply__button,
.postal-vagas-modal__authorize {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--postal-blue-700);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.postal-vagas-filtros button {
    padding: 0 18px;
}

.postal-vagas-filtros button:hover,
.postal-vaga-apply__button:hover,
.postal-vagas-modal__authorize:hover {
    background: var(--postal-blue-900);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 63, 99, .18);
}

.postal-vaga-open:hover {
    background: #fff;
    color: var(--postal-ink);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 63, 99, .10);
}

.postal-vagas-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin: 20px 0 18px;
    border-bottom: 1px solid var(--postal-line);
}

.postal-vagas-status-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 4px 14px;
    border-bottom: 2px solid transparent;
    color: var(--postal-ink);
    font-weight: 600;
    text-decoration: none;
}

.postal-vagas-status-tabs a.is-active {
    border-color: #08a642;
    color: #08a642;
}

.postal-vagas-status-tabs strong {
    min-width: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3f6;
    color: var(--postal-ink);
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.postal-vagas-status-tabs a.is-active strong {
    background: #cde8ff;
    color: var(--postal-blue-700);
}

.postal-vagas-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
    color: var(--postal-muted);
    font-size: 14px;
}

.postal-vagas-current strong {
    color: var(--postal-blue-900);
    font-size: 15px;
    font-weight: 600;
}

.postal-vagas-lista {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.postal-vaga-row {
    min-height: 154px;
}

.postal-vaga-open {
    position: relative;
    display: grid;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 154px;
    padding: 18px 18px 16px 20px;
    border: 1px solid #dce8ee;
    border-left: 4px solid #f28c18;
    border-radius: 8px;
    background: #fff;
    color: var(--postal-ink);
    text-align: left;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(0, 63, 99, .06);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.postal-vaga-open:focus-visible {
    outline: 3px solid rgba(8, 123, 178, .24);
    outline-offset: 3px;
}

.postal-vaga-row--aberta .postal-vaga-open {
    border-left-color: #12ad53;
}

.postal-vaga-row--andamento .postal-vaga-open {
    border-left-color: #f28c18;
}

.postal-vaga-row--encerrada .postal-vaga-open {
    border-left-color: #9fb1ba;
}

.postal-vaga-row--cancelada .postal-vaga-open {
    border-left-color: #d14b3a;
}

.postal-vaga-card__title {
    display: block;
    max-width: 100%;
    color: #061b33;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.postal-vaga-card__updated {
    display: block;
    margin-top: -3px;
    color: #556b78;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}

.postal-vaga-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    color: #3d5665;
    font-size: 13px;
    font-weight: 400;
}

.postal-vaga-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-weight: 400;
}

.postal-vaga-card__meta em {
    color: #1b3444;
    font-weight: 600;
    font-style: normal;
    text-align: right;
    white-space: nowrap;
}

.postal-vaga-card__meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: #6f8490;
}

.postal-vagas-empty {
    margin: 0;
    padding: 28px;
    color: var(--postal-muted);
}

.postal-vagas-paginacao {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 18px;
}

.postal-vagas-paginacao .page-numbers {
    min-width: 38px;
    padding: 8px 10px;
    border: 1px solid var(--postal-line);
    border-radius: 6px;
    color: var(--postal-blue-900);
    text-align: center;
    text-decoration: none;
}

.postal-vagas-paginacao .current {
    background: var(--postal-blue-700);
    color: #fff;
}

.postal-vagas-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 34, 48, .58);
}

.postal-vagas-modal.is-open {
    display: flex;
}

.postal-vagas-modal__box {
    position: relative;
    width: min(560px, 100%);
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 31, 48, .34);
}

.postal-vagas-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--postal-soft);
    color: var(--postal-blue-900);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.postal-vagas-modal h3 {
    margin: 0 0 6px;
    color: var(--postal-blue-900);
    font-size: 25px;
}

.postal-vagas-modal__vaga {
    margin: 0 0 18px;
    color: var(--postal-muted);
}

.postal-vagas-modal__consent {
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    margin: 16px 0;
}

.postal-vagas-modal__consent input {
    margin-top: 4px;
}

.postal-vagas-modal__consent span {
    color: var(--postal-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.postal-vagas-modal__error {
    margin: 0 0 12px;
    color: #a33b1f;
    font-weight: 700;
}

.postal-vagas-modal__authorize,
.postal-vaga-apply__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.postal-vaga-single {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 56px;
}

.postal-vaga-template {
    background: #fff;
}

.postal-vaga-single__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-bottom: 30px;
    padding: 0 0 4px;
    border-radius: 0;
    background: #fff;
    border-top: 0;
    border-bottom: 4px solid var(--postal-blue-700);
    box-shadow: none;
}

.postal-vaga-single__nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-column: 1 / -1;
    width: 100%;
    gap: 16px;
    padding-bottom: 6px;
}

.postal-vaga-single__hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    grid-column: 1 / -1;
}

.postal-vaga-single__hero-main {
    min-width: 0;
}

.postal-vaga-single__heading h1 {
    margin: 0;
    color: var(--postal-blue-900);
    font-size: 32px;
    line-height: 1.15;
    max-width: 760px;
}

.postal-vaga-single__heading span {
    margin-bottom: 8px;
}

.postal-vaga-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.postal-vaga-single__meta span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 4px;
    background: var(--postal-soft);
    color: #456475;
    font-size: 12px;
    font-weight: 600;
}

.postal-vaga-single__back,
.postal-vaga-single__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--postal-blue-700);
    border-radius: 5px;
    color: var(--postal-blue-700);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.postal-vaga-single__back svg,
.postal-vaga-share svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.postal-vaga-share {
    display: inline-grid;
    grid-template-columns: 20px auto;
    column-gap: 8px;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    min-width: 0;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--postal-blue-700);
    border-radius: 5px;
    background: #fff;
    color: var(--postal-blue-700);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.postal-vaga-share span {
    color: var(--postal-blue-700);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
}

.postal-vaga-single__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.postal-vaga-section {
    padding: 26px 0;
    border-bottom: 1px solid var(--postal-line);
}

.postal-vaga-section h2 {
    margin: 0 0 16px;
    color: var(--postal-blue-900);
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.postal-vaga-section ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.postal-vaga-section li {
    position: relative;
    padding-left: 18px;
    color: #425866;
    line-height: 1.5;
}

.postal-vaga-section li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--postal-yellow);
}

.postal-vaga-section__text {
    color: #425866;
}

.postal-vaga-apply {
    position: sticky;
    top: 24px;
    padding: 24px;
    border: 1px solid var(--postal-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(0, 63, 99, .12);
}

.postal-vaga-apply h2 {
    margin: 0 0 10px;
    color: var(--postal-blue-900);
    font-size: 22px;
}

.postal-vaga-apply p {
    margin: 0 0 18px;
    color: var(--postal-muted);
    line-height: 1.5;
}

.postal-vaga-apply dl {
    display: grid;
    gap: 6px;
    margin: 0 0 16px;
}

.postal-vaga-apply dt {
    color: var(--postal-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.postal-vaga-apply dd {
    margin: 0 0 8px;
    color: var(--postal-ink);
    font-weight: 800;
    word-break: break-word;
}

.postal-vaga-apply a {
    color: var(--postal-blue-700);
}

.postal-vaga-docs {
    padding: 16px 0;
    border-bottom: 0;
}

.postal-vaga-docs h2 {
    font-size: 16px;
}

.postal-vaga-docs li {
    font-size: 14px;
}

.postal-vaga-apply__button {
    display: none;
}

@media (max-width: 900px) {
    .postal-vagas-filtros,
    .postal-vaga-single__grid {
        grid-template-columns: 1fr;
    }

    .postal-vagas-status-tabs {
        gap: 8px;
    }

    .postal-vagas-status-tabs a {
        flex: 1 1 210px;
        justify-content: space-between;
        min-height: 42px;
        padding: 0 0 10px;
    }

    .postal-vagas-current {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .postal-vagas-lista {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .postal-vaga-single__hero-body {
        grid-template-columns: 1fr;
    }

    .postal-vaga-share {
        position: static;
        margin-left: auto;
    }

    .postal-vaga-apply {
        position: static;
    }
}

@media (max-width: 560px) {
    .postal-vagas-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .postal-vagas-hero h2,
    .postal-vaga-single__heading h1 {
        font-size: 24px;
    }

    .postal-vagas-lista {
        grid-template-columns: 1fr;
    }

    .postal-vaga-card__meta {
        gap: 8px;
        font-size: 12px;
    }

    .postal-vagas-modal__box {
        padding: 22px;
    }
}
