/* Hallmark macrostructure: Plain explainer, opened by a navy hero band
   Page: /fstc/employers/, enhanced by fundedu-employers.php 1.0.0.
   Tokens: the hub --eftc-* set (eftc-frontend.css, handle fstc-hub-frontend) plus the page tokens
   below. Ported from private-schools.css; the page has no banner, no secondary button and no script. */

:root {
    --emp-ink-muted: #767474;
    --emp-font-body: 'Glacial Indifference', sans-serif;
    /* Glacial's 0 (what ch measures) is wide: 51ch renders full lines of 60 to 70 characters at 1280. */
    --emp-measure: 60ch;   /* Chris 12-03: wider under the banner; about 75 characters in Glacial */
    --emp-radius: var(--eftc-radius-md);
    --emp-wide: 72rem;
}

/* Page shell: run edge to edge under the global header and footer (the /eds/ recipe, scoped). */
html:has(body.fundedu-employers),
body.fundedu-employers { overflow-x: clip; }
body.fundedu-employers .entry-title.main_title,
body.fundedu-employers .et_post_meta_wrapper > .entry-title { display: none !important; }
body.fundedu-employers #main-content .container { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.fundedu-employers #content-area,
body.fundedu-employers #left-area { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }
body.fundedu-employers #sidebar { display: none !important; }
body.fundedu-employers #main-content .container:before { display: none !important; }
body.fundedu-employers article.page,
body.fundedu-employers .entry-content { margin: 0 !important; padding: 0 !important; }

.emp-page {
    font-family: var(--emp-font-body);
    color: var(--eftc-charcoal);
    background: var(--eftc-white);
}
.emp-inner { max-width: var(--emp-wide); margin: 0 auto; }

