:root {
    --portal-red: #df0f18;
    --portal-red-dark: #b30d15;
    --portal-crimson: #8f0d18;
    --portal-burgundy: #4b0711;
    --portal-navy: #6d0c14;
    --portal-text: #1c1c28;
    --portal-muted: #66697a;
    --portal-white: #fff;
    --portal-soft-red: #fff3f4;
    --portal-rose: #ffe0e3;
    --portal-border: rgba(15, 20, 50, 0.12);
    --portal-shadow: 0 18px 42px rgba(20, 24, 55, 0.1);
    --portal-shadow-strong: 0 28px 60px rgba(63, 10, 16, 0.18);
}

body.page-template-templates-job-portal-front,
body.page-template-templates-job-portal-page {
    background: #fff;
}

body.page-template-templates-job-portal-front #ast-desktop-header,
body.page-template-templates-job-portal-front #ast-mobile-header,
body.page-template-templates-job-portal-front .site-below-footer-wrap,
body.page-template-templates-job-portal-front footer.site-footer,
body.page-template-templates-job-portal-front .entry-header,
body.page-template-templates-job-portal-page #ast-desktop-header,
body.page-template-templates-job-portal-page #ast-mobile-header,
body.page-template-templates-job-portal-page .site-below-footer-wrap,
body.page-template-templates-job-portal-page footer.site-footer,
body.page-template-templates-job-portal-page .entry-header {
    display: none !important;
}

body.page-template-templates-job-portal-front .site-content .ast-container,
body.page-template-templates-job-portal-front .entry-content,
body.page-template-templates-job-portal-front article,
body.page-template-templates-job-portal-page .site-content .ast-container,
body.page-template-templates-job-portal-page .entry-content,
body.page-template-templates-job-portal-page article {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.job-portal-site {
    color: var(--portal-text);
    background:
        radial-gradient(circle at top right, rgba(223, 15, 24, 0.08), transparent 28%),
        linear-gradient(180deg, #fffefe 0%, #fff9f9 58%, #ffffff 100%);
    font-family: "Open Sans", sans-serif;
}

.job-portal-home {
    margin: 0;
    padding-bottom: 28px;
}

.portal-elementor-content-area {
    display: none;
}

.portal-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.portal-topbar {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    padding: 26px 0 18px;
    border-bottom: 1px solid rgba(223, 15, 24, 0.08);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(10px);
}

.portal-topbar__inner,
.portal-nav__inner,
.portal-showcase,
.portal-two-column,
.portal-footer__grid {
    display: grid;
    gap: 18px;
}

.portal-topbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--portal-text);
    text-decoration: none;
}

.portal-brand img,
.portal-footer__brand img {
    width: 84px;
    height: 84px;
    object-fit: cover;
}

.portal-brand strong {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-user-name {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(215, 25, 32, 0.08);
    color: var(--portal-red-dark);
    font-size: 14px;
    font-weight: 700;
}

.portal-mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 40px;
    border: 1px solid var(--portal-red);
    color: var(--portal-red);
    text-decoration: none;
    font-size: 14px;
    background: #fff;
}

.portal-mini-button--solid {
    background: var(--portal-red);
    color: #fff;
}

.portal-nav {
    padding: 16px 0 18px;
}

.portal-nav__inner {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background: transparent;
    box-shadow: none;
}

.portal-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(223, 15, 24, 0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--portal-red-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(223, 15, 24, 0.08);
}

.portal-nav a:hover {
    background: var(--portal-red);
    color: #fff;
}

.portal-nav a.is-active {
    background: var(--portal-red);
    color: #fff;
}

.portal-search-hero {
    padding: 8px 0 18px;
}

.portal-search-board {
    background:#df0f18;
    padding: 40px 34px 30px;
    color: #fff;
    border-radius: 24px;
    box-shadow: var(--portal-shadow-strong);
}

