/* LaMoure County, North Dakota — site stylesheet
   Flat design, solid colors only. Text contrast 7:1+ (AAA), UI borders and
   focus 3:1+. Focus styles are at the end, one selector per rule (IBM). */

:root {
  --navy:      #0a2240;  /* white text 16:1 */
  --navy-md:   #0d2e56;  /* white text 13.6:1 */
  --blue:      #1a4d8f;  /* links and buttons; 8.4:1 on white, 7.4:1 on gray-100 */
  --blue-dark: #143d72;
  --gold:      #c8a84b;  /* lines and accents only (not text on light surfaces) */
  --gold-lt:   #dcc070;  /* text on navy: 7.7:1 */
  --text:      #111820;  /* 17.9:1 on white */
  --muted:     #2e3a4a;  /* 11.5:1 on white */
  --on-dark:   #c8d8eb;  /* secondary text on navy: 9.4:1+ */
  --white:     #ffffff;
  --off-white: #f4f6f9;
  --gray-100:  #eef1f6;
  --border:    #6b7a8f;  /* UI borders 3.8:1+ on every light surface */
  --rule:      #dde3ed;  /* decorative dividers only */
  --red:       #991b1b;
  --alert-bg:  #fdf2f2;
  --warn-bg:   #fdf6e3;
  --warn:      #5c4410;
  --focus:     #1a4d8f;
  --radius:    6px;
  --wrap:      1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a:has(> img) { display: inline-block; min-width: 44px; min-height: 44px; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.75rem; color: var(--navy); }
h2 { font-size: 1.5rem; margin-top: 2.25rem; padding-bottom: 0.4rem; border-bottom: 3px solid var(--gold); display: block; }
h3 { font-size: 1.2rem; margin-top: 1.5rem; }
h4 { font-size: 1.05rem; margin-top: 1.25rem; }
p, ul, ol, dl, table, address, figure { margin: 0 0 1.1rem; }
address { font-style: normal; }
.line { display: block; }
strong { font-weight: 700; }
figure { margin-left: 0; margin-right: 0; }

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

/* Shown only with / without JavaScript */
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* ── Header ───────────────────────────────────────────────── */
.topbar { background: var(--navy); color: var(--white); font-size: 0.95rem; border-bottom: 1px solid var(--navy-md); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1.5rem; }
.topbar a { color: var(--white); }
.skip-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.topbar__phone { margin: 0; display: flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.topbar__phone a { display: inline-flex; align-items: center; min-height: 44px; }

.site-header { background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: center; padding-top: 0.9rem; padding-bottom: 0.9rem; gap: 1rem; }
.brand { display: inline-flex; padding: 0.25rem; color: var(--white); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.brand img { display: block; width: 330px; max-width: 100%; height: auto; }

.nav-toggle {
  align-items: center; gap: 0.5rem; min-height: 48px; min-width: 48px; padding: 0.5rem 0.9rem;
  font: inherit; font-weight: 700; color: var(--white); background: var(--navy-md);
  border: 2px solid var(--white); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle:hover { background: var(--blue-dark); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.site-nav { background: var(--navy-md); border-top: 3px solid var(--gold); }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.site-nav__item > a,
.site-nav__sub-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 52px; padding: 0.5rem 1rem;
  color: var(--white); font: inherit; font-size: 1.02rem; font-weight: 600; text-decoration: none;
  background: var(--navy-md); border: 0; cursor: pointer;
}
.site-nav__item > a:hover,
.site-nav__sub-toggle:hover { background: var(--navy); color: var(--white); text-decoration: underline; }
.site-nav__item > a[aria-current="page"] { background: var(--navy); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.site-nav__sub-toggle.is-section { background: var(--navy); border-bottom: 4px solid var(--gold-lt); }
.site-nav__sub-toggle[aria-expanded="true"] { background: var(--navy); }
.site-nav__sub-toggle[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

.subnav { background: var(--gray-100); border-bottom: 4px solid var(--navy-md); }
.js .subnav { display: none; }
.js .subnav.is-open { display: block; }
.subnav__title { font-weight: 700; color: var(--navy); margin: 0; padding-top: 1rem; }
.subnav__list { list-style: none; margin: 0; padding: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.25rem 1.5rem; }
.subnav__list a { display: flex; align-items: center; min-height: 44px; padding: 0.25rem 0.5rem; color: var(--navy); font-weight: 600; }
.subnav__list a:hover { background: var(--white); }
.subnav__list a[aria-current="page"] { text-decoration-thickness: 3px; }

@media (min-width: 1060px) {
  .js .nav-toggle { display: none; }
}
@media (max-width: 1059px) {
  .js .header-inner { justify-content: space-between; }
  .brand img { width: 250px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; padding: 0.5rem 0; }
  .site-nav__item > a,
  .site-nav__sub-toggle { width: 100%; justify-content: space-between; }
  .subnav__list { grid-template-columns: 1fr; }
}
@media (max-width: 379px) {
  .brand img { width: 190px; }
}

/* ── Page banner ──────────────────────────────────────────── */
.page-banner { background: var(--navy); color: var(--white); border-bottom: 4px solid var(--gold); padding: 1.1rem 0 1.4rem; }
.page-banner__title { color: var(--white); font-size: 1.9rem; margin: 0.25rem 0 0; }
@media (min-width: 700px) { .page-banner__title { font-size: 2.25rem; } }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 0.95rem; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; color: var(--on-dark); padding: 0 0.5rem; }
.breadcrumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--white); }
.breadcrumbs span { color: var(--on-dark); font-weight: 600; }

/* ── Page layout ──────────────────────────────────────────── */
main { display: block; }
.page-body { padding-top: 2rem; padding-bottom: 3.5rem; }
.content-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; }
}
.main-col { min-width: 0; }
.main-col > h2:first-child, .main-col > .section:first-child > h2:first-child { margin-top: 0; }
.prose { max-width: 75ch; }
.prose a { overflow-wrap: anywhere; }
.lead { font-size: 1.2rem; }

/* ── Content components ───────────────────────────────────── */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.contact-list li:has(.line) { align-items: flex-start; padding: 0.4rem 0; }
.contact-list li:has(.line) i { margin-top: 0.35rem; }
.contact-list i { color: var(--blue); width: 1.25rem; text-align: center; flex: none; }
.contact-list a { display: inline-block; padding: 0.55rem 0; min-height: 44px; overflow-wrap: anywhere; }
.contact-list li > span, .contact-text { min-width: 0; overflow-wrap: anywhere; }
a { overflow-wrap: anywhere; }
.card-grid > *, .stat-grid > *, .content-grid > * { min-width: 0; }

.card-grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }

