/*
 * ASRN Career Center - all child-theme styles in one file (one request instead of six, 30/11/2026).
 * Sections keep the old load order, which is also the cascade order: later sections may override earlier ones.
 */

/* ==========================================================================
   asrn-career-center - Base layer (Nov 2026 career center)
   ========================================================================== */

/*
 * ASRN Career Center - brand layer on top of Jobcy (child theme "asrn").
 * Loaded after Jobcy's app.css. Brand colors come from ASRN_Logo.ai:
 *   navy  #1C1F32  (primary: buttons, links, headings - set through the primary_color theme option)
 *   coral #DC5A58  (accent: large text / decoration only - 3.7:1 on white fails AA for small text)
 */
:root {
    --asrn-navy: #1c1f32;
    --asrn-coral: #dc5a58;
    /* Plain links (e.g. contact page mailto/tel) use Bootstrap's link color, which is NOT tied to Jobcy's
       primary_color and stayed purple (118,109,244). Navy for normal + hover; hover adds the underline. */
    --bs-link-color: #1c1f32;
    --bs-link-color-rgb: 28, 31, 50;
    --bs-link-hover-color: #1c1f32;
    --bs-link-hover-color-rgb: 28, 31, 50;
}

/* Jobcy 1.21.11 bug: the AJAX featured-categories view ignores show_jobs_count="no" and prints an empty " Jobs"
   line (fixed upstream - the controller now passes showJobsCount). Hide that line when the shortcode turns counts off. */
.featured-job-categories-container[data-show-jobs-count="no"] p.text-muted.mb-0,
.job-categories-container[data-show-jobs-count="no"] .badge.bg-soft-info {
    display: none;
}

/* Jobcy 404 page: its .row gutter is 5px wider than the container padding on phones -> horizontal scroll. */
.bg-error {
    overflow-x: hidden;
}

/* Auth pages: moved to asrn-auth.css (Figma redesign, 23/11). .bg-auth is still used by Jobcy's 404 page and the
   coming-soon shortcode - keep their light background and phone spacing. */
.bg-auth {
    background-color: #f3f4f7;
}

@media (max-width: 991.98px) {
    .bg-auth {
        align-items: flex-start;
        padding: 24px 0;
    }
}

/* ==========================================================================
   asrn-figma - Figma redesign: tokens, header, page title band, employer band, footer
   ========================================================================== */

/*
 * ASRN Career Center - Figma redesign layer (Nov 2026). Loaded after asrn-career-center.css.
 * Values come from source/figma-2611/tokens.md (frames are 1920 wide: 120px side margins, 1680px content).
 * Fonts: --primary-font (Inter, Jobcy option), --heading-font (Source Sans 3) and --nav-font (DM Sans) are printed
 * by Botble Typography (Theme Options > Typography), served from this domain.
 *
 * Sections: 1 tokens - 2 buttons - 3 header - 4 inner page title band - 5 employer band - 6 footer
 */

/* 1. Tokens ------------------------------------------------------------------------------------------------ */
:root {
    --asrn-navy: #1c1f32;
    --asrn-navy-2: #36394f;
    --asrn-coral: #dc5a58;
    --asrn-coral-dark: #b14a49;
    --asrn-page-bg: #f2f2f2;
    --asrn-surface: #ffffff;
    --asrn-line: #edeff5;
    --asrn-text: #18191c;
    --asrn-muted: #5e6670;
    --asrn-footer-text: #d9d9d9;
    --asrn-radius-sm: 6px;
    --asrn-radius: 12px;
    --asrn-radius-xl: 50px;
    --asrn-pill: 90px;
    --asrn-shadow: 0 12px 48px rgba(0, 44, 109, 0.1);
    --asrn-shadow-soft: 0 12px 40px rgba(0, 44, 109, 0.04);
    --asrn-heading: var(--heading-font, "Source Sans 3", system-ui, sans-serif);
    --asrn-nav-font: var(--nav-font, "DM Sans", system-ui, sans-serif);
    --asrn-wrap: 1680px;
    --asrn-gutter: clamp(16px, 6.25vw, 120px);
}

.asrn-eyebrow {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--asrn-coral);
}

.asrn-eyebrow--light {
    color: #fff;
}

/* 2. Buttons (Figma "Button": pill, 16/32 padding) ----------------------------------------------------------
   Only the design's own .asrn-btn. Jobcy's .btn-primary stays on the navy primary_color until each page is restyled
   (phases 03-07). Coral = the designer's #DC5A58 exactly (owner 23/11: match the design 100%, no darker variant,
   although white on it is 3.7:1, below WCAG AA for normal-size text). */
.asrn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: var(--asrn-pill);
    font-family: var(--primary-font, Inter, sans-serif); /* Figma button component: Inter SemiBold 16 */
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.asrn-btn--primary {
    color: #fff;
    background-color: var(--asrn-coral);
    border: 1px solid var(--asrn-coral);
}

.asrn-btn--primary:hover,
.asrn-btn--primary:focus-visible,
.asrn-btn--primary:active {
    color: #fff;
    background-color: var(--asrn-navy);
    border-color: var(--asrn-navy);
}

.asrn-btn--dark {
    color: #fff;
    background-color: var(--asrn-navy);
    border: 1px solid var(--asrn-navy);
}

.asrn-btn--dark:hover,
.asrn-btn--dark:focus-visible {
    color: #fff;
    background-color: var(--asrn-navy-2);
    border-color: var(--asrn-navy-2);
}

/* 3. Header (Figma nav bar: white pill 1880x102, 20px from the edges, radius 50) ------------------------------ */
.asrn-header {
    position: relative;
    z-index: 1030;
    min-height: 122px;
    padding: 20px 20px 0;
    background-color: var(--asrn-page-bg);
}

.asrn-header--inner {
    background-color: var(--asrn-navy);
}

.asrn-nav.navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
    min-height: 102px;
    padding: 14px clamp(20px, 5.2vw, 100px);
    background-color: var(--asrn-surface);
    border-radius: var(--asrn-radius-xl);
    font-family: var(--asrn-nav-font);
}

/* Jobcy's scroll script adds .fixed-top/.nav-sticky after 40px: keep the pill shape, float it. */
.asrn-nav.navbar.fixed-top {
    top: 10px;
    right: 20px;
    left: 20px;
    min-height: 76px;
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 12px 32px rgba(24, 25, 28, 0.12);
    animation: asrn-drop-in 0.25s ease-out;
}

@keyframes asrn-drop-in {
    from {
        transform: translateY(-16px);
        opacity: 0;
    }
}

.asrn-nav__brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 16px;
    color: var(--asrn-navy);
}

.asrn-nav__brand:hover {
    color: var(--asrn-navy);
}

.asrn-nav__mark {
    width: 62px;
    height: 70px;
}

.asrn-nav__tagline {
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
}

.asrn-nav__logo {
    width: auto;
    height: 69px;
    max-height: none !important;
}

.asrn-nav.fixed-top .asrn-nav__logo,
.asrn-nav.fixed-top .asrn-nav__mark {
    height: 56px;
    width: auto;
}

.asrn-nav__collapse {
    justify-content: flex-end;
}

.asrn-menu.navbar-nav {
    gap: 24px;
    align-items: center;
}

.asrn-nav .asrn-menu .nav-link {
    position: relative;
    white-space: nowrap;
    padding: 8px 0 !important;
    font-family: var(--asrn-nav-font);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--asrn-navy) !important;
}

.asrn-nav .asrn-menu .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--asrn-coral);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.asrn-nav .asrn-menu .nav-link:hover::after,
.asrn-nav .asrn-menu .nav-link.active::after {
    transform: scaleX(1);
}

.asrn-nav .asrn-menu .dropdown-menu {
    border: 0;
    border-radius: var(--asrn-radius);
    box-shadow: var(--asrn-shadow);
}

.asrn-menu--mobile-only {
    display: none;
}

.asrn-nav__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 24px;
}

.asrn-nav__divider {
    width: 1px;
    height: 48px;
    background-color: #d2d2d2;
}

.asrn-nav__login {
    font-size: 16px;
    color: var(--asrn-navy);
}

.asrn-nav__login:hover {
    color: var(--asrn-coral);
}

.asrn-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--asrn-navy);
    background: none;
    border: 0;
    border-radius: 50%;
}

.asrn-nav__icon:hover,
.asrn-nav__icon:focus-visible {
    color: var(--asrn-coral);
}

.asrn-nav__toggler {
    display: none;
}

.asrn-nav__account-toggle {
    display: inline-flex;
    padding: 0;
    font: inherit;
    background: none;
    border: 0;
    align-items: center;
    gap: 10px;
    color: var(--asrn-navy);
}

.asrn-nav__account .dropdown-menu {
    margin-top: 12px !important;
    border: 0;
    border-radius: var(--asrn-radius);
    box-shadow: var(--asrn-shadow);
}

.asrn-nav__search {
    position: absolute;
    top: calc(100% + 12px);
    right: clamp(20px, 5.2vw, 100px);
    width: min(560px, calc(100% - 40px));
}

.asrn-nav__search form {
    display: flex;
    gap: 8px;
    padding: 10px;
    background-color: var(--asrn-surface);
    border-radius: var(--asrn-pill);
    box-shadow: var(--asrn-shadow);
}

.asrn-nav__search .form-control {
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--asrn-pill);
    background-color: var(--asrn-page-bg);
}

@media (max-width: 1599.98px) {
    /* The home tagline needs ~330px; below 1600 the menu needs that room (R mark only). */
    .asrn-nav__tagline {
        display: none;
    }
}

@media (max-width: 1499.98px) {
    .asrn-menu.navbar-nav,
    .asrn-nav__actions {
        gap: 18px;
    }
}

/* 1200-1399px: the full menu stays in the bar, but the wide "career center" logo (263px) pushed Login / Post a Job /
   search past the right edge on inner pages (QA 23/11: 91px overflow at 1280). Smaller logo, gaps and type. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .asrn-nav__logo,
    .asrn-nav.fixed-top .asrn-nav__logo {
        height: 46px;
    }

    .asrn-menu.navbar-nav {
        gap: 14px;
    }

    .asrn-nav__actions {
        gap: 12px;
    }

    .asrn-nav .asrn-menu .nav-link {
        font-size: 15px;
    }

    /* Signed in: the account name (employer names are long) gives way to the avatar; its menu is unchanged. */
    .asrn-nav__account-name,
    .asrn-nav__divider {
        display: none;
    }
}

/* Below 1200px: menu + Login/Post a Job move into the collapsible panel. */
@media (max-width: 1199.98px) {
    .asrn-header {
        min-height: 96px;
        padding: 12px 12px 0;
    }

    .asrn-nav.navbar {
        flex-wrap: wrap;
        min-height: 84px;
        padding: 10px 20px 10px 24px;
        border-radius: 42px;
    }

    .asrn-nav.navbar.fixed-top {
        top: 8px;
        right: 12px;
        left: 12px;
        min-height: 68px;
    }

    .asrn-nav__brand {
        margin-right: auto;
    }

    .asrn-nav__logo {
        height: 52px;
    }

    .asrn-nav__mark {
        width: 46px;
        height: 52px;
    }

    /* Pinned (scrolled) bar is shorter: the logo must shrink with it, not grow to the desktop 56px (QA 23/11). */
    .asrn-nav.fixed-top .asrn-nav__logo {
        height: 44px;
    }

    .asrn-nav.fixed-top .asrn-nav__mark {
        width: 40px;
        height: 44px;
    }

    .asrn-nav__actions {
        order: 2;
        gap: 8px;
    }

    .asrn-nav__divider,
    .asrn-nav__login,
    .asrn-nav__post,
    .asrn-nav__account-name {
        display: none;
    }

    .asrn-nav__toggler {
        display: inline-flex;
    }

    /* Jobcy floats its mobile panel (absolute, top 65px, max-height 400px + scrollbar); ours grows inside the pill. */
    .asrn-nav .asrn-nav__collapse {
        position: static;
        order: 3;
        flex-basis: 100%;
        max-height: none;
        overflow: visible;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .asrn-nav .asrn-nav__toggler {
        color: var(--asrn-navy);
        border: 0;
        box-shadow: none;
    }

    .asrn-nav__collapse .asrn-menu.navbar-nav {
        align-items: stretch;
        gap: 0;
        padding: 8px 4px 12px;
    }

    .asrn-nav .asrn-menu .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--asrn-line);
    }

    .asrn-nav .asrn-menu .nav-link::after {
        display: none;
    }

    .asrn-menu--mobile-only {
        display: flex;
    }

    .asrn-menu--mobile-only .asrn-btn {
        width: 100%;
        margin-top: 12px;
    }

    .asrn-nav__search {
        right: 0;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    /* Below 768px Jobcy pins .mobile-sticky navbars edge to edge from page load (position fixed, top/left/right 0).
       Only here: above 768px the navbar is static/relative, where these offsets would shift it sideways. */
    .asrn-nav.navbar.mobile-sticky {
        top: 8px;
        right: 12px;
        left: 12px;
    }
}