.portal-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ff000d;
    color: #ffe3e5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-kicker--link {
    display: table;
    margin-left: auto;
    text-decoration: none;
}

.portal-search-board h1 {
    margin: 18px 0 14px;
    font-size: clamp(1.8rem, 3.2vw, 3.1rem);
    line-height: 1.05;
    color: #fff4f4;
    max-width: 760px;
}

.portal-hero-copy {
    max-width: 720px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.03rem;
    line-height: 1.75;
}

.portal-search-form,
.portal-form-card {
    display: grid;
    gap: 14px;
}

.portal-search-form--hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.75fr) minmax(132px, auto);
    gap: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(120, 18, 31, 0.06);
}

.portal-search-form--hero input {
    min-height: 58px;
    border: 0;
    border-right: 1px solid rgba(32, 20, 47, 0.12);
    padding: 0 18px;
    font-size: 0.98rem;
}

.portal-search-form--hero button {
    min-height: 58px;
    border: 0;
    background: var(--portal-red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    padding: 0 18px;
    white-space: nowrap;
}

.portal-hero-resume,
.portal-hero-resume__note {
    display: block;
    text-align: center;
}

.portal-hero-resume {
    margin-top: 16px;
    color: #fff8f8;
    font-weight: 700;
    text-decoration: underline;
}

.portal-hero-resume__note {
    margin: 6px 0 16px;
    color: rgba(255, 255, 255, 0.82);
}

.portal-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.portal-hero-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.portal-popular-searches h2 {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
}

.portal-popular-searches__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-popular-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
}


.portal-flash,
.portal-job-card,
.portal-form-card,
.portal-salary-card,
.portal-empty-state {
    background: #fff;
    border: 1px solid var(--portal-border);
    box-shadow: var(--portal-shadow);
    border-radius: 22px;
}

.portal-flash {
    margin-top: 18px;
    padding: 16px 18px;
}

.portal-flash--success {
    border-left: 6px solid var(--portal-red);
}

.portal-flash--error {
    border-left: 6px solid #cf2636;
}

.portal-showcase-section {
    padding: 10px 0;
}

.portal-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 34px;
    padding: 26px 0;
}

.portal-showcase--employer {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
}

.portal-showcase__content {
    padding: 24px 10px 24px 0;
}

.portal-showcase-section--blue {
    background: linear-gradient(135deg, #8e0d17 0%, #ba101b 100%);
    margin-top: 20px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--portal-shadow);
}

.portal-showcase-section--blue .portal-showcase__content h2,
.portal-showcase-section--blue .portal-showcase__content p,
.portal-showcase-section--blue .portal-checklist--light li {
    color: #fff;
}

.portal-showcase__content h2,
.portal-section h2 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.15;
}

.portal-showcase__content p,
.portal-section p,
.portal-job-card p,
.portal-advice-card p,
.portal-salary-card p,
.portal-footer p,
.portal-footer li,
.portal-footer a {
    color: var(--portal-muted);
    line-height: 1.7;
}

.portal-section-intro {
    max-width: 700px;
    margin: -4px 0 18px;
}

.portal-showcase-section--blue .portal-showcase__content p {
    color: rgba(255, 255, 255, 0.92);
}

.portal-showcase__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(22, 18, 38, 0.14);
}

.portal-checklist {
    list-style: none;
    padding: 0;
    margin: 22px 0;
    display: grid;
    gap: 12px;
}

.portal-checklist li {
    position: relative;
    padding-left: 32px;
}

.portal-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: #20bf38;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.portal-button,
.portal-form-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    background: var(--portal-red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 14px;
    box-shadow: 0 16px 28px rgba(223, 15, 24, 0.16);
}

.portal-button--blue {
    background: linear-gradient(135deg, #851019 0%, #a60f19 100%);
}

.portal-button--dark {
    background: rgba(53, 6, 11, 0.45);
}

.portal-button--ghost {
    background: rgba(223, 15, 24, 0.08);
    color: var(--portal-red-dark);
}

.portal-section {
    padding: 42px 0;
}

.portal-two-column {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
}

.portal-auth-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px);
}

