/* ==========================================================================
   Mount Union Area School District — Site Stylesheet
   Palette: Trojan Blue #002D61 / Trojan Gold #D4AD6A (sampled from official logo)
   ========================================================================== */

:root {
  --blue: #002d61;
  --blue-dark: #001a38;
  --blue-tint: #eef0f8;
  --gold: #d4ad6a;
  --gold-dark: #876327;
  --white: #ffffff;
  --gray-900: #222222;
  --gray-700: #444444;
  --gray-500: #6b6b6b;
  --gray-100: #f4f4f4;
  --border: #e2e2e2;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 45, 97, 0.1);
  --max-width: 1180px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.15;
  letter-spacing: 0.2px;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gold-dark); }

p { margin: 0 0 1em; color: var(--gray-700); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold-dark); }

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

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

.section { padding: 64px 0; }
.section.tint { background: var(--blue-tint); }
.section.gray { background: var(--gray-100); }
.section.blue { background: var(--blue); color: var(--white); }
.section.blue h2, .section.blue h3, .section.blue p { color: var(--white); }

.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--blue-dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); }
.btn-outline-blue { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ===== Draft/proposal banner ===== */
.draft-banner {
  background: repeating-linear-gradient(45deg, #7a1f1f, #7a1f1f 12px, #611818 12px, #611818 24px);
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  padding: 8px 12px;
  text-transform: uppercase;
}

/* ===== Sport switcher (per-sport athletics pages) ===== */
.sport-switcher {
  background: var(--blue-dark);
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 3px solid var(--gold);
}
.sport-switcher-row { display: flex; gap: 4px; padding: 10px 24px; }
.sport-switcher a {
  color: #cfd6ee;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.sport-switcher a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.sport-switcher a.active { background: var(--gold); color: var(--blue-dark); }

/* ===== Sport page tabs (Schedule / Coaching Staff / Roster / Records) ===== */
.sport-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.sport-tabs-row {
  display: flex;
  gap: 4px;
  padding: 0 24px;
  overflow-x: auto;
  white-space: nowrap;
}
.sport-tabs button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--gray-500);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 18px 11px;
  cursor: pointer;
  white-space: nowrap;
}
.sport-tabs button:hover { color: var(--blue); }
.sport-tabs button.active { color: var(--blue); border-bottom-color: var(--gold); }
.sport-tab-panel[hidden] { display: none; }

/* ===== Utility bar ===== */
.utility-bar {
  background: var(--blue-dark);
  overflow-x: auto;
  white-space: nowrap;
}
.utility-bar .container { display: flex; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
.utility-bar a {
  color: #cfd6ee;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.utility-bar a:last-child { border-right: none; }
.utility-bar a:hover { color: var(--gold); }

/* ===== Header / Nav ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 64px; width: 64px; }
.brand .brand-text { line-height: 1.1; }
.brand .brand-text .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue);
  display: block;
}
.brand .brand-text .tagline {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav.main-nav { display: flex; align-items: center; }
nav.main-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
nav.main-nav > ul > li { position: relative; }
nav.main-nav > ul > li > a,
nav.main-nav > ul > li > button.nav-toggle {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--blue-dark);
  padding: 14px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li:hover > button.nav-toggle,
nav.main-nav > ul > li.active > a {
  color: var(--gold-dark);
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  min-width: 260px;
  padding: 10px 0;
  border-radius: 0 0 8px 8px;
  list-style: none;
  margin: 0;
}
nav.main-nav > ul > li:hover .dropdown,
nav.main-nav > ul > li.open .dropdown { display: block; }
nav.main-nav > ul > li:hover .dropdown.mega,
nav.main-nav > ul > li.open .dropdown.mega { display: grid; }
.dropdown.mega { min-width: 560px; grid-template-columns: 1fr 1fr; padding: 18px; gap: 4px 24px; }
.dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 600;
}
.dropdown.mega li a { padding: 8px 0; }
.dropdown li a:hover { color: var(--gold-dark); background: var(--gray-100); }
.dropdown.mega li a:hover { background: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue);
  border-radius: 6px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.mobile-toggle span { top: 18px; }
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }

/* ===== Site search ===== */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 2px solid var(--blue);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.search-toggle:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.search-toggle[aria-expanded="true"] { background: var(--blue); color: var(--white); }

.site-search {
  border-top: 1px solid var(--border);
  background: var(--blue-tint);
}
.site-search .container { padding-top: 18px; padding-bottom: 18px; }
.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 30px;
  padding: 8px 10px 8px 18px;
}
.site-search-icon { color: var(--gray-500); flex-shrink: 0; }
.site-search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gray-900);
  background: none;
}
.site-search-close {
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  flex-shrink: 0;
}
.site-search-close:hover { background: var(--gold); color: var(--blue-dark); }
.site-search-results {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  max-height: 60vh;
  overflow-y: auto;
}
.site-search-results:empty { margin: 0; }
.site-search-results li { border-bottom: 1px solid var(--border); }
.site-search-results li:last-child { border-bottom: none; }
.site-search-results li.no-results {
  padding: 14px 4px;
  color: var(--gray-500);
  font-size: 0.95rem;
}
.site-search-results a {
  display: block;
  padding: 12px 4px;
}
.site-search-results a:hover .result-title { color: var(--gold-dark); }
.site-search-results .result-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.05rem;
}
.site-search-results .result-snippet {
  display: block;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 420px; height: 420px;
  border: 40px solid rgba(242,169,0,0.15);
  border-radius: 50%;
}
.hero .container { position: relative; padding: 84px 24px; z-index: 1; }
.hero-page { padding: 56px 0; }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.2rem; color: #dfe4f5; max-width: 620px; }
.hero .btn-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.breadcrumb { font-size: 0.85rem; color: #b9c1e4; margin-bottom: 14px; }
.breadcrumb a { color: #b9c1e4; }
.breadcrumb a:hover { color: var(--gold); }

/* ===== Quick links ===== */
.quick-links { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-top: -46px; position: relative; z-index: 2; }
.quick-links a {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 10px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  border-bottom: 3px solid var(--gold);
}
.quick-links a:hover { border-bottom-color: var(--blue); color: var(--gold-dark); transform: translateY(-2px); }
.quick-links a .qicon { display: block; font-size: 1.6rem; margin-bottom: 6px; }

/* ===== Cards / Grids ===== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .card-media {
  height: 130px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 8px; }
.card .card-body p { flex: 1; }
.card .card-link { font-family: var(--font-head); font-weight: 700; color: var(--gold-dark); }

.info-card {
  background: var(--gray-100);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  padding: 22px 24px;
}

/* Schedule table */
.schedule-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.95rem; min-width: 560px; }
table.schedule-table thead th { background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 700; letter-spacing: 0.02em; text-align: left; padding: 12px 16px; }
table.schedule-table thead th.sortable { cursor: pointer; user-select: none; position: relative; }
table.schedule-table thead th.sortable:hover { background: #003a6b; }
table.schedule-table thead th.sortable::after { content: "\21C5"; display: inline-block; margin-left: 6px; font-size: 0.8em; opacity: 0.55; }
table.schedule-table thead th.sortable.sort-asc::after { content: "\25B2"; opacity: 1; color: var(--gold); }
table.schedule-table thead th.sortable.sort-desc::after { content: "\25BC"; opacity: 1; color: var(--gold); }
table.schedule-table tbody td { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--gray-700); vertical-align: middle; }
table.schedule-table tbody tr:nth-child(even) { background: var(--blue-tint); }
table.schedule-table tbody tr.scrimmage { background: var(--gray-100); }
.badge-home, .badge-away { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; padding: 2px 8px; border-radius: 20px; margin-left: 8px; text-transform: uppercase; }
.badge-home { background: var(--blue-tint); color: var(--blue); }
.badge-away { background: var(--gray-100); color: var(--gray-500); }

/* Schedule accordions */
.schedule-accordion { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow); }
.schedule-accordion summary {
  cursor: pointer; list-style: none; padding: 16px 20px; background: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--blue);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.schedule-accordion summary::-webkit-details-marker { display: none; }