@media (max-width: 991.98px) {
    /* A pinned header must not hold a menu taller than the screen (landscape phones): scroll inside it. */
    .asrn-nav.navbar.fixed-top .asrn-nav__collapse,
    .asrn-nav.navbar.mobile-sticky .asrn-nav__collapse {
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
    }
}

@media (max-width: 767.98px) {
    .asrn-nav__tagline {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .asrn-header {
        min-height: 84px;
        padding: 10px 10px 0;
    }

    .asrn-nav.navbar {
        min-height: 74px;
        padding: 8px 12px 8px 20px;
    }

    .asrn-nav__logo {
        height: 44px;
    }

    .asrn-nav__search form {
        border-radius: 24px;
    }
}

/* 4. Inner page title band (navy, title left, breadcrumb right; text column 1320 wide = x 300..1620 at 1920) ---- */
.asrn-page-header {
    padding: 60px var(--asrn-gutter) 64px;
    color: #fff;
    background-color: var(--asrn-navy);
}

.asrn-page-header--compact {
    padding-top: 40px;
    padding-bottom: 40px;
}

.asrn-page-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.asrn-page-header__title {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #fff;
}

.asrn-page-header .page-next,
.asrn-page-header nav {
    margin: 0 0 0 auto; /* stays right even when the h1 is visually hidden (job detail "hide title") */
}

.asrn-page-header .breadcrumb {
    justify-content: flex-end !important;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.asrn-page-header .breadcrumb-item,
.asrn-page-header .breadcrumb-item a,
.asrn-page-header .breadcrumb-item.active {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
}

.asrn-page-header .breadcrumb-item a:hover {
    color: var(--asrn-coral);
}

.asrn-page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #fff;
}

/* 5. Employer band above the footer (coral, 700px tall at 1920, the footer card overlaps its last 200px) ------- */
.asrn-cta {
    padding: 80px var(--asrn-gutter) 280px;
    text-align: center;
    color: #fff;
    background-color: var(--asrn-coral);
}

.asrn-cta__inner {
    max-width: 820px;
    margin: 0 auto;
}

.asrn-cta__title {
    margin: 40px 0;
    font-family: var(--asrn-heading);
    font-size: clamp(36px, 3.4vw, 64px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.05em;
    color: #fff;
}

.asrn-cta__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
}

.asrn-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 49px;
}

.asrn-cta__actions .asrn-btn {
    min-height: 52px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 14px;
    font-weight: 600;
}

.asrn-cta__link {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.asrn-cta__link:hover {
    color: #fff;
    text-decoration: underline;
}

/* 6. Footer (navy card 1880 wide, radius 50, dotted texture) ------------------------------------------------- */
.asrn-footer {
    position: relative;
    margin: -200px 20px 20px;
    padding: 78px clamp(20px, 5.2vw, 100px) 40px;
    color: var(--asrn-footer-text);
    background-color: var(--asrn-navy);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
    background-size: 24px 24px;
    border-radius: var(--asrn-radius-xl);
}

.asrn-footer__inner {
    max-width: var(--asrn-wrap);
    margin: 0 auto;
}

.asrn-footer a {
    color: var(--asrn-footer-text);
}

.asrn-footer a:hover {
    color: #fff;
}

.asrn-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px 60px;
    margin-bottom: 120px;
}

.asrn-footer__brand {
    flex: 0 1 423px;
    min-width: 0;
}

.asrn-footer__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.asrn-footer__about {
    max-width: 678px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
}

.asrn-footer__about p {
    margin: 0 0 24px;
    color: var(--asrn-footer-text);
}

.asrn-footer__about a {
    font-size: 13px;
}

.asrn-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 338fr) minmax(0, 577fr) minmax(0, 682fr);
    gap: 40px 61px;
    align-items: start;
}

/* Contact column heading + the menu widgets' headings (Jobcy CustomMenuWidget prints <p class="fs-16 ...">). */
.asrn-footer__heading,
.asrn-footer__menus .footer-item > p {
    position: relative;
    margin: 0 0 40px !important;
    padding-bottom: 20px;
    font-family: var(--asrn-heading);
    font-size: 32px !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--asrn-footer-text) !important;
}

.asrn-footer__heading::after,
.asrn-footer__menus .footer-item > p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 79px;
    height: 4px;
    background-color: var(--asrn-coral);
    border-radius: 2px;
}

.asrn-footer__contact dl {
    margin: 0;
}

.asrn-footer__contact dt {
    margin-bottom: 2px; /* Figma: label -> value 30px, group -> group 75px */
    font-family: var(--asrn-heading); /* Figma: Source Sans 3 SemiBold 18 */
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.asrn-footer__contact dd {
    margin: 0 0 21px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
}

.asrn-footer__menus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 61px;
}

/* The widgets come wrapped in Bootstrap columns (col-lg-2 col-6) - let the grid size them. */
.asrn-footer__menus > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

.asrn-footer__menus .footer-item {
    margin: 0 !important;
}

/* Figma: both link columns share one height and spread their links over it (Job Seekers 5 links 37px apart,
   Employers 4 links 49px apart, last links level). More links simply make the column taller. */
.asrn-footer__menus .footer-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-height: 172px;
}

.asrn-footer__menus .footer-list li {
    margin: 0;
}

.asrn-footer__menus .footer-list a {
    display: inline-block;
    padding: 0;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: var(--asrn-footer-text);
}

.asrn-footer__menus .footer-list a i {
    display: none;
}

.asrn-footer__map {
    display: block;
    overflow: hidden;
    border-radius: var(--asrn-radius-xl);
}

.asrn-footer__map img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 682 / 390;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.asrn-footer__map:hover img {
    transform: scale(1.03);
}

.asrn-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin-top: 100px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
}

.asrn-footer__copyright {
    margin: 0;
    color: var(--asrn-footer-text);
}

.asrn-footer__legal {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-footer__legal li + li::before {
    content: "-";
    margin: 0 10px;
}

/* Phones: the legal links wrap - no "-" separator starting a line, plain gaps instead. */
@media (max-width: 575.98px) {
    .asrn-footer__legal {
        gap: 6px 20px;
    }

    .asrn-footer__legal li + li::before {
        content: none;
    }
}

@media (max-width: 1399.98px) {
    .asrn-footer__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }

    .asrn-footer__map {
        grid-column: 1 / -1;
        max-width: 682px;
    }
}

@media (max-width: 991.98px) {
    .asrn-cta {
        padding-top: 64px;
        padding-bottom: 240px;
    }

    .asrn-cta__title {
        margin: 24px 0;
    }

    .asrn-footer {
        margin: -180px 12px 12px;
        padding-top: 56px;
        border-radius: 36px;
    }

    .asrn-footer__top {
        margin-bottom: 64px;
    }

    .asrn-footer__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .asrn-footer__map {
        border-radius: 30px;
    }

    .asrn-footer__bottom {
        margin-top: 56px;
    }
}

@media (max-width: 575.98px) {
    .asrn-eyebrow {
        font-size: 14px;
        letter-spacing: 0.25em;
    }

    .asrn-footer {
        margin: -180px 10px 10px;
        padding: 44px 22px 28px;
        border-radius: 28px;
    }

    .asrn-footer__heading,
    .asrn-footer__menus .footer-item > p {
        margin-bottom: 28px !important;
        font-size: 26px !important;
    }

    .asrn-footer__menus {
        gap: 40px 24px;
    }

    .asrn-footer__about,
    .asrn-footer__contact dd,
    .asrn-footer__menus .footer-list a,
    .asrn-footer__bottom {
        font-size: 16px;
    }
}

/* Placeholders. Jobcy app.css forces .form-control::placeholder #6c757d !important and 13px through the prefixed
   selector - Figma placeholders are #9199A3 at the input's own size (contact form #939AAD). */
.form-control::-webkit-input-placeholder {
    font-size: inherit;
    color: #9199a3 !important;
}

.form-control::placeholder {
    font-size: inherit;
    color: #9199a3 !important;
}

.asrn-contact__form .form-control::-webkit-input-placeholder {
    color: #939aad !important;
}

.asrn-contact__form .form-control::placeholder {
    color: #939aad !important;
}

/* Jobcy's back-to-top button is 35px: 44px minimum touch target. */
#back-to-top {
    width: 44px;
    height: 44px;
    line-height: 44px;
}

/* ==========================================================================
   asrn-home - Home page blocks (functions/shortcodes.php, partials/shortcodes/asrn-*)
   ========================================================================== */

/*
 * ASRN Career Center - home page blocks (Figma "Home" frame, 1920 wide). Loaded after asrn-figma.css (tokens there).
 * 1 shared - 2 hero - 3 specialties - 4 latest jobs - 5 feature cards - 6 locations - 7 audiences - 8 split CTA -
 * 9 resources - 10 responsive
 */

/* 1. Shared ------------------------------------------------------------------------------------------------- */
body#page-home .main-content,
body#page-home .page-content {
    background-color: var(--asrn-page-bg);
}

.asrn-section {
    max-width: calc(var(--asrn-wrap) + 2 * var(--asrn-gutter));
    margin: 0 auto;
    padding: clamp(56px, 5.2vw, 100px) var(--asrn-gutter) 0;
}

/* Jobcy styles content lists with markers; the home blocks use lists for structure only. */
.asrn-hero li,
.asrn-section li {
    list-style: none;
}



.asrn-section__actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(40px, 3.2vw, 60px);
}

.asrn-heading {
    max-width: 1248px;
    margin: 0 auto clamp(40px, 4.2vw, 80px);
    text-align: center;
}

.asrn-heading.is-left {
    margin-left: 0;
    text-align: left;
}

.asrn-heading .asrn-eyebrow {
    margin-bottom: 22px;
    color: #141414;
}

.asrn-heading__title {
    margin: 0;
    font-family: var(--asrn-heading);
    font-size: clamp(36px, 3.35vw, 64px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--asrn-navy); /* Figma style says #12312E, but the frame renders as the brand navy */
}

.asrn-heading__title .asrn-hl {
    color: var(--asrn-coral);
}

.asrn-heading__title em {
    font-style: italic;
}

.asrn-heading__text {
    margin: 26px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555b68;
}

.asrn-heading.is-light .asrn-heading__title,
.asrn-heading.is-light .asrn-heading__text {
    color: #fff;
}

.asrn-heading.is-light .asrn-eyebrow,
.asrn-features .asrn-eyebrow,
.asrn-resources .asrn-eyebrow {
    color: var(--asrn-coral);
}

.asrn-heading.has-rule .asrn-heading__title::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin-top: 22px;
    background-color: var(--asrn-coral);
}

.asrn-btn--sm {
    min-height: 52px;
    padding: 12px 26px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 14px;
    font-weight: 600;
}

.asrn-btn--light {
    min-height: 54px;
    padding: 14px 28px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--asrn-navy);
    background-color: #fff;
    border: 1px solid #fff;
}

.asrn-btn--light:hover,
.asrn-btn--light:focus-visible {
    color: var(--asrn-navy);
    border-color: var(--asrn-navy);
}

/* White pill + coral round arrow (Figma "Book Appointment" / "Explore Resources"). */
.asrn-pill-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--asrn-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--asrn-navy);
}

.asrn-pill-link span {
    display: inline-flex;
    align-items: center;
    min-height: 60px;
    padding: 0 30px;
    background-color: #fff;
    border-radius: var(--asrn-pill);
}

.asrn-pill-link::after {
    content: "\2192";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 22px;
    color: #fff;
    background-color: var(--asrn-coral);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.asrn-pill-link:hover {
    color: var(--asrn-navy);
}

.asrn-pill-link:hover::after {
    transform: translateX(4px);
}

.asrn-spark {
    position: absolute;
    width: 42px;
    height: 42px;
    background-color: #fff;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    pointer-events: none;
}

.asrn-spark--coral {
    background-color: var(--asrn-coral);
}

.asrn-checklist {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-checklist li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #6d6d6d;
}

.asrn-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-size: 15px;
    font-weight: 600;
    color: #a73e3c;
}