.portal-auth-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 22px;
}

.portal-auth-form {
    display: grid;
    gap: 14px;
}

.portal-auth-form h4 {
    margin: 0 0 6px;
}

.portal-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
}

.portal-contact-stack {
    display: grid;
    gap: 20px;
}

.portal-contact-card {
    border-radius: 24px;
}

.portal-contact-card--dark {
    background: #df0f18;
    color: #fff;
}

.portal-contact-card--dark h3,
.portal-contact-card--dark strong,
.portal-contact-card--dark a,
.portal-contact-card--dark span {
    color: #fff !important;
}

.portal-contact-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-contact-list li {
    display: grid;
    gap: 6px;
}

.portal-contact-list strong {
    color: inherit;
}

.portal-contact-list a,
.portal-contact-list span {
    color: inherit;
    text-decoration: none;
}

.portal-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.portal-contact-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(223, 15, 24, 0.08);
    color: var(--portal-red-dark);
    text-decoration: none;
}

.portal-contact-socials a svg {
    width: 22px;
    height: 22px;
}

.portal-map-frame {
    overflow: hidden;
    border-radius: 18px;
    min-height: 260px;
    box-shadow: inset 0 0 0 1px rgba(32, 20, 47, 0.08);
}

.portal-map-frame iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

.portal-contact-form-wrap .wpcf7 {
    width: 100%;
}

.portal-contact-form-wrap p {
    margin: 0 0 14px;
}

.portal-contact-form-wrap input,
.portal-contact-form-wrap textarea,
.portal-contact-form-wrap select {
    width: 100%;
    border: 1px solid rgba(32, 20, 47, 0.12);
    border-radius: 14px;
    background: #fff;
    padding: 14px 16px;
    font: inherit;
}

.portal-contact-form-wrap textarea {
    min-height: 140px;
}