.contact-card { background: var(--off-white); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.card-grid > .contact-card { margin-bottom: 0; }
.contact-card h3, .contact-card h2 { margin-top: 0; border: 0; padding: 0; font-size: 1.2rem; }
.contact-card .role { color: var(--muted); font-weight: 600; margin: -0.4rem 0 0.4rem; }
.contact-card .note { color: var(--muted); font-style: italic; }
.contact-card > :last-child { margin-bottom: 0; }
.contact-card a { display: inline-block; padding: 0.55rem 0; min-height: 44px; }

.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.info-card__title { margin: 0; padding: 0.75rem 1rem; border: 0; background: var(--navy-md); color: var(--white); font-size: 1.15rem; border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; gap: 0.6rem; }
.info-card__title i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue-dark); color: var(--gold-lt); font-size: 1rem; }
.info-card__body .link-list { border-top: 0; margin-bottom: 0; padding-left: 0; }
.info-card__body .link-list li { margin-bottom: 0; }
.info-card__body .link-list a { font-weight: 600; }
.link-list .link-note { padding: 0 0 0.5rem 0.25rem; margin-top: 0; font-size: 1rem; }
.card-grid > .info-card { margin-bottom: 0; display: flex; flex-direction: column; }
.intro-wrap { display: flow-root; margin-bottom: 1.5rem; }
.intro-wrap > :last-child { margin-bottom: 0; }
.intro-wrap > h2:nth-child(2) { margin-top: 0; }
.intro-img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 0 1rem; border-radius: var(--radius); border: 1px solid var(--border); }
@media (min-width: 700px) { .intro-img { float: right; width: 300px; margin: 0.25rem 0 1rem 1.5rem; } }
.intro-wrap h2, .intro-wrap h3 { display: flow-root; }
.info-card__body { padding: 0.75rem 1rem; }
.info-card__body > :last-child { margin-bottom: 0; }
.info-card ul { padding-left: 1.25rem; }
.info-card li { margin-bottom: 0.25rem; }

.stat-grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.stat-card { background: var(--off-white); border: 1px solid var(--border); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 0.9rem 1rem; }
.stat-card > :last-child { margin-bottom: 0; }
.stat-card__label { font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }

.note-box { background: var(--gray-100); border: 1px solid var(--border); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; }
.note-box > :last-child { margin-bottom: 0; }
.note-box__title { font-weight: 600; color: var(--navy); margin: 0 0 0.35rem; padding: 0; border: 0; font-size: 1.125rem; }
.alert-box { background: var(--alert-bg); border: 1px solid var(--red); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; }
.alert-box > :last-child { margin-bottom: 0; }
.alert-box .note-box__title { color: var(--red); }
.warn-box { background: var(--warn-bg); border: 1px solid var(--warn); border-left: 6px solid var(--warn); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; }
.warn-box > :last-child { margin-bottom: 0; }
.warn-box .note-box__title { color: var(--warn); }

.link-list { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--rule); }
.link-list li { border-bottom: 1px solid var(--rule); }
.link-list a { display: flex; align-items: center; gap: 0.65rem; min-height: 48px; padding: 0.4rem 0.25rem; font-weight: 600; }
.link-list a i { color: var(--blue); width: 1.25rem; text-align: center; flex: none; }
.link-list .link-note { display: block; color: var(--muted); padding: 0 0 0.5rem 2.15rem; margin-top: 0; }
.doc-icon { margin-right: 0.45rem; color: var(--red); }
.link-list a .doc-icon { color: var(--red); margin-right: 0; }

.columns-list { columns: 2 16rem; column-gap: 2rem; }
.columns-list li { break-inside: avoid; }

/* Buttons */
.btn, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px;
  padding: 0.6rem 1.2rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; line-height: 1.3;
}
.btn { background: var(--blue); color: var(--white); border: 2px solid var(--blue); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); text-decoration: underline; }
.btn-secondary { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--gray-100); color: var(--navy); text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.5rem; list-style: none; padding: 0; }
.sidebar-card .btn-row { flex-direction: column; gap: 0.6rem; }
.sidebar-card .btn-row .btn, .sidebar-card .btn-row .btn-secondary { margin-bottom: 0; }
.btn-block { width: 100%; }

/* Tables */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table { border-collapse: collapse; width: 100%; background: var(--white); }
caption { text-align: left; font-weight: 700; color: var(--navy); padding: 0 0 0.5rem; }
th, td { text-align: left; padding: 0.6rem 0.8rem; border: 1px solid var(--border); vertical-align: middle; }
thead th { background: var(--gray-100); color: var(--navy); }
td a { display: inline-flex; align-items: center; min-height: 44px; }
.date-cell { white-space: nowrap; }

/* Department cards */
.dept-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.dept-card { display: flex; align-items: center; gap: 0.8rem; min-height: 64px; height: 100%; padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); font-weight: 700; color: var(--navy); }
.dept-card:hover { background: var(--gray-100); color: var(--navy); }
.dept-card i { color: var(--blue); width: 1.5rem; text-align: center; font-size: 1.25rem; flex: none; }

/* Photo galleries */
.photo-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.photo-grid figure { margin: 0; }
.photo-link { display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.photo-link img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figcaption { margin-top: 0.4rem; font-size: 1rem; color: var(--muted); }
.photo-single { max-width: 640px; }
.photo-single img { display: block; border-radius: var(--radius); }

.lightbox { width: min(100% - 2rem, 1000px); max-height: calc(100% - 2rem); padding: 0; border: 3px solid var(--white); border-radius: var(--radius); background: var(--navy); color: var(--white); }
.lightbox::backdrop { background: var(--text); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.5rem 0.75rem; }
.lightbox__count { margin: 0; font-weight: 600; }
.lightbox__figure { margin: 0; padding: 0 0.75rem; }
.lightbox__img { display: block; max-width: 100%; max-height: 70vh; margin: 0 auto; }
.lightbox__caption { padding: 0.5rem 0; color: var(--on-dark); text-align: center; }
.lightbox__nav { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.75rem 0.75rem; }
.lightbox button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.9rem; font: inherit; font-weight: 700; color: var(--white); background: var(--navy-md); border: 2px solid var(--white); border-radius: var(--radius); cursor: pointer; }
.lightbox button:hover { background: var(--blue-dark); }