/* 2. Hero (card 1880x918 at x20,y142; content x110; photo + badge on the right) ---------------------------- */
.asrn-hero {
    padding: 20px 20px 0;
}

.asrn-hero__card {
    position: relative;
    min-height: clamp(680px, 47.8vw, 918px);
    padding: clamp(96px, 9.3vw, 179px) clamp(24px, 4.7vw, 90px) 80px;
    overflow: hidden;
    color: #fff;
    background-color: var(--asrn-navy);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
    background-size: 24px 24px;
    border-radius: var(--asrn-radius-xl);
}

.asrn-hero__content {
    position: relative;
    z-index: 2;
    /* Never under the photo (photo = right 41% of the card). */
    max-width: min(932px, calc(59% - 60px));
}

.asrn-hero__heading {
    max-width: 820px;
    margin-bottom: 0;
}

.asrn-hero__heading .asrn-heading__title {
    font-size: clamp(40px, 3.9vw, 75px);
    font-weight: 600;
    line-height: 1.19;
    letter-spacing: -0.02em;
}

.asrn-hero .asrn-hero__heading.asrn-heading .asrn-heading__text { /* beats .asrn-heading.is-light (white); Figma #D9D9D9 */
    max-width: 640px;
    margin-top: 32px;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.02em;
    color: var(--asrn-footer-text);
}

.asrn-hero__search {
    display: flex;
    align-items: center;
    max-width: 932px;
    margin-top: clamp(48px, 6.6vw, 127px);
    padding: 9px 9px 9px 14px;
    background-color: #fff;
    border-radius: var(--asrn-pill);
}

.asrn-hero__field {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    min-width: 0;
    height: 56px;
    padding: 0 14px 0 44px;
}

/* Figma hero search: keyword / location / specialty fields are 280 / 224 / 232 wide (text at x 176 / 464 / 688). */
.asrn-hero__field:first-child {
    flex-grow: 1.38;
}

.asrn-hero__field:nth-child(3) {
    flex-grow: 1.05;
}

.asrn-hero__field + .asrn-hero__field::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 1px;
    background-color: var(--asrn-line);
}

.asrn-hero__field > svg {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-hero__field input,
.asrn-hero__field select,
.asrn-hero__field .choices__inner {
    width: 100%;
    min-height: 0;
    padding: 0 !important;
    font-size: 16px;
    color: var(--asrn-text);
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
}

.asrn-hero__field:focus-within {
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px var(--asrn-coral);
}

.asrn-hero__field input::placeholder {
    color: #9199a3;
}

/* Jobcy's Choices.js wraps both selects; keep them flat inside the pill. */
.asrn-hero__field .choices {
    width: 100%;
    margin: 0;
}

.asrn-hero__field .choices__list--single {
    padding: 0 20px 0 0;
    color: var(--asrn-text);
}

.asrn-hero__field .choices__list--single .choices__item.choices__placeholder {
    /* Figma: placeholder Inter 400 #9199A3 - Jobcy app.css forces #495057 !important */
    font-weight: 400;
    color: #9199a3 !important;
    opacity: 1;
}

/* Choices' inner box was inline-block 30px with the 24px text at its top: text sat ~4px above the icon. */
.asrn-hero__field .choices__inner {
    display: flex;
    align-items: center;
    min-height: 24px;
}

.asrn-hero__field .choices__list--dropdown {
    z-index: 20;
    min-width: 260px;
    margin-top: 14px;
    margin-left: -44px; /* line the list up with the field's left edge, not with the text after the icon */
    color: var(--asrn-text); /* the hero is white text on navy - options were white on the white list */
    border: 0;
    border-radius: var(--asrn-radius);
    box-shadow: var(--asrn-shadow);
}

.asrn-hero__field .choices__list--dropdown .choices__item {
    color: var(--asrn-text);
}

.asrn-hero__field .choices__list--dropdown .choices__item.is-highlighted {
    color: var(--asrn-navy);
    background-color: #fcefee;
}

.asrn-hero__submit {
    flex-shrink: 0;
    min-height: 56px;
    padding: 0 28px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 16px;
    font-weight: 600;
}

.asrn-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    margin: 22px 0 0;
    padding: 0 0 0 8px;
    list-style: none;
    font-size: 18px;
    line-height: 1.4;
    color: var(--asrn-footer-text);
}

.asrn-hero__stats strong {
    font-weight: 700;
    color: #fff;
}

.asrn-hero__suggest {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    max-width: 932px;
    margin-top: 16px;
    padding-left: 8px;
    font-size: 10px; /* Figma: Inter 10px - "Suggestion:" 600 #9199A3, items 400 #7D7D83, hover coral */
    line-height: 16px;
}

.asrn-hero__suggest p {
    margin: 0;
    color: #9199a3;
}

.asrn-hero__suggest p span {
    margin-right: 4px;
    font-weight: 600;
}

.asrn-hero__suggest a {
    color: #7d7d83;
}

.asrn-hero__suggest a:hover {
    color: var(--asrn-coral);
}

.asrn-hero__suggest .asrn-hero__browse {
    font-size: 14px;
    color: #9199a3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.asrn-hero__media {
    position: absolute;
    right: 9px;
    bottom: 0;
    z-index: 1;
    width: min(41%, 769px);
}

.asrn-hero__media img {
    display: block;
    width: 100%;
    height: auto;
}

.asrn-hero__badge {
    position: absolute;
    right: 26px;
    bottom: 28px;
    z-index: 3;
    width: 353px;
    padding: 20px 20px 18px;
    color: var(--asrn-footer-text);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: var(--asrn-nav-font);
}

.asrn-hero__badge-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.asrn-hero__badge-text {
    margin: 2px 0 0;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
}

.asrn-hero__badge-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
    font-size: 18px;
}

.asrn-hero__badge-foot a {
    color: var(--asrn-footer-text);
}

.asrn-hero__avatars {
    display: inline-flex;
}

.asrn-hero__avatars img {
    width: 40px;
    height: 40px;
    margin-left: -10px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
}

/* 3. Specialties (4 x 3 white cards) ------------------------------------------------------------------------ */
.asrn-specialties__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-specialty {
    /* Figma card 408x154: 42px icon tile, title level with the tile's top, "Explore Jobs" 16px under the tile. */
    display: grid;
    grid-template-columns: 42px 1fr;
    align-content: start; /* rows keep their size; min-height must not stretch them */
    gap: 16px 14px;
    height: 100%;
    min-height: 154px;
    padding: 21px 22px 24px;
    color: var(--asrn-navy);
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: var(--asrn-radius);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.asrn-specialty:hover {
    color: var(--asrn-navy);
    box-shadow: var(--asrn-shadow);
    transform: translateY(-2px);
}

.asrn-specialty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #fbe9e8;
    border-radius: 8px;
}

.asrn-specialty__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--asrn-navy);
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.asrn-specialty__name {
    align-self: start;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
}

.asrn-specialty__more {
    grid-column: 1 / -1;
    line-height: 17px;
    font-size: 12px;
    font-weight: 500;
    color: #555b68;
}

.asrn-specialty__more span {
    margin-left: 6px;
    font-size: 14px;
    color: var(--asrn-navy);
}

/* 992-1199px (tablet landscape): the stacked search makes the text column tall and the 41% photo left a big empty
   corner, with the 353px badge covering most of the nurses (QA 23/11). Larger photo, no badge (as below 992). */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .asrn-hero__media {
        width: min(50%, 560px);
    }

    .asrn-hero__badge {
        display: none;
    }
}

/* 4. Latest jobs banner (card 1678x600, photo 494x701 overflowing the top by 101px) -------------------------- */
.asrn-latest {
    padding-top: clamp(120px, 13vw, 250px);
}

.asrn-latest__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 494px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    min-height: 600px;
    padding: 60px 45px 60px;
    color: #fff;
    border-radius: var(--asrn-radius-xl);
}

.asrn-latest__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: var(--asrn-navy);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
    background-size: 24px 24px;
    border-radius: inherit;
}

.asrn-latest__bg svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(10, 101, 204, 0.28);
    stroke-width: 40;
}

.asrn-latest__intro,
.asrn-latest__aside {
    position: relative;
    z-index: 2;
}

.asrn-latest__intro .asrn-heading {
    max-width: 400px;
    margin-bottom: 0;
}

.asrn-latest__intro .asrn-heading .asrn-eyebrow, /* beats .asrn-heading.is-light .asrn-eyebrow */
.asrn-latest__intro .asrn-eyebrow {
    margin-bottom: 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    color: #a73e3c; /* Figma: darker coral on the navy banner */
}

.asrn-latest__intro .asrn-heading__text {
    margin-top: 40px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
}

.asrn-latest__media {
    position: relative;
    z-index: 1;
    align-self: end;
    margin: -161px 0 -60px;
}

.asrn-latest__media img {
    display: block;
    width: 100%;
    height: auto;
}

.asrn-latest__spark-1 {
    top: 46%;
    left: calc(50% - 300px);
    z-index: 2;
}

.asrn-latest__spark-2 {
    top: 14%;
    left: calc(50% + 190px);
    z-index: 2;
    width: 34px;
    height: 34px;
}

.asrn-latest__aside {
    max-width: 520px;
}

.asrn-latest__empty-title {
    margin: 0;
    font-family: var(--asrn-heading);
    font-size: clamp(36px, 3.35vw, 64px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: #fff;
}

.asrn-latest__empty-text {
    margin: 40px 0 36px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #fff;
}

.asrn-latest__jobs {
    display: grid;
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.asrn-latest__jobs a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--asrn-radius);
}

.asrn-latest__jobs a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.asrn-latest__job-title {
    display: block;
    font-family: var(--asrn-heading);
    font-size: 20px;
    font-weight: 700;
}

.asrn-latest__job-meta {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--asrn-footer-text);
}

/* 5. Feature cards (4 staggered white cards, 1st/3rd 45px lower) ------------------------------------------ */
.asrn-features {
    position: relative;
}

.asrn-features__spark {
    top: calc(clamp(56px, 5.2vw, 100px) + 50px);
    right: max(var(--asrn-gutter), calc(50% - 560px));
    background-color: #36394f;
}

.asrn-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    margin: 0;
    padding: 0 0 45px;
    list-style: none;
}

.asrn-feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 418px;
    padding: 40px 28px;
    text-align: center;
    background-color: #fff;
    border-radius: 16px;
}

.asrn-feature:nth-child(odd) {
    margin-top: 45px;
    min-height: 463px;
}

.asrn-feature__title {
    margin: 0;
    font-family: var(--asrn-heading);
    font-size: clamp(30px, 2.25vw, 43px);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.05em;
    color: var(--asrn-navy);
}

.asrn-feature__title,
.asrn-feature__text {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
}

.asrn-feature__text {
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #6d6d6d;
}

/* 6. Locations (coral card 543 + white card 1113) ------------------------------------------------------------ */
.asrn-locations {
    display: grid;
    grid-template-columns: minmax(0, 543fr) minmax(0, 1113fr);
    gap: 24px;
    scroll-margin-top: 110px;
}

.asrn-locations__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 504px;
    padding: 60px 84px 80px;
    background-color: var(--asrn-coral);
    border-radius: var(--asrn-radius-xl);
}

.asrn-locations__intro .asrn-heading {
    margin: 0;
}

.asrn-locations__intro .asrn-eyebrow {
    color: #fff; /* coral on the coral card would vanish */
}

.asrn-locations:not(:has(.asrn-locations__lists)) {
    grid-template-columns: minmax(0, 1fr);
}

.asrn-locations__lists.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.asrn-locations__intro .asrn-heading__title {
    line-height: 1.02;
}

.asrn-locations__intro .asrn-heading__text {
    max-width: 360px;
    margin-top: 48px;
    line-height: 21px;
    letter-spacing: 0.02em;
}

/* Round dark button sitting in a "notch" of page background, bottom-right of the coral card. */
.asrn-locations__go {
    position: absolute;
    right: -14px;
    bottom: -14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background-color: #363636;
    border-radius: 50%;
    box-shadow: 0 0 0 14px var(--asrn-page-bg);
    transition: background-color 0.2s ease;
}