.portal-contact-form-wrap .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border: 0;
    border-radius: 14px;
    background: var(--portal-red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.portal-contact-form-wrap .wpcf7-spinner {
    vertical-align: middle;
}

.portal-eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    background: rgba(223, 15, 24, 0.08);
    color: var(--portal-red-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-eyebrow--light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.portal-section__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.portal-text-link {
    color: var(--portal-red-dark);
    font-weight: 700;
    text-decoration: none;
}

.portal-job-grid,
.portal-salary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portal-job-card,
.portal-salary-card,
.portal-form-card,
.portal-empty-state {
    padding: 24px;
}

.portal-job-card__top,
.portal-job-meta,
.portal-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-job-chip {
    padding: 5px 10px;
    background: rgba(223, 15, 24, 0.08);
    color: var(--portal-red-dark);
    font-size: 12px;
    font-weight: 700;
}

.portal-job-company {
    color: var(--portal-red-dark);
    font-weight: 700;
}

.portal-job-card h3,
.portal-salary-card h3,
.portal-form-card h3,
.portal-footer h3 {
    margin: 0 0 12px;
    color: var(--portal-text);
}

.portal-job-card h3,
.portal-salary-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
}

.portal-job-meta,
.portal-salary-list,
.portal-footer ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.portal-job-meta li,
.portal-feature-list div,
.portal-salary-list li {
    padding: 8px 12px;
    background: rgba(15, 20, 50, 0.05);
    border-radius: 999px;
}

.portal-salary-grid .portal-salary-card p {
    color: var(--portal-red-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.portal-form-card {
    display: grid;
    gap: 12px;
}

.portal-form-card label {
    display: grid;
    gap: 8px;
    color: var(--portal-text);
    font-weight: 700;
}

.portal-form-card input,
.portal-form-card select,
.portal-form-card textarea {
    width: 100%;
    border: 1px solid rgba(15, 20, 50, 0.14);
    padding: 12px 14px;
    background: #fff;
    border-radius: 14px;
    font-size: 0.98rem;
}

.portal-form-card--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.portal-form-card--dark h3,
.portal-form-card--dark label,
.portal-form-card--dark span,
.portal-section--dark h2,
.portal-section--dark p {
    color: #fff;
}

.portal-form-card--dark input,
.portal-form-card--dark select,
.portal-form-card--dark textarea {
    background: rgba(255, 255, 255, 0.96);
    color: var(--portal-text);
}

.portal-auth-card {
    align-content: start;
}

.portal-inline-message {
    padding: 14px 16px;
    background: rgba(223, 15, 24, 0.08);
    border: 1px solid rgba(223, 15, 24, 0.18);
    color: var(--portal-red-dark);
    font-weight: 700;
}

.portal-section--contrast {
    background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
    border-radius: 28px;
    padding-left: 20px;
    padding-right: 20px;
}

.portal-section--dark {
    background: #df0f18;
    border-radius: 28px;
    padding-left: 20px;
    padding-right: 20px;
}

.portal-footer {
    background: linear-gradient(#df0f18);
    color: #fff;
    margin-top: 26px;
}

.portal-footer__grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    padding: 34px 0;
}

.portal-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #fff;
}

.portal-footer h3,
.portal-footer__brand strong,
.portal-footer a,
.portal-footer li,
.portal-footer p {
    color: #fff;
}

.portal-footer a {
    text-decoration: none;
}

.portal-social-links {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.portal-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.portal-footer-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.portal-footer-buttons__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: #d71920;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    box-shadow: none;
}

.portal-footer-buttons__primary:hover,
.portal-footer-buttons__primary:focus,
.portal-footer-buttons__primary:active,
.portal-footer-buttons__primary:visited {
    background: #ff000d;
    color: #fff !important;
    text-decoration: none;
}

.portal-footer-buttons__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 280px;
    min-height: 72px;
    padding: 16px 28px;
    border-radius: 18px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.portal-footer-buttons__whatsapp:hover,
.portal-footer-buttons__whatsapp:focus,
.portal-footer-buttons__whatsapp:active,
.portal-footer-buttons__whatsapp:visited {
    color: #fff !important;
    text-decoration: none;
}

.portal-footer-buttons__whatsapp svg {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.portal-footer-buttons__whatsapp span {
    line-height: 1;
}



.portal-footer__bottom {
    padding: 12px 16px;
    background: #ff000d;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

@media (max-width: 980px) {
    .portal-showcase,
    .portal-showcase--employer,
    .portal-two-column,
    .portal-contact-grid,
    .portal-job-grid,
    .portal-salary-grid,
    .portal-footer__grid,
    .portal-search-form--hero {
        grid-template-columns: 1fr;
    }

    .portal-nav__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-search-board {
        border-radius: 14px;
    }

    .portal-showcase {
        gap: 20px;
    }

    .portal-search-form--hero input {
        border-right: 0;
        border-bottom: 1px solid rgba(32, 20, 47, 0.12);
    }
}

@media (max-width: 640px) {
    .portal-topbar__inner {
        grid-template-columns: 1fr;
    }

    .portal-brand {
        flex-direction: column;
        text-align: center;
    }

    .portal-topbar__actions {
        justify-content: center;
    }

    .portal-nav__inner {
        grid-template-columns: 1fr;
    }

    .portal-topbar {
        padding-top: 18px;
    }

    .portal-search-board h1,
    .portal-section h2,
    .portal-showcase__content h2 {
        text-align: left;
    }

    .portal-section--contrast,
    .portal-section--dark {
        padding-left: 14px;
        padding-right: 14px;
        border-radius: 20px;
    }

    .portal-search-board,
    .portal-job-card,
    .portal-salary-card,
    .portal-form-card,
    .portal-empty-state {
        padding: 18px;
    }

    .portal-salary-list li {
        flex-direction: column;
    }
}