/* Embedded map */
.embed { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.embed iframe { display: block; width: 100%; height: 520px; border: 0; }

/* News and events */
.news-list, .event-list { list-style: none; padding: 0; margin: 0; }
.news-item { border-bottom: 1px solid var(--rule); padding: 1.25rem 0; }
.news-item:first-child { padding-top: 0; }
.news-item h2 { margin: 0 0 0.25rem; border: 0; padding: 0; font-size: 1.35rem; }
.news-date { color: var(--muted); font-size: 1rem; margin-bottom: 0.6rem; }
.news-body > :last-child { margin-bottom: 0; }
.event-item { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.event-date { background: var(--navy-md); color: var(--white); border-radius: var(--radius); text-align: center; padding: 0.4rem; line-height: 1.2; align-self: start; min-height: 4.2rem; }
/* The badge repeats the date written out beside it, so it's drawn from data attributes */
.event-date::before { content: attr(data-month); display: block; font-size: 0.95rem; font-weight: 700; color: var(--gold-lt); text-transform: uppercase; }
.event-date::after { content: attr(data-day); display: block; font-size: 1.6rem; font-weight: 700; }
.event-item h2 { margin: 0 0 0.25rem; border: 0; padding: 0; font-size: 1.25rem; }
.event-when { color: var(--muted); font-size: 1rem; margin-bottom: 0.4rem; }
.empty-state { color: var(--muted); font-style: italic; }
/* Expandable item cards (News & Updates, Calendar) */
.item-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.item-card { border: 1px solid var(--navy); border-radius: var(--radius); background: var(--white); scroll-margin-top: 1rem; }
.item-card__heading { margin: 0; padding: 0; border: 0; font-size: 1.3rem; }
.item-card__btn {
  display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 64px; padding: 1rem 1.25rem;
  font: inherit; font-weight: 700; text-align: left; color: var(--white); background: var(--navy-md);
  border: 0; border-radius: var(--radius); cursor: pointer;
}
.item-card__btn:hover { background: var(--navy); }
.item-card__btn:hover .item-card__title { text-decoration: underline; }
.item-card__btn[aria-expanded="true"] { border-radius: var(--radius) var(--radius) 0 0; }
.item-card__text { flex: 1; min-width: 0; }
.item-card__title { display: block; overflow-wrap: anywhere; }
.item-card__meta { display: block; margin-top: 0.2rem; font-size: 1rem; font-weight: 600; color: var(--on-dark); }
.item-card__icon { flex: none; color: var(--gold-lt); }
.item-card__btn[aria-expanded="true"] .item-card__icon { transform: rotate(180deg); }
.item-card__body { padding: 1.1rem 1.25rem 1.25rem; }
.item-card__body > :first-child { margin-top: 0; }
.item-card__body > :last-child { margin-bottom: 0; }
.js .item-card__body[hidden] { display: none; }

/* Show/hide sections */
.disclosure { margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.disclosure__btn {
  width: 100%; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.6rem 1rem;
  font: inherit; font-weight: 700; color: var(--navy); background: var(--gray-100);
  border: 0; border-radius: var(--radius); cursor: pointer; text-align: left;
}
.disclosure__btn:hover { text-decoration: underline; }
.disclosure__label { flex: 1; }
.disclosure__extra { font-weight: 600; color: var(--navy); }
.disclosure__btn[aria-expanded="true"] { border-radius: var(--radius) var(--radius) 0 0; }
.disclosure__btn[aria-expanded="true"] .disclosure__icon { transform: rotate(180deg); }
.disclosure__panel { padding: 1rem; }
.disclosure__panel > :last-child { margin-bottom: 0; }
.js .disclosure__panel[hidden] { display: none; }

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.sidebar-card__title { margin: 0; padding: 0.7rem 1rem; border: 0; background: var(--navy); color: var(--white); font-size: 1.1rem; border-radius: var(--radius) var(--radius) 0 0; }
.sidebar-card__body { padding: 0.75rem 1rem 1rem; }
.sidebar-card__body > :last-child { margin-bottom: 0; }
.sidebar-card address { margin-bottom: 0.75rem; }
.sidebar-card .btn, .sidebar-card .btn-secondary { width: 100%; margin-bottom: 0.6rem; }
.sidebar-card .btn:last-child, .sidebar-card .btn-secondary:last-child { margin-bottom: 0; }
.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li { border-bottom: 1px solid var(--rule); }
.sidebar-links li:last-child { border-bottom: 0; }
.sidebar-links a { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 600; }
.sidebar-links i { color: var(--blue); font-size: 0.85rem; }

/* ── Homepage ─────────────────────────────────────────────── */
.home-hero { background: var(--navy); border-bottom: 4px solid var(--gold); }
.home-hero__inner { display: grid; }
.home-hero__photo { min-height: 220px; background-color: var(--navy-md); background-size: cover; background-position: center; }
.home-hero__panel { background: var(--navy-md); color: var(--white); padding: 1.25rem; }
.home-hero__photo img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.home-hero__label { color: var(--gold-lt); margin: 0 0 0.75rem; }
.home-title { font-size: 2rem; margin-bottom: 1rem; }
.home-hero__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.home-hero__panel a { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; padding: 0.5rem 1rem; color: var(--white); background: var(--navy); border: 1px solid var(--on-dark); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.home-hero__panel a:hover { background: var(--blue-dark); text-decoration: underline; }
.home-hero__panel i { color: var(--gold-lt); width: 1.25rem; text-align: center; }
@media (min-width: 900px) {
  .home-hero__inner { grid-template-columns: 1fr 400px; }
  .home-hero__photo { min-height: 340px; }
}
.home-section { padding: 2.5rem 0; }
.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
.quick-card { display: flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 72px; padding: 1rem; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.quick-card:hover { background: var(--gray-100); color: var(--navy); }
.quick-card i { color: var(--blue); }
.feed-card__title i { color: var(--gold-lt); margin-right: 0.35rem; }
.home-section--tint { background: var(--off-white); }
.home-section h2:first-child { margin-top: 0; }
.home-intro { max-width: 80ch; }
.feed-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .feed-grid { grid-template-columns: repeat(3, 1fr); } }
.feed-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; }
.feed-card__title { margin: 0; padding: 0.7rem 1rem; border: 0; background: var(--navy); color: var(--white); font-size: 1.15rem; border-radius: var(--radius) var(--radius) 0 0; }
.feed-card__body { padding: 0.75rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.feed-list { list-style: none; margin: 0 0 1rem; padding: 0; flex: 1; }
.feed-list li { border-bottom: 1px solid var(--rule); padding: 0.4rem 0 0.6rem; }
.feed-list a { display: block; min-height: 44px; padding-top: 0.45rem; font-weight: 700; }
.feed-list__meta { display: block; color: var(--muted); font-size: 0.95rem; }
.jobs-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.jobs-band h3 { color: var(--white); margin: 0 0 0.25rem; }
.jobs-band p { margin: 0; color: var(--on-dark); }
.jobs-band .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.jobs-band .btn:hover { background: var(--gray-100); color: var(--navy); }
.section-head a { display: inline-flex; align-items: center; min-height: 44px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--white); border-top: 4px solid var(--gold); padding: 2.5rem 0 1.5rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold-lt); text-decoration-thickness: 2px; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); } }
.footer-brand p { margin-bottom: 0.75rem; color: var(--on-dark); }
.footer-brand__name { font-size: 1.2rem; font-weight: 700; color: var(--white) !important; }
.footer-brand__state { display: block; font-size: 0.95rem; font-weight: 600; color: var(--gold-lt); }
.footer-col h2 { color: var(--gold-lt); font-size: 1.1rem; border: 0; padding: 0; margin: 0 0 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 44px; }
.btn-outline-light { gap: 0.5rem; margin-top: 0.5rem; padding: 0.4rem 1rem; border: 2px solid var(--white); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.footer-col li a.btn-outline-light { min-height: 48px; }
.btn-outline-light:hover { background: var(--navy-md); text-decoration: underline; }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); text-align: center; font-size: 1rem; color: var(--on-dark); }
.footer-bottom p { margin: 0.25rem 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* Motion only when welcome */
@media (prefers-reduced-motion: no-preference) {
  .disclosure__icon, .item-card__icon, .site-nav__sub-toggle .fa-chevron-down { transition: transform 0.15s ease; }
}

/* ── Focus (keep last; one selector per rule) ─────────────── */
a:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
button:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.topbar a:focus { outline: 3px solid var(--white); outline-offset: 2px; }
.brand:focus { outline: 3px solid var(--white); outline-offset: 2px; }
.nav-toggle:focus { outline: 3px solid var(--white); outline-offset: 2px; }
.site-nav__item > a:focus { outline: 3px solid var(--white); outline-offset: -6px; }
.site-nav__sub-toggle:focus { outline: 3px solid var(--white); outline-offset: -6px; }
.page-banner a:focus { outline: 3px solid var(--white); outline-offset: 2px; }
.home-hero__panel a:focus { outline: 3px solid var(--gold-lt); outline-offset: 2px; }
.jobs-band a:focus { outline: 3px solid var(--white); outline-offset: 3px; }
.site-footer a:focus { outline: 3px solid var(--white); outline-offset: 2px; }
.lightbox button:focus { outline: 3px solid var(--gold-lt); outline-offset: 2px; }
.info-card__title a:focus { outline: 3px solid var(--white); outline-offset: 2px; }
.embed iframe:focus { outline: 3px solid var(--focus); outline-offset: -3px; }
.item-card__btn:focus { outline: 3px solid var(--white); outline-offset: -6px; }
