/*
   Semester of Service theme — Student Volunteer Program.
   Activated by `body.theme-semesterOfService`. Mirrors the redesigned
   talent.opm.gov/semesterofservice: cream (#eee4d3) content sections on dark
   navy (#0a1628/#111824), red accents and arrow motifs, pill buttons, and
   5rem-rounded section cards. Variable names mirror attorney.css / navsea.css
   so block-level CSS works the same way; only token values differ.
*/
.theme-semesterOfService {
    /* Layout */
    --sos-content-max: 1200px;

    /* Colors — live site tokens */
    --sos-navy: #0a1628;           /* page background */
    --sos-dark: #111824;           /* dark section / footer background */
    --sos-card: #29313d;           /* card background on dark sections */
    --sos-cream: #eee4d3;          /* content background / text on dark */
    --sos-ink: #111827;            /* headings on cream */
    --sos-body-text: #4b5563;      /* body copy on cream */
    --sos-body-muted: #5f636b;     /* card copy on cream */
    --sos-red: #b7433f;            /* dividers / brand accent */
    --sos-arrow: #ef3f45;          /* CTA arrow accent */
    --sos-pill: #182131;           /* dark pill button background */
    --sos-pill-hover: #273348;

    /* Typography */
    --sos-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sos-body-size: 1.125rem;
}

