/* ==========================================================================
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ========================================================================== */

:root {
    /* System palette */
    --color-navy: #22314E;
    --color-charcoal: #2c3040;
    --color-white: #ffffff;
    --color-off-white: #f5f6f8;
    --color-border: #e2e5eb;
    --color-text: #1a1a2e;
    --color-text-muted: #5a6072;
    --color-footer-bg: #111827;
    --color-footer-text: #9ca3af;
    /* tables */
    --table-header-bg: #6b7280;
    --table-header-border: #5a6068;
    --table-row-alt: #f9fafb;
    --table-hover: #f1f3f5;
    /*--table-accent: #6b7280;*/
    /* School accent colors */
    --color-amu: #003087;
    --color-apu: #2e7d32;
    --color-hondros: #e65100;
    --color-rasmussen: #c62828;
    /* Per-page brand color slot (overridden per EU page) */
    --color-brand: var(--color-navy);
    /* Typography */
    --font: Gibson Semi Bold, system-ui, -apple-system, sans-serif;
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    /* Layout */
    --container-max: 1300px;
    --radius: 8px;
    --radius-sm: 4px;
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site > main {
    flex: 1;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
dl,
ol,
p,
ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    font-family: var(--font);
}

.h1,
h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

.h2,
h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

.h3,
h3 {
    font-size: 1.5rem;
}

.h4,
h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.h5,
h5 {
    font-size: 1rem;
    font-weight: 700;
}

.h6,
h6 {
    font-size: .75rem
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    padding-left: 1.5rem !important;
}

/* Honour the HTML type attribute on <ol> — the reset above sets none;
   these restore the correct marker when an explicit type is present. */
ol[type="1"] {
    list-style: decimal;
}

ol[type="a" i] {
    list-style: lower-alpha;
}

ol[type="A"] {
    list-style: upper-alpha;
}

ol[type="i" i] {
    list-style: lower-roman;
}

ol[type="I"] {
    list-style: upper-roman;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}


/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 20px;
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--color-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s;
}

.site-nav--scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.site-nav .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 64px;
}

a.site-nav__logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

a.site-nav__logo:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* Search input (EU pages) */
.site-nav__search {
    flex: 1;
    max-width: 280px;
    margin-left: auto;
}

.site-nav__search input {
    width: 100%;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.875rem;
    outline: none;
    transition: background 0.2s, border-color 0.2s;
}

.site-nav__search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-nav__search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Nav links */
.site-nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    margin-bottom: 0;
}

.site-nav--eu .site-nav__links {
    margin-left: 0;
}

.site-nav__links li a {
    display: block;
    padding: 0.45rem 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.site-nav__links li a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Hamburger (mobile only) */
.site-nav__hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-white);
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
    margin-left: auto;
    transition: background 0.15s;
    position: relative;
    z-index: 200;
}

.site-nav__hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   5. HERO COMPONENTS
   ========================================================================== */

/* --- System hero (index.html) --- */
.hero--system {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center top;
    overflow: hidden;
}

.hero--system>.container {
    width: 100%;
}

.hero--system::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 26, 46, 0.90) 50%, rgba(20, 26, 46, 0.55) 100%);
}

.btn--amu-alt {
    background: var(--color-charcoal);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.btn--amu-alt:hover {
    background: #3a3f55;
    transform: translateY(-1px);
}

.hero--system .hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero--system .hero__content img.EU_Logo {
    width: 20%;
    max-width: 20%;
    margin-bottom: 20px;
}

.hero__content--split {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__school-cards .school-card {
    padding: 1.25rem;
    gap: 0.5rem;
}

.hero__school-cards .school-card__desc {
    font-size: 0.825rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0rem;
}

.hero__text {
    flex: 1;
    min-width: 0;
}

.hero__school-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    flex-shrink: 0;
    width: 520px;
}

.hero--system .hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-sm);
}

.hero--system .hero__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__actions .apus-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* --- EU hero (university pages) --- */
.hero--eu {
    background: var(--color-brand);
    padding: 4rem 0 3.5rem;
}

.hero--eu .hero__content {
    max-width: 700px;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.hero--eu .hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    line-height: 1.7;
}


/* ==========================================================================
   6. HERO SEARCH BAR
   ========================================================================== */

.hero__search--amu {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 560px;
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.hero__search--amu:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.hero__search--amu-input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1.4rem;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font);
    font-size: 0.9375rem;
    -webkit-appearance: none;
    appearance: none;
}

.hero__search--amu-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero__search--amu-btn {
    flex-shrink: 0;
    padding: 0.85rem 1.6rem;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.hero__search--amu-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.hero--system .btn--primary {
    background: var(--color-white);
    color: var(--color-navy);
    border: 2px solid var(--color-white);
}

.hero--system .btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero--system a:hover .btn--outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero--system .hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem !important;
}


/* ==========================================================================
   7. SCHOOL CARDS (index.html "Our Schools")
   ========================================================================== */

.schools-overview {
    padding: var(--space-xl) 0;
    background: var(--color-off-white);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.school-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border-left: 5px solid var(--card-accent, #ccc);
    padding: 1.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
}

.school-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
    text-decoration: none;
}

.school-card__logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.school-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.school-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
}

.school-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--card-accent, var(--color-navy));
    margin-top: auto;
    transition: gap 0.15s;
}

.school-card:hover .school-card__link,
.school-card__link:hover {
    gap: 0.55rem;
}


/* ==========================================================================
   8. EU NAVIGATION CARDS
   ========================================================================== */

.nav-cards-section {
    padding: var(--space-lg) 0 var(--space-xl);
    background: var(--color-white);
}

.nav-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.nav-card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.nav-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nav-card__body {
    flex: 1;
    min-width: 0;
}

.nav-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.nav-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.nav-card__arrow {
    flex-shrink: 0;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    align-self: center;
    transition: transform 0.15s, color 0.15s;
}

.nav-card:hover .nav-card__arrow {
    transform: translateX(3px);
    color: var(--color-brand);
}


/* ==========================================================================
   9. SCHOOLS LIST (EU pages)
   ========================================================================== */

.schools-section {
    padding: var(--space-lg) 0 var(--space-xl);
    background: var(--color-off-white);
}

.schools-section__header {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

.schools-list {
    display: flex;
    flex-direction: column;
}

.school-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.12s, padding-left 0.12s;
    text-decoration: none;
    color: var(--color-text);
}

.school-row:hover {
    background: rgba(0, 0, 0, 0.03);
    padding-left: 1rem;
}

.school-row__name {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.12s;
}

.school-row:hover .school-row__name {
    color: var(--color-brand);
}

.school-row__arrow {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: transform 0.15s, color 0.15s;
    font-weight: 500;
}

.school-row:hover .school-row__arrow {
    transform: translateX(4px);
    color: var(--color-brand);
}


/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.subFooterBar.apus-full-width-gray {
    margin-bottom: 0 !important;
    margin-top: 6rem;
    padding: 4rem 0;
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-border);
}

.subFooterBar.apus-full-width-gray .btn--primary {
    background: var(--color-navy);
    color: var(--color-white);
    margin-top: 20px;
    text-transform: uppercase;
}

.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: var(--space-md) 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__address {
    font-size: 0.8125rem;
    color: var(--color-footer-text);
    line-height: 1.5;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0;
    align-items: center;
}

.footer__links a {
    font-size: 0.8125rem;
    color: var(--color-footer-text);
    padding: 0.1rem 0.4rem;
    transition: color 0.15s;
}

.footer__links a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.footer__links a:first-child {
    padding-left: 0;
}

.footer__links a+a {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer__social-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.footer__social-icons {
    display: flex;
    gap: 0.5rem;
}

.footer__social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-footer-text);
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}

.footer__social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

/* ==========================================================================
   10.1 CUSTOM FOOTER WIDGET — System Catalog view
   Matches aut.apus.edu footer styling. Background stays #111827
   (--color-footer-bg) — everything else follows the live aut.apus.edu spec.
   All rules scoped to #apus-footer; existing .footer__inner / .footer__links
   / .footer__social styles above are completely unaffected.
   ========================================================================== */

/* Increase padding to match aut.apus.edu (padding: 3rem all sides) */
#apus-footer.site-footer {
    padding: 3rem 0;
    color: #fff;
    line-height: 1.2;
}

/* Two-column layout — Bootstrap .row/.col handles structure;
   flex is a safe fallback and controls wrap/gap. */
/* Layout — override Bootstrap's equal .col split to match aut.apus.edu
   (~31% left / ~69% right). gap matches aut.apus.edu's ~60px inter-column space. */
#apus-footer .apus-footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

#apus-footer .apus-col-brand {
    flex: 0 0 auto;
    width: 31%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#apus-footer .apus-footer-end {
    flex: 1;
    min-width: 0;
}

/* ── Brand link groups (Military+ / Health+) ── */
#apus-footer .apus-brand ul {
    list-style: none;
    padding-left: 0 !important;
    margin-bottom: 0;
}

#apus-footer .apus-brand ul li {
    margin-bottom: 0.3rem;
}

#apus-footer .apus-brand ul li a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s;
}

#apus-footer .apus-brand ul li a:hover {
    opacity: 0.75;
    text-decoration: none;
}

/* ── Organisation name ── */
#apus-footer .apus-org-name p {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

/* ── Phone — flex row so icon sits beside number ── */
#apus-footer .contact-phone p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#apus-footer .contact-phone p::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.333 9.131a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#apus-footer .contact-phone a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s;
}

#apus-footer .contact-phone a:hover {
    opacity: 0.75;
}

/* ── Address — flex row, icon top-aligned for multi-line text ── */
#apus-footer .contact-address p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

#apus-footer .contact-address p::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 0.75em;
    height: 1em;
    margin-top: 0.15em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='white' d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

/* ── End-column nav — spaced links + bottom divider (aut.apus.edu style) ── */
#apus-footer .apus-footer-end-nav {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#apus-footer .apus-inline-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.5rem;   /* gap replaces pipe borders — matches aut.apus.edu */
    list-style: none;
    padding-left: 0 !important;
    margin-bottom: 0;
}