.schedule-accordion summary::after { content: "\2212"; font-weight: 700; color: var(--gold-dark); }
.schedule-accordion:not([open]) summary::after { content: "\002B"; }
.schedule-accordion summary .sched-sub { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--gray-500); margin-left: 10px; }
.schedule-accordion .schedule-table-wrap { border: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--border); }
.schedule-accordion .accordion-note { padding: 10px 20px 16px; margin: 0; font-size: 0.85rem; color: var(--gray-500); }
.coaching-staff { padding: 16px 20px; border-top: 1px solid var(--border); background: var(--gray-100); }
.coaching-staff h4 { margin: 0 0 8px; color: var(--blue); font-family: var(--font-head); font-size: 1rem; }
.coaching-staff p { margin: 0; color: #222; font-size: 0.92rem; line-height: 1.6; }

/* Season-by-season accordion (Records sections) */
.season-accordion summary { font-size: 1.05rem; }
.season-accordion .card { box-shadow: none; border: none; padding: 16px 20px; }

/* Season picker (Records sections) — one dropdown instead of a long
   accordion stack; swaps in a single highlight card per year. */
.season-picker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; flex-wrap: wrap; }
.season-picker label { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--blue); }
.season-select { font-family: var(--font-body); font-size: 0.95rem; color: var(--blue-dark); background: var(--white); border: 2px solid var(--blue); border-radius: 30px; padding: 8px 18px; cursor: pointer; }
.season-select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.season-panel-wrap { margin-bottom: 8px; }
.season-panel[hidden] { display: none; }
.season-panel .card-body { padding: 18px 22px; }
.season-panel-record { font-family: var(--font-head); color: var(--blue); font-size: 1.05rem; margin: 0 0 8px; }
.season-panel-record strong { color: var(--gold-dark); }

