/* ==============================================
   IMAGE SIZE REFERENCE
   ------------------------------------------------
   Logo                  : 250px wide, height auto
                           File: images/logo.webp

   Stagger rows          : 560 × 420px (4:3 ratio)
   Float-right images    : 280 × 280px
   Full-width images     : 800 × 500px
   Gallery / lightbox    : Thumb 600 × 450px (4:3)
                           Large: 1200 × 900px
   Caption gallery       : 600 × 400px (3:2)
   Hero banner (full-w)  : 1280 × 480px
   Staff / person photos : 400 × 400px (1:1 square)

   Format: .webp preferred, .jpg acceptable fallback.
   Always write descriptive alt text on every image.
============================================= */

/* =============================================
   CUSTOM PROPERTIES
   Breakpoints (Foundation-inspired, slightly wider):
     small  : 0 – 639px
     medium : 640px – 1023px
     large  : 1024px – 1279px
     xlarge : 1280px+
============================================= */
:root {
  --navy:         #09224e;
  --blue:         #2B5BA6;
  --dark:         #2C3E50;
  --mid:          #7F8C8D;
  --light-bg:     #f4f6f9;
  --white:        #ffffff;
  --border:       #dde3ec;
  --text:         #1c2233;
  /* shared muted text — #556070 achieves 5.1:1 on white (passes 4.5:1 AA) */
--muted:        #4a5568;
  --font:         'Open Sans', sans-serif;
  --radius:       6px;
  --shadow:       0 2px 8px rgba(9,34,78,0.10);
  --shadow-hover: 0 6px 20px rgba(9,34,78,0.18);
  --trans:        0.22s ease;
  --max-w:        1280px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 1rem; }