#apus-footer .apus-inline-nav li a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s;
    padding: 0;
}

#apus-footer .apus-inline-nav li a:hover {
    opacity: 0.75;
}

/* ── Disclaimer ── */
#apus-footer .disclaimer {
    max-width: 700px;
}

#apus-footer .disclaimer p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

#apus-footer .disclaimer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

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

/* ── Responsive — stack columns on mobile ── */
@media (max-width: 768px) {
    #apus-footer.site-footer {
        padding: 2rem 0;
    }

    #apus-footer .apus-footer-main {
        gap: 1.5rem;
    }

    #apus-footer .apus-col-brand,
    #apus-footer .apus-footer-end {
        flex: none;
        width: 100%;
    }

    #apus-footer .apus-inline-nav {
        gap: 0.5rem 1rem;
    }
}

/* ==========================================================================
   10.5 DATA TABLES + CALENDAR (SYSTEM COMPONENTS)
   ========================================================================== */

.policy-content-main table.table {
    font-size: .875rem;
}

/* Header */
.policy-content-main table th {
    background: var(--table-header-bg);
    color: var(--color-white);
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--table-header-border);
}

/* Header divider */
.policy-content-main table th+th {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* Body cells */
.policy-content-main table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

/* Column dividers */
.policy-content-main table td+td {
    border-left: 1px solid var(--color-border);
}

/* Zebra */
.policy-content-main table tbody tr:nth-child(even) td {
    background: var(--table-row-alt);
}

/* Hover */
.policy-content-main table tbody tr:hover td {
    background: var(--table-hover);
}

/* Remove last row border */
.policy-content-main table tr:last-child td {
    border-bottom: none;
}


/* ==========================================================================
   SCHEDULE TABLE EXTENSIONS
   ========================================================================== */

.policy-content-main table.schedule-table td:nth-child(2),
.policy-content-main table.schedule-table td:nth-child(3) {
    min-width: 180px;
}

.policy-content-main table.schedule-table td:nth-child(4),
.policy-content-main table.schedule-table td:nth-child(5),
.policy-content-main table.schedule-table td:nth-child(6) {
    white-space: nowrap;
    font-weight: 500;
    color: var(--color-text-muted);
}


/* ==========================================================================
   QUARTER ROW (UPDATED — THIS IS THE FIX)
   ========================================================================== */

.policy-content-main table .quarter-row td {
    position: relative;
    /* stronger visual separation */
    background: #f3f4f6 !important;
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
    /* remove vertical grid lines */
    border-left: none !important;
    /* section divider */
    border-top: 2px solid #d1d5db;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: 0.4px;
    color: #3f444c;
}

/* Prevent zebra override */
.policy-content-main table tbody tr.quarter-row td {
    background: #f3f4f6 !important;
}

/* Left accent bar */
.policy-content-main table .quarter-row td::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--table-accent);
}


/* ==========================================================================
   PLACEMENT TABLE EXTENSIONS
   ========================================================================== */

.policy-content-main table.placement-table td:nth-child(1) {
    width: 20%;
    font-weight: 600;
}

.policy-content-main table.placement-table td:nth-child(2) {
    width: 30%;
    color: var(--color-text-muted);
}

.policy-content-main table.placement-table td:nth-child(3) {
    width: 50%;
}


/* ==========================================================================
   ACADEMIC CALENDAR
   ========================================================================== */

.academic-calendar {
    max-width: 900px;
    margin: 0 auto;
}

.quarter {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
}

.quarter:nth-child(odd) {
    background: var(--color-off-white);
}

.quarter-title {
    font-weight: 600;
}

.quarter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .quarter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .hero--system .hero__content img.EU_Logo {
        width: 25%;
        max-width: 25%;
    }
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {

    /* Nav */
    .site-nav .container {
        flex-wrap: wrap;
        height: auto;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        gap: 0.5rem;
    }

    .site-nav__hamburger {
        display: flex;
        margin-left: auto;
    }

    .site-nav__search {
        order: 3;
        max-width: 100%;
        flex: 1 1 100%;
        margin-left: 0;
    }

    .site-nav__links {
        order: 4;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-left: 0;
    }

    .site-nav__links.is-open {
        max-height: 400px;
    }

    .site-nav__links li {
        width: 100%;
    }

    .site-nav__links li a {
        padding: 0.65rem 0.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.9375rem;
    }

    /* Hero */
    .hero--system {
        min-height: 300px;
    }

    .hero__content--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__school-cards {
        width: 100%;
    }

    .hero--system .hero__content,
    .hero--eu .hero__content {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__actions .apus-button-group {
        display: grid;
        grid-template-columns: max-content;
    }

    /* Grids */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Schools overview */
    .schools-overview {
        padding: var(--space-lg) 0;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__social {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero--system .hero__title {
        font-size: 1.75rem;
    }

    .hero--eu .hero__title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}


/* ==========================================================================
   12. CONTENT PAGE LAYOUT (breadcrumb + two-column sidebar + main)
   ========================================================================== */

/* --- Breadcrumb bar --- */
.breadcrumb {
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.4rem;
    row-gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.combined-mobile-nav {
    margin-bottom: 0 !important;
}

ol.breadcrumb__list {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    /* Overrides the bottom part of margin-block */
    margin-block: 0 !important;
    /* Reset both top/bottom if needed */
}

.breadcrumb__item a {
    color: var(--color-text-muted);
    transition: color 0.15s;
}

.breadcrumb__item a:hover {
    color: var(--color-text);
}

.breadcrumb__item+.breadcrumb__item::before {
    content: '\203a';
    font-size: 0.75rem;
    color: var(--color-text-muted);
    user-select: none;
    margin-right: 0.4rem;
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: 500;
}

/* --- Two-column content layout wrapper --- */
.content-layout {
    display: flex;
    align-items: flex-start;
    padding: var(--space-lg) 0 var(--space-xl);
}

/* --- Sidebar --- */
.content-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: var(--color-white);
    position: sticky;
    top: 80px;
    align-self: flex-start;
    padding: 0;
    border-right: 1px solid var(--color-border);
    margin-right: 2.5rem;
}

/* --- Accordion --- */
.sidebar-accordion {
    border-bottom: 1px solid var(--color-border);
}

.sidebar-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.15s;
}

.sidebar-accordion__toggle::-webkit-details-marker {
    display: none;
}

.sidebar-accordion__toggle::after {
    content: '›';
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: transform 0.2s;
    color: var(--color-text-muted);
}

.sidebar-accordion[open] .sidebar-accordion__toggle::after {
    transform: rotate(90deg);
}

/* --- Sidebar sub-group (nested accordion) --- */
.sidebar-subgroup__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    padding-left: calc(1rem + 3px);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    color: var(--color-text-muted);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.15s;
    width: 100%;
}

.sidebar-subgroup__toggle::-webkit-details-marker {
    display: none;
}

.sidebar-subgroup__toggle::after {
    content: '›';
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: transform 0.2s;
    color: var(--color-text-muted);
}

.sidebar-subgroup[open] .sidebar-subgroup__toggle::after {
    transform: rotate(90deg);
}

/* --- Sub-group nav items (indented under sub-group toggle) --- */
.content-sidebar__subnav .content-sidebar__link {
    padding-left: 2rem;
}

/* --- Sidebar nav list --- */
.content-sidebar__nav {
    list-style: none;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

/* Reset the global ul padding-left for all sidebar nav lists */
.content-sidebar__nav,
.content-sidebar__subnav,
.sidebar-accordion ul,
.sidebar-panel ul,
ol.breadcrumb__list,
.sidebar-subgroup ul {
    padding-left: 0 !important;
}

.content-sidebar__nav li a,
.content-sidebar__link {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-left: 3px solid transparent;
    text-align: left;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.content-sidebar__nav li a:hover,
.content-sidebar__link:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.content-sidebar__nav li a.is-active,
.content-sidebar__link.is-active {
    color: var(--color-text);
    font-weight: 600;
    background: var(--color-off-white);
    border-left-color: var(--color-navy);
}

.content-sidebar__link:focus-visible {
    outline: 3px solid rgba(26, 31, 46, 0.16);
    outline-offset: 2px;
}

/* --- Main content area --- */
.policy-content-main {
    flex: 1;
    min-width: 0;
    padding: 0;
    background: var(--color-white);
}

.policy-content-main__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
}

.policy-content-main__title {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 1rem;
    padding-bottom: 20px;
}

.policy-content-main__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 2rem;
}

.policy-content-main ol li {
    list-style: decimal;
    margin: 0 0 10px 0;
    color: var(--color-text-muted);
}

.policy-content-main ol[type="1"] {
    list-style: decimal;
}

.policy-content-main ol[type="a" i] {
    list-style: lower-alpha;
}

.policy-content-main ol[type="A"] {
    list-style: upper-alpha;
}

.policy-content-main ol[type="i" i] {
    list-style: lower-roman;
}

.policy-content-main ol[type="I"] {
    list-style: upper-roman;
}

.policy-content-main ul li {
    margin: 0 0 10px 0;
    list-style: disc;
    color: var(--color-text-muted);
}

body .policy-content-main {
    color: inherit;
}

.policy-content-main a {
    color: var(--color-navy);
    text-decoration: underline;
}

.policy-content-main h3.policy-content-main__section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.policy-content-main summary.content-accordion__toggle {
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-text);
}

.policy-content-main .content-accordion__content {
    font-size: .875rem;
}

/* --- Content rows (reuses .school-row from Section 9) --- */
.content-rows {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--color-border);
}

/* --- Content panels (hidden by default; JS activates one at a time) --- */
.content-panel[hidden] {
    display: none;
}

/* --- Placeholder block for unbuilt sections --- */
.placeholder-text {
    background: var(--color-off-white);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 680px;
}

.placeholder-text p+p {
    margin-top: 0.75rem;
}

/* --- Sidebar sheet overlay --- */
.sidebar-close {
    display: none;
}

.sidebar-toggle {
    display: none;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 140;
}