.theme-semesterOfService {
    font-family: var(--sos-font-sans);
    font-size: var(--sos-body-size);
    line-height: 1.6;
    background: var(--sos-navy);
    color: var(--sos-ink);
}
html:has(body.theme-semesterOfService) { background-color: var(--sos-navy); }
@media (prefers-reduced-motion: no-preference) {
    html:has(body.theme-semesterOfService) { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-semesterOfService *,
    .theme-semesterOfService *::before,
    .theme-semesterOfService *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.theme-semesterOfService main,
.theme-semesterOfService section { scroll-margin-top: 6rem; }

.theme-semesterOfService :focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #005ea8;
}

.theme-semesterOfService h1,
.theme-semesterOfService h2,
.theme-semesterOfService h3,
.theme-semesterOfService h4,
.theme-semesterOfService h5,
.theme-semesterOfService h6 {
    font-family: var(--sos-font-sans);
    font-weight: 800;
    line-height: 1.2;
}

/* Official .gov banner — restyle the shared USWDS banner into the live site's
   cream mini-strip so it blends with the header. */
.theme-semesterOfService .usa-banner {
    background-color: var(--sos-cream);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    font-family: var(--sos-font-sans);
}
.theme-semesterOfService .usa-banner__header,
.theme-semesterOfService .usa-banner__content {
    background-color: var(--sos-cream);
    color: #272c35;
}
.theme-semesterOfService .usa-banner__header-text,
.theme-semesterOfService .usa-banner__header-action {
    color: #272c35;
    font-size: 0.75rem;
}

/* Header — cream sticky bar: brand + red divider + subtitle, nav links,
   dark "Get Started" pill, hamburger on mobile */
.theme-semesterOfService .page-header {
    background-color: var(--sos-cream);
    color: var(--sos-ink);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}
.theme-semesterOfService .page-header__row {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    padding: 0.65rem 2rem;
}
.theme-semesterOfService .page-header__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    white-space: nowrap;
}
.theme-semesterOfService .page-header__title {
    color: var(--sos-ink);
    font-family: var(--sos-font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}
.theme-semesterOfService .page-header__divider {
    width: 1px;
    height: 1rem;
    background: var(--sos-red);
}
.theme-semesterOfService .page-header__subtitle {
    color: #5d6269;
    font-size: 0.8rem;
    font-weight: 400;
}
.theme-semesterOfService .page-header__nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.theme-semesterOfService .page-header__nav a {
    color: var(--sos-ink);
    font-family: var(--sos-font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.theme-semesterOfService .page-header__nav a:hover,
.theme-semesterOfService .page-header__nav a:focus-visible { color: var(--sos-red); }
.theme-semesterOfService .page-header__nav a.page-header__cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #202735;
    color: #ffffff;
}
.theme-semesterOfService .page-header__nav a.page-header__cta::after {
    content: '→';
    color: var(--sos-arrow);
    font-size: 1.15rem;
    line-height: 1;
}
.theme-semesterOfService .page-header__nav a.page-header__cta:hover,
.theme-semesterOfService .page-header__nav a.page-header__cta:focus-visible {
    background: #30394a;
    color: #ffffff;
}
.theme-semesterOfService .page-header__menu-toggle {
    display: none;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 0;
    border-radius: 0.35rem;
    background: transparent;
    color: var(--sos-ink);
    cursor: pointer;
}
.theme-semesterOfService .page-header__menu-icon,
.theme-semesterOfService .page-header__menu-icon::before,
.theme-semesterOfService .page-header__menu-icon::after {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: currentColor;
}
.theme-semesterOfService .page-header__menu-icon { position: relative; }
.theme-semesterOfService .page-header__menu-icon::before,
.theme-semesterOfService .page-header__menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}
.theme-semesterOfService .page-header__menu-icon::before { top: -0.45rem; }
.theme-semesterOfService .page-header__menu-icon::after { top: 0.45rem; }
@media (max-width: 768px) {
    .theme-semesterOfService .page-header__row {
        min-height: 54px;
        padding: 0.65rem 1.25rem;
    }
    .theme-semesterOfService .page-header__brand { gap: 0.55rem; }
    .theme-semesterOfService .page-header__title { font-size: 1rem; }
    .theme-semesterOfService .page-header__subtitle { font-size: 0.7rem; }
    .theme-semesterOfService .page-header__menu-toggle { display: inline-flex; }
    .theme-semesterOfService .page-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sos-cream);
        border-top: 1px solid rgba(17, 24, 39, 0.12);
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
    }
    .theme-semesterOfService .page-header__nav ul {
        display: none;
        padding: 1rem 1.25rem 1.25rem;
        align-items: stretch;
        gap: 0;
        flex-direction: column;
    }
    .theme-semesterOfService .page-header__nav.is-open ul { display: flex; }
    .theme-semesterOfService .page-header__nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.65rem 0.5rem;
    }
    .theme-semesterOfService .page-header__nav a.page-header__cta {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* Hero — full-viewport photo with dark overlay, white stacked headline,
   white pill CTA with red arrow */
.theme-semesterOfService .page-hero {
    position: relative;
    isolation: isolate;
    background-color: var(--sos-navy);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #f8fafc;
    min-height: 100vh;
    padding: 8rem 2rem 5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.theme-semesterOfService .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 22, 49, 0.64);
    pointer-events: none;
    z-index: 1;
}
.theme-semesterOfService .page-hero > .grid-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--sos-content-max);
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-hero__callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.theme-semesterOfService .page-hero__heading,
.theme-semesterOfService .page-hero__subheading {
    color: #ffffff;
    font-family: var(--sos-font-sans);
    font-size: clamp(3rem, 6.4vw, 5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin: 0;
}
.theme-semesterOfService .page-hero__subheading { margin-bottom: 3.25rem; }
.theme-semesterOfService .page-hero__body {
    color: #ffffff;
    font-family: var(--sos-font-sans);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.25;
    max-width: 570px;
    margin: 0 0 2.5rem;
    text-align: center;
}
.theme-semesterOfService .page-hero__body p { margin: 0 0 1rem; }
.theme-semesterOfService .page-hero__body p:last-child { margin-bottom: 0; }
.theme-semesterOfService .page-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.theme-semesterOfService .page-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: #ffffff;
    color: #121b2b;
    font-family: var(--sos-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: all 0.2s;
}
.theme-semesterOfService .page-hero__cta::after {
    content: '→';
    color: #e3343d;
    font-size: 1.2rem;
    line-height: 1;
}
.theme-semesterOfService .page-hero__cta:hover,
.theme-semesterOfService .page-hero__cta:focus-visible {
    background: #f3f6fa;
    color: #121b2b;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.theme-semesterOfService .page-hero__cta-label { font-size: 0.875rem; line-height: 1.2; }
.theme-semesterOfService .page-hero__cta-subtitle { display: none; }
@media (max-width: 768px) {
    .theme-semesterOfService .page-hero {
        min-height: 780px;
        padding: 7rem 1.25rem 4rem;
        background-position: 35% center;
    }
    .theme-semesterOfService .page-hero__heading,
    .theme-semesterOfService .page-hero__subheading {
        font-size: clamp(2.75rem, 13vw, 4rem);
        line-height: 1.08;
    }
    .theme-semesterOfService .page-hero__subheading { margin-bottom: 2.25rem; }
    .theme-semesterOfService .page-hero__body { font-size: 1rem; margin-bottom: 2rem; }
}

/* Intro — "Step into your future" centered header on cream */
.theme-semesterOfService .page-intro {
    background-color: var(--sos-cream);
    padding: 5.5rem 2rem 0;
}
.theme-semesterOfService .page-intro > .grid-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-intro [class*="tablet:grid-col"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 0;
}
.theme-semesterOfService .page-intro__heading {
    color: var(--sos-ink);
    font-family: var(--sos-font-sans);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 2rem;
    text-align: center;
}
.theme-semesterOfService .page-intro__subheading { display: none; }
.theme-semesterOfService .page-intro__body {
    color: #202938;
    font-family: var(--sos-font-sans);
    font-size: 1rem;
    line-height: 1.35;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}
.theme-semesterOfService .page-intro__body p { margin: 0 0 1rem; }
.theme-semesterOfService .page-intro__body p:last-child { margin-bottom: 0; }

/* Features — 3 centered columns with red dividers, no icons */
.theme-semesterOfService .page-features {
    background-color: var(--sos-cream);
    color: var(--sos-ink);
    padding: 2.75rem 2rem 0;
}
.theme-semesterOfService .page-features > .grid-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-features__heading { display: none; }
.theme-semesterOfService .page-features__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.theme-semesterOfService .page-features__item {
    position: relative;
    min-height: 145px;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
    margin: 0;
    padding: 0 2rem;
    text-align: center;
}
.theme-semesterOfService .page-features__item:first-child { padding-left: 0; }
.theme-semesterOfService .page-features__item:last-child { padding-right: 0; }
.theme-semesterOfService .page-features__item + .page-features__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 60px;
    background: var(--sos-red);
}
.theme-semesterOfService .page-features__icon,
.theme-semesterOfService .page-features__photo { display: none; }
.theme-semesterOfService .page-features .usa-card__container {
    background-color: transparent;
    border: none;
    color: var(--sos-ink);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}
.theme-semesterOfService .page-features .usa-card__header {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.theme-semesterOfService .page-features .usa-card__heading {
    color: var(--sos-ink);
    font-family: var(--sos-font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    padding: 0;
}
.theme-semesterOfService .page-features .usa-card__body { padding: 0; }
.theme-semesterOfService .page-features .usa-card__body p {
    color: var(--sos-body-muted);
    font-family: var(--sos-font-sans);
    font-size: 0.9375rem;
    line-height: 1.35;
    max-width: 255px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .theme-semesterOfService .page-features { padding: 1.75rem 1.5rem 0; }
    .theme-semesterOfService .page-features__list { grid-template-columns: 1fr; }
    .theme-semesterOfService .page-features__item,
    .theme-semesterOfService .page-features__item:first-child,
    .theme-semesterOfService .page-features__item:last-child {
        min-height: 0;
        padding: 1.75rem 0;
    }
    .theme-semesterOfService .page-features__item + .page-features__item {
        border-top: 2px solid var(--sos-red);
    }
    .theme-semesterOfService .page-features__item + .page-features__item::before { display: none; }
    .theme-semesterOfService .page-features .usa-card__body p { max-width: none; }
}

/* CTA — shared pill styling. The in-page pageCallToAction ("Find Projects and
   Apply") renders as a dark pill on cream; the site-level strip is overridden
   further down via its aria-label into the giant "Join the network →". */
.theme-semesterOfService .page-cta {
    background-color: var(--sos-cream);
    padding: 2.25rem 2rem 4.5rem;
    text-align: center;
}
.theme-semesterOfService .page-cta > .grid-container {
    max-width: var(--sos-content-max);
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}
.theme-semesterOfService .page-cta__heading {
    color: var(--sos-ink);
    font-family: var(--sos-font-sans);
    font-weight: 800;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0;
}
.theme-semesterOfService .page-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.theme-semesterOfService .page-cta__button,
.theme-semesterOfService .page-cta a.page-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: var(--sos-pill);
    color: #ffffff;
    font-family: var(--sos-font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
}
.theme-semesterOfService .page-cta__button::after {
    content: '→';
    margin-left: 0.35rem;
    color: var(--sos-arrow);
    font-size: 1.15rem;
    line-height: 1;
}
.theme-semesterOfService .page-cta__button:hover,
.theme-semesterOfService .page-cta__button:focus-visible {
    background: var(--sos-pill-hover);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}
.theme-semesterOfService .page-cta__button-subtitle { display: none; }

/* Card grid — "Find more paths" dark rounded panel with 3 path cards */
.theme-semesterOfService .page-cards {
    background-color: var(--sos-cream);
    padding: 0 2rem 6rem;
}
.theme-semesterOfService .page-cards > .grid-container {
    max-width: none;
    margin: 0 auto;
    padding: 4.25rem clamp(2rem, 8vw, 7rem) 3.5rem;
    background: var(--sos-dark);
    border-radius: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.theme-semesterOfService .page-cards__heading {
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    margin: 0 0 1.5rem;
    width: 100%;
}
.theme-semesterOfService .page-cards__intro {
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-size: 0.95rem;
    line-height: 1.25;
    max-width: 470px;
    margin: 0 auto;
    text-align: center;
}
.theme-semesterOfService .page-cards__intro p { margin: 0 0 0.5rem; color: inherit; }
.theme-semesterOfService .page-cards__intro p:last-child { margin-bottom: 0; }
.theme-semesterOfService .page-cards .usa-card-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 960px;
    margin: 2.25rem auto 0;
    width: 100%;
    list-style: none;
    padding: 0;
}
.theme-semesterOfService .page-cards .usa-card {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    flex: none;
}
.theme-semesterOfService .page-cards .usa-card__container {
    min-height: 235px;
    height: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: var(--sos-card);
    border: 0;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    text-align: center;
}
/* Path-card icons — presentational masks mirroring the live inline SVGs */
.theme-semesterOfService .page-cards .usa-card__container::before {
    content: '';
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    background-color: var(--sos-cream);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 2 7v2h20V7L12 2Zm-7 9v7H3v2h18v-2h-2v-7h-2v7h-3v-7h-4v7H7v-7H5Z'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 2 7v2h20V7L12 2Zm-7 9v7H3v2h18v-2h-2v-7h-2v7h-3v-7h-4v7H7v-7H5Z'/></svg>") center/contain no-repeat;
}
.theme-semesterOfService .page-cards .usa-card:nth-child(2) .usa-card__container::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m12 3-10 5 10 5 8-4v6h2V8L12 3Zm-6 9v4.5C8 18.2 10 19 12 19s4-.8 6-2.5V12l-6 3-6-3Z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m12 3-10 5 10 5 8-4v6h2V8L12 3Zm-6 9v4.5C8 18.2 10 19 12 19s4-.8 6-2.5V12l-6 3-6-3Z'/></svg>");
}
.theme-semesterOfService .page-cards .usa-card:nth-child(3) .usa-card__container::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2v20M17 6.5C17 4.6 14.8 3 12 3S7 4.6 7 6.5 9.2 10 12 10s5 1.6 5 3.5S14.8 17 12 17s-5-1.6-5-3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2v20M17 6.5C17 4.6 14.8 3 12 3S7 4.6 7 6.5 9.2 10 12 10s5 1.6 5 3.5S14.8 17 12 17s-5-1.6-5-3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}
.theme-semesterOfService .page-cards .usa-card__media,
.theme-semesterOfService .page-cards .usa-card__img { display: none; }
.theme-semesterOfService .page-cards .usa-card__header,
.theme-semesterOfService .page-cards .usa-card__body,
.theme-semesterOfService .page-cards .usa-card__footer {
    padding: 0;
    background: transparent;
}
.theme-semesterOfService .page-cards .usa-card__heading {
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 190px;
    min-height: 3rem;
    margin: 0 auto;
}
.theme-semesterOfService .page-cards .usa-card__body p {
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0;
}
.theme-semesterOfService .page-cards .usa-card__body:empty,
.theme-semesterOfService .page-cards .usa-card__body p:empty { display: none; }
.theme-semesterOfService .page-cards .usa-card__footer { margin-top: auto; }
.theme-semesterOfService .page-cards .usa-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    color: #ffffff;
    font-family: var(--sos-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}
.theme-semesterOfService .page-cards .usa-card__footer a::after {
    content: '→';
    color: var(--sos-arrow);
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.theme-semesterOfService .page-cards .usa-card__footer a:hover::after,
.theme-semesterOfService .page-cards .usa-card__footer a:focus-visible::after {
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .theme-semesterOfService .page-cards { padding: 0 1.5rem 4rem; }
    .theme-semesterOfService .page-cards > .grid-container {
        padding: 3.5rem 1.5rem;
        border-radius: 2.5rem;
    }
    .theme-semesterOfService .page-cards .usa-card-group {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* Image callout (text-only) — "Stay connected" centered on cream */
.theme-semesterOfService .page-image-callout {
    background-color: var(--sos-cream);
    padding: 4.5rem 2rem 6rem;
}
.theme-semesterOfService .page-image-callout > .grid-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-image-callout__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.theme-semesterOfService .page-image-callout__content { text-align: center; }
.theme-semesterOfService .page-image-callout__media { display: none; }
.theme-semesterOfService .page-image-callout__heading {
    color: var(--sos-ink);
    font-family: var(--sos-font-sans);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.75rem;
    text-align: center;
}
.theme-semesterOfService .page-image-callout__body {
    color: var(--sos-body-text);
    font-family: var(--sos-font-sans);
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
}
.theme-semesterOfService .page-image-callout__body p {
    color: var(--sos-body-text);
    max-width: 680px;
    margin: 0 auto 1.25rem;
}
.theme-semesterOfService .page-image-callout__cta {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    margin-top: 1.75rem;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    background: var(--sos-pill);
    color: #ffffff;
    border: none;
    text-decoration: none;
    font-family: var(--sos-font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}
.theme-semesterOfService .page-image-callout__cta::after {
    content: '→';
    margin-left: 0.35rem;
    color: var(--sos-arrow);
    font-size: 1.1rem;
    line-height: 1;
}
.theme-semesterOfService .page-image-callout__cta:hover,
.theme-semesterOfService .page-image-callout__cta:focus-visible {
    background: var(--sos-pill-hover);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}
.theme-semesterOfService .page-image-callout__cta-label { font-size: 0.8rem; line-height: 1.2; }
.theme-semesterOfService .page-image-callout__cta-subtitle { display: none; }

/* Accordion — FAQ on dark navy with rounded card items and chevron icons */
.theme-semesterOfService .page-accordion {
    background: var(--sos-dark);
    border-radius: 5rem 5rem 0 0;
    padding: 8rem 2rem 6rem;
}
.theme-semesterOfService .page-accordion > .grid-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-accordion__heading {
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-weight: 800;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1.1;
    text-align: center;
    margin: 0 0 2.5rem;
}
.theme-semesterOfService .page-accordion__intro { display: none; }
.theme-semesterOfService .page-accordion__list {
    display: block;
    max-width: 720px;
    margin: 0 auto;
}
.theme-semesterOfService .page-accordion .usa-accordion__heading {
    margin: 0 0 0.75rem;
    border-bottom: none;
    background: var(--sos-card);
    border-radius: 0.875rem;
    overflow: hidden;
}
.theme-semesterOfService .page-accordion .usa-accordion__button {
    background: none;
    background-image: none;
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.3;
    padding: 1.15rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border: none;
    text-align: left;
    transition: color 0.2s;
}
.theme-semesterOfService .page-accordion .usa-accordion__button:hover,
.theme-semesterOfService .page-accordion .usa-accordion__button:focus-visible {
    color: #ffffff;
    background: none;
    background-image: none;
}
.theme-semesterOfService .page-accordion .usa-accordion__button::after {
    content: '';
    flex: 0 0 auto;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 1rem;
    background: none;
    mask: none;
    -webkit-mask: none;
    border-right: 2px solid var(--sos-cream);
    border-bottom: 2px solid var(--sos-cream);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.theme-semesterOfService .page-accordion .usa-accordion__button[aria-expanded="true"] {
    background: none;
    background-image: none;
    color: var(--sos-cream);
}
.theme-semesterOfService .page-accordion .usa-accordion__button[aria-expanded="true"]::after {
    transform: rotate(225deg);
}
.theme-semesterOfService .page-accordion__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}
.theme-semesterOfService .page-accordion .usa-accordion__content {
    background: var(--sos-card);
    border-radius: 0 0 0.875rem 0.875rem;
    margin-top: -0.75rem;
    margin-bottom: 0.75rem;
    padding: 0 1.25rem 1.35rem;
    color: var(--sos-cream);
    font-size: 0.875rem;
    line-height: 1.55;
}
.theme-semesterOfService .page-accordion .usa-accordion__content p {
    color: var(--sos-cream);
    margin: 0 0 1rem;
}
.theme-semesterOfService .page-accordion .usa-accordion__content p:last-child { margin-bottom: 0; }
.theme-semesterOfService .page-accordion .usa-accordion__content a {
    color: var(--sos-cream);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .theme-semesterOfService .page-accordion {
        padding: 5rem 1.25rem 4rem;
        border-radius: 2.5rem 2.5rem 0 0;
    }
}

/* Site CTA strip — the giant "Join the network →" panel. Distinguished from
   the in-page pageCallToAction block by the aria-label the shared
   _SiteCallToAction partial sets on its section. */
.theme-semesterOfService section[aria-label="Apply for jobs"].page-cta {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem;
    background:
        radial-gradient(circle at 50% 75%, rgba(70, 83, 101, 0.18), transparent 45%),
        var(--sos-dark);
    color: var(--sos-cream);
    text-align: center;
    border-radius: 0;
}
.theme-semesterOfService section[aria-label="Apply for jobs"].page-cta::before {
    content: '';
    position: absolute;
    inset: 32% 0 0;
    background-image:
        linear-gradient(rgba(238, 228, 211, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 228, 211, 0.055) 1px, transparent 1px);
    background-size: 86px 86px;
    opacity: 0.7;
    pointer-events: none;
}
.theme-semesterOfService section[aria-label="Apply for jobs"].page-cta::after {
    content: '';
    position: absolute;
    inset: 28% 0 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(17, 24, 36, 0.12) 55%, rgba(17, 24, 36, 0.58) 100%);
    pointer-events: none;
}
.theme-semesterOfService section[aria-label="Apply for jobs"].page-cta > .grid-container {
    position: relative;
    z-index: 1;
}
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary,
.theme-semesterOfService section[aria-label="Apply for jobs"] a.page-cta__button--primary {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-end;
    gap: clamp(1rem, 2.5vw, 2.25rem);
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--sos-cream);
    font-family: var(--sos-font-sans);
    font-size: clamp(4.5rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
}
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary::after {
    content: '→';
    margin: 0 0 -0.04em;
    color: #ff413d;
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 400;
    line-height: 0.75;
    transition: transform 0.25s ease;
}
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary:hover,
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary:focus-visible {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    transform: none;
}
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary:hover::after,
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary:focus-visible::after {
    transform: translateX(0.15em);
}
.theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary .page-cta__button-label {
    font-size: inherit;
    line-height: inherit;
}
.theme-semesterOfService .page-cta__button--social,
.theme-semesterOfService .page-cta a.page-cta__button--social { display: none; }
@media (max-width: 768px) {
    .theme-semesterOfService section[aria-label="Apply for jobs"].page-cta {
        min-height: 460px;
        padding: 6rem 1.5rem;
    }
    .theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary {
        gap: 0.75rem;
        font-size: clamp(3.5rem, 18vw, 5.5rem);
    }
    .theme-semesterOfService section[aria-label="Apply for jobs"] .page-cta__button--primary::after {
        font-size: clamp(4rem, 19vw, 6rem);
    }
}

/* Footer — 3-column dark footer */
.theme-semesterOfService .page-footer {
    background-color: var(--sos-dark);
    color: #f1f3f5;
    font-family: var(--sos-font-sans);
    border-top: 0;
}
.theme-semesterOfService .page-footer__primary {
    background-color: transparent;
    padding: 3.5rem 2rem 4rem;
}
.theme-semesterOfService .page-footer__primary > .grid-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
}
.theme-semesterOfService .page-footer__columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 5rem;
    align-items: start;
    text-align: left;
}
.theme-semesterOfService .page-footer__agency-name {
    margin: 0 0 1rem;
    color: #f1f3f5;
    font-size: 1.05rem;
    font-weight: 700;
}
.theme-semesterOfService .page-footer__heading {
    margin: 0 0 1rem;
    color: #f1f3f5;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.theme-semesterOfService .page-footer__links {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.theme-semesterOfService .page-footer__links li { margin: 0; }
.theme-semesterOfService .page-footer__links a,
.theme-semesterOfService .page-footer__agency a,
.theme-semesterOfService .page-footer__email {
    color: #d6d9de;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.theme-semesterOfService .page-footer__email {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}
.theme-semesterOfService .page-footer__links a:hover,
.theme-semesterOfService .page-footer__links a:focus-visible,
.theme-semesterOfService .page-footer__agency a:hover,
.theme-semesterOfService .page-footer__agency a:focus-visible,
.theme-semesterOfService .page-footer__email:hover,
.theme-semesterOfService .page-footer__email:focus-visible {
    color: #ffffff;
}
.theme-semesterOfService .page-footer__social-heading { margin-top: 1.75rem; }
.theme-semesterOfService .page-footer__social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.theme-semesterOfService .page-footer__social a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #d6d9de;
}
.theme-semesterOfService .page-footer__social svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}
.theme-semesterOfService .page-footer__social a:hover,
.theme-semesterOfService .page-footer__social a:focus-visible {
    color: #ffffff;
}
@media (max-width: 768px) {
    .theme-semesterOfService .page-footer__columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