.asrn-locations__go:hover {
    color: #fff;
    background-color: var(--asrn-navy);
}

.asrn-locations__go svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-locations__lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 40px 0;
    background-color: #fff;
    border-radius: var(--asrn-radius-xl);
}

.asrn-locations__col {
    padding: 40px clamp(24px, 3.9vw, 75px);
}

/* Figma at 1920: the two pill columns mirror each other around the divider (790-1184 | 1303-1697 in a 687-1800
   panel) - 18.5% outer / 10.4% inner side padding. Desktop only; tablets keep the even padding above. */
@media (min-width: 1200px) {
    .asrn-locations__col {
        padding: 40px 10.4% 40px 18.5%;
    }

    .asrn-locations__col + .asrn-locations__col {
        padding: 40px 18.5% 40px 10.4%;
    }
}

.asrn-locations__col + .asrn-locations__col {
    border-left: 1px solid var(--asrn-line);
}

.asrn-locations__title {
    margin: 0 0 36px;
    font-family: var(--asrn-heading);
    font-size: clamp(30px, 2.1vw, 40px);
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--asrn-navy);
}

.asrn-locations__col ul {
    display: grid;
    gap: 23px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-locations__col a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 18px 0 12px; /* Figma: icon 12px in, text 39px in */
    font-size: 15px;
    font-weight: 500;
    color: var(--asrn-navy);
    background-color: var(--asrn-page-bg);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.asrn-locations__col a:hover {
    color: var(--asrn-navy);
    background-color: #fbe9e8;
}

.asrn-locations__col a svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.6;
}

.asrn-locations__arrow {
    margin-left: auto;
    font-size: 18px;
}

/* 7. Audiences (white card 1680x683; navy band starts 144px above its bottom) ------------------------------ */
.asrn-audiences {
    position: relative;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    background: linear-gradient(to bottom, transparent calc(100% - 144px), var(--asrn-navy) calc(100% - 144px));
}

.asrn-audiences__card {
    display: grid;
    /* Intro keeps >= 280px between 1400 and 1599px, where this 3-column grid still runs (the two 485px cards
       squeezed it to one word per line at 1440). Below 1400 the intro spans its own row. */
    grid-template-columns: minmax(280px, 1fr) minmax(0, 485px) minmax(0, 485px);
    gap: 24px;
    align-items: start;
    max-width: var(--asrn-wrap);
    margin: 0 var(--asrn-gutter);
    padding: 43px 40px 43px 53px;
    background-color: #fff;
    background-image: radial-gradient(rgba(28, 31, 50, 0.05) 1px, transparent 1.4px);
    background-size: 24px 24px;
    border-radius: var(--asrn-radius-xl);
}

@media (min-width: 1921px) {
    .asrn-audiences__card {
        margin: 0 auto;
    }
}

.asrn-audiences__intro {
    align-self: center;
    padding-right: 24px;
}

.asrn-audiences__intro .asrn-heading {
    margin-bottom: 0;
}

.asrn-audiences__intro .asrn-heading__text {
    margin-top: 26px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #6d6d6d;
}

.asrn-audience {
    overflow: hidden;
    background-color: #f4f6f8;
    border-radius: var(--asrn-radius);
}

.asrn-audience--employers {
    background-color: #fcefee;
}

.asrn-audience__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 485 / 240;
    object-fit: cover;
}

.asrn-audience__body {
    padding: 22px 24px 24px;
}

.asrn-audience__title {
    margin: 0 0 30px;
    font-family: var(--asrn-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--asrn-navy);
}

.asrn-audience .asrn-btn {
    margin-top: 40px;
}

/* 8. Split CTA (navy band, text left, photo 826x491 right) -------------------------------------------------- */
.asrn-split {
    max-width: none;
    padding: clamp(64px, 5.5vw, 100px) var(--asrn-gutter) clamp(64px, 3.5vw, 60px);
    background-color: var(--asrn-navy);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
    background-size: 24px 24px;
}

.asrn-split__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 826px);
    gap: 48px;
    align-items: center;
    max-width: var(--asrn-wrap);
    margin: 0 auto;
}

/* Below the 1600 frame the 826px image squeezed the text column (246px at 1280): cap the image at 55%. */
@media (max-width: 1599.98px) {
    .asrn-split__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 55%);
    }
}

.asrn-split__content .asrn-heading {
    max-width: 600px;
    margin-bottom: 0;
}

.asrn-split__content .asrn-heading__title {
    line-height: 1.02;
}

.asrn-split__content .asrn-heading__text {
    max-width: 600px;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.02em;
}

.asrn-split__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 36px;
}

.asrn-split__link {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.asrn-split__link:hover {
    color: var(--asrn-coral);
}

.asrn-split__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 826 / 491;
    object-fit: cover;
    border-radius: var(--asrn-radius);
}

/* 9. Resources (4 light cards) ------------------------------------------------------------------------------- */
.asrn-resources {
    padding-bottom: clamp(64px, 6vw, 110px);
}

.asrn-resources__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-resource {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    color: var(--asrn-navy);
    background-color: #f5f6f8;
    border-radius: 16px;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.asrn-resource:hover {
    color: var(--asrn-navy);
    background-color: #fff;
    box-shadow: var(--asrn-shadow);
}

.asrn-resource__icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--asrn-navy);
    stroke-width: 1.5;
}

.asrn-resource__tag {
    margin-top: 18px;
    font-size: 11px;
    font-weight: 600;
    color: #a73e3c;
}

.asrn-resource__title {
    margin-top: 14px;
    font-family: var(--asrn-heading);
    font-size: 20px;
    font-weight: 600;
}

.asrn-resource__text {
    margin-top: 12px;
    max-width: 230px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #6d6d6d;
}

.asrn-resource__more {
    margin-top: auto;
    padding-top: 14px;
    font-size: 12px;
    font-weight: 600;
}

/* 10. Responsive -------------------------------------------------------------------------------------------- */
/* Search box: one row needs ~930px. Narrower: keyword on its own row, then location / specialty / button. */
@media (max-width: 1599.98px) {
    .asrn-hero__search {
        flex-wrap: wrap;
        row-gap: 4px;
        padding: 10px;
        border-radius: 28px;
    }

    .asrn-hero__field:first-child {
        flex-basis: 100%;
    }

    .asrn-hero__field:first-child + .asrn-hero__field::before {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .asrn-hero__field,
    .asrn-hero__submit {
        flex-basis: 100%;
    }

    .asrn-hero__field + .asrn-hero__field::before {
        display: block !important;
        top: 0;
        right: 12px;
        bottom: auto;
        left: 12px;
        width: auto;
        height: 1px;
    }
}

@media (max-width: 1399.98px) {
    .asrn-hero__badge {
        width: 300px;
    }

    .asrn-latest__card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 380px) minmax(0, 1fr);
    }

    .asrn-audiences__card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asrn-audiences__intro {
        grid-column: 1 / -1;
        padding: 16px 0 8px;
    }

    .asrn-feature {
        min-height: 360px;
    }

    .asrn-feature:nth-child(odd) {
        min-height: 400px;
    }
}

@media (max-width: 1199.98px) {
    .asrn-specialties__grid,
    .asrn-resources__grid,
    .asrn-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asrn-feature:nth-child(odd) {
        margin-top: 0;
    }

    .asrn-feature,
    .asrn-feature:nth-child(odd) {
        min-height: 0;
        padding: 48px 28px;
    }

    .asrn-locations {
        grid-template-columns: minmax(0, 1fr);
    }

    .asrn-locations__intro {
        min-height: 0;
    }

    /* 3 columns leave ~180px for text at 1024 -> one column, no photo/sparks. */
    .asrn-latest__card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 48px clamp(28px, 5vw, 64px);
    }

    .asrn-latest__media,
    .asrn-spark {
        display: none;
    }

    .asrn-split__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    }
}