/* Boys/Girls toggle tabs */
.gender-toggle { display: flex; gap: 10px; margin: 0 0 20px; }
.gender-toggle button { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; padding: 8px 20px; border-radius: 30px; border: 2px solid var(--blue); background: var(--white); color: var(--blue); cursor: pointer; transition: background 0.15s, color 0.15s; }
.gender-toggle button:hover { background: var(--blue-tint); }
.gender-toggle button.active { background: var(--blue); color: var(--white); }
.gender-panel[hidden] { display: none; }

/* Record Book toggle (Single-Season / Career) — same pill-button look as
   the gender toggle, applied to The Record Book sections. */
.record-toggle { display: flex; gap: 10px; margin: 0 0 20px; }
.record-toggle button { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; padding: 8px 20px; border-radius: 30px; border: 2px solid var(--gold-dark); background: var(--white); color: var(--gold-dark); cursor: pointer; transition: background 0.15s, color 0.15s; }
.record-toggle button:hover { background: var(--gray-100); }
.record-toggle button.active { background: var(--gold-dark); color: var(--white); }
.record-panel[hidden] { display: none; }

/* News/Events list */
.news-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-date { font-family: var(--font-head); font-weight: 700; color: var(--gold-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

.event-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.event-date-badge {
  min-width: 68px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  text-align: center;
  padding: 8px 4px;
  font-family: var(--font-head);
}
.event-date-badge .mon { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--gold); }
.event-date-badge .day { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1; }

/* Values list */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-item { text-align: center; padding: 20px 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.value-item .letter {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  margin: 0 auto 12px;
}

/* Table-like contact list */
.contact-list dt { font-family: var(--font-head); font-weight: 700; color: var(--blue); margin-top: 14px; }
.contact-list dd { margin: 2px 0 0; color: var(--gray-700); }

/* Board grid */
.board-member { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.board-member .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  flex-shrink: 0;
}
.board-member h4 { margin-bottom: 2px; color: var(--blue); text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.board-member .role { color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 4px; display:block;}

/* ===== Footer ===== */
.site-footer { background: var(--blue-dark); color: #cfd6ee; padding: 56px 0 20px; }
.site-footer h4 { color: var(--gold); }
.site-footer a { color: #cfd6ee; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 46px; width: 46px; }
.footer-brand strong { color: var(--white); font-family: var(--font-head); font-size: 1.2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #9aa4cf;
}
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-dark); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .quick-links { grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
  .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dropdown.mega { grid-template-columns: 1fr; min-width: 240px; }
}

@media (max-width: 760px) {
  .mobile-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 10px 0 40px;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav > ul { flex-direction: column; gap: 0; padding: 0 10px; }
  nav.main-nav > ul > li { border-bottom: 1px solid var(--border); }
  nav.main-nav > ul > li > a, nav.main-nav > ul > li > button.nav-toggle { width: 100%; text-align: left; font-size: 1.15rem; }
  .dropdown, .dropdown.mega { position: static; box-shadow: none; border: none; display: none; padding-left: 14px; grid-template-columns: 1fr; min-width: 0; }
  nav.main-nav > ul > li.open .dropdown { display: block; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .container { padding: 56px 24px; }
}