/* Hero: navy band, left-aligned, bottom padding at least 1.3 times the top (4rem over 3rem). */
.emp-hero {
    background: var(--eftc-navy);
    color: var(--eftc-white);
    padding: var(--eftc-space-2xl) var(--eftc-space-lg) var(--eftc-space-3xl);
}
.emp-hero h1 {
    font-family: var(--eftc-font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    margin: 0 0 var(--eftc-space-md);
    color: var(--eftc-white);
    overflow-wrap: anywhere;
    min-width: 0;
}
/* Hero picture: the site side fade (ruling 5, 2026-11-18; fundedu-v2.css fe-hero-photo). On wide screens the
   picture fills the right 52% of the navy band and its left edge dissolves into the navy behind the headline; on
   narrow screens it sits above the headline and its bottom edge fades. The picture keeps its people in its right half. */
.emp-hero { position: relative; overflow: hidden; }
.emp-hero-grid { display: flex; flex-direction: column; }
.emp-hero-text { position: relative; z-index: 2; min-width: 0; }
.emp-hero-figure { order: -1; margin: 0 0 var(--eftc-space-lg); min-width: 0; }
.emp-hero-figure img {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 50svh;
    object-fit: cover; object-position: 85% 25%;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
@media (min-width: 981px) {
    .emp-hero { min-height: clamp(26rem, 34vw, 36rem); display: flex; align-items: center; }
    .emp-hero > .emp-inner { width: 100%; }
    .emp-hero-text { width: 57%; }   /* Chris 12-03: wider hero text, more above the fold; its right edge sits over the clear start of the fade */
    .emp-hero-figure { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 1; margin: 0; }
    .emp-hero-figure img {
        height: 100%; max-height: none; aspect-ratio: auto; object-position: 100% 35%;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 12%, rgba(0, 0, 0, 0.35) 26%, #000 48%);
        mask-image: linear-gradient(to right, transparent 0%, transparent 12%, rgba(0, 0, 0, 0.35) 26%, #000 48%);
    }
}
.emp-lede { max-width: var(--emp-measure); font-size: 1.125rem; line-height: 1.55; margin: 0 0 var(--eftc-space-xl); }

/* Button: one gold primary, used in the hero and again in the close, both on navy bands, so its focus
   ring is gold (gold on white would fail the 3:1 a focus indicator needs). Links on the white
   sections take a navy focus ring instead. */
.emp-cta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--eftc-space-md); }
.emp-btn {
    display: inline-block;
    font-family: var(--eftc-font-heading);
    font-weight: 700;
    font-size: 1rem;
    max-width: 100%;
    text-align: center;
    padding: var(--eftc-space-sm) var(--eftc-space-lg);
    border: 2px solid transparent;
    border-radius: var(--emp-radius);
    text-decoration: none;
}
.emp-btn--primary { background: var(--eftc-gold); color: var(--eftc-charcoal); }
.emp-btn--primary:hover { background: var(--eftc-gold-hover); }
.emp-btn--primary:active { background: var(--eftc-gold); }
.emp-btn:focus-visible { outline: 3px solid var(--eftc-gold); outline-offset: 3px; }

/* Content sections: white ground, the alternate sections set off by hairline rules, prose in a 60 to 70 character measure. */
.emp-section { padding: var(--eftc-space-2xl) var(--eftc-space-lg); }
.emp-section { border-bottom: 1px solid var(--eftc-navy-medium); }
.emp-section h2,
.emp-close h2 {
    font-family: var(--eftc-font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    margin: 0 0 var(--eftc-space-md);
    max-width: var(--emp-measure);
    overflow-wrap: anywhere;
    min-width: 0;
}
.emp-section h2 { color: var(--eftc-navy); }
.emp-section h3 {
    font-family: var(--eftc-font-heading);
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--eftc-navy);
    margin: var(--eftc-space-lg) 0 var(--eftc-space-sm);
    max-width: var(--emp-measure);
    overflow-wrap: anywhere;
    min-width: 0;
}
.emp-section p,
.emp-section li { max-width: var(--emp-measure); font-size: 1.0625rem; line-height: 1.6; }
.emp-section p { margin: 0 0 var(--eftc-space-md); }
.emp-section ul,
.emp-section ol { padding-left: var(--eftc-space-lg); margin: 0 0 var(--eftc-space-md); }
.emp-section li { margin: 0 0 var(--eftc-space-sm); }
.emp-section a { color: var(--eftc-navy); text-decoration: underline; text-underline-offset: 0.15em; }
.emp-section a:hover { text-decoration-thickness: 2px; }
.emp-section a:focus-visible { outline: 3px solid var(--eftc-navy); outline-offset: 2px; }
.emp-section a:active { color: var(--eftc-navy-dark); }

/* The footnote under the source list is quieter than the prose above it. */
.emp-section .emp-footnote { margin: var(--eftc-space-lg) 0 0; color: var(--emp-ink-muted); font-size: 0.875rem; }

/* Closing band: navy, a different rhythm from the content sections. */
.emp-close {
    background: var(--eftc-navy);
    color: var(--eftc-white);
    padding: var(--eftc-space-3xl) var(--eftc-space-lg) var(--eftc-space-2xl);
}
.emp-close h2 { color: var(--eftc-white); }
.emp-close p { max-width: var(--emp-measure); font-size: 1.0625rem; line-height: 1.6; margin: 0 0 var(--eftc-space-lg); }

/* The live theme wins over inheritance (the private-schools live slop re-check, 2026-10-01): Divi's element
   rules set p, li and a to Inter, its customizer sets h1 to h3 to weight 400, and its parent layer pads p,
   ul, ol and headings off the ramp. Each is set here on the element itself. */
.emp-page p,
.emp-page li,
.emp-page a,
.emp-page strong { font-family: var(--emp-font-body); }
.emp-page .emp-btn { font-family: var(--eftc-font-heading); }
.emp-page h1,
.emp-page h2,
.emp-page h3 { font-weight: 700; padding-bottom: 0; }
.emp-page p { padding-bottom: 0; }
body.fundedu-employers .emp-page .emp-section ul,
body.fundedu-employers .emp-page .emp-section ol { padding: 0 0 0 var(--eftc-space-lg) !important; }

/* The only motion on the page, and only for visitors who have not asked for less. */
@media (prefers-reduced-motion: no-preference) {
    .emp-btn { transition: background-color var(--eftc-transition-fast), color var(--eftc-transition-fast); }
}