@media (max-width: 991.98px) {
    .asrn-hero {
        padding: 12px 12px 0;
    }

    .asrn-hero__card {
        min-height: 0;
        padding: 56px 24px 0;
        border-radius: 36px;
    }

    .asrn-hero__content {
        max-width: none;
    }

    .asrn-hero__search {
        flex-wrap: wrap;
        gap: 4px;
        padding: 10px;
        border-radius: 28px;
    }

    .asrn-hero__field {
        flex-basis: 100%;
        height: 52px;
    }

    .asrn-hero__field + .asrn-hero__field::before {
        top: 0;
        right: 12px;
        bottom: auto;
        left: 12px;
        width: auto;
        height: 1px;
    }

    .asrn-hero__submit {
        flex-basis: 100%;
    }

    .asrn-hero__media {
        position: relative;
        right: auto;
        width: min(100%, 460px);
        margin: 32px auto 0;
    }

    .asrn-hero__badge {
        display: none;
    }

    .asrn-latest {
        padding-top: clamp(64px, 6.5vw, 125px);
    }

    .asrn-latest__card {
        padding: 48px 28px;
        border-radius: 36px;
    }

    .asrn-audiences__card {
        grid-template-columns: minmax(0, 1fr);
        padding: 28px 20px;
        border-radius: 36px;
    }

    .asrn-locations__intro,
    .asrn-locations__lists {
        border-radius: 36px;
    }

    .asrn-split__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Resource cards below 1200px (4 cols -> 2 -> 1): 18px grey text outweighed the 20px title. */
@media (max-width: 1199.98px) {
    .asrn-resource__text {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .asrn-specialties__grid,
    .asrn-resources__grid,
    .asrn-features__grid,
    .asrn-locations__lists {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Phones: first 6 specialties only ("View All Categories" sits right below), compact cards. */
    .asrn-specialties:not(.is-all) .asrn-specialties__grid li:nth-child(n + 7) {
        display: none;
    }

    .asrn-specialty {
        min-height: 0;
        padding: 16px 18px;
    }


    .asrn-feature,
    .asrn-feature:nth-child(odd) {
        padding: 32px 24px;
    }

    .asrn-feature__text {
        margin-top: 12px;
        font-size: 16px;
    }

    .asrn-locations__intro {
        padding: 48px 28px 72px;
    }

    .asrn-locations__col + .asrn-locations__col {
        border-top: 1px solid var(--asrn-line);
        border-left: 0;
    }

    .asrn-locations__go {
        right: 18px;
        bottom: -14px;
    }

    .asrn-hero__heading .asrn-heading__text,
    .asrn-hero__stats {
        font-size: 16px;
        line-height: 1.5;
    }

    .asrn-pill-link span {
        min-height: 52px;
        padding: 0 22px;
    }

    .asrn-pill-link::after {
        width: 52px;
        height: 52px;
    }
}

/* ==========================================================================
   asrn-jobs - Job pages (list, detail, categories) + job cards
   ========================================================================== */

/*
 * ASRN Career Center - job pages (Figma "Job Listings Page", "Job Details Page", "Job Categories Page", 1920 wide).
 * Loaded after asrn-home.css. 1 badges - 2 list: search band - 3 list: strip - 4 list: cards - 5 pagination -
 * 6 detail - 7 related jobs - 8 categories page - 9 responsive
 */

/* 1. Badges -------------------------------------------------------------------------------------------------- */
.asrn-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    border-radius: 3px;
    white-space: nowrap;
}

.asrn-badge--blue {
    color: #0a65cc;
    background-color: #e7f0fa;
}

.asrn-badge--coral {
    color: var(--asrn-coral);
    background-color: #fcefee;
}

.asrn-badge--grey {
    color: #474c54;
    background-color: #edeff5;
}

/* 2. Job list: search form in the navy band (Jobcy's #jobs-filter-form, restyled) ------------------------------ */
body:has(.asrn-jobs) .asrn-page-header,
body:has(.asrn-job__search) .asrn-page-header {
    padding-bottom: 24px;
}

body:has(.asrn-jobs) .main-content,
body:has(.asrn-job) .main-content,
body:has(.asrn-specialties.is-all) .main-content {
    background-color: #f1f2f4;
}

.asrn-jobs__search {
    padding: 0 var(--asrn-gutter) 72px;
    background-color: var(--asrn-navy);
}

.asrn-jobs__search .job-list-header {
    max-width: 1394px;
    margin: 0 auto;
}

.asrn-jobs__search .job-list-header > form > .row {
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 12px 12px 12px 24px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 8px;
    box-shadow: var(--asrn-shadow-soft);
}

.asrn-jobs__search .job-list-header > form > .row > [class*="col-"] {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding: 0;
}

.asrn-jobs__search .job-list-header > form > .row > [class*="col-"] + [class*="col-"] {
    border-left: 1px solid var(--asrn-line);
}

.asrn-jobs__search .job-list-header > form > .row > [class*="col-"]:last-child {
    flex: 0 0 auto;
    border-left: 0;
}

.asrn-jobs__search .filler-job-form {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
    padding-left: 24px;
}

.asrn-jobs__search .filler-job-form > i {
    position: absolute;
    top: 50%;
    left: 22px;
    z-index: 2;
    font-size: 22px;
    color: var(--asrn-coral);
    transform: translateY(-50%);
}

.asrn-jobs__search .filler-job-form .form-control,
.asrn-jobs__search .filler-job-form .form-select,
.asrn-jobs__search .filler-job-form .choices__inner {
    min-height: 0;
    padding: 0 12px 0 34px !important;
    font-size: 16px;
    color: var(--asrn-text);
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.asrn-jobs__search .filler-job-form .choices {
    width: 100%;
    margin: 0;
}

/* Same 56px line + 16px text for the keyword input and both Choices selects (Choices: 44px, Jobcy input: 14px). */
.asrn-jobs__search .filler-job-form .form-control,
.asrn-jobs__search .filler-job-form .choices__inner {
    display: flex;
    align-items: center;
    height: 56px;
    min-height: 56px;
    font-size: 16px !important;
    line-height: 24px;
}

/* Jobcy's featured-categories partial prints two <br> even when the chips are off. */
.jobs-listing-container > br {
    display: none;
}

.asrn-jobs__search .filler-job-form .choices__list--single {
    padding: 0 16px 0 0;
}

.asrn-jobs__search .filler-job-form .choices__placeholder,
.asrn-jobs__search .filler-job-form .form-control::placeholder {
    font-size: 16px;
    color: #9199a3;
    opacity: 1;
}

.asrn-jobs__search .filler-job-form:focus-within {
    border-radius: 6px;
    box-shadow: inset 0 0 0 2px var(--asrn-coral);
}

/* Buttons: "Advance Filter" as text with chevron, then the coral "Find Job" pill (design order). */
.asrn-jobs__search .job-list-header .row.g-1 {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.asrn-jobs__search .job-list-header .row.g-1 > .col-6 {
    width: auto;
    margin-top: 0;
    padding: 0;
}

.asrn-jobs__search .job-list-header .row.g-1 > .col-6:last-child {
    order: -1;
}

.asrn-jobs__search .job-list-header .btn {
    align-items: center;
    min-height: 56px;
    gap: 10px;
    white-space: nowrap;
}

.asrn-jobs__search .job-list-header .btn i {
    display: none;
}

.asrn-jobs__search .job-list-header .btn-success {
    padding: 0 16px 0 24px;
    font-size: 16px;
    font-weight: 500;
    color: #474c54 !important;
    background: none !important;
    border: 0 !important;
    border-left: 1px solid var(--asrn-line) !important;
    border-radius: 0;
    box-shadow: none !important;
}

.asrn-jobs__search .job-list-header .btn-success span {
    display: none;
}

.asrn-jobs__search .job-list-header .btn-success::before {
    content: "Advanced Filter";
}

.asrn-jobs__search .job-list-header .btn-success::after {
    content: "";
    width: 9px;
    height: 9px;
    margin: -4px 0 0 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.asrn-jobs__search .job-list-header .btn-primary {
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: var(--asrn-coral);
    border-color: var(--asrn-coral);
    border-radius: var(--asrn-pill);
}

/* Design label "Find Job" (Jobcy prints "Filter"; the site is English only). */
.asrn-jobs__search .job-list-header .btn-primary span {
    display: none;
}

.asrn-jobs__search .job-list-header .btn-primary::after {
    content: "Find Job  \2192";
    white-space: pre;
}

.asrn-jobs__search .job-list-header .btn-primary:hover {
    background-color: var(--asrn-navy);
    border-color: var(--asrn-navy);
}

/* Featured specialties chips (only when show_featured_categories is on). */
.asrn-jobs .featured-categories,
.asrn-jobs .popular-box {
    max-width: 1394px;
    margin: 24px auto 0;
}

/* 3. Strip: active filters left, sort / per page / layout right (white, full width) ------------------------- */
.asrn-jobs-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    min-height: 84px;
    margin: 0 calc(50% - 50vw);
    padding: 18px var(--asrn-gutter);
    background-color: #fff;
}

.asrn-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-chips a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 16px;
    font-size: 14px;
    color: #474c54;
    background-color: var(--asrn-line);
    border-radius: 30px;
}

.asrn-chips a:hover {
    color: var(--asrn-navy);
    background-color: #e4e5e8;
}

.asrn-chips a span[aria-hidden] {
    font-size: 18px;
    line-height: 1;
}

.asrn-jobs-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.asrn-jobs-toolbar .form-select {
    width: 180px;
    height: 48px;
    padding: 0 40px 0 18px;
    font-size: 16px;
    color: #474c54;
    border: 1px solid #e4e5e8;
    border-radius: 6px;
    box-shadow: none;
}

.asrn-view-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--asrn-line);
    border-radius: 6px;
}

.asrn-view-toggle label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    color: #9199a3;
    border-radius: 4px;
    cursor: pointer;
}

.asrn-view-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.asrn-view-toggle .btn-check:checked + label {
    color: var(--asrn-text);
    background-color: #f1f2f4;
}

.asrn-view-toggle .btn-check:focus-visible + label {
    box-shadow: 0 0 0 2px var(--asrn-coral);
}

/* 4. Results: cards 1394 wide, 24px apart ------------------------------------------------------------------ */
.jobs-listing {
    position: relative;
    padding: 0 var(--asrn-gutter);
}

.asrn-jobs-results {
    display: grid;
    gap: 24px;
    max-width: 1394px;
    margin: 0 auto;
    padding: 36px 0 clamp(64px, 6vw, 110px);
}

.asrn-jobs-results.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asrn-jobs-results > .asrn-jobs-count,
.asrn-jobs-results > nav,
.asrn-jobs-results > .asrn-jobs-empty {
    grid-column: 1 / -1;
}

.asrn-jobs-count {
    margin: 0 0 -8px;
    font-size: 14px;
    color: #5e6670;
}

.asrn-job-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin: 0 !important;
    padding: 32px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asrn-job-card:hover,
.asrn-job-card.is-featured {
    border-color: #0a65cc;
    box-shadow: var(--asrn-shadow);
}

.asrn-job-card:hover {
    transform: none; /* Jobcy lifts .job-box 8px on hover */
}

/* Cards outside the results grid (company page "Current Opening" list) need their own spacing. */
.asrn-job-card + .asrn-job-card {
    margin-top: 24px !important;
}

.asrn-jobs-results > .asrn-job-card + .asrn-job-card {
    margin-top: 0 !important;
}

.asrn-job-card.is-featured {
    background-image: linear-gradient(90deg, #fff 0%, #fff6e6 55%, #fff 100%);
}

.asrn-job-card__logo img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
}

.asrn-job-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.asrn-job-card__title {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px; /* Figma job card (list): Inter Medium 18 */
    font-weight: 500;
    line-height: 28px;
}

.asrn-job-card__title a {
    color: var(--asrn-text);
}

.asrn-job-card__title a:hover {
    color: var(--asrn-coral);
}

.asrn-job-card__company {
    margin: 2px 0 0;
    font-size: 14px;
    color: #5e6670;
}

.asrn-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.asrn-job-card__meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #636a80;
}

.asrn-job-card__meta svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #c5c9d6;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-job-card__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.asrn-job-card__save,
.asrn-job__save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #18191c;
    border-radius: 4px;
}

.asrn-job-card__save:hover,
.asrn-job__save:hover {
    background-color: #e7f0fa;
}

.asrn-job-card__save svg,
.asrn-job__save svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}

.bookmark-post .asrn-job-card__save svg,
.bookmark-post .asrn-job__save svg {
    fill: currentColor;
}

.asrn-job-card__apply {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--asrn-coral);
    white-space: nowrap;
    background-color: #e7f0fa;
    border-radius: var(--asrn-pill);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.asrn-job-card__apply:hover,
.asrn-job-card.is-featured .asrn-job-card__apply,
.asrn-job-card:hover .asrn-job-card__apply {
    color: #fff;
    background-color: var(--asrn-coral);
}

.asrn-job-card__apply.is-applied,
.asrn-job-card__apply.is-disabled {
    color: #5e6670;
    background-color: var(--asrn-line);
    pointer-events: none;
}

.asrn-job-card__apply svg {
    width: 18px;
    height: 18px;
}

/* Grid layout: same card, stacked. */
.asrn-jobs-results.is-grid .asrn-job-card {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
}

.asrn-jobs-results.is-grid .asrn-job-card__logo img {
    width: 56px;
    height: 56px;
}

.asrn-jobs-results.is-grid .asrn-job-card__actions {
    grid-column: 1 / -1;
    justify-content: space-between;
}

.asrn-jobs-empty {
    padding: 56px 24px;
    text-align: center;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 12px;
}

.asrn-jobs-empty__title {
    margin: 0 0 6px;
    font-family: var(--asrn-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--asrn-navy);
}

.asrn-jobs-empty p {
    color: #5e6670;
}

/* 5. Pagination (Figma "Pagination": round, active coral) ------------------------------------------------------ */
.job-pagination {
    gap: 8px;
    margin-top: 24px !important;
}

.job-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #5e6670;
    background: none;
    border: 0;
    border-radius: 50% !important;
}

.job-pagination .page-link:hover {
    color: var(--asrn-coral);
    background-color: #fcefee;
}

.job-pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--asrn-coral);
}

.job-pagination .page-item:last-child:not(.disabled) .page-link {
    color: var(--asrn-coral);
    background-color: #e7f0fa;
}

.job-pagination .page-item.disabled .page-link {
    opacity: 0.4;
}

/* 6. Job detail ------------------------------------------------------------------------------------------------ */
.asrn-job__inner {
    max-width: calc(var(--asrn-wrap) + 2 * var(--asrn-gutter));
    margin: 0 auto;
    padding: 40px var(--asrn-gutter) 80px;
}

.asrn-job__head {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 48px;
}

.asrn-job__logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.asrn-job__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.asrn-job__title {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: var(--asrn-text);
}

.asrn-job__company {
    margin: 4px 0 0;
    font-size: 16px;
}

.asrn-job__company a {
    color: #474c54;
}

.asrn-job__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.asrn-job__contacts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.asrn-job__contacts a {
    color: #474c54;
}

.asrn-job__contacts a:hover {
    color: var(--asrn-coral);
}

.asrn-job__contacts svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #0a65cc;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-job__cta {
    text-align: right;
}

.asrn-job__cta-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.asrn-job__save-wrap .favorite-icon a.asrn-job__save,
.asrn-job__save-wrap.bookmark-post .favorite-icon a.asrn-job__save {
    display: inline-flex; /* Jobcy's .favorite-icon a is a block with padding: the icon sat at the top */
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 56px;
    height: 56px;
    color: var(--asrn-coral);
    background-color: #e7f0fa;
    border: 0;
    border-radius: 4px;
}

.asrn-job__save-wrap .favorite-icon a.asrn-job__save:hover {
    background-color: #d6e6f7;
}

.asrn-job__apply {
    min-width: 248px;
    min-height: 56px;
}

.asrn-job__apply.is-applied,
.asrn-job__apply.is-disabled {
    background-color: var(--asrn-line);
    border-color: var(--asrn-line);
    pointer-events: none;
}

.asrn-job__expiry {
    margin: 10px 0 0;
    font-size: 14px;
    color: #767f8c;
}

.asrn-job__expiry strong {
    font-weight: 500;
    color: var(--asrn-coral);
}

.asrn-job__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 536px);
    gap: clamp(32px, 3.75vw, 72px);
    align-items: start;
}

.asrn-job__section-title {
    margin: 0 0 16px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
    color: #000; /* Figma: Job Description / Responsibilities #000 */
}

/* Employer profile: section titles 20px (Figma "Description" / "Company Benefits"). */
.asrn-company .asrn-job__section-title {
    font-size: 20px;
    color: var(--asrn-text);
}

.asrn-job__lead,
.asrn-job__content,
.asrn-job__content p,
.asrn-job__content li {
    font-size: 16px;
    line-height: 24px;
    color: #5e6670;
}