.sidebar-overlay.is-visible {
    display: block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .content-layout {
        flex-direction: column;
        padding: var(--space-md) 0 var(--space-lg);
    }

    /* Sidebar becomes a fixed slide-in sheet */
    .content-sidebar {
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100% - 64px);
        width: 300px;
        max-width: 85vw;
        z-index: 150;
        background: var(--color-white);
        border-right: 1px solid var(--color-border);
        border-bottom: none;
        margin-right: 0;
        margin-bottom: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        padding-top: 3rem;
    }

    .content-sidebar.is-open {
        transform: translateX(0);
    }

    /* Close button inside the sheet */
    .sidebar-close {
        display: flex;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--color-off-white);
        border: 1px solid var(--color-border);
        font-size: 1.1rem;
        color: var(--color-text-muted);
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
    }

    .sidebar-close:hover {
        background: var(--color-border);
        color: var(--color-text);
    }

    /* Toggle button shown above main content */
    .sidebar-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1rem;
        background: var(--color-off-white);
        border: none;
        border-bottom: 1px solid var(--color-border);
        font-family: var(--font);
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-text);
        cursor: pointer;
        align-self: stretch;
        transition: background 0.15s;
    }

    .sidebar-toggle:hover {
        background: var(--color-border);
    }

    .content-sidebar__nav li a,
    .content-sidebar__link {
        border-left: none;
        border-bottom: 1px solid var(--color-border);
        padding: 0.65rem 1rem;
    }

    .content-sidebar__nav li a.is-active,
    .content-sidebar__link.is-active {
        border-left: none;
        background: var(--color-off-white);
    }

    .policy-content-main {
        padding: 1.75rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .policy-content-main__title {
        font-size: 1.5rem;
    }
}


/* ==========================================================================
   13. HERO SEARCH BAR
   ========================================================================== */

.hero__search {
    display: flex;
    align-items: stretch;
    margin-top: 2rem;
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    overflow: hidden;
    transition: background 0.2s, border-color 0.2s;
}

.hero__search:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero__search-input {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1.25rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9375rem;
    -webkit-appearance: none;
    appearance: none;
}

.hero__search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hero__search-btn {
    flex-shrink: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.hero__search-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 480px) {
    .hero__search {
        flex-direction: column;
        border-radius: var(--radius);
        overflow: visible;
        background: transparent;
        border: none;
        gap: 0.5rem;
    }

    .hero__search-input {
        width: 100%;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--radius-sm);
        padding: 0.75rem 1rem;
    }

    .hero__search-btn {
        width: 100%;
        border: none;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.2);
        padding: 0.75rem 1rem;
    }
}


/* ==========================================================================
   14. SEARCH RESULTS PAGE (amu-results.html)
   ========================================================================== */

.results-header {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--color-border);
}

.results-header__query {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.results-header__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .hero__search--amu {
        flex-direction: column;
        border-radius: var(--radius);
        overflow: visible;
        background: transparent;
        border: none;
        gap: 0.5rem;
    }

    .hero__search--amu-input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--radius-sm);
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .hero__search--amu-btn {
        width: 100%;
        border-radius: var(--radius-sm);
        border: none;
        background: rgba(255, 255, 255, 0.18);
        padding: 0.75rem 1rem;
    }

    a.site-nav__logo {
        font-size: .75rem;
    }

    .hero--system .hero__content img.EU_Logo {
        width: 60%;
        max-width: 60%;
    }
}

.results-search {
    display: flex;
    align-items: center;
    max-width: 520px;
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    overflow: hidden;
    background: var(--color-white);
    transition: border-color 0.2s;
}

.results-search:focus-within {
    border-color: var(--color-amu);
}

.results-search-input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1.1rem;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: transparent;
}