img   { max-width: 100%; height: auto; display: block; }
ul    { list-style: none; padding: 0; margin: 0; }
a     { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   SKIP LINK
============================================= */
.skip-link {
  position: absolute; top: -4rem; left: 0;
  background: var(--navy); color: var(--white);
  padding: 0.6rem 1.2rem; font-weight: 700;
  text-decoration: none; z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* =============================================
   LOGO BAR
============================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.site-header .container { display: flex; justify-content: center; }
.site-logo img { width: 250px; height: auto; }

/* =============================================
   NAVIGATION
============================================= */
.site-nav { background: var(--navy); position: relative; z-index: 400; }
.site-nav .container { position: relative; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #5a7ab5;
  color: var(--white);
  font-size: 1rem;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  border-radius: var(--radius);
  margin: 0.6rem 0;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-weight: 600;
}
.nav-toggle:focus-visible { outline: 3px solid #ffd700; outline-offset: 2px; }

.nav-list { display: flex; align-items: stretch; justify-content: center; }

.nav-list a,
.nav-list button.has-sub {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 1rem;
  color: var(--white);
  font-family: var(--font); font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  background: none; border: none; cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans);
  line-height: 1;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover,
.nav-list button.has-sub:hover { background: #1a3d6e; border-bottom-color: #5a7ab5; }
.nav-list a:focus-visible,
.nav-list button.has-sub:focus-visible { outline: 3px solid #ffd700; outline-offset: -3px; }

.nav-list button.has-sub .caret { font-size: 0.65rem; transition: transform var(--trans); }
.nav-list button.has-sub[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  display: none; position: absolute; top: 100%; left: auto;
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 230px; box-shadow: var(--shadow-hover); z-index: 500;
}
.dropdown.open { display: block; }
.dropdown > li { position: relative; }
.dropdown > li > a,
.dropdown > li > button.has-sub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1rem; color: var(--text);
  font-size: 0.85rem; font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap; width: 100%; border-top: none;
}
.dropdown > li:last-child > a,
.dropdown > li:last-child > button.has-sub { border-bottom: none; }
.dropdown > li > a:hover,
.dropdown > li > button.has-sub:hover { background: var(--light-bg); color: var(--navy); border-bottom-color: var(--border); }
.dropdown > li > a:focus-visible,
.dropdown > li > button.has-sub:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

.dropdown-l3 {
  display: none; position: absolute; top: 0; left: 100%;
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  min-width: 210px; box-shadow: var(--shadow-hover); z-index: 501;
}
.dropdown-l3.open { display: block; }
.dropdown-l3 > li > a {
  display: block; padding: 0.65rem 1rem;
  color: var(--text); font-size: 0.85rem; font-weight: 600;
  border-bottom: 1px solid var(--border);
  text-decoration: none; white-space: nowrap;
}
.dropdown-l3 > li:last-child > a { border-bottom: none; }
.dropdown-l3 > li > a:hover { background: var(--light-bg); color: var(--navy); }
.dropdown-l3 > li > a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0; font-size: 0.82rem; color: var(--muted);
  padding: 0; margin: 0; list-style: none;
}
.breadcrumb li { display: flex; align-items: center; list-style: none; }
.breadcrumb li + li::before {
  content: '/'; padding: 0 0.5rem; color: var(--mid);
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.breadcrumb [aria-current="page"] { color: var(--muted); font-weight: 600; }

/* =============================================
   SHARED SECTION WRAPPER
   All page sections share the same white background
   and consistent vertical padding. Use .section-divider
   between sections for a subtle visual break.
============================================= */
.page-section {
  background: var(--white);
  padding: 2.5rem 0;
}
.section-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 0;
}

/* =============================================
   LAYOUT: TWO-COLUMN  (content + sidebar)
============================================= */
.layout-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 1023px) {
  .layout-two-col { grid-template-columns: 1fr; }
  .page-sidebar   { order: 2; }
}

/* =============================================
   LAYOUT: ONE COLUMN (full width content)
============================================= */
.layout-one-col {
  max-width: 900px;
  margin: 0 auto;
}

/* =============================================
   CONTENT AREA – BASE TYPOGRAPHY
============================================= */
.page-content h1 {
  font-size: 1.75rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.page-content h1 i { color: var(--blue); font-size: 1.5rem; }
.page-content hr  { border: none; border-top: 2px solid var(--border); margin: 1.25rem 0; }
.page-content h2  { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.6rem; }
.page-content h3  { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 0.5rem; }
.page-content p   { color: var(--muted); margin-bottom: 1rem; }
.page-content p:last-child { margin-bottom: 0; }
.page-content strong { color: var(--text); }

/* one-col section shares same type styles */
.one-col-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 0.6rem; }
.one-col-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 0.5rem; }
.one-col-content p  { color: var(--muted); margin-bottom: 1rem; }
.one-col-content p:last-child { margin-bottom: 0; }
.one-col-content hr { border: none; border-top: 2px solid var(--border); margin: 1.5rem 0; }

/* standard lists */
.content-list { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; color: var(--muted); }
.content-list li { margin-bottom: 0.35rem; }
.content-list ul { list-style: circle; padding-left: 1.2rem; margin-top: 0.3rem; }
ol.content-list  { list-style: decimal; }

/* =============================================
   TOPIC / ANCHOR NAV
============================================= */
.topic-nav {
  background: var(--light-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.75rem;
}
.topic-nav p { font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; font-size: 0.9rem; }
.topic-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.topic-nav ul li { font-size: 0.875rem; }
.topic-nav ul li a { color: var(--blue); text-decoration: none; }
.topic-nav ul li a:hover { text-decoration: underline; }
.topic-nav ul li a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9rem; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-primary   { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-outline   { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }

/* =============================================
   STAGGERED IMAGE + TEXT ROWS
============================================= */
.stagger-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center; margin: 2rem 0;
}
.stagger-row:nth-child(even) .stagger-image { order: 2; }
.stagger-row:nth-child(even) .stagger-text  { order: 1; }
.stagger-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.stagger-text h3 { margin-top: 0; }
@media (max-width: 639px) {
  .stagger-row { grid-template-columns: 1fr; }
  .stagger-row:nth-child(even) .stagger-image,
  .stagger-row:nth-child(even) .stagger-text { order: unset; }
}

/* float-right small image */
.img-float-right {
  float: right; margin: 0 0 1rem 1.5rem;
  max-width: 280px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.clearfix::after { content: ''; display: table; clear: both; }
@media (max-width: 639px) { .img-float-right { float: none; max-width: 100%; margin: 0 0 1rem; } }

/* =============================================
   PHOTO GALLERY – LIGHTBOX (alt text only)
============================================= */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin: 1.5rem 0; list-style: none; padding: 0;
}
@media (max-width: 639px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  display: block; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  position: relative; text-decoration: none;
}
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--trans); display: block; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gallery-item::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; bottom: 0.5rem; right: 0.6rem;
  background: rgba(9,34,78,0.7); color: var(--white);
  padding: 0.3rem 0.45rem; border-radius: var(--radius);
  font-size: 0.85rem; opacity: 0; transition: opacity var(--trans); pointer-events: none;
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }

/* =============================================
   PHOTO GALLERY – WITH CAPTIONS
============================================= */
.gallery-caption-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; margin: 1.5rem 0;
}
@media (max-width: 639px) { .gallery-caption-grid { grid-template-columns: 1fr; } }

.gallery-caption-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--white);
}
.gallery-caption-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.gallery-caption-item figcaption {
  padding: 0.75rem 1rem; font-size: 0.85rem;
  color: var(--muted); line-height: 1.45; border-top: 1px solid var(--border);
}

/* =============================================
   LIGHTBOX MODAL
============================================= */
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: #0a0f1a; z-index: 2000;
  align-items: center; justify-content: center; padding: 1.5rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; }
.lightbox-inner img { width: 100%; border-radius: var(--radius); display: block; }
.lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  background: #1a3d6e; border: 2px solid #5a7ab5;
  color: var(--white); font-size: 1.1rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.lightbox-close:hover { background: #2B5BA6; border-color: #7a9fd4; }
.lightbox-close:focus-visible { outline: 3px solid #ffd700; outline-offset: 2px; }
.lightbox-caption { color: #d6dfe8; font-size: 0.875rem; text-align: center; margin-top: 0.75rem; }

/* =============================================
   RESPONSIVE TABLE
============================================= */
.table-wrap {
  overflow-x: auto; margin: 1.5rem 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.content-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--white); }
.content-table caption {
  font-weight: 700; color: var(--navy); text-align: left;
  padding: 0.75rem 1rem; background: var(--light-bg);
  border: 1px solid var(--border); border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0; font-size: 0.95rem;
}
.content-table th {
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem;
  text-align: left; font-weight: 700; font-size: 0.85rem; white-space: nowrap;
}
.content-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.content-table tr:last-child td { border-bottom: none; }
.content-table tbody tr:nth-child(even) td { background: var(--light-bg); }
.content-table tbody tr:hover td { background: #e8eef7; }

/* =============================================
   ACCORDION
============================================= */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); margin: 1.5rem 0; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 1.25rem;
  background: var(--white); border: none;
  font-family: var(--font); font-size: 0.95rem; font-weight: 700; color: var(--navy);
  cursor: pointer; text-align: left; gap: 1rem; transition: background var(--trans);
}
.accordion-trigger:hover { background: var(--light-bg); }
.accordion-trigger:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.accordion-trigger[aria-expanded="true"] { background: var(--light-bg); color: var(--blue); }
.accordion-icon { flex-shrink: 0; font-size: 0.75rem; color: var(--blue); transition: transform var(--trans); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-panel[hidden] { display: none; }
.accordion-panel-inner {
  padding: 1rem 1.25rem 1.25rem; color: var(--muted);
  font-size: 0.9rem; line-height: 1.65; border-top: 1px solid var(--border);
}
.accordion-panel-inner p { margin-bottom: 0.75rem; }
.accordion-panel-inner p:last-child { margin-bottom: 0; }
.accordion-panel-inner ul { list-style: disc; padding-left: 1.25rem; }
.accordion-panel-inner ul li { margin-bottom: 0.3rem; }

/* =============================================
   CALLOUT / ALERT BOXES
============================================= */
.callout {
  display: flex; gap: 0.85rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius); border-left: 4px solid; margin: 1.5rem 0;
  font-size: 0.9rem;
}
.callout i { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-title { font-weight: 700; margin-bottom: 0.2rem; }
.callout p { margin: 0; }
.callout-info    { background: #e8eef7; border-color: var(--blue); color: var(--dark); }
.callout-info i  { color: var(--blue); }
.callout-warn    { background: #fef9e7; border-color: #d4a017; color: #5a4200; }
.callout-warn i  { color: #d4a017; }
.callout-success { background: #eafaf1; border-color: #27ae60; color: #1a5c35; }
.callout-success i { color: #27ae60; }
.callout-danger  { background: #fdf0f0; border-color: #c0392b; color: #5c1a1a; }
.callout-danger i { color: #c0392b; }

/* =============================================
   STAT / HIGHLIGHT CARDS (one-col or two-col use)
============================================= */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 1023px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .stat-grid { grid-template-columns: 1fr; } }

.stat-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; text-align: center; background: var(--white);
  box-shadow: var(--shadow);
}
.stat-card i    { font-size: 2rem; color: var(--blue); margin-bottom: 0.6rem; display: block; }
.stat-card .stat-number { font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 0.3rem; }
.stat-card .stat-label  { font-size: 0.875rem; color: var(--muted); font-weight: 600; }

/* =============================================
   STAFF / PERSON CARDS
============================================= */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 1023px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .staff-grid { grid-template-columns: 1fr; } }

.staff-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--white);
}
.staff-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top;
  /* Staff photos: 400 × 400px recommended */
}
.staff-card-body { padding: 1rem 1.1rem; }
.staff-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.15rem; }
.staff-card-body .staff-title { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin-bottom: 0.5rem; }
.staff-card-body p  { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.3rem; }
.staff-card-body a  { font-size: 0.85rem; }

/* =============================================
   RESOURCE / DOWNLOAD LIST
============================================= */
.resource-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.resource-list li {
  border-bottom: 1px solid var(--border);
}
.resource-list li:last-child { border-bottom: none; }
.resource-list a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 0.5rem;
  color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: background var(--trans), color var(--trans);
  border-radius: var(--radius);
}
.resource-list a:hover { background: var(--light-bg); color: var(--navy); }
.resource-list a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.resource-list a i { color: var(--blue); font-size: 1.1rem; flex-shrink: 0; width: 1.25rem; text-align: center; }
.resource-list .resource-meta { margin-left: auto; font-size: 0.75rem; color: #4a5c63; font-weight: 600; white-space: nowrap; }

/* =============================================
   CONTACT CARD (standalone, one-col use)
============================================= */
.contact-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; background: var(--light-bg);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 1.5rem 0;
}
@media (max-width: 639px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; grid-column: 1 / -1; }
.contact-card p  { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.3rem; }
.contact-card strong { color: var(--text); }

/* =============================================
   FULL-WIDTH BANNER (image with overlay text)
   For use inside a one-col or two-col section.
   Image: 1280 × 480px recommended.
============================================= */
.content-banner {
  position: relative; border-radius: var(--radius);
  overflow: hidden; margin: 1.5rem 0;
  min-height: 220px;
  display: flex; align-items: flex-end;
}
.content-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.content-banner-overlay {
  position: relative; z-index: 1;
  padding: 1.5rem;
  background: #09224e;
  width: 100%;
}
.content-banner-overlay h2 { color: #ffffff; font-size: 1.35rem; margin-bottom: 0.35rem; }
.content-banner-overlay p  { color: #d6dfe8; font-size: 0.9rem; margin-bottom: 0.75rem; }
/* #d6dfe8 on #09224e = 7.1:1 — passes AA and AAA */

/* =============================================
   RIGHT SIDEBAR
============================================= */
.page-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-widget { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sidebar-widget-title {
  background: var(--navy); color: var(--white);
  padding: 0.7rem 1rem; font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.sidebar-widget-body { padding: 1rem; background: var(--white); }
.sidebar-widget-body p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; }
.sidebar-widget-body p:last-child { margin-bottom: 0; }
.sidebar-widget-body strong { color: var(--text); }

.sidebar-nav { list-style: none; padding: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--border); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.85rem; color: var(--text);
  text-decoration: none; font-size: 0.875rem; font-weight: 600;
  transition: background var(--trans), color var(--trans);
}
.sidebar-nav a:hover { background: var(--light-bg); color: var(--navy); }
.sidebar-nav a:focus-visible { outline: 3px solid var(--blue); outline-offset: -2px; }
.sidebar-nav a i { color: var(--blue); width: 1.1rem; text-align: center; flex-shrink: 0; }
.sidebar-nav a[aria-current="page"] {
  background: var(--light-bg); color: var(--navy);
  border-left: 3px solid var(--blue);
  padding-left: calc(0.85rem - 3px);
}

/* =============================================
   FOOTER
============================================= */
footer { background: var(--navy); color: rgba(255,255,255,0.88); }
.footer-top {
  padding: 3rem 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
}
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .footer-top { grid-template-columns: 1fr; } }

.footer-top h2 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-top p  { font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-top b  { color: var(--white); }
.footer-col-tagline { color: #8da8cc; font-size: 0.875rem; font-style: italic; margin-bottom: 0.75rem; }
.footer-social { margin-top: 0.75rem; display: flex; gap: 0.75rem; }
.footer-social a { color: #8da8cc; font-size: 2rem; transition: color var(--trans); text-decoration: none; }
.footer-social a:hover { color: var(--white); }
.footer-social a:focus-visible { outline: 2px solid #ffd700; outline-offset: 2px; border-radius: 2px; }
.footer-a11y { margin-top: 1.25rem; }
.btn-a11y {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; background: #1a3d6e; color: #d6dfe8;
  border: 1px solid #5a7ab5; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.8rem; font-weight: 600; text-decoration: none;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.btn-a11y:hover { background: #2B5BA6; color: var(--white); border-color: #7a9fd4; }
.btn-a11y:focus-visible { outline: 3px solid #ffd700; outline-offset: 2px; }
.footer-bottom {
  border-top: 1px solid #1e3a6a;
  padding: 1rem 0; text-align: center;
  font-size: 0.78rem; color: #8da8cc;
}
.footer-bottom a { color: #adc4e0; }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   MOBILE NAV
============================================= */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .nav-list { flex-direction: column; justify-content: flex-start; display: none; width: 100%; background: var(--navy); }
  .nav-list.open { display: flex; }
  .nav-list > li > a,
  .nav-list > li > button.has-sub {
    padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%; justify-content: space-between; font-size: 0.95rem;
  }
  .nav-list > li > a:hover,
  .nav-list > li > button.has-sub:hover { border-bottom-color: #1a3d6e; }
  .dropdown {
    position: static; border: none; border-top: none; border-radius: 0; box-shadow: none;
    background: #071833; min-width: 0; width: 100%;
  }
  .dropdown > li > a,
  .dropdown > li > button.has-sub {
    color: #c5d5e8; padding: 0.7rem 1.25rem 0.7rem 2rem;
    border-bottom: 1px solid #1a3d6e; font-size: 0.875rem; border-top: none;
  }
  .dropdown > li > a:hover,
  .dropdown > li > button.has-sub:hover { background: #1a3d6e; color: var(--white); border-bottom-color: #1a3d6e; }
  .dropdown-l3 {
    position: static; border: none; border-radius: 0; box-shadow: none;
    background: #040e1f; min-width: 0; width: 100%;
  }
  .dropdown-l3 > li > a {
    color: #adc4e0; padding: 0.65rem 1.25rem 0.65rem 3rem;
    border-bottom: 1px solid #1a3d6e; font-size: 0.825rem;
  }
  .dropdown-l3 > li > a:hover { background: #1a3d6e; color: var(--white); }
}