.asrn-job__content h2,
.asrn-job__content h3,
.asrn-job__content h4 {
    margin: 32px 0 16px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
    color: #000; /* Figma "Responsibilities": #000 */
}

.asrn-job__content ul {
    padding-left: 20px;
}

.asrn-job__content li + li {
    margin-top: 12px;
}

.asrn-job__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 24px 0 0;
}

.asrn-job__facts dt {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: #767f8c;
}

.asrn-job__facts dd {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.asrn-job__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.asrn-job__share {
    margin-top: 32px;
}

.asrn-job__share .list-inline-item > span { /* "Share this job:" - Figma Inter 16 #191F33 */
    font-size: 16px;
    font-weight: 400;
    color: #191f33;
}

.asrn-job__aside {
    display: grid;
    gap: 24px;
}

.asrn-job-box {
    padding: 32px;
    background-color: #fff;
    border: 2px solid #e7f0fa;
    border-radius: 8px;
}

.asrn-job-box__title {
    margin: 0 0 24px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-overview li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asrn-overview svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-overview__label {
    font-size: 12px;
    text-transform: uppercase;
    color: #767f8c;
}

.asrn-overview__value {
    font-size: 14px;
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-company-box__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.asrn-company-box__head img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.asrn-company-box__name {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 20px;
    font-weight: 500;
}

.asrn-company-box__name a {
    color: var(--asrn-text);
}

.asrn-company-box__desc {
    margin: 4px 0 0;
    font-size: 14px;
    color: #767f8c;
}

.asrn-company-box__facts {
    display: grid;
    gap: 14px;
    margin: 0;
}

.asrn-company-box__facts > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
}

.asrn-company-box__facts dt {
    font-weight: 400;
    color: #5e6670;
}

.asrn-company-box__facts dd {
    margin: 0;
    text-align: right;
    word-break: break-word;
    color: var(--asrn-text);
}

.asrn-company-box__facts a {
    color: var(--asrn-text);
}

.asrn-company-box__social {
    display: flex;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.asrn-company-box__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: #0a65cc;
    background-color: #e7f0fa;
    border-radius: 4px;
}

.asrn-company-box__social a:hover {
    color: #fff;
    background-color: #0a65cc;
}

.asrn-company-box__link {
    display: inline-block;
    margin-top: 24px;
    font-weight: 600;
    color: var(--asrn-coral);
}

/* 7. Related jobs (white band, 4 cards) ------------------------------------------------------------------------ */
.asrn-related {
    padding: clamp(56px, 5vw, 100px) var(--asrn-gutter);
    background-color: #fff;
}

.asrn-related__inner {
    max-width: var(--asrn-wrap);
    margin: 0 auto;
}

.asrn-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.asrn-related__title {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: clamp(28px, 2.1vw, 40px);
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-related__more {
    font-weight: 600;
    color: var(--asrn-coral);
}

.asrn-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-related-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 24px;
    color: var(--asrn-text);
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asrn-related-card:hover {
    color: var(--asrn-text);
    border-color: #0a65cc;
    box-shadow: var(--asrn-shadow);
}

.asrn-related-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.asrn-related-card__top img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.asrn-related-card__company {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.asrn-related-card__place {
    display: block;
    font-size: 14px;
    color: #9199a3;
}

.asrn-related-card__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.asrn-related-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    font-size: 14px;
    color: #767f8c;
}

.asrn-related-card__open {
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--asrn-coral);
    white-space: nowrap;
    border: 1px solid var(--asrn-coral);
    border-radius: 3px;
}

/* 8. Job Categories page (Figma "Job Categories Page": coral icon tile, name, open jobs) ---------------------- */
.asrn-specialties.is-all {
    max-width: calc(1390px + 2 * var(--asrn-gutter)); /* Figma Job Categories page: cards 264 -> 1654 at 1920 */
    padding-bottom: clamp(56px, 5vw, 100px);
}

.asrn-specialties.is-all .asrn-specialty {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 28px;
}

.asrn-specialties.is-all .asrn-specialty__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    background-color: var(--asrn-coral);
}

.asrn-specialties.is-all .asrn-specialty__icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.asrn-specialties.is-all .asrn-specialty__name {
    font-size: 20px;
    font-weight: 500;
}

.asrn-specialties.is-all .asrn-specialty__more {
    font-size: 14px;
    font-weight: 400;
    color: #767f8c;
}

/* 9. Responsive ---------------------------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
    .asrn-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .asrn-jobs__search .job-list-header > form > .row {
        flex-wrap: wrap;
        padding: 12px;
        row-gap: 4px;
    }

    .asrn-jobs__search .job-list-header > form > .row > [class*="col-"] {
        flex: 1 1 calc(50% - 8px);
    }

    .asrn-jobs__search .job-list-header > form > .row > [class*="col-"]:last-child {
        flex: 1 1 100%;
    }

    .asrn-jobs__search .job-list-header .row.g-1 {
        justify-content: space-between;
    }

    .asrn-job__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .asrn-jobs-results.is-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .asrn-jobs__search {
        padding-bottom: 40px;
    }

    .asrn-jobs__search .job-list-header > form > .row > [class*="col-"] {
        flex: 1 1 100%;
        min-width: 0;
        border-left: 0 !important;
    }

    .asrn-jobs__search .job-list-header > form > .row > [class*="col-"] + [class*="col-"] {
        border-top: 1px solid var(--asrn-line);
    }

    .asrn-jobs__search .job-list-header .row.g-1 > .col-6 {
        flex: 1 1 0;
        min-width: 0;
    }

    .asrn-jobs__search .job-list-header .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding-right: 12px;
        padding-left: 12px; /* 360px phones: "Find Job" stuck 4px out of the card (QA 23/11) */
    }

    .asrn-jobs__search .job-list-header .btn-success {
        border-left: 0 !important;
    }

    .asrn-jobs-toolbar {
        width: 100%;
    }

    .asrn-jobs-toolbar .form-select {
        flex: 1 1 0;
        width: auto;
    }

    .asrn-job-card {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 20px;
    }

    .asrn-job-card__logo img {
        width: 52px;
        height: 52px;
    }

    .asrn-job-card__actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .asrn-job__head {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .asrn-job__logo {
        width: 64px;
        height: 64px;
    }

    .asrn-job__cta {
        grid-column: 1 / -1;
        text-align: left;
    }

    .asrn-job__cta-buttons {
        justify-content: flex-start;
    }

    .asrn-job__apply {
        flex: 1 1 auto;
        min-width: 0;
    }

    .asrn-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asrn-job-box {
        padding: 24px;
    }

    .asrn-related__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 10. Companies + candidates (Figma "companies page", "companies detail page", "Candidate Search Page",
       "Candidate View profile Page") ------------------------------------------------------------------------ */
body:has(.asrn-company) .main-content {
    background-color: #f1f2f4;
}

.asrn-directory__search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1394px;
    margin: 0 auto;
    padding: 12px 12px 12px 24px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 8px;
    box-shadow: var(--asrn-shadow-soft);
}

.asrn-directory__field {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    height: 56px;
}

.asrn-directory__field svg {
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.7;
    stroke-linecap: round;
}

.asrn-directory__field input {
    width: 100%;
    height: 56px;
    padding: 0 12px 0 36px;
    font-size: 16px;
    border: 0;
    outline: none;
}

.asrn-directory__field:focus-within {
    border-radius: 6px;
    box-shadow: 0 2px 0 var(--asrn-coral);
}

.asrn-directory__search .asrn-btn {
    min-height: 56px;
    padding: 0 32px;
}

.asrn-company-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-company-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    padding: 32px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asrn-company-card:hover {
    border-color: #0a65cc;
    box-shadow: var(--asrn-shadow);
}

.asrn-company-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.asrn-company-card__head img {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}

.asrn-company-card__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
}

.asrn-company-card__name a {
    color: var(--asrn-text);
}

.asrn-company-card__place {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 6px 0 0;
    font-size: 14px;
    color: #9199a3;
}

.asrn-company-card__place svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #9199a3;
    stroke-width: 1.6;
}

.asrn-company-card__jobs {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #0a65cc;
    background-color: #e7f0fa;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.asrn-company-card:hover .asrn-company-card__jobs {
    color: #fff;
    background-color: #0a65cc;
}

.asrn-company-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -8px 0 0;
    font-size: 14px;
    color: #18191c;
}

/* Five stars filled to --asrn-rating (0-5) - no images. */
.asrn-stars {
    --asrn-rating: 0;
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 2px;
}

.asrn-stars::before {
    content: "\2605\2605\2605\2605\2605";
    color: #e4e5e8;
}

.asrn-stars::after {
    content: "\2605\2605\2605\2605\2605";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--asrn-rating) / 5 * 100%);
    overflow: hidden;
    color: #ffaa00;
}

/* Employer + candidate profile head (white card over the navy band). */
body:has(.asrn-company) .asrn-page-header {
    padding-bottom: 120px;
}

.asrn-company__inner {
    max-width: calc(1320px + 2 * var(--asrn-gutter)); /* Figma employer profile: 300 -> 1620 at 1920 */
    margin: 0 auto;
    padding: 0 var(--asrn-gutter) 80px;
}

.asrn-company__head {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: -80px 0 48px;
    padding: 32px 40px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 8px;
    box-shadow: var(--asrn-shadow-soft);
}

.asrn-company__head > img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
}

.asrn-company__name {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-company__sub {
    margin: 6px 0 0;
    font-size: 16px;
    color: #767f8c;
}

.asrn-btn--blue {
    min-height: 56px;
    padding: 0 32px;
    color: #fff;
    background-color: #0a65cc;
    border: 1px solid #0a65cc;
    border-radius: 4px;
}

.asrn-btn--blue:hover,
.asrn-btn--blue:focus-visible {
    color: #fff;
    background-color: #0851a3;
    border-color: #0851a3;
}

.asrn-btn--ghost {
    min-height: 48px;
    color: var(--asrn-coral);
    background-color: #fff;
    border: 1px solid #fff;
}

.asrn-btn--ghost:hover {
    color: var(--asrn-coral);
    background-color: #fcefee;
}

.asrn-overview--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asrn-contact-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-contact-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--asrn-line);
}

.asrn-contact-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.asrn-contact-list svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #0a65cc;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-contact-list li > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
    word-break: break-word;
    color: var(--asrn-text);
}

.asrn-contact-list a {
    color: var(--asrn-text);
}

.asrn-contact-list a:hover {
    color: var(--asrn-coral);
}

.asrn-reviews {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.asrn-reviews__login {
    color: #5e6670;
}

.asrn-company__jobs {
    max-width: none;
    padding-bottom: 0;
}

/* Candidate rows (Figma "Candidate" card). */
.asrn-candidate-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px 32px 24px 24px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asrn-candidate-card:hover,
.asrn-candidate-card.is-featured {
    border-color: var(--asrn-coral);
    box-shadow: var(--asrn-shadow);
}

.asrn-candidate-card__photo {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
}

.asrn-candidate-card__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
}

.asrn-candidate-card__name a {
    color: var(--asrn-text);
}

.asrn-candidate-card:hover .asrn-candidate-card__name a {
    color: var(--asrn-coral);
}

.asrn-candidate-card__title {
    margin: 4px 0 0;
    font-size: 14px;
    color: #5e6670;
}

.asrn-candidate-card__available::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 2px;
    background-color: #16a34a;
    border-radius: 50%;
}

.asrn-candidate-card:hover .asrn-job-card__apply {
    color: #fff;
    background-color: var(--asrn-coral);
}

/* Candidate profile. */
body:has(.asrn-candidate) .asrn-page-header {
    padding-bottom: 64px;
}

.asrn-candidate__head {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    margin-top: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.asrn-candidate .asrn-company__inner {
    max-width: calc(var(--asrn-wrap) + 2 * var(--asrn-gutter)); /* Figma candidate profile: 120 -> 1800 */
    padding-top: 40px;
}

.asrn-candidate__photo {
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.asrn-candidate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.asrn-candidate__section {
    margin: 0 0 16px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--asrn-text);
}

.asrn-candidate__main .asrn-job__content + .asrn-candidate__section,
.asrn-candidate__main .asrn-timeline + .asrn-candidate__section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e4e5e8;
}

.asrn-timeline {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    border-left: 2px solid #fbe9e8;
}

.asrn-timeline__title {
    margin: 0;
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-timeline__meta,
.asrn-timeline__text {
    margin: 4px 0 0;
    font-size: 15px;
    color: #5e6670;
}

.asrn-resume {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--asrn-text);
}