.results-search-btn {
    flex-shrink: 0;
    padding: 0.7rem 1.25rem;
    background: var(--color-amu);
    border: none;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.results-search-btn:hover {
    opacity: 0.88;
}

.results-meta {
    padding: 1rem 0 0.25rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.results-list {
    list-style: none;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
}

.result-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.result-item__type {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-amu);
    border-radius: 3px;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.4rem;
}

.result-item__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.result-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.result-item__title a:hover {
    color: var(--color-amu);
}

.result-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.results-empty {
    padding: 3rem 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.results-empty strong {
    color: var(--color-text);
}

.results-section {
    padding: 2.5rem 0 4rem;
}

.policy-content-main__section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.policy-content-main p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.policy-content-main ul,
.policy-content-main ol {
    padding-left: 1.25rem;
    margin-block: 1rem;
}

/* ==========================================================================
   System Policies � Tabbed panel-switching layout extensions
   ========================================================================== */

.policy-content-main--tabbed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-content-main__group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


/* ==========================================================================
   CATALOG BODY / SIDEBAR / MAIN LAYOUT
   ========================================================================== */

/* ── Page body: sidebar + content ────────────────────────────────── */
.catalog-body {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

/* ── Sidebar panels ───────────────────────────────────────────────── */
.sidebar-panel[hidden] {
    display: none;
}

.sidebar-panel__heading {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-navy);
    padding: 0.65rem 1rem;
    border: none;
    text-align: left;
    cursor: default;
}

/* ── Left content sidebar box ─────────────────────────────────────── */
.catalog-sidebar {
    flex-shrink: 0;
    width: 300px;
    position: sticky;
    top: calc(3px + 64px + 1.5rem);
    align-self: flex-start;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    overflow: hidden;
}

.cat-section__nav {
    list-style: none;
    padding-bottom: 0.25rem;
}

.cat-section__nav li a {
    display: block;
    padding: 0.4rem 1rem 0.4rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.cat-section__nav li a:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.cat-section__nav li a.is-active {
    color: var(--color-navy);
    font-weight: 600;
    background: var(--color-off-white);
    border-left-color: var(--color-navy);
}

/* ── Child page sub-list (dynamically injected by system-subnavigation.js) ── */
.cat-section__nav li.activenavpath>ul.listNav {
    list-style: none;
    margin: 0;
    padding: 0.125rem 0 0.25rem;
    border-top: 1px solid var(--color-border);
}

.cat-section__nav li.activenavpath>ul.listNav li.navitemFirst>a {
    display: block;
    padding: 0.35rem 1rem 0.35rem 2rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s;
}

.cat-section__nav li.activenavpath>ul.listNav li.navitemFirst>a:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

/* ── Multi-level sidebar navigation (.catalog-sidebar--multilevel) ── */
.catalog-sidebar--multilevel {
    border: 0;
}

.catalog-sidebar--multilevel .cat-ml__l1,
.catalog-sidebar--multilevel .cat-ml__l2,
.catalog-sidebar--multilevel .cat-ml__l3,
.catalog-sidebar--multilevel .cat-ml__l4,
.catalog-sidebar--multilevel .cat-ml__l5 {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide child lists until JS reveals them */
.catalog-sidebar--multilevel .cat-ml__l2[hidden],
.catalog-sidebar--multilevel .cat-ml__l3[hidden],
.catalog-sidebar--multilevel .cat-ml__l4[hidden],
.catalog-sidebar--multilevel .cat-ml__l5[hidden] {
    display: none;
}

/* Base link styles shared across all levels */
.catalog-sidebar--multilevel .cat-ml__link {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.catalog-sidebar--multilevel .cat-ml__link:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link.is-active {
    color: var(--color-navy);
    font-weight: 600;
    border-left-width: 3px;
    border-left-color: var(--color-navy);
}

.catalog-sidebar--multilevel .cat-ml__link.is-ancestor {
    color: var(--color-text);
    font-weight: 600;
}

/* Level-specific left-padding (each level indented by 0.75rem) */
.catalog-sidebar--multilevel .cat-ml__link--l1 {
    padding: 0.75rem 0.75rem 0.75rem 1.25rem;
    color: var(--color-text);
    font-weight: 600;
}

.catalog-sidebar--multilevel .cat-ml__link--l2 {
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link--l3 {
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    font-size: 0.8rem;
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link--l4 {
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    font-size: 0.775rem;
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link--l5 {
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    font-size: 0.75rem;
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__l5 {
    padding: 0.125rem 0;
    margin-left: 0.75rem;
}

/* Horizontal separator between L1 items */
.catalog-sidebar--multilevel .cat-ml__item--l1 {
    border-bottom: 1px solid var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__item--l1:last-child {
    border-bottom: none;
}

/* Expanded L1 row gets a subtle background highlight */
.catalog-sidebar--multilevel .cat-ml__item--has-children:has(> .cat-ml__item-row > .cat-ml__toggle[aria-expanded="true"])>.cat-ml__item-row {
    background: var(--color-off-white);
}

/* L2/L3/L4 child lists — indented relative to parent; rail comes from each link's border-left */
.catalog-sidebar--multilevel .cat-ml__l2 {
    padding: 0.5rem 0;
    margin-left: 1.25rem;
}

.catalog-sidebar--multilevel .cat-ml__l3 {
    padding: 0.125rem 0;
    margin-left: 0.75rem;
}

.catalog-sidebar--multilevel .cat-ml__l4 {
    padding: 0.125rem 0;
    margin-left: 0.75rem;
}

/* ── Item row: link + toggle button side by side ── */
.catalog-sidebar--multilevel .cat-ml__item-row {
    display: flex;
    align-items: stretch;
}

.catalog-sidebar--multilevel .cat-ml__item-row .cat-ml__link {
    flex: 1;
    min-width: 0;
}

/* Toggle button (chevron) */
.catalog-sidebar--multilevel .cat-ml__toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    transition: background 0.15s, color 0.15s;
}

.catalog-sidebar--multilevel .cat-ml__toggle:hover {
    background: var(--color-off-white);
    color: var(--color-text);
}

/* CSS chevron arrow — points right by default, rotates down when expanded */
.catalog-sidebar--multilevel .cat-ml__toggle::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.catalog-sidebar--multilevel .cat-ml__toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

/* ── Main content area ────────────────────────────────────────────── */
.catalog-main {
    flex: 1;
    min-width: 0;
}

.content-main__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.content-main__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.content-main__title {
    font-family: var(--font);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 0;
}

.content-main__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 2rem;
}

.content-main__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.content-main__meta-item {
    margin: 0;
    line-height: 1.45;
}

.content-main__meta-item+.content-main__meta-item {
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
    .content-main__header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .content-panel__print {
        align-self: flex-start;
    }
}

/* ── School section headings & program meta ──────────────────────── */
.schools-section-heading {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin: 2rem 0 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-navy);
}

.schools-section-heading+.schools-list {
    border-top: none;
}

.school-row__meta {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

/* ── Career paths grid ────────────────────────────────────────────── */
.career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    margin-bottom: 1rem;
    max-width: 640px;
}

.career-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.career-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* ── Hamburger button (hidden on desktop) ─────────────────────────── */
.primary-nav__hamburger {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.primary-nav__hamburger:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

/* ── Primary Nav: search toggle button ───────────────────────────── */
.primary-nav__search-toggle {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.primary-nav__search-toggle:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}



/* ── Subnav scroll wrapper ────────────────────────────────────────── */
.subnav__scroll {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.subnav__scroll::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2rem;
    background: linear-gradient(to right, transparent, var(--color-navy));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.subnav__scroll.can-scroll-right::after {
    opacity: 1;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .catalog-body {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }

    .catalog-sidebar {
        position: static;
        width: 100%;
    }

    /* Show hamburger on mobile */
    .primary-nav__hamburger {
        display: flex;
    }

    /* Subnav: horizontally scrollable */
    .subnav__inner {
        padding: 0;
    }

    .subnav__scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .subnav__scroll::-webkit-scrollbar {
        display: none;
    }

    .subnav__links {
        padding: 0 1rem;
        flex-wrap: nowrap;
    }

    .subnav__links a {
        white-space: nowrap;
    }

    /* Collapsible section nav heading — becomes an interactive toggle */
    .sidebar-panel__heading {
        cursor: pointer;
        padding-right: 2.25rem;
        position: relative;
    }

    .sidebar-panel__heading::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #fff;
        transition: transform 0.2s ease;
    }

    .sidebar-panel__heading[aria-expanded="false"]::after {
        transform: translateY(-50%) rotate(-90deg);
    }
}

/* ── Sub-content panels (within a main panel) ─────────────────────── */
.sub-panel[hidden] {
    display: none;
}

/* ── Associate Programs layout ────────────────────────────────────── */
.assoc-programs__intro {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.assoc-programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem 3rem;
}

.assoc-degree__title {
    font-family: var(--font);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.assoc-degree__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.assoc-degree__list li::before {
    content: '✦';
    font-size: 0.55rem;
    color: var(--color-text-muted);
    margin-right: 0.45rem;
    vertical-align: middle;
}

.assoc-degree__list a {
    font-size: 0.9rem;
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.assoc-degree__list a:hover {
    color: #1e40af;
}

/* ── Program detail tabs ──────────────────────────────────────────── */
.prog-tabs {
    display: inline-flex;
    margin-block: 1.25rem;
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}

.prog-tabs__btn {
    padding: 0.5rem 1.5rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    background: transparent;
    color: var(--color-text-muted);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

.prog-tabs__btn:hover:not(.is-active) {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
}

.prog-tabs__btn.is-active {
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.prog-tab-panel[hidden] {
    display: none;
}

/* Mobile: swap button tablist for a select */
.prog-tabs__select {
    display: none;
}

@media (max-width: 768px) {
    .prog-tabs {
        display: none;
    }

    .prog-tabs__select {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        font-family: var(--font);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-text);
        background-color: var(--color-off-white);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.9rem center;
        border: 1px solid var(--color-border);
        border-radius: 10px;
        margin-bottom: 2rem;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }
}

/* ── Program detail body text ─────────────────────────────────────── */
.prog-body p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prog-body .littlefoot__content p,
.prog-body .littlefoot__content span {
    color: inherit;
}

.prog-body a {
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prog-body h2 {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0.5rem 0 0.75rem;
    line-height: 1.15;
}

.prog-body h3 {
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.5rem 0 0.5rem;
    line-height: 1.2;
}

/* Visually hide table captions while keeping them accessible to screen readers */
.prog-body caption,
.prog-body .APUSDegreeProgramTableCaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hide Caption from Non-program tables, same reason as above */
table caption {
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
}

/* Hide the Accessible Table Data Label... Matches current APUS Catalog */
.tdlabel {
    display: none;
}

.prog-body ul:not(.littlefoot__content ul) {
    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.prog-body ol:not(.littlefoot__content ol) {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.prog-body ol[type="1"] {
    list-style: decimal;
}

.prog-body ol[type="a" i] {
    list-style: lower-alpha;
}

.prog-body ol[type="A"] {
    list-style: upper-alpha;
}

.prog-body ol[type="i" i] {
    list-style: lower-roman;
}

.prog-body ol[type="I"] {
    list-style: upper-roman;
}

/*.prog-body ul li::before {
    content: '✦';
    font-size: 0.55rem;
    color: var(--color-text-muted);
    margin-right: 0.5rem;
    vertical-align: middle;
}*/

.content-panel ol {
    list-style: decimal;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.content-panel ol[type="1"] {
    list-style: decimal;
}

.content-panel ol[type="a" i] {
    list-style: lower-alpha;
}

.content-panel ol[type="A"] {
    list-style: upper-alpha;
}

.content-panel ol[type="i" i] {
    list-style: lower-roman;
}

.content-panel ol[type="I"] {
    list-style: upper-roman;
}

.content-panel ol li {
    font-size: 0.9375rem;
    line-height: 1.7;
    padding-left: 0.25rem;
}

/* ── Program requirements table – banded rows ────────────────────── */
.prog-body table tbody tr:nth-child(even) td,
.prog-body table tbody tr:nth-child(even) th[scope="row"] {
    background: var(--table-row-alt);
}

.prog-body table tbody tr:hover td,
.prog-body table tbody tr:hover th[scope="row"] {
    background: var(--table-hover);
}

/* ── Degree at a Glance table ─────────────────────────────────────── */
.glance-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 2rem;
}

.glance-table tr {
    border-bottom: 1px solid var(--color-border);
}

.glance-table td {
    padding: 0.55rem 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.glance-table td:last-child {
    color: var(--color-text);
    font-weight: 400;
    /*text-align: right;*/
    white-space: wrap;
}

.ras-glance-table td:last-child {
    color: var(--color-text);
    font-weight: 400;
    text-align: right;
    white-space: wrap;
}

/* Disable right alignment for Master's-Level Course Substitutions table */
.prog-table--masters-substitutions td:last-child,
.prog-table--masters-substitutions th:last-child {
    text-align: left !important;
}

/* Restore bold weight on the last header cell in the masters substitution table */
.prog-table--masters-substitutions thead td:last-child {
    font-weight: 600 !important;
}

.prog-table--masters-substitutions td .float-right,
.prog-table--masters-substitutions th .float-right {
    float: none !important;
    display: inline !important;
}

/* Center section-header rows (e.g. "Master of Public Health") */
.prog-table--masters-substitutions tr.glance-table__total td {
    text-align: center !important;
}

/* Column width pins — applied via <col> elements in each table variant */
.col-code {
    width: 8.5rem;
}

.col-credits {
    width: 5rem;
}

.ras-col-credits {
    width: 8rem;
}

.col-value {
    width: 5rem;
}

.glance-table thead td {
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
}

.glance-table tr.glance-table__total td {
    font-weight: 700;
    color: var(--color-text);
}

/* ── Sub-total: visually attached to the preceding courses table ── */
.glance-table--subtotal {
    margin-top: -2rem;
    /* cancel the margin-bottom of the preceding .glance-table */
}

.glance-table tr.glance-table__subtotal td {
    font-weight: 700;
    color: var(--color-text);
}

/* ==========================================================================
   Program details
   ========================================================================== */

.prog-paragraph {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prog-paragraph ol {
    display: block;
    list-style: decimal;
    padding-left: 1.5rem;
}

.prog-paragraph ul {
    display: block;
    list-style: none;
    padding-left: 0;
}

.prog-footnote {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 0.35rem;
}

/* ── SDA availability marker ─────────────────────────────────────── */
.prog-sda-marker {
    font-size: 0.85em;
    font-weight: 700;
    vertical-align: super;
    color: var(--color-text-muted);
    margin-left: 0.1em;
    user-select: none;
}

/* ── Program notifications ─────────────────────────────────────── */
.prog-notification {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.prog-notification--warning {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    color: #78350f;
}

.prog-notification__icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 0.05rem;
}

.prog-notification__body {
    flex: 1;
    min-width: 0;
}

.prog-notification__body a {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
}

.prog-notification__body a:hover {
    color: #78350f;
}

.prog-notification__close {
    flex-shrink: 0;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.1rem 0.25rem;
    border-radius: var(--radius-sm);
    opacity: 0.7;
    transition: opacity 0.15s;
}

.prog-notification--warning .prog-notification__close {
    color: #92400e;
}

.prog-notification__close:hover {
    opacity: 1;
}

/* ── Info variant ─────────────────────────────────── */
.prog-notification--info {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    border-left: 4px solid #3b82f6;
    color: #1e3a5f;
}

.prog-notification--info .prog-notification__body a {
    color: #1d4ed8;
}

.prog-notification--info .prog-notification__body a:hover {
    color: #1e40af;
}

.prog-notification--info .prog-notification__close {
    color: #1e3a5f;
}

.prog-muted {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    margin-left: 0.25rem;
}

.prog-subcourses {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.prog-subsection {
    margin-left: 0.5rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.prog-subsection__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0.5rem 0;
}

.prog-table-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0.75rem 0 0.35rem;
}

a.course-code-btn,
button.course-code-btn {
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

a.course-code-btn:hover,
button.course-code-btn:hover {
    opacity: 0.7;
}

.content-panel__print {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 800;
    flex-shrink: 0;
    white-space: nowrap;
    padding-top: 0.35rem;
}

@media (max-width: 768px) {
    .content-panel__print {
        display: none;
    }
}

.content-panel__print:hover {
    text-decoration: underline;
}

.content-panel__print svg {
    flex-shrink: 0;
}

.policy-content-main__group[hidden] {
    display: none;
}

.policy-content-main__panel {
    padding: 0 0 1rem;
}

/* ==========================================================================
   Out-list grid — multi-column UL layout inside accordion content
   ========================================================================== */
.out-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 1.5rem;
    margin: 1rem 0;
}

.out-list-grid ul {
    list-style: none;
    padding: 0 !important;
    margin: 0;
}

.out-list-grid ul li {
    padding: 0.2rem 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .out-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .out-list-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Course descriptions search
   ========================================================================== */
.catalog-course-search {
    margin: 0 0 1.25rem;
}

.catalog-course-search__label {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #526173;
}

.catalog-course-search__input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #c7d0dd;
    border-radius: 0.375rem;
    background: #fff;
    padding: 0.45rem 0.65rem;
}

.catalog-course-search__icon {
    color: #6b7a8c;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.catalog-course-search__input {
    width: 100%;
    border: 0;
    outline: none;
    font-size: 1rem;
    color: var(--color-text);
    background: transparent;
}

.catalog-course-search__input::placeholder {
    color: #6b7280;
}

.catalog-course-search__clear {
    border: 0;
    background: #f3f5f8;
    color: #24364f;
    border-radius: 0.25rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.catalog-course-search__clear:hover {
    background: #e8edf3;
}

.catalog-course-search__status {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.catalog-course-search__empty {
    margin-top: 0.75rem;
    border: 1px solid #d7deea;
    border-radius: 0.375rem;
    background: #f9fbff;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.catalog-course-search__empty p {
    margin: 0;
    color: #334155;
}

.catalog-course-search__empty button {
    border: 1px solid #b8c4d6;
    border-radius: 0.25rem;
    background: #fff;
    color: #1f3757;
    padding: 0.35rem 0.7rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.catalog-course-search__empty button:hover {
    background: #f2f5f9;
}

.courseBlock[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .catalog-course-search__input-wrap {
        padding: 0.4rem 0.55rem;
    }

    .catalog-course-search__empty {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Program details Courses Modals
   ========================================================================== */
.course-detail-modal-page-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.75);
}

.course-detail-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
    max-width: 32rem;
    max-height: 80vh;
    overflow-y: auto;
    background: hsl(var(--background, 0, 0%, 100%));
    border: 1px solid hsl(var(--border, 214, 20%, 88%));
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.course-modal-header {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.course-modal-body {
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.font-semibold {
    font-weight: 600
}

.rpd-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    padding: 0.25rem;
}

.rpd-modal-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.spd-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    padding: 0.25rem;
}

.spd-modal-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   Content Accordions (third-level nested accordions within content panels)
   ========================================================================== */

@keyframes accFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-accordion-set {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.content-accordion {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.content-accordion[open] {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: inset 3px 0 0 var(--color-brand), 0 2px 10px rgba(0, 0, 0, 0.07);
}

.content-accordion__content p:first-child {
    margin-top: 10px;
}

.content-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.125rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    list-style: none;
    cursor: pointer;
    transition: background 0.18s ease;
}

.content-accordion__toggle::-webkit-details-marker {
    display: none;
}

/* Reset any heading tags CMS editors may place inside accordion titles */
.content-accordion__toggle h1,
.content-accordion__toggle h2,
.content-accordion__toggle h3,
.content-accordion__toggle h4,
.content-accordion__toggle h5,
.content-accordion__toggle h6,
.content-accordion__heading {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
}

.content-accordion__toggle:hover {
    background: var(--color-off-white);
}

.content-accordion__toggle:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: -2px;
}

.content-accordion__toggle::after {
    content: '';
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(-45deg);
    transition: transform 0.22s ease, border-color 0.18s ease;
    margin-left: 0.75rem;
}

.content-accordion[open] .content-accordion__toggle {
    background: var(--color-off-white);
}

.content-accordion[open] .content-accordion__toggle::after {
    transform: rotate(45deg);
    border-color: var(--color-brand);
}

.content-accordion[open] .content-accordion__content {
    animation: accFadeIn 0.18s ease;
}

.content-accordion__content {
    padding: 1rem 1.125rem 1rem;
    color: var(--color-text);
    line-height: 1.75;
}

.content-accordion__content>*+* {
    margin-top: 0.85rem;
}

.content-accordion__content ul,
.content-accordion__content ol {
    padding-left: 1.2rem;
}

.content-accordion__content ol[type="1"] {
    list-style: decimal;
}

.content-accordion__content ol[type="a" i] {
    list-style: lower-alpha;
}

.content-accordion__content ol[type="A"] {
    list-style: upper-alpha;
}

.content-accordion__content ol[type="i" i] {
    list-style: lower-roman;
}

.content-accordion__content ol[type="I"] {
    list-style: upper-roman;
}

.content-accordion__content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) - 2px);
    margin: 0.5rem 0 0.25rem;
    background: linear-gradient(180deg, rgba(245, 246, 248, 0.55) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.content-accordion__content th,
.content-accordion__content td {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(226, 229, 235, 0.9);
    text-align: left;
    vertical-align: top;
}

.content-accordion__content thead th {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: #eef2f7;
}

.content-accordion__content th {
    width: 32%;
    color: var(--color-text);
    background: rgba(245, 246, 248, 0.95);
}

.content-accordion__content tbody th {
    font-weight: 700;
}

.content-accordion__content tbody tr:nth-child(even) td,
.content-accordion__content tbody tr:nth-child(even) th[scope="row"] {
    background: rgba(250, 251, 253, 0.9);
}

.content-accordion__content tbody td {
    color: var(--color-text-muted);
}

.content-accordion__content table a {
    color: var(--color-navy);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

/* Responsive table wrapper — injected by JS to scope horizontal scroll to the
   table element rather than the entire accordion content area */
.content-accordion__content .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) - 2px);
    margin: 0.5rem 0 0.25rem;
    background: linear-gradient(180deg, rgba(245, 246, 248, 0.55) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.content-accordion__content .table-responsive::-webkit-scrollbar {
    height: 6px;
}

.content-accordion__content .table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.content-accordion__content .table-responsive::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 3px;
}

/* When a system-table sits inside an accordion, restore its navy/white/centred
           header design. The generic accordion thead-th rule (grey, uppercase, 0.78 rem)
           has higher specificity and would otherwise override it. Also widen the
           min-width so multi-column tables (7+ cols) do not cram into narrow columns. */
.content-accordion__content .system-table thead th {
    background-color: var(--color-navy);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
}

/* Empty placeholder header (top-left corner cell) has no content,
           so give it a transparent background to avoid a lone navy block. */
.system-table thead th.empty-header {
    background-color: white;
}

/* Group-span headers (colspan > 1) stay centred across their span */
.content-accordion__content .system-table th[colspan] {
    text-align: center;
}

/* Leaf sub-column headers (no colspan): reduce horizontal padding so all
           columns fit within the accordion width without scrolling.
           word-break:normal wraps at word boundaries instead of per-character. */
.content-accordion__content .system-table thead th:not([colspan]) {
    word-break: normal;
    overflow-wrap: normal;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Give the label column (first non-spanning header in row 1) 22 % of
           the table width.  With table-layout:fixed the remaining 78 % distributes
           equally across all data columns (6 for Graduate, 4 for Undergrad). */
.content-accordion__content .system-table thead tr:first-child th:first-child {
    width: 22%;
}

/* Fix the table to the accordion container width so it never overflows
           and no horizontal scrollbar appears. table-layout:fixed combined with
           width:100% locks the table to the wrapper; column widths are determined
           by the first-row explicit/implicit widths set above. */
.content-accordion__content .table-responsive>.system-table {
    table-layout: fixed;
    width: 100%;
}

/* Reset visual chrome on the table itself when it sits inside the wrapper */
.content-accordion__content .table-responsive>table {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    min-width: 480px;
}

@media (max-width: 768px) {
    .content-accordion__toggle {
        padding: 0.9rem 1rem;
    }

    .content-accordion__content {
        padding: 0 1rem 1rem;
        overflow-x: auto;
        /* fallback for tables not yet wrapped by JS */
        overflow-y: clip;
    }

    /* When inside the responsive wrapper, let the wrapper control the scroll */
    .content-accordion__content .table-responsive {
        margin-left: -0.05rem;
        margin-right: -0.05rem;
    }
}

/* ==========================================================================
   Quick Navigation Bar (for content pages with multiple sections)
   ========================================================================== */
.quick-nav {
    background: var(--color-charcoal);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-nav.is-sticky {
    position: sticky;
    top: var(--nav-height, 0px);
    z-index: 100;
}

.quick-nav__inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.quick-nav__inner::-webkit-scrollbar {
    display: none;
}

.quick-nav__link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    text-decoration: none;
}

.quick-nav__link:hover {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* ==========================================================================
   Primary Navigation Bar (for content pages with multiple sections)
   ========================================================================== */
.primary-nav {
    background: var(--color-navy);
    border-bottom: 1px solid var(--amu-border-dark);
    position: sticky;
    top: 3px;
    z-index: 100;
}

.primary-nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}

.primary-nav__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.primary-nav__logo img {
    height: 36px;
    width: auto;
}

.primary-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-nav__actions a,
.primary-nav__actions span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.primary-nav__actions a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.primary-nav__actions a.is-active {
    color: var(--color-white);
}

.primary-nav__actions .nav-divider {
    width: 1px;
    height: 18px;
    background: var(--amu-border-dark);
    margin: 0 0.25rem;
}

/* ==========================================================================
   Primary Nav Search Bar (Expandable section that appears when user clicks "Search" in primary nav)
   ========================================================================== */
.primary-nav__searchbar {
    border-top: 1px solid var(--amu-border-dark);
    background: var(--color-charcoal);
    padding: 0.6rem 1.5rem;
}

.primary-nav__searchbar[hidden] {
    display: none;
}

.primary-nav__searchbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-nav__searchbar-inner input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.primary-nav__searchbar-inner input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.primary-nav__searchbar-inner input:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

.primary-nav__searchbar-inner button {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    transition: color 0.15s;
}

.primary-nav__searchbar-inner button:hover {
    color: var(--color-white);
}

.show-for-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0
}

.utility-nav-toggle-search {
    margin-left: 4px;
}

.utility-nav-toggle-search::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path fill="white" d="M24.5,1c-7.9,0-14.4,6.4-14.4,14.4s6.4,14.4,14.4,14.4s14.4-6.4,14.4-14.4S32.5,1,24.5,1z M24.5,25.2c-5.4,0-9.8-4.4-9.8-9.8s4.4-9.8,9.8-9.8s9.8,4.4,9.8,9.8S29.9,25.2,24.5,25.2z" /><path fill="white" d="M13,28.9l2.2-2.2l-1.9-1.9L11,27.1l-0.7-0.6c0,0-0.2-0.2-0.5,0C9.6,26.6,9.9,27,9.9,27l0.3,0.3c-1.4,1.1-5.2,4.2-6.1,5c-1,1-2.8,3.2-2.9,4.3C1.1,37.8,2,39,3.1,39.1c1.2,0,3.7-1.6,5.4-3.7c1.4-1.6,3.4-4.3,4.3-5.5l0.5,0.5c0,0,0.2,0.2,0.5,0c0.2-0.2,0-0.5,0-0.5L13,28.9z" /></svg>');
    background-repeat: no-repeat;
    content: '';
    display: inline-block;
    height: 1.25rem;
    width: 1.25rem;
    position: relative;
    left: 0;
    top: 0;
}

/* Suppress ::after icon in primary nav — uses inline SVG instead */
.primary-nav .utility-nav-toggle-search::after {
    display: none;
}

/* Style search toggle to match hamburger in primary nav */
.primary-nav .utility-nav-toggle-search {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.4rem 0.5rem;
    margin-left: 0;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.primary-nav .utility-nav-toggle-search:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

.search_burger_position {
    display: flex;
    align-items: center;
    margin-left: auto;
}

@media (max-width: 991px) {
    .utility-nav-toggle-search {
        display: flex;
        margin-left: auto;
        align-items: center;
    }
}

/* Mobile primary nav: actions slide down (matches site-nav pattern) */
@media (max-width: 768px) {
    .primary-nav__inner {
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem 1rem;
    }

    .primary-nav__actions {
        display: none;
    }
}

/* ==========================================================================
   System Catalog with Quick Navigation — combined mobile dropdown
   ========================================================================== */

/* Desktop/mobile logo visibility */
.primary-nav__logo--mobile {
    display: none;
}

@media (max-width: 768px) {
    .primary-nav__logo--desktop {
        display: none;
    }

    .primary-nav__logo--mobile {
        display: block;
    }

    .primary-nav__logo img {
        height: 26px;
    }

    /* Hide site-nav hamburger — primary-nav hamburger handles the combined dropdown */
    .site-nav--has-quick-nav .site-nav__hamburger {
        display: none;
    }

    /* Shrink site-nav height and pin primary-nav flush below it */
    .site-nav--has-quick-nav .container {
        height: 48px;
    }

    .site-nav--has-quick-nav+.primary-nav {
        top: 48px;
    }
}

/* On mobile, collapse site-nav links & hamburger; primary-nav sits below site-nav */
@media (max-width: 768px) {

    .primary-nav~.combined-mobile-nav,
    .combined-mobile-nav {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--color-navy);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transition: max-height 0.35s ease;
    }

    .combined-mobile-nav.is-open {
        max-height: 600px;
    }

    .combined-mobile-nav li a {
        display: block;
        padding: 0.5rem 1.25rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.875rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: background 0.15s, color 0.15s;
    }

    .combined-mobile-nav li a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--color-white);
    }

    .combined-mobile-nav li a.is-active {
        color: var(--color-white);
        font-weight: 600;
    }

    .combined-nav__divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin: 0.15rem 0;
    }
}

/* ==========================================================================
   Program Pages Styles
   ========================================================================== */

/* ── Sub-content panels (within a main panel) ─────────────────────── */
.sub-panel[hidden] {
    display: none;
}

.subnav__links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.subnav__links a.is-active {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.subnav {
    background: var(--color-navy);
    border-bottom: 1px solid var(--apu-border-dark);
    position: sticky;
    top: calc(3px + 64px);
    z-index: 99;
}

.subnav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0;
}

.subnav__links {
    display: flex;
    align-items: center;
}

.subnav__links a {
    display: block;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.subnav__links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.subnav__links a.is-active {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ── Program badges list (bottom of Overview tab) ─────────────────── */
.prog-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.prog-badges li {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.25rem 0.875rem;
}

.prog-badges li::before {
    content: none;
}

/* ── Conditional / placement-based section (e.g., Dev Ed) ──────────── */
.prog-section--conditional {
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-text-muted);
    border-radius: var(--radius);
    background: var(--color-off-white, #f8f9fa);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prog-section--conditional__summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
}

.prog-section--conditional__summary::-webkit-details-marker {
    display: none;
}

.prog-section--conditional__summary::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transition: transform 0.2s ease;
    transform-origin: 60% 60%;
    transform: translateY(-70%) rotate(45deg);
}

.prog-section--conditional[open]>.prog-section--conditional__summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.prog-section--conditional__summary h2 {
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.prog-section--conditional__label {
    font-size: 0.70rem;
    font-weight: 500;
    color: var(--color-text-muted);
    font-style: italic;
}

.prog-section--conditional__body {
    padding: 0 1.25rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.675rem;
    color: var(--color-text-muted);
}

.prog-section--conditional .glance-table thead td {
    font-size: 0.675rem !important;
}

.prog-section--conditional .glance-table td {
    font-size: 0.675rem !important;
}

/* ── Section shared ───────────────────────────────────────────────── */
.home-section {
    padding: 4rem 0;
}

.home-section+.home-section {
    border-top: 1px solid var(--color-border);
}

.home-section--dark {
    background: var(--color-navy);
}

.home-section--alt {
    background: var(--color-off-white);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.section-eyebrow--dark {
    color: rgba(255, 255, 255, 0.55);
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-heading--white {
    color: #fff;
}

.section-lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.section-lead--white {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Schools Grid ─────────────────────────────────────────────────── */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.school-tile {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-navy);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s, border-top-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.school-tile:hover {
    box-shadow: 0 6px 24px rgba(26, 31, 46, 0.12);
    transform: translateY(-3px);
    border-top-color: var(--color-charcoal);
}

.school-tile__name {
    font-size: 0.975rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════════════
   @media print — Browser Ctrl+P / PDF via browser print dialog
   CSS custom properties (var()) are supported here (browser renders this).
   For Adobe Acrobat PDF generation, see system-catalog-no-theme.css.
   ═══════════════════════════════════════════════════════════════════════ */

@media print {

    /* ── Hide UI chrome ─────────────────────────────────────────────── */
    .site-nav,
    .site-nav__hamburger,
    .site-nav__skip,
    .site-nav__actions,
    .site-nav__search,
    .site-footer,
    .hero__actions,
    .hero__search--amu,
    .hero__search--apu,
    .hero__search--ras,
    .hero__search--hon,
    .subnav,
    .breadcrumb,
    .schools-overview .btn,
    .school-card__actions,
    .quick-links,
    .modal,
    .modal-backdrop,
    [data-bs-toggle="modal"],
    .cookie-banner,
    .skip-to-content,
    .back-to-top,
    .hero__scroll,
    .section-cta {
        display: none !important;
    }

    /* ── Base page ──────────────────────────────────────────────────── */
    html,
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    /* ── Hero — strip background overlay, keep title text ───────────── */
    .hero--system,
    .hero--eu {
        background: #ffffff !important;
        min-height: auto !important;
        padding: 0.5rem 0 !important;
        border-bottom: 2px solid var(--color-navy, #22314e);
    }

    .hero--system::before,
    .hero--eu::before,
    .hero--system::after,
    .hero--eu::after {
        display: none !important;
    }

    .hero__title {
        color: #000000 !important;
        text-shadow: none !important;
    }

    .hero__subtitle {
        color: #333333 !important;
        text-shadow: none !important;
    }

    /* ── Suppress hover / transition effects ────────────────────────── */
    .school-card:hover,
    .school-tile:hover,
    .nav-card:hover {
        box-shadow: none !important;
        transform: none !important;
    }

    /* ── Page-break control ─────────────────────────────────────────── */
    .school-card,
    .school-tile,
    .nav-card,
    .program-row,
    .school-section,
    .program-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* ── Tables ─────────────────────────────────────────────────────── */
    table {
        border-collapse: collapse;
        width: 100%;
        page-break-inside: auto;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    td,
    th {
        border: 1px solid var(--color-border, #e2e5eb);
        padding: 3pt 5pt;
    }

    /* ── Suppress URL printing after links ──────────────────────────── */
    a[href]::after {
        content: "" !important;
    }

    /* ── Containers — full page width ───────────────────────────────── */
    .container,
    .container-fluid {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ── Typography ─────────────────────────────────────────────────── */
    body {
        font-size: 16pt !important;
        line-height: 1.6 !important;
        color: #000000 !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #000000 !important;
        page-break-after: avoid;
        break-after: avoid;
    }

    p,
    li {
        font-size: 14pt !important;
        color: #000000 !important;
        orphans: 3;
        widows: 3;
    }

    /* ── Links — strip colour for B&W print ─────────────────────────── */
    a,
    a:visited {
        color: #000000 !important;
        text-decoration: none !important;
    }

    a[href]::after {
        content: "" !important;
    }

    /* ── Hide interactive UI not needed in print ─────────────────────── */
    .primary-nav,
    header,
    .hero--system,
    .content-sidebar,
    .sidebar-toggle,
    .sidebar-close,
    .sidebar-overlay,
    .content-panel__print,
    .primary-nav__hamburger,
    .prog-tabs,
    .prog-tabs__select,
    .subFooterBar,
    .sub-footer-bar,
    .section-eyebrow,
    .site-nav,
    .site-footer,
    .breadcrumb,
    .subnav,
    .hero__actions,
    .hero__search--amu,
    .hero__search--apu,
    .hero__search--ras,
    .hero__search--hon,
    .hero__school-cards,
    .cookie-banner,
    .back-to-top {
        display: none !important;
    }

    /* ── Layout: collapse sidebar+main to single column ─────────────── */
    .content-layout {
        display: block !important;
    }

    .catalog-body {
        display: block !important;
        padding: 0 !important;
    }

    .catalog-sidebar {
        display: none !important;
    }

    .policy-content-main,
    .catalog-main {
        width: 100% !important;
        padding: 0 !important;
    }

    /* ── System Policies: group/section headings ─────────────────────── */
    .policy-content-main__title {
        font-size: 14pt !important;
        font-weight: 700 !important;
        color: #22314e !important;
        border-bottom: 2px solid #22314e;
        padding-bottom: 4pt;
        margin-bottom: 8pt;
    }

    .policy-content-main__subgroup-title {
        font-size: 11pt !important;
        font-weight: 700 !important;
        color: #22314e !important;
        border-bottom: 1px solid #dde3ec;
        padding-bottom: 3pt;
        margin-bottom: 6pt;
    }

    .policy-content-main__section-heading {
        font-size: 12pt !important;
        font-weight: 700 !important;
        color: #000000 !important;
        margin-bottom: 6pt;
    }

    /* ── System Policies: show ALL panels (JS hides all but active) ──── */
    .content-panel[hidden],
    .policy-content-main__panel[hidden],
    .policy-content-main__group[hidden],
    .policy-content-main__subgroup[hidden] {
        display: block !important;
    }

    .content-panel,
    .policy-content-main__panel {
        page-break-before: always;
        break-before: page;
        padding-top: 8pt;
    }

    /* First panel after a group heading — avoid double page break */
    .policy-content-main__group+.content-panel,
    .policy-content-main__group+.policy-content-main__panel {
        page-break-before: avoid !important;
        break-before: avoid !important;
    }

    /* ── Program detail tabs: show ALL tab panels ────────────────────── */
    [role="tabpanel"],
    [role="tabpanel"][hidden] {
        display: block !important;
    }

    /* ── Accordions: strip box styling, show all content ────────────── */
    details,
    details[open] {
        display: block !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        margin-bottom: 4pt !important;
    }

    details>summary,
    .content-accordion__toggle {
        display: block !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #dde3ec !important;
        padding: 4pt 0 !important;
        font-size: 14pt !important;
        font-weight: 700 !important;
        color: #000000 !important;
        list-style: none !important;
    }

    details>summary::-webkit-details-marker,
    .content-accordion__toggle::after {
        display: none !important;
    }

    /* Chrome < 130 */
    details>*:not(summary) {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
    }

    /* Chrome 130+ — UA stylesheet uses details:not([open])::details-content { block-size: 0 }
       Must match or beat that specificity to force content visible regardless of open state */
    details::details-content,
    details:not([open])::details-content {
        display: block !important;
        block-size: auto !important;
        overflow: visible !important;
    }

    .content-accordion__content {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 4pt 0 !important;
    }

    /* ── Tables ─────────────────────────────────────────────────────── */
    table {
        border-collapse: collapse;
        width: 100%;
        font-size: 14pt !important;
        page-break-inside: auto;
    }

    tr {
        page-break-inside: avoid;
    }

    td,
    th {
        border: 1px solid #cccccc !important;
        padding: 3pt 5pt !important;
        color: #000000 !important;
    }

    th {
        background: #f0f0f0 !important;
        font-weight: 700 !important;
    }

    /* ── Footnotes ───────────────────────────────────────────────────── */
    .page-footnotes {
        margin-top: 12pt;
        border-top: 1px solid #cccccc;
        padding-top: 6pt;
    }

    /* #footnotes-wrapper has inline style="display:none" set by JS; override for print */
    .page-footnotes #footnotes-wrapper {
        display: block !important;
    }

    /* ol.footnotes also carries .littlefoot--print which gets display:inline from print.css;
       an inline ol suppresses list markers on children — force it back to block. */
    .page-footnotes ol.footnotes,
    .page-footnotes ol.list-ordered {
        display: block !important;
        list-style-type: decimal !important;
        padding-left: 1rem !important;
        margin: 0 !important;
    }

    /* li.footnote also carries .littlefoot--print which gets display:inline from print.css;
       override back to list-item so the number marker renders. */
    .page-footnotes ol li.footnote {
        display: list-item !important;
        font-size: 13pt !important;
        line-height: 1.5 !important;
        margin-bottom: 4pt !important;
        color: #333333 !important;
    }

    .sup-footnote {
        vertical-align: super !important;
        font-size: 0.7em !important;
        line-height: 1 !important;
    }

    /* ── Images inside policy content ───────────────────────────────── */
    .policy-content-main img,
    .content-panel img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .policy-content-main p img,
    .content-panel p img {
        display: inline-block !important;
        max-width: 200px !important;
        width: auto !important;
        height: auto !important;
        margin: 0.5rem 0 0.25rem !important;
    }

    /* ── Academic Calendar ────────────────────────────────────────────── */
    .academic-calendar {
        max-width: 100% !important;
    }

    .quarter {
        background: #f8f8f8 !important;
        border: 1px solid #cccccc !important;
        border-radius: 4px !important;
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .quarter:nth-child(odd) {
        background: #f3f3f3 !important;
    }

    .quarter-title {
        font-size: 13pt !important;
        font-weight: 700 !important;
        color: #000000 !important;
        margin-bottom: 4pt !important;
    }

    .quarter-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        font-size: 10pt !important;
    }

    .quarter-grid p,
    .quarter-grid li {
        font-size: 10pt !important;
        color: #000000 !important;
    }

    /* ── Home page card grids ────────────────────────────────────────── */

    /* School tiles grid — 2 per row */
    .schools-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .school-tile {
        border: 1px solid #cccccc !important;
        border-top: 3px solid #22314e !important;
        background: #ffffff !important;
        padding: 0.75rem !important;
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        transform: none !important;
    }

    .school-tile__name {
        font-size: 11pt !important;
        font-weight: 700 !important;
        color: #000000 !important;
    }

    .school-tile__count {
        font-size: 9pt !important;
        color: #333333 !important;
    }

    .school-tile__count p {
        font-size: 9pt !important;
    }

    .school-tile__arrow {
        font-size: 9pt !important;
        color: #22314e !important;
    }

    /* Degree cards strip — 3 per row */
    .degree-strip {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }

    .degree-card {
        border: 1px solid #cccccc !important;
        border-radius: 4px !important;
        background: #ffffff !important;
        padding: 0.75rem !important;
        text-align: left !important;
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        transform: none !important;
        color: #000000 !important;
    }

    .degree-card__badge {
        display: inline-block !important;
        background: #22314e !important;
        color: #ffffff !important;
        font-size: 7pt !important;
        font-weight: 700 !important;
        padding: 2pt 5pt !important;
        border-radius: 2px !important;
        margin-bottom: 4pt !important;
        letter-spacing: 0.05em !important;
    }

    .degree-card__label {
        font-size: 10pt !important;
        font-weight: 700 !important;
        color: #000000 !important;
        margin-bottom: 4pt !important;
    }

    .degree-card__label a {
        color: #000000 !important;
        text-decoration: none !important;
    }

    .degree-card__desc,
    .degree-card__desc p {
        font-size: 8.5pt !important;
        color: #444444 !important;
        line-height: 1.4 !important;
    }

    /* Quick-nav strip — hide (redundant in print) */
    .quick-nav {
        display: none !important;
    }

    /* Section eyebrow labels */
    .section-eyebrow {
        font-size: 8pt !important;
        color: #666666 !important;
        letter-spacing: 0.1em !important;
    }

    /* Section headings */
    .section-heading {
        font-size: 16pt !important;
        font-weight: 700 !important;
        color: #22314e !important;
    }

    .section-lead {
        font-size: 10pt !important;
        color: #333333 !important;
    }

    /* Home sections — remove background colours */
    .home-section,
    .home-section--alt,
    .home-section--dark {
        background: #ffffff !important;
        padding: 1rem 0 !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    /* ── Page settings ───────────────────────────────────────────────── */
    @page {
        margin: 1.5cm 1.8cm;

        @top-left {
            content: '';
        }

        @top-center {
            content: '';
        }

        @top-right {
            content: '';
        }

        @bottom-left {
            content: '';
        }

        @bottom-center {
            content: '';
        }

        @bottom-right {
            content: '';
        }
    }
}

.school-tile__count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    flex: 1;
}

.school-tile__arrow {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.04em;
}

.school-tile__arrow a {
    color: inherit;
    text-decoration: none;
}

/* Stretch the arrow link to cover the entire card */
.school-tile__arrow a::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* ── Degree Strip ─────────────────────────────────────────────────── */
.degree-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.degree-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    position: relative;
    cursor: pointer;
}

.degree-card:hover {
    border-color: var(--color-navy);
    box-shadow: 0 4px 20px rgba(26, 31, 46, 0.1);
    transform: translateY(-2px);
}

.degree-strip a.degree-card:hover {
    text-decoration: none;
}

.degree-card:hover .degree-card__label a {
    text-decoration: none;
}

.degree-card__badge {
    display: inline-block;
    background: var(--color-navy);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}

.degree-card__label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Stretched-link overlay — makes the entire degree card a click target */
.degree-card__label a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.degree-card__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ── Policy Grid ──────────────────────────────────────────────────── */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.policy-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-navy);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.15s, border-left-color 0.15s;
}

.policy-card:hover {
    box-shadow: 0 4px 18px rgba(26, 31, 46, 0.08);
    border-left-color: var(--color-charcoal);
}

a.policy-card__link {
    text-decoration: none;
}

.policy-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.policy-card__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

.policy-card__body {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.policy-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.policy-card ul li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.policy-card ul li::before {
    content: '—';
    color: var(--color-navy);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ── Program Details list behavior (no dash bullets) ───────────────────── */

/* Unordered lists: screenshot-style plus marker */
.prog-paragraph ul>li,
.content-panel ul>li {
    display: block;
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
}

.prog-paragraph ul>li::before,
.content-panel ul>li::before {
    content: '✦';
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.75rem;
    position: absolute;
    left: 0;
    top: 3px;
}

/* Ordered lists: keep semantic numbering at each depth */
.prog-paragraph ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}

.prog-paragraph ol[type="1"] {
    list-style: decimal;
}

.prog-paragraph ol[type="a" i] {
    list-style: lower-alpha;
}

.prog-paragraph ol[type="i" i] {
    list-style: lower-roman;
}

.prog-paragraph ol>li,
.content-panel ol>li {
    display: list-item;
    margin-bottom: 0.35rem;
    padding-left: 0.25rem;
}

.prog-paragraph ol ol,
.content-panel ol ol {
    list-style: lower-alpha;
}

.prog-paragraph ol ol ol,
.content-panel ol ol ol {
    list-style: lower-roman;
}

/* Nested list spacing */
.prog-paragraph li>ul,
.prog-paragraph li>ol,
.content-panel li>ul,
.content-panel li>ol {
    display: block;
    margin-top: 0.35rem;
    margin-bottom: 0;
    max-width: none;
    gap: 0;
}

.prog-paragraph li>ul,
.content-panel li>ul {
    list-style: none;
    padding-left: 1.25rem;
}

.prog-paragraph li>ol,
.content-panel li>ol {
    padding-left: 1.5rem;
}

.prog-paragraph li>ul>li,
.prog-paragraph li>ol>li,
.content-panel li>ul>li,
.content-panel li>ol>li {
    margin-bottom: 0.2rem;
}

.prog-paragraph li>ul>li,
.content-panel li>ul>li {
    position: relative;
    padding-left: 1rem;
}

.prog-paragraph li>ul>li::before,
.content-panel li>ul>li::before {
    content: '✦';
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.75rem;
    position: absolute;
    left: 0;
    top: 3px;
}

.policy-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 0.25rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: gap 0.15s;
}

.policy-card__link:hover {
    gap: 0.55rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .degree-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .schools-grid {
        grid-template-columns: 1fr;
    }

    .degree-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero--apu {
        padding: 3rem 0 2.5rem;
    }
}


/* ==========================================================================
   HOME PANEL (SystemPolicies HomePanel template)
   ========================================================================== */

/* Overview / Home sidebar button */
.sidebar-home-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s, background 0.15s, border-left-color 0.15s;
}

.sidebar-home-btn:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.sidebar-home-btn.is-active {
    color: var(--color-navy);
    background: var(--color-off-white);
    border-left-color: var(--color-navy);
}

/* Home / overview panel — description text + shortcut cards */
.home-panel {
    padding: 0 0 2.5rem;
}

.home-panel__title {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home-panel__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 2rem;
}

.home-panel__desc p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* Shortcut cards grid — one card per sidebar section */
.home-panel__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    max-width: 640px;
}

.home-panel__card {
    padding: 1rem 1.125rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-off-white);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s, background 0.15s;
}

.home-panel__card:hover {
    border-color: var(--color-navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    background: var(--color-white);
    color: var(--color-navy);
}

.school-tile__arrow::after,
.policy-card__link::after,
.school-card__link a::after {
    content: '→';
}

.school-card__link a {
    text-decoration: none;
}

/* Stretched-link overlay — makes the entire card a click target for the <a> */
.school-card__link a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Arrow re-attached to the span so it remains visible above the overlay */
.school-card__link::after {
    content: '→';
    color: var(--card-accent, var(--color-navy));
    font-weight: 600;
    pointer-events: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.program-detail-badges {
    flex-direction: row !important;
    gap: 1rem !important;
    margin-bottom: 0 !important;
}

.program-detail-badges li {
    font-size: 0.75rem !important;
    color: var(--color-text) !important;
    white-space: nowrap !important;
    gap: 0.2rem !important;
}

.program-detail-badges li::before {
    content: '✦' !important;
}

.prog-badges li::before {
    content: none !important;
}

/* ==========================================================================
   Course description styles
   ========================================================================== */

#page-title h2 {
    font-size: 2.25em;
    margin-bottom: .5em;
    margin-top: .25em;
}

#main-content h2#main-content__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5a6072;
    margin-bottom: 0;
    padding-bottom: 0;
}

#main-content h3#main-content__section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

#main-content summary.content-accordion__toggle {
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-text);
}

#main-content .content-accordion__content {
    font-size: .875rem;
}

#main-content .prog-body h2 {
    font-family: var(--font);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0.5rem 0 0.75rem;
    line-height: 1.15;
}

#main-content .prog-body h3 {
    font-family: var(--font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.5rem 0 0.5rem;
    line-height: 1.2;
}

#main-content .prog-body h4 {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.5rem 0 0.5rem;
    line-height: 1.2;
}

.policy-content-main h2.policy-content-main__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5a6072;
    margin-bottom: 0;
    padding-bottom: 0;
}

#main-content>ul,
#main-content>ol {
    list-style: disc;
    padding: 1rem;
    margin: 1rem;
}

#main-content ol[type="1"] {
    list-style: decimal;
}

#main-content ol[type="a" i] {
    list-style: lower-alpha;
}

#main-content ol[type="i" i] {
    list-style: lower-roman;
}

#main-content ul.letternav {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 0.3rem 0;
    background: #173258;
    border-radius: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    margin: 20px 0 0;
    padding: 0.4rem 0.5rem !important;
}

#main-content ul.letternav li {
    display: inline-flex;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    float: none;
    margin: 0;
    padding: 0 !important;
}

#main-content ul.letternav li a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0.9rem;
    height: 1.35rem;
    line-height: 1;
    background: transparent;
    color: #f7fbff;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0 0.1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#main-content ul.letternav li a.is-active,
#main-content ul.letternav li a[aria-current="true"] {
    background: transparent;
    color: #fff;
    border-bottom-color: #79c3ef;
    font-weight: 800;
}

#main-content ul.letternav li.inactive a.is-active,
#main-content ul.letternav li.inactive a[aria-current="true"] {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: none !important;
    outline: none !important;
    border-bottom-color: transparent !important;
}

#main-content ul.letternav li.inactive {
    background: transparent !important;
}

#main-content ul.letternav li.inactive a {
    color: rgba(255, 255, 255, 0.34) !important;
    background: transparent !important;
    pointer-events: none;
}

