/* ============================================================
   Middletown Fire Department — stylesheet
   Theme: bold fire-service red + charcoal, condensed display type.
   ============================================================ */

:root {
  --red: #C8102E;
  --red-dark: #9E0B22;
  --red-soft: #FBE9EC;
  --gold: #F2A900;
  --ink: #161A22;
  --ink-2: #2A2F3A;
  --muted: #5A6472;
  --muted-2: #8A93A2;
  --line: #E3E6EB;
  --line-2: #EEF0F4;
  --bg: #F6F7F9;
  --bg-alt: #FFFFFF;
  --green: #1B7F4B;
  --green-soft: #E3F3EA;
  --amber: #B26A00;
  --amber-soft: #FCF1DD;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20,24,34,.06), 0 1px 3px rgba(20,24,34,.05);
  --shadow: 0 4px 14px rgba(20,24,34,.08);
  --shadow-lg: 0 12px 34px rgba(20,24,34,.12);
  --container: 1140px;
  --header-h: 76px;
  --font-head: 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.small, small { font-size: .85em; color: var(--muted); }
.ta-right { text-align: right; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-main { min-height: 50vh; }

/* ---- Topbar ---- */
.topbar { background: var(--ink); color: #cfd6e2; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__left { display: flex; gap: 18px; align-items: center; }
.topbar__item { white-space: nowrap; }
.topbar__link:hover { color: #fff; text-decoration: none; }
.topbar__emergency { font-weight: 600; color: var(--gold); letter-spacing: .04em; }
@media (max-width: 760px) { .topbar__left .topbar__item:first-child { display: none; } }

/* ---- Header / nav ---- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__cross { width: 42px; height: 42px; color: var(--red); flex-shrink: 0; display: inline-flex; }
.brand__cross svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; color: var(--ink); }
.brand__sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--ink-2); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--red-soft); color: var(--red); text-decoration: none; }
.nav-link--accent { color: var(--red); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 16px;
    border-bottom: 3px solid var(--red); box-shadow: var(--shadow);
    display: none;
  }
  .main-nav--open { display: flex; }
  .nav-link { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--line-2); }
  .main-nav .btn { margin-top: 8px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 11px 20px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  transition: background .15s, color .15s, transform .05s, box-shadow .15s; text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink-2); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); background: var(--line-2); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--danger { color: var(--red); border-color: var(--red-soft); }
.btn--danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn--sm { padding: 8px 14px; font-size: .88rem; }
.btn--xs { padding: 6px 10px; font-size: .8rem; }
.btn--block { width: 100%; }

/* ---- Alert banner ---- */
.alert-bar { background: transparent; padding: 12px 0 0; }
.alert-banner {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--radius);
  margin-bottom: 10px; border: 1px solid; font-size: .95rem;
}
.alert-banner__icon { font-size: 1.2rem; line-height: 1.4; }
.alert-banner__body { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.alert-banner__title { font-family: var(--font-head); font-weight: 600; }
.alert-banner--info { background: var(--red-soft); border-color: #f3c9d2; color: #7a0c1e; }
.alert-banner--warning { background: var(--amber-soft); border-color: #f0d9a8; color: var(--amber); }
.alert-banner--critical { background: var(--red); border-color: var(--red); color: #fff; }
.alert-banner--critical .alert-banner__title, .alert-banner--critical .alert-banner__msg { color: #fff; }

/* ---- Hero ---- */
.hero {
  position: relative; color: #fff; padding: 92px 0 88px; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(22,26,34,.92) 0%, rgba(158,11,34,.82) 60%, rgba(200,16,46,.7) 100%),
    radial-gradient(circle at 80% 20%, rgba(242,169,0,.25), transparent 50%),
    #161A22;
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; line-height: 1; margin-bottom: 18px; text-transform: uppercase; }
.hero__lede { font-size: 1.15rem; color: #e6e9ef; max-width: 560px; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Page hero (interior) ---- */
.page-hero {
  background: linear-gradient(120deg, var(--ink) 0%, #2A2F3A 100%);
  color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,16,46,.35), transparent 70%);
}
.page-hero__title { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; color: #fff; margin-bottom: 8px; position: relative; z-index: 2; }
.page-hero__lede { color: #cfd6e2; font-size: 1.1rem; margin: 0; position: relative; z-index: 2; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--red); margin-bottom: 8px; }
.eyebrow--light { color: var(--gold); }

/* ---- Stats ---- */
.stats { padding: 0; margin-top: -36px; position: relative; z-index: 5; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); border-top: 3px solid var(--red); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--red); line-height: 1; }
.stat__label { display: block; font-size: .82rem; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Section heads ---- */
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 1rem; }
.link-arrow { color: var(--red); font-weight: 600; }
.link-arrow:hover { text-decoration: none; color: var(--red-dark); }

/* ---- Split layout ---- */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Callout ---- */
.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.callout h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 14px; }
.callout__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.callout__item { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.callout__item:last-child { border-bottom: 0; }
.callout__tag { align-self: flex-start; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 20px; background: var(--red-soft); color: var(--red); margin-bottom: 4px; }
.callout__item--warning .callout__tag { background: var(--amber-soft); color: var(--amber); }
.callout__item--critical .callout__tag { background: var(--red); color: #fff; }
.callout__msg { font-size: .9rem; color: var(--muted); }
.callout__date { font-size: .78rem; color: var(--muted-2); }
.callout__empty { color: var(--muted); font-style: italic; margin: 0; }
.callout--cta { border-left-color: var(--gold); text-align: center; }
.callout--cta .btn { margin: 8px 0; }
.callout__muted { font-size: .92rem; color: var(--muted); margin: 0 0 8px; }
.callout--emergency { border-left-color: var(--red); background: var(--red-soft); }

/* ---- CTA row ---- */
.cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.cta:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cta__icon { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.cta h3 { font-size: 1.2rem; text-transform: uppercase; }
.cta p { color: var(--muted); font-size: .92rem; }
.cta .btn { margin-top: 8px; }
@media (max-width: 760px) { .cta-row { grid-template-columns: 1fr; } }

/* ---- Prose ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; text-transform: uppercase; margin-top: 36px; margin-bottom: 12px; }
.prose p { color: var(--ink-2); }

/* ---- Values grid ---- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; border-top: 3px solid var(--red); }
.value-card h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 6px; }
.value-card p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 720px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; color: var(--ink-2); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }

/* ---- Apparatus ---- */
.apparatus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.apparatus-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .15s; }
.apparatus-card:hover { transform: translateY(-3px); }
.apparatus-card__icon { font-size: 2.4rem; margin-bottom: 8px; }
.apparatus-card h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 2px; }
.apparatus-card__role { color: var(--red); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.apparatus-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.note { margin-top: 28px; padding: 16px 20px; background: var(--red-soft); border-radius: var(--radius-sm); border-left: 4px solid var(--red); font-size: .92rem; color: #7a0c1e; }
@media (max-width: 880px) { .apparatus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .apparatus-grid { grid-template-columns: 1fr; } }

/* ---- Steps ---- */
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.steps h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 16px; }
.card.form { padding: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.form__group input, .form__group textarea, .form__group select {
  font-family: var(--font-body); font-size: .95rem; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border .15s, box-shadow .15s; width: 100%;
}
.form__group input:focus, .form__group textarea:focus, .form__group select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft);
}
.form__group textarea { resize: vertical; }
.form__hint { font-size: .8rem; color: var(--muted); }
.form__actions { display: flex; gap: 10px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---- Auth ---- */
.auth { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); padding: 56px 0; min-height: 60vh; display: flex; align-items: center; }
.auth__inner { display: flex; justify-content: center; }
.auth-card { background: #fff; border-radius: var(--radius); padding: 36px 32px; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); text-align: center; }
.auth-card__brand { width: 56px; height: 56px; color: var(--red); margin: 0 auto 16px; }
.auth-card__brand svg { width: 100%; height: 100%; }
.auth-card__title { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 4px; }
.auth-card__sub { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.auth-card .form { text-align: left; }
.auth-card__footer { margin-top: 20px; font-size: .9rem; color: var(--muted); }

/* ---- Flashes ---- */
.flash-wrap { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; border: 1px solid; transition: opacity .4s; }
.flash--success { background: var(--green-soft); border-color: #b9e0c8; color: var(--green); }
.flash--error { background: var(--red-soft); border-color: #f3c9d2; color: var(--red-dark); }

/* ---- Badges ---- */
.badge { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 20px; }
.badge--pinned { background: var(--amber-soft); color: var(--amber); }
.badge--you { background: var(--line-2); color: var(--muted); margin-left: 6px; }
.status-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.status-badge--pending { background: var(--amber-soft); color: var(--amber); }
.status-badge--active { background: var(--green-soft); color: var(--green); }
.status-badge--suspended { background: var(--red-soft); color: var(--red); }

/* ---- Member layout ---- */
.member-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.member-layout--narrow { grid-template-columns: 240px 1fr; }
.member-layout--single { grid-template-columns: 1fr; max-width: 760px; }
.member-main { min-width: 0; }
.member-sidebar { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.member-card--profile { border-top: 3px solid var(--red); }
.member-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.member-card__role { font-size: .82rem; color: var(--muted); margin: 0; }
.admin-sidebar-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-size: .8rem; padding: 0 8px; }
.member-nav { display: flex; flex-direction: column; gap: 2px; }
.member-nav__link { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 500; font-size: .92rem; transition: background .15s, color .15s; }
.member-nav__link:hover { background: var(--line-2); text-decoration: none; color: var(--ink); }
.member-nav__link--active { background: var(--red); color: #fff; }
.member-nav__link--active:hover { background: var(--red-dark); color: #fff; }
.member-nav__link--muted { color: var(--muted); }
.count-pill { background: rgba(200,16,46,.15); color: var(--red); font-size: .72rem; font-weight: 700; border-radius: 20px; padding: 1px 8px; }
.member-nav__link--active .count-pill { background: rgba(255,255,255,.25); color: #fff; }

.member-header { margin-bottom: 22px; }
.member-header__title { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 4px; }
.member-header__sub { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---- Avatar ---- */
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 1rem; flex-shrink: 0; }
.avatar--sm { width: 36px; height: 36px; font-size: .85rem; }

/* ---- Posts ---- */
.post-list { display: flex; flex-direction: column; gap: 18px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.post--pinned { border-left: 4px solid var(--gold); }
.post--single { padding: 28px; }
.post__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post__meta { display: flex; flex-direction: column; line-height: 1.3; }
.post__author { font-weight: 600; font-size: .95rem; }
.post__time { font-size: .8rem; color: var(--muted-2); }
.post__actions { margin-left: auto; }
.post__title { font-size: 1.3rem; margin-bottom: 8px; }
.post__title a { color: var(--ink); }
.post__title a:hover { color: var(--red); text-decoration: none; }
.post__title--lg { font-size: 1.7rem; }
.post__body { color: var(--ink-2); white-space: normal; }
.post__body--lg { font-size: 1.05rem; }
.post__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--red); font-weight: 500; font-size: .92rem; word-break: break-all; }
.post__link:hover { background: var(--red-soft); text-decoration: none; }
.post__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.post-actions { display: flex; gap: 10px; margin-top: 16px; }

/* ---- Attachments ---- */
.attachments { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.attach-image { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: var(--bg); }
.attach-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.attach-image:hover img { transform: scale(1.04); }
.attach-file { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .82rem; color: var(--ink-2); }
.attach-file:hover { background: var(--red-soft); text-decoration: none; }
.attach-file__icon { font-size: 1.4rem; }
.attach-file__name { font-weight: 600; word-break: break-word; }
.attach-file__size { color: var(--muted); font-size: .75rem; }
.attach-list { display: flex; flex-direction: column; gap: 8px; }
.attach-remove { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 8px 10px; background: var(--bg); border-radius: var(--radius-sm); cursor: pointer; }

/* ---- Empty state ---- */
.empty-state { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state__icon { font-size: 2.6rem; margin-bottom: 8px; }
.empty-state h3 { font-size: 1.2rem; text-transform: uppercase; }
.empty-state p { color: var(--muted); }
.empty { color: var(--muted); padding: 20px; text-align: center; }

/* ---- Admin panels / tables ---- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--bg); }
.panel__head h2 { font-size: 1.05rem; text-transform: uppercase; margin: 0; }
.panel__body { padding: 22px; }
.panel .form { padding: 0; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--red); transition: transform .15s; }
a.stat-card:hover { transform: translateY(-2px); text-decoration: none; }
.stat-card--warn { border-top-color: var(--gold); background: #fffdf5; }
.stat-card__num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--red); line-height: 1; }
.stat-card--warn .stat-card__num { color: var(--amber); }
.stat-card__label { font-size: .82rem; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 760px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th { text-align: left; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table a { color: var(--ink); font-weight: 600; }
.data-table a:hover { color: var(--red); }
.inline-form { display: inline; }
.role-select { font-size: .85rem; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.action-stack { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.action-stack--row { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }

.filter-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-tab { padding: 7px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.filter-tab--active { background: var(--red); color: #fff; border-color: var(--red); }
.filter-tab:hover { text-decoration: none; }
.filter-tab--active:hover { background: var(--red-dark); color: #fff; }

.alert-list { display: flex; flex-direction: column; gap: 12px; }
.alert-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.alert-row--inactive { opacity: .6; }
.alert-row__sev { flex-shrink: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; height: fit-content; }
.alert-row__sev--info { background: var(--red-soft); color: var(--red); }
.alert-row__sev--warning { background: var(--amber-soft); color: var(--amber); }
.alert-row__sev--critical { background: var(--red); color: #fff; }
.alert-row__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.alert-row__msg { font-size: .9rem; color: var(--muted); }
.alert-row__meta { font-size: .78rem; color: var(--muted-2); }
.alert-row__actions { display: flex; flex-direction: column; gap: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cfd6e2; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.brand__cross--footer { width: 38px; height: 38px; color: var(--red); }
.footer__brandname { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: .03em; }
.footer__muted { color: #9aa3b2; font-size: .9rem; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: #cfd6e2; font-size: .9rem; }
.footer__links a:hover { color: var(--gold); text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-size: .82rem; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; } }

/* ---- Error pages ---- */
.error-page { padding: 80px 0; text-align: center; background: linear-gradient(160deg, var(--bg) 0%, #fff 100%); }
.error-page__code { font-family: var(--font-head); font-weight: 700; font-size: 6rem; color: var(--red); line-height: 1; }
.error-page__title { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 8px; }
.error-page__text { color: var(--muted); margin-bottom: 20px; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.is-visible { opacity: 1; transform: none; }

.form__check { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.form__check input { width: auto; margin: 0; transform: translateY(1px); }
.form__check label { margin: 0; font-weight: 400; }

/* ---- Account page ---- */
.avatar--lg { width: 60px; height: 60px; font-size: 1.3rem; }
.account-profile { display: flex; align-items: center; gap: 16px; }
.account-profile h3 { margin-bottom: 2px; }
.account-profile__meta { font-size: .9rem; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; overflow-wrap: anywhere; }

/* ---- Comments ---- */
.comments { margin-top: 28px; }
.comments__title { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.comments__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.comment { display: flex; gap: 12px; }
.comment__body { flex: 1; min-width: 0; }
.comment__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.comment__author { font-weight: 600; font-size: .9rem; }
.comment__time { font-size: .78rem; color: var(--muted-2); }
.comment__delete { margin-left: auto; }
.comment__text { color: var(--ink-2); font-size: .95rem; }
.comment-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }

/* ---- Responsive member/admin ---- */
@media (max-width: 880px) {
  .member-layout, .admin-layout { grid-template-columns: 1fr; }
  .member-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .member-sidebar .btn { flex: 1 1 auto; }
  .member-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; }
  .member-nav__link { flex: 1 1 auto; }
  .admin-sidebar-title { flex: 1 1 100%; }
}


/* ============================================================
   2026 public-site refresh
   Friendlier typography, warmer neutrals, accessible black header,
   and content cards for Department / Companies / Volunteer pages.
   ============================================================ */
:root {
  --red: #b5122b;
  --red-dark: #8f0e22;
  --red-soft: #f8e9ec;
  --gold: #d7a52a;
  --ink: #101114;
  --ink-2: #2f3238;
  --muted: #626872;
  --muted-2: #8b919b;
  --line: #dddfe3;
  --line-2: #ececef;
  --bg: #f7f6f3;
  --bg-alt: #ffffff;
  --radius: 10px;
  --radius-sm: 7px;
  --header-h: 104px;
  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body { font-size: 17px; line-height: 1.65; letter-spacing: .002em; }
h1, h2, h3, h4 { letter-spacing: -.018em; line-height: 1.18; }
p { color: #41464f; }
.section { padding: 76px 0; }
.section--compact { padding: 34px 0; }
.section--no-top { padding-top: 0; }

.topbar { background: #000; color: #d5d7db; border-bottom: 1px solid #222; }
.topbar__link { color: #fff; }
.topbar__emergency { color: #f2c85b; }

.site-header {
  background: #08090b;
  border-bottom: 1px solid #282a2f;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.header__inner { min-height: var(--header-h); height: auto; padding-top: 10px; padding-bottom: 10px; }
.brand { color: #fff; min-width: 0; }
.brand__logo { display: block; width: auto; max-width: min(110px, 20vw); max-height: 88px; object-fit: contain; flex-shrink: 0; }
.brand__cross { color: var(--red); width: 46px; height: 46px; }
.brand__name { color: #fff; text-transform: none; letter-spacing: -.015em; font-size: 1.25rem; }
.brand__sub { color: #aeb3bd; letter-spacing: .08em; }
.nav-link { color: #e2e4e8; font-weight: 600; border-radius: 6px; }
.nav-link:hover, .nav-link:focus-visible { color: #fff; background: rgba(255,255,255,.1); }
.nav-link--accent { color: #fff; }
.site-header .btn--primary { background: var(--red); color: #fff; }
.site-header .btn--ghost { border-color: #4a4d54; color: #fff; }
.nav-toggle span { background: #fff; }

@media (max-width: 940px) {
  .main-nav { background: #0b0c0f; border-bottom-color: var(--red); }
  .nav-link { color: #f1f2f4; border-bottom-color: #292b30; }
  .nav-link:hover { background: #17191e; color: #fff; }
}
@media (max-width: 560px) {
  :root { --header-h: 82px; }
  .brand__logo { max-width: 68px; max-height: 68px; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: .6rem; }
}

.btn { border-radius: 7px; font-weight: 700; }
.btn--primary { box-shadow: 0 8px 18px rgba(181,18,43,.18); }
.btn--ghost { background: #fff; }

.hero {
  background:
    linear-gradient(110deg, rgba(4,5,7,.96) 0%, rgba(17,18,22,.92) 58%, rgba(112,8,26,.78) 100%),
    #08090b;
}
.hero__title { text-transform: none; letter-spacing: -.045em; }
.page-hero {
  background:
    linear-gradient(110deg, rgba(4,5,7,.98) 0%, rgba(18,20,24,.96) 72%, rgba(91,10,24,.92) 100%);
  border-bottom: 4px solid var(--red);
  padding: 66px 0 58px;
}
.page-hero::after { background: radial-gradient(circle, rgba(215,165,42,.16), transparent 70%); }
.page-hero__title, .section-title, .member-header__title { text-transform: none; letter-spacing: -.035em; }
.page-hero__lede { color: #d7d9de; max-width: 760px; }
.eyebrow { font-family: var(--font-body); font-weight: 700; letter-spacing: .13em; }
.eyebrow--light { color: #efc65f; }

.stat, .callout, .cta, .panel, .post, .member-card { border-radius: 10px; }
.stat { border-top-width: 4px; }
.section-title { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
.lead { font-size: 1.2rem; line-height: 1.6; }

/* Shared content patterns */
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.section-heading-row__copy { max-width: 520px; margin: 0 0 5px; color: var(--muted); }
.centered-cta { max-width: 780px; margin: 0 auto; text-align: center; }
.centered-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.centered-cta p { font-size: 1.08rem; max-width: 650px; margin: 0 auto 24px; }
.centered-cta--dark { background: #0b0c0f; color: #fff; max-width: 980px; border-radius: 14px; padding: 52px 34px; box-shadow: var(--shadow-lg); }
.centered-cta--dark h2, .centered-cta--dark p { color: #fff; }

/* About page */
.contact-strip { display: grid; grid-template-columns: 1.4fr 1fr .7fr; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
.contact-strip > div { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; border-right: 1px solid var(--line); }
.contact-strip > div:last-child { border-right: 0; }
.contact-strip__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-strip strong, .contact-strip a { font-size: 1.08rem; color: var(--ink); font-weight: 700; }
.contact-strip span:not(.contact-strip__label) { color: var(--muted); }
.info-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: var(--shadow-sm); }
.info-card--featured { border-top: 4px solid var(--red); }
.info-card h2 { font-size: 2rem; }
.info-card p { font-size: 1.08rem; margin: 0; }
.officer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.officer-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: var(--shadow-sm); }
.officer-card--chief { border-left: 5px solid var(--red); }
.officer-card__rank { display: block; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.officer-card h3 { font-size: 1.18rem; margin: 0; }
.support-grid { display: grid; grid-template-columns: 1fr .8fr 1.6fr; gap: 14px; margin-top: 18px; }
.support-card { background: #121317; color: #fff; border-radius: 10px; padding: 24px; }
.support-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.support-card p { color: #d6d8dc; margin: 0; }

/* Companies page */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.company-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.company-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16,17,20,.11); }
.company-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #17191d; }
.company-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.company-card__media--contain { background: #0d0e11; }
.company-card__media--contain img { object-fit: contain; padding: 18px; }
.company-card:hover .company-card__media img { transform: scale(1.025); }
.company-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.48), transparent 48%); pointer-events: none; }
.company-card__media--fallback { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 70% 20%, #3b0a12, #111317 60%); }
.company-card__fallback-mark { width: 92px; height: 92px; color: rgba(181,18,43,.9); }
.company-card__fallback-mark svg { width: 100%; height: 100%; }
.company-card__type { position: absolute; left: 14px; bottom: 12px; z-index: 2; background: rgba(8,9,11,.86); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.company-card__body { padding: 22px; }
.company-card__body h3 { font-size: 1.22rem; margin-bottom: 6px; }
.company-card__location { color: var(--muted); margin: 0; font-weight: 600; }

/* Volunteer page */
.company-ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.company-ribbon span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.volunteer-intro { display: grid; grid-template-columns: 1.45fr .8fr; gap: 48px; align-items: start; }
.volunteer-intro__main { padding-top: 14px; }
.recruitment-card { background: #0b0c0f; color: #fff; border-radius: 14px; padding: 30px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--red); }
.recruitment-card__kicker { color: #efc65f; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.recruitment-card h3 { color: #fff; font-size: 1.65rem; margin-top: 8px; }
.recruitment-card p { color: #d2d5da; }
.recruitment-card__phone { display: inline-block; color: #fff; font-family: var(--font-head); font-size: 1.85rem; font-weight: 800; margin: 4px 0 20px; }
.recruitment-card__actions { display: grid; gap: 9px; }
.recruitment-card__text-link { color: #dfe2e7; font-weight: 700; text-align: center; padding: 5px 0 0; }
.recruitment-card__text-link:hover { color: #fff; }
.recruitment-card .btn--ghost { background: transparent; color: #fff; border-color: #545861; }
.recruitment-card .btn--ghost:hover { background: rgba(255,255,255,.08); }
.volunteer-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; box-shadow: var(--shadow-sm); }
.faq-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.faq-card p { margin: 0; }
.volunteer-final { padding-top: 60px; }

.footer__logo { max-width: 82px; max-height: 82px; width: auto; object-fit: contain; }

@media (max-width: 900px) {
  .section-heading-row { align-items: start; flex-direction: column; gap: 8px; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .officer-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .volunteer-intro { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section--compact { padding: 26px 0; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-strip > div:last-child { border-bottom: 0; }
  .info-card-grid, .company-grid, .officer-grid, .volunteer-faq { grid-template-columns: 1fr; }
  .info-card { padding: 26px; }
  .page-hero { padding: 48px 0 42px; }
  .centered-cta--dark { padding: 38px 22px; border-radius: 10px; }
  .recruitment-card { padding: 26px 22px; }
}

/* ============================================================
   2026 color + contrast correction
   Fixes dark-on-dark hero text and white-on-white ghost buttons,
   while refining the public palette around black, deep red, gold,
   and warmer neutral surfaces.
   ============================================================ */
:root {
  --red: #b31b34;
  --red-dark: #861126;
  --red-soft: #f7e8eb;
  --gold: #d6aa42;
  --ink: #15171b;
  --ink-2: #363a42;
  --muted: #666c76;
  --muted-2: #8c929c;
  --line: #dddcd8;
  --line-2: #eceae6;
  --bg: #f5f3ef;
  --bg-alt: #fcfbf9;
}

body {
  background: var(--bg);
  color: var(--ink);
}

/* Warmer, softer light sections */
.section--alt { background: var(--bg-alt); }
.stat,
.callout,
.cta,
.info-card,
.officer-card,
.faq-card,
.company-card,
.contact-strip,
.panel,
.post,
.member-card {
  background-color: #fffdfa;
  border-color: var(--line);
}

/* Utility bar + masthead */
.topbar {
  background: #030405;
  color: #c5c9d0;
  border-bottom-color: #202226;
}
.topbar__emergency { color: #e2b74f; }

.site-header {
  background: #08090b;
  border-bottom-color: #25272c;
}
.nav-link { color: #d9dce2; }
.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255,255,255,.085);
  color: #fff;
}

/* Restore proper button contrast. The prior refresh made all ghost
   buttons white, which caused white text to disappear on dark areas. */
.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: #c7c9ce;
}
.btn--ghost:hover {
  background: #fff;
  border-color: #9da1a9;
  color: var(--ink);
}

.site-header .btn--ghost {
  background: transparent;
  color: #f5f6f8;
  border-color: #5a5e66;
}
.site-header .btn--ghost:hover,
.site-header .btn--ghost:focus-visible {
  background: #fff;
  color: #111318;
  border-color: #fff;
}

/* Hero: predominantly charcoal with a restrained burgundy glow */
.hero {
  background:
    radial-gradient(circle at 88% 44%, rgba(148, 19, 46, .32), transparent 40%),
    linear-gradient(108deg, #07080a 0%, #101217 62%, #2a0b13 100%);
}
.hero__eyebrow { color: #e0b44b; }
.hero__title {
  color: #f7f7f5;
  text-shadow: 0 2px 20px rgba(0,0,0,.24);
}
.hero__lede { color: #d5d8de; }

.hero .btn--light {
  background: rgba(255,255,255,.035);
  color: #fff;
  border-color: rgba(255,255,255,.56);
}
.hero .btn--light:hover,
.hero .btn--light:focus-visible {
  background: #fff;
  color: #111318;
  border-color: #fff;
}

/* Primary action red is slightly deeper and less neon */
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(179,27,52,.18);
}
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--red-dark); color: #fff; }

/* Stats feel less stark while keeping the department red prominent */
.stat {
  border-top-color: var(--red);
  box-shadow: 0 5px 18px rgba(20,22,27,.07);
}
.stat__num { color: var(--red); }
.stat__label { color: #727780; }

/* Interior page heroes use the same family of tones */
.page-hero {
  background:
    radial-gradient(circle at 90% 28%, rgba(179,27,52,.22), transparent 35%),
    linear-gradient(110deg, #07080a 0%, #111319 72%, #280b13 100%);
  border-bottom-color: var(--red);
}
.page-hero__title { color: #f7f7f5; }
.page-hero__lede { color: #d4d7dd; }
.eyebrow--light { color: #e1b64f; }

/* Refined content accents */
.eyebrow,
.link-arrow,
.apparatus-card__role,
.officer-card__rank { color: var(--red); }

.callout {
  border-left-color: var(--red);
  box-shadow: 0 4px 16px rgba(20,22,27,.055);
}
.callout__empty { color: #747983; }

/* Footer: slightly lifted from pure black, with readable warm links */
.site-footer {
  background: #0d0f13;
  color: #c7cbd2;
}
.footer__muted { color: #9da3ad; }
.footer__links a { color: #c9cdd4; }
.footer__links a:hover { color: #e0b44b; }
.site-footer .footer__muted a { color: #e0b44b; }
.site-footer .footer__muted a:hover { color: #f0cc72; }
.footer__bottom { border-top-color: rgba(255,255,255,.085); }

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(214,170,66,.72);
  outline-offset: 3px;
}