.asrn-resume > svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #c5c9d6;
    stroke-width: 1.3;
}

.asrn-resume > span:nth-child(2) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.asrn-resume__name {
    font-size: 14px;
    color: #767f8c;
}

.asrn-resume__dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #e7f0fa;
    border-radius: 4px;
}

.asrn-resume__dl svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-resume:hover .asrn-resume__dl {
    background-color: #fbe9e8;
}

@media (max-width: 1399.98px) {
    .asrn-company-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .asrn-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .asrn-company-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .asrn-directory__search {
        flex-wrap: wrap;
        padding: 12px;
    }

    .asrn-directory__search .asrn-btn {
        width: 100%;
    }

    .asrn-company__head {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 24px;
    }

    .asrn-company__head > img {
        width: 56px;
        height: 56px;
    }

    .asrn-company__head > .asrn-btn,
    .asrn-candidate__actions {
        grid-column: 1 / -1;
    }

    .asrn-candidate-card {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 20px;
    }

    .asrn-candidate-card__photo {
        width: 56px;
        height: 56px;
    }

    .asrn-candidate-card .asrn-job-card__apply {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

/* Jobcy styles content list items directly; the lists below are layout only (description lists keep bullets). */
.asrn-company-grid > li,
.asrn-chips > li,
.asrn-job-card__meta > li,
.asrn-overview > li,
.asrn-contact-list > li,
.asrn-company-box__social > li,
.asrn-related__grid > li,
.asrn-job__contacts > li,
.asrn-timeline > li {
    list-style: none;
}

.asrn-jobs-toolbar .form-select:focus-visible {
    border-color: var(--asrn-coral);
    outline: 2px solid var(--asrn-coral);
    outline-offset: 1px;
}

.asrn-btn:disabled,
.asrn-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.asrn-directory__results {
    padding: 0 var(--asrn-gutter);
}

/* Apply modals (Jobcy partials #applyNow / #applyExternalJob, no Figma frame): same coral pill submit as the rest of
   the redesign; job name in navy instead of Jobcy's primary. */
#applyNow .modal-content,
#applyExternalJob .modal-content {
    border: 0;
    border-radius: 20px;
}

#applyNow .modal-job-name,
#applyExternalJob .modal-job-name {
    color: var(--asrn-navy) !important;
}

#applyNow button[type="submit"],
#applyExternalJob button[type="submit"] {
    min-height: 52px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background-color: var(--asrn-coral);
    border-color: var(--asrn-coral);
    border-radius: var(--asrn-pill);
}

#applyNow button[type="submit"]:hover,
#applyNow button[type="submit"]:focus-visible,
#applyExternalJob button[type="submit"]:hover,
#applyExternalJob button[type="submit"]:focus-visible {
    color: #fff;
    background-color: var(--asrn-navy);
    border-color: var(--asrn-navy);
}

#applyNow button[type="submit"]:focus-visible,
#applyExternalJob button[type="submit"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(220, 90, 88, 0.35);
}

/* While sending, Jobcy adds .button-loading (spinner); its .btn-primary white !important would print the text on it. */
#applyNow button[type="submit"].button-loading,
#applyExternalJob button[type="submit"].button-loading {
    color: transparent !important;
}

/* Jobs search band selects: Figma placeholders Inter 400 #9199A3 (Jobcy app.css forces 500 / #495057 !important). */
.asrn-jobs__search .choices__inner .choices__item.choices__placeholder,
.asrn-jobs__search .choices__list--single .choices__item[data-value=""] { /* nothing chosen yet; a chosen value stays dark */
    font-weight: 400;
    color: #9199a3 !important;
}

/* Small phones: "Advanced Filter" and "Find Job" did not fit side by side (text clipped up to 18px at 320) - stack. */
@media (max-width: 575.98px) {
    .asrn-jobs__search .job-list-header .row.g-1 {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .asrn-jobs__search .job-list-header .row.g-1 > .col-6 {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   asrn-pages - Blog, comments, contact, text pages
   ========================================================================== */

/*
 * ASRN Career Center - blog, comments, contact, text pages (Figma "Blog Page", "Single Blog detail",
 * "contact us page", "internal empty Page"). Loaded after asrn-jobs.css.
 * 1 blog layout + sidebar widgets - 2 post cards - 3 single post - 4 comments (FOB Comment) - 5 related posts -
 * 6 contact - 7 text pages - 8 responsive
 */

/* 1. Blog layout -------------------------------------------------------------------------------------------- */
body:has(.asrn-blog) .main-content,
body:has(.asrn-contact) .main-content,
body:has(.asrn-page) .main-content {
    background-color: #f1f2f4;
}

.asrn-blog__inner {
    max-width: calc(var(--asrn-wrap) + 2 * var(--asrn-gutter)); /* Figma blog list / post: 120 -> 1800 at 1920 */
    margin: 0 auto;
    padding: 56px var(--asrn-gutter) 80px;
}

.asrn-blog__grid {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.asrn-blog__grid--post {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: clamp(32px, 4vw, 96px);
}

/* Jobcy widgets in the primary_sidebar -> white boxes. */
.asrn-blog__sidebar {
    display: grid;
    gap: 24px;
}

.asrn-blog__sidebar > div,
.asrn-blog__sidebar > .widget {
    margin: 0 !important;
    padding: 24px !important;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 8px;
}

.asrn-blog__sidebar .sd-title h6,
.asrn-blog__sidebar h6 {
    margin: 0 0 16px !important;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px !important;
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-blog__sidebar .form-control {
    height: 48px;
    padding-left: 16px;
    font-size: 15px;
    border: 1px solid #e4e5e8;
    border-radius: 5px;
}

.asrn-blog__sidebar .form-check-label {
    margin: 0 !important;
    font-size: 15px;
    color: #474c54;
}

.asrn-blog__sidebar a:hover .form-check-label,
.asrn-blog__sidebar a:hover {
    color: var(--asrn-coral);
}

.asrn-blog__sidebar .widget-popular-post {
    margin: 0 !important;
}

.asrn-blog__sidebar .widget-popular-post li {
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
    border-color: var(--asrn-line) !important;
}

.asrn-blog__sidebar .widget-popular-post li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.asrn-blog__sidebar .widget-popular-post-img {
    width: 84px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px !important;
}

.asrn-blog__sidebar .widget-popular-post .text-truncate {
    white-space: normal;
}

.asrn-blog__sidebar .widget-popular-post a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--asrn-text) !important;
}

/* Tags widget (Jobcy prints .tagcloud a.badge): grey chips, coral on hover. */
.asrn-blog__sidebar .tagcloud a,
.asrn-blog__sidebar .badge {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #474c54;
    background-color: #f1f2f4;
    border-radius: 3px;
}

.asrn-blog__sidebar .tagcloud a:hover,
.asrn-blog__sidebar .badge:hover {
    color: #fff;
    background-color: var(--asrn-coral);
}

/* 2. Post cards ---------------------------------------------------------------------------------------------- */
.asrn-blog__posts {
    display: grid;
    gap: 24px;
}

.asrn-post-card {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 24px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.asrn-post-card:hover {
    box-shadow: var(--asrn-shadow);
}

.asrn-post-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 236;
    object-fit: cover;
    border-radius: 4px;
}

.asrn-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asrn-post-meta > li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #5e6670;
    list-style: none;
}

.asrn-post-meta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.7;
    stroke-linejoin: round;
}

.asrn-post-meta img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.asrn-post-meta a {
    color: #5e6670;
}

.asrn-post-card__title {
    margin: 12px 0 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.asrn-post-card__title a {
    color: var(--asrn-text);
}

.asrn-post-card:hover .asrn-post-card__title a {
    color: var(--asrn-coral);
}

.asrn-post-card__text {
    max-width: 440px;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #767f8c;
}

.asrn-post-card__more {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--asrn-coral);
}

.asrn-post-card__more:hover {
    color: var(--asrn-coral-dark);
}

/* 3. Single post --------------------------------------------------------------------------------------------- */
.asrn-post__title {
    margin: 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: clamp(28px, 2.1vw, 40px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--asrn-text);
}

.asrn-post__meta {
    margin: 20px 0 32px;
}

.asrn-post__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    margin-bottom: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.asrn-post__content {
    font-size: 16px;
    line-height: 1.7;
    color: #474c54;
}

.asrn-post__content > p:first-child strong {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--asrn-text);
}

.asrn-post__content h2,
.asrn-post__content h3,
.asrn-post__content h4 {
    margin: 32px 0 16px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--asrn-text);
}

/* .asrn-post prefix: ckeditor/content-styles.css loads later with the same specificity (padding-left 27px, border, italic). */
.asrn-post .asrn-post__content blockquote {
    position: relative;
    margin: 32px 0;
    padding: 28px 32px 28px 80px;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: var(--asrn-text);
    background-color: #f1f2f4;
    border: 0;
    border-radius: 8px;
}

.asrn-post .asrn-post__content blockquote::before {
    content: "\201D";
    position: absolute;
    top: 14px;
    left: 28px;
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1;
    color: var(--asrn-coral);
}

.asrn-post .asrn-post__content blockquote p {
    margin: 0;
    font-style: normal;
}

.asrn-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.asrn-post__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.asrn-post__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 14px;
    color: #474c54;
}

.asrn-post__share > strong { /* "Share this post:" - Figma Inter 16 regular #191F33 */
    font-size: 16px;
    font-weight: 400;
    color: #191f33;
}

/* Blog list + post: taller navy band, title row at its bottom on the 1680 grid, coral "Home" (Figma "Our Blogs"). */
body:has(.asrn-blog) .asrn-page-header {
    padding-top: clamp(60px, 12.35vw, 237px); /* band ends at 409, title row centred ~372 (Figma 1920) */
    padding-bottom: 23px;
}

body:has(.asrn-blog) .asrn-page-header__inner {
    max-width: var(--asrn-wrap);
}

body:has(.asrn-blog) .asrn-page-header .breadcrumb-item:first-child a {
    color: var(--asrn-coral);
}

/* 4. Comments (FOB Comment markup) -------------------------------------------------------------------------- */
.asrn-post__comments {
    margin-top: 56px;
}

.asrn-post__comments .fob-comment-title {
    margin-bottom: 16px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--asrn-text);
}

.asrn-post__comments .fob-comment-form-section,
.asrn-post__comments .fob-comment-list-section {
    margin-bottom: 40px;
}

.asrn-post__comments .form-control,
.asrn-post__comments textarea {
    font-size: 15px;
    border: 1px solid #e4e5e8;
    border-radius: 5px;
    box-shadow: none;
}

.asrn-post__comments .form-control:focus,
.asrn-post__comments textarea:focus {
    border-color: var(--asrn-coral);
    box-shadow: 0 0 0 3px rgba(220, 90, 88, 0.15);
}

.asrn-post__comments button[type="submit"],
.asrn-post__comments .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: var(--asrn-coral);
    border: 0;
    border-radius: 3px;
}

.asrn-post__comments button[type="submit"]:hover,
.asrn-post__comments .btn-primary:hover {
    background-color: var(--asrn-navy); /* Figma button component: coral -> navy */
}

/* Reply link under each comment - Figma "Reply": Inter Medium 16, coral, not italic. */
.asrn-post__comments .fob-comment-item-reply {
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    color: var(--asrn-coral);
}

.asrn-post__comments .fob-comment-form-note {
    font-size: 13px;
    color: #767f8c;
}

/* 5. Related posts (3 cards in the white band) --------------------------------------------------------------- */
.asrn-related__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asrn-related-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.asrn-related-post:hover {
    box-shadow: var(--asrn-shadow);
}

.asrn-related-post img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 499 / 276;
    object-fit: cover;
    border-radius: 4px;
}

.asrn-related-post__title {
    margin: 20px 0 0;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
}

.asrn-related-post__title a {
    color: var(--asrn-text);
}

.asrn-related-post__text {
    margin: 10px 0 0;
    font-size: 14px;
    color: #767f8c;
}

.asrn-related-post .asrn-post-card__more {
    margin-top: auto;
    padding-top: 16px;
}

/* 6. Contact ------------------------------------------------------------------------------------------------- */
.asrn-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 690px);
    gap: clamp(40px, 6vw, 120px);
    align-items: center;
    max-width: calc(1394px + 2 * var(--asrn-gutter));
    margin: 0 auto;
    padding: clamp(56px, 6vw, 110px) var(--asrn-gutter);
}