#main-content ul.letternav li::before {
    content: none !important;
}

@media (max-width: 480px) {
    #main-content ul.letternav {
        row-gap: 0.3rem;
    }

    #main-content ul.letternav li {
        flex: 0 0 calc(100% / 14);
        justify-content: center;
    }

    #main-content ul.letternav li a {
        font-size: 0.85rem;
    }
}

/* ============================================================
   Responsive Tables
   ============================================================ */
.table-responsive {
    overflow-x: auto;
}

.system-table {
    width: 100%;
    margin-bottom: 12px;
}

.system-table thead {
    background-color: var(--color-navy);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    padding: 10px 8px;
    border: 1px solid #999;
    line-height: 1.4;
}

.system-table td,
.system-table th {
    border: 1px solid #999;
    padding: 8px 10px;
    vertical-align: middle;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ============================================================
   Tables for RAS Self-Assessment and General Education
   ============================================================ */

.course-equiv {
    width: 12%;
}

.assessment-name {
    width: 20%;
}

.assessment-desc {
    width: 60%;
}

.credits {
    text-align: center;
    width: 8%;
}

.highlight-red {
    color: #c0392b !important;
}

.courseBlockInstructionalHours {
    font-style: italic;
}


/* ==========================================================================
   404 NOT FOUND PAGE
   ========================================================================== */

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    gap: 1rem;
}

.not-found::before {
    content: "404";
    display: block;
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-border);
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.not-found p {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0;
    line-height: 1.7;
}

.not-found p + p {
    margin-top: 0.5rem;
}

.not-found a {
    color: var(--color-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.not-found a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   SITE NAV DOWNLOAD ICON
   ========================================================================== */

.site-nav__links li a svg,
.combined-mobile-nav li a svg {
    width: 0.8em;
    height: 0.8em;
    vertical-align: middle;
    margin-right: 0.3em;
    fill: currentColor;
    flex-shrink: 0;
}

/* ==========================================================================
   SEARCH PAGE OVERRIDES (body.search-page)
   ========================================================================== */

/* Center the catalog eyebrow title */
body.search-page .section-eyebrow {
    display: block;
    text-align: center;
}

/* Hide the AddSearch input icon */
body.search-page .addsRp-searchfield-container-class .addsRp-searchfield input[type=search].icon {
    background-image: none;
    padding-left: 10px !important;
}

/* Align results count with search result items */
body.search-page .addsRp--searchresults .number-of-results {
    padding-inline: 3rem;
}

/* Move pagination to the right */
body.search-page .addsRp--footer {
    justify-content: flex-end;
}

/* Style pagination button font color with catalog header background color */
body.search-page .addsearch-pagination button {
    color: var(--color-brand);
}

/* Override AddSearch's hardcoded active button color with the catalog header background */
body.search-page .addsRp-pagination-container-class .addsearch-pagination button[data-active=true] {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
}

/* Override footer phone link color to meet WCAG 2.1 AA (4.5:1) contrast requirements on the dark footer background. */
#apus-footer .footer__address a,
#apus-footer .footer__address a:visited {
    color: #93C5FD;
}

    #apus-footer .footer__address a:hover,
    #apus-footer .footer__address a:focus {
        color: #BFDBFE; /* Slightly lighter or another accessible color */
        text-decoration: underline;
    }

    #apus-footer .footer__address a:active {
        color: #DBEAFE;
    }

/* Print Only Logos */
.Print_System_Logos {
    display:none !important;
}