.asrn-contact__eyebrow {
    margin-bottom: 12px;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.asrn-contact__title {
    margin: 0;
    font-family: var(--asrn-heading);
    font-size: clamp(40px, 3.35vw, 64px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #141414;
}

.asrn-contact__text {
    max-width: 440px;
    margin: 28px 0 36px;
    font-size: 18px;
    line-height: 1.55;
    color: #474c54;
}

.asrn-contact__lines {
    display: grid;
    gap: 10px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.asrn-contact__lines > li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #474c54;
    list-style: none;
}

.asrn-contact__lines svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--asrn-coral);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asrn-contact__lines a {
    color: #474c54;
}

.asrn-contact__card {
    padding: clamp(28px, 2.4vw, 44px);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--asrn-shadow-soft);
}

.asrn-contact__form-title {
    margin: 0 0 24px;
    font-family: var(--asrn-heading);
    font-size: 32px;
    font-weight: 600;
    color: #141414;
}

/* Figma "Get in Touch": no visible labels, placeholders only (labels stay for screen readers). The terms checkbox
   label is .form-check-label and stays visible. */
.asrn-contact__form .form-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.asrn-contact__form .form-control {
    min-height: 48px;
    font-size: 16px;
    border: 1px solid #e4e5e8;
    border-radius: 5px;
    box-shadow: none;
}

.asrn-contact__form textarea.form-control {
    min-height: 120px;
    border-color: #edeff5;
    border-radius: 6px;
}

.asrn-contact__form .form-control:focus {
    border-color: var(--asrn-coral);
    box-shadow: 0 0 0 3px rgba(220, 90, 88, 0.15);
}

.asrn-contact__submit {
    width: min(100%, 480px);
    min-height: 56px;
    margin-top: 8px;
}

/* 7. Text pages (Terms of Use, Cookie Policy, ...) ----------------------------------------------------------- */
.asrn-page {
    padding: 56px var(--asrn-gutter) 80px;
}

.asrn-page__card {
    max-width: 1020px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 64px);
    font-size: 16px;
    line-height: 1.75;
    color: #474c54;
    background-color: #fff;
    border: 1px solid var(--asrn-line);
    border-radius: 12px;
}

.asrn-page__card h2,
.asrn-page__card h3,
.asrn-page__card h4 {
    margin: 32px 0 12px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-weight: 600;
    color: var(--asrn-text);
}

.asrn-page__card > .ck-content > :first-child {
    margin-top: 0;
}

/* Jobcy's "static" page template draws a check before each li, positioned against an ancestor outside the card. */
.asrn-page__card ul {
    padding-left: 0;
    list-style: none;
}

.asrn-page__card ul > li {
    position: relative;
    padding-left: 30px;
    list-style: none;
}

.asrn-page__card ul > li::before {
    position: absolute;
    top: 0;
    left: 4px;
}

/* Static template already wraps the content in .section (80px) + .container (5px sides): keep the theme gutter on
   the sides only, and the same 56px top spacing as the blog. */
.static-layout-page .asrn-page {
    padding: 0;
}

@media (max-width: 767.98px) {
    .static-layout-page .asrn-page {
        padding: 0 max(0px, calc(var(--asrn-gutter) - 5px));
    }
}

.static-layout-page:has(.asrn-page) {
    padding-top: 56px;
}

/* 8. Responsive ---------------------------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .asrn-blog__grid,
    .asrn-blog__grid--post,
    .asrn-contact__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .asrn-blog__grid > .asrn-blog__sidebar {
        order: 2;
    }

    .asrn-related__grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .asrn-post-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .asrn-related__grid--three {
        grid-template-columns: minmax(0, 1fr);
    }

    .asrn-post .asrn-post__content blockquote {
        padding: 56px 20px 20px;
    }

    .asrn-post .asrn-post__content blockquote::before {
        top: 10px;
        left: 20px;
    }
}

/* 404 (no Figma frame): white card on the light page background, same buttons as the rest of the site. */
body:has(.asrn-404) .main-content {
    background-color: #f1f2f4;
}

.asrn-404 {
    padding: 56px var(--asrn-gutter) 80px;
}

.asrn-404__card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 64px);
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
}

.asrn-404__image {
    width: min(100%, 480px);
    height: auto;
    margin: 0 auto 32px;
    border-radius: 8px;
}

.asrn-404__title {
    margin: 0 0 12px;
    font-family: var(--asrn-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--asrn-navy);
}

.asrn-404__text {
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 16px;
    color: #5e6670;
}

.asrn-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.asrn-404 .asrn-btn--light {
    border-color: #d6dbe6; /* white button on the white card */
}

/* ==========================================================================
   asrn-auth - Sign in / sign up / forgot + reset password
   ========================================================================== */

/*
 * ASRN Career Center - sign in / sign up / forgot + reset password (Figma "Sign In", "Signup 1", "Forgot Password",
 * "Reset Password", 1600 wide): #F0F5FF page, white card (radius 35, soft shadow), form left, photo panel right
 * (#E9ECFF behind Steve's photos - the Figma cartoon illustration was replaced by them on 12-13/11).
 * Markup: partials/asrn-auth.blade.php; the forms are Jobcy's (form.auth-form, field icons, password toggle).
 */
.asrn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 54px 20px;
    background-color: #f0f5ff;
}

.asrn-auth__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 552px);
    width: min(100%, 1121px);
    min-height: 701px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 35px;
    box-shadow: 0 30px 39px rgba(0, 39, 102, 0.09);
}

.asrn-auth__card.is-single {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 1130px);
    min-height: 0;
    border-radius: 40px;
}

.asrn-auth__main {
    display: flex;
    flex-direction: column;
    padding: 48px clamp(28px, 5vw, 55px) 48px;
}

.asrn-auth__card.is-single .asrn-auth__main {
    width: min(100%, 470px);
    margin: 0 auto;
    padding: 72px 0;
    text-align: center;
}

.asrn-auth__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 52px;
}

.asrn-auth__logo {
    margin-left: auto;
}

.asrn-auth__logo img {
    width: auto;
    height: 52px;
}

/* "Already have account? Sign In" - dashed box top right of the photo panel (Figma "Signup 1"). */
.asrn-auth__switch {
    position: absolute;
    top: 16px;
    right: 34px;
    z-index: 1;
    margin: 0;
    padding: 7px 14px;
    font-size: 14px;
    color: #1d3fd8;
    background-color: #fff;
    border: 1.5px dotted #1d3fd8; /* Figma "Signup 1": white box, dotted blue border, 8px radius */
    border-radius: 8px;
}

.asrn-auth__switch a {
    margin-left: 6px;
    font-weight: 600;
    color: #1d3fd8;
    text-decoration: underline;
}

/* The register form prints its own "Already have an account? Sign In" under the button - keep it only where the
   photo panel (and its box) is hidden. */
@media (min-width: 992px) {
    .asrn-auth__card:has(.asrn-auth__switch) form.auth-form > div.mt-3.text-center:has(a[href$="/login"]) {
        display: none;
    }
}

.asrn-auth__title {
    margin: 0 0 44px;
    font-family: var(--primary-font, Inter, sans-serif);
    font-size: 30px;
    font-weight: 500;
    color: #18191c;
}

.asrn-auth__title:has(+ .asrn-auth__subtitle) {
    margin-bottom: 0;
}

.asrn-auth__card.is-single .asrn-auth__title {
    font-size: 26px;
}

/* Forgot / reset: the plugin's "Back to login page" link = the frame's small outlined "Sign In Now" button. */
.asrn-auth__card.is-single .asrn-auth__form form.auth-form a[href$="/login"] {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 14px;
    font-size: 14px;
    text-decoration: none !important; /* the plugin link carries .text-decoration-underline (!important) */
    border: 1px solid var(--asrn-coral);
    border-radius: 4px;
}

.asrn-auth__card.is-single .asrn-auth__form form.auth-form a[href$="/login"]:hover {
    color: #fff !important;
    background-color: var(--asrn-coral);
}

.asrn-auth__subtitle {
    margin: 8px 0 28px;
    font-size: 15px;
    color: #5e6670;
}

.asrn-auth .alert {
    font-size: 14px;
    border-radius: 6px;
}

/* Jobcy auth form */
.asrn-auth__form .form-label {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #18191c;
}

.asrn-auth__card.is-single .asrn-auth__form .form-label {
    display: block;
    text-align: left;
}

.asrn-auth__form .form-control {
    min-height: 48px;
    font-size: 15px;
    color: var(--asrn-text);
    background-color: #fff;
    border: 1px solid #d6dbe6;
    border-radius: 6px;
    box-shadow: none;
}

.asrn-auth__form .form-control:focus {
    border-color: var(--asrn-coral);
    box-shadow: 0 0 0 3px rgba(220, 90, 88, 0.15);
}

.asrn-auth__form .form-control::placeholder {
    color: #9199a3;
}

.asrn-auth__form .auth-input-icon,
.asrn-auth__form .input-password-toggle {
    color: #9199a3;
}

.asrn-auth__form .form-check-label,
.asrn-auth__form .form-check {
    font-size: 14px;
    color: #474c54;
}

/* "Remember Me?" is coral in the Sign In frame. */
.asrn-auth__form [name="remember"] + .form-check-label {
    font-weight: 500;
    color: var(--asrn-coral);
}

.asrn-auth__form .form-check-input:checked {
    background-color: var(--asrn-coral);
    border-color: var(--asrn-coral);
}

/* Jobcy's app.css paints links inside form.auth-form white (made for its navy panel). No !important: social login
   buttons (white text on brand colours, more specific selectors) must keep their own colours. */
.asrn-auth__form form.auth-form a {
    font-weight: 500;
    color: var(--asrn-coral);
}

.asrn-auth__form form.auth-form a:hover {
    color: var(--asrn-coral-dark);
}

/* Only the form's own submit button (the account-type confirm modal inside the form keeps the plugin's style). */
.asrn-auth__form .btn-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 62px;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    background-color: var(--asrn-coral);
    border: 0;
    border-radius: var(--asrn-pill);
    box-shadow: none;
}

.asrn-auth__form .btn-auth-submit:hover { /* Figma button component: coral -> navy on hover */
    color: #fff;
    background-color: var(--asrn-navy);
}

.asrn-auth__form .btn-auth-submit:focus-visible {
    color: #fff;
    background-color: var(--asrn-navy);
    box-shadow: 0 0 0 3px rgba(220, 90, 88, 0.35);
}

.asrn-auth__form .form-check-input:focus-visible {
    box-shadow: 0 0 0 3px rgba(220, 90, 88, 0.25);
}

/* Register: Job Seeker / Employer cards - hover / selected / focus = coral (plugin uses the navy primary colour). */
.asrn-auth__form .account-type-selection .account-type-card:hover,
.asrn-auth__form .account-type-selection .account-type-option input[type="radio"]:checked + .account-type-label .account-type-card {
    border-color: var(--asrn-coral);
    box-shadow: 0 4px 16px rgba(220, 90, 88, 0.15);
}

.asrn-auth__form .account-type-selection .account-type-option input[type="radio"]:checked + .account-type-label .account-type-card .account-type-icon svg {
    color: var(--asrn-coral);
}

.asrn-auth__form .account-type-selection .account-type-check {
    background: var(--asrn-coral);
}

.asrn-auth__form .account-type-option input[type="radio"]:focus-visible + .account-type-label .account-type-card {
    outline-color: var(--asrn-coral);
}

.asrn-auth__media {
    position: relative;
    background-color: #e9ecff;
}

.asrn-auth__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .asrn-auth {
        align-items: flex-start;
        padding: 24px 12px;
    }

    .asrn-auth__card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        border-radius: 24px;
    }

    .asrn-auth__media {
        display: none;
    }

    .asrn-auth__main {
        padding: 32px 22px;
    }

    .asrn-auth__card.is-single .asrn-auth__main {
        padding: 40px 22px;
    }

    .asrn-auth__top {
        margin-bottom: 28px;
    }

    .asrn-auth__logo img {
        height: 44px;
    }
}

/* Small phones: the 20px label wrapped to three lines in "Send Password Reset Link" at 360 (QA 23/11). */
@media (max-width: 575.98px) {
    .asrn-auth__form .btn-auth-submit {
        min-height: 54px;
        font-size: 17px;
    }
}
