/* ──────────────────────────────────────────────────────────────────────────
   Dover Township — Country / Ohio refresh
   Warm cream parchment background, buckeye amber + weathered navy, serif
   headings, barn-red and sage accents. All original CSS variable names
   are preserved so existing inline styles in HTML keep working.
   ────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* Dancing Script for typed signature preview */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');

/* ── Variables ── */
:root {
  /* Core palette — matched to the Dover Township seal */
  --blue:        #1c2f5a;   /* seal outer ring navy */
  --blue-mid:    #2a4a8c;   /* inner band blue */
  --blue-light:  #dce6f4;   /* soft sky tint */
  --gold:        #c8a232;   /* wheat/gold from seal sheaves */
  --gold-text:  #7a6000;   /* darkened gold — 4.6:1 on white, passes AA */
  --gold-light:  #f0e4c0;   /* aged parchment */
  --white:       #ffffff;
  --text:        #1a1510;   /* deep ink */

  /* Seal-matched accents */
  --cream:       #f4eedf;   /* parchment background */
  --cream-deep:  #ece3ce;   /* deeper cream for stripes */
  --barn-red:    #8c1519;   /* Ohio flag red from seal */
  --barn-red-dk: #6a0f12;
  --sage:        #4a6e3a;   /* muted Ohio green */
  --sage-light:  #ddecd4;
  --brown-mid:   #5c4830;   /* warm taupe text */
  --brown-soft:  #9a8060;

  /* Neutrals */
  --gray-50:     #f2ece0;   /* tinted cream replacement */
  --gray-100:    #e2d8c4;   /* tinted border replacement */
  --gray-400:    #a89878;
  --gray-700:    #4e3c28;

  /* Shapes */
  --radius:      8px;
  --radius-lg:   12px;
  --shadow:      0 2px 10px rgba(60, 40, 20, .12);
  --shadow-lg:   0 6px 22px rgba(60, 40, 20, .15);

  /* Fonts */
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.65;
  background-color: var(--cream);
  /* Subtle paper texture via layered radial gradients */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(200,149,48,.05) 0, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(139,44,29,.04) 0, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.5) 0, transparent 70%);
  min-height: 100vh;
}
a { color: var(--barn-red); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; color: var(--barn-red-dk); }
img { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; letter-spacing: .2px; }

/* ── Header ── */
header {
  background: linear-gradient(135deg, var(--blue) 0%, #2a4670 60%, var(--blue-mid) 100%);
  color: var(--white);
  box-shadow: 0 3px 16px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
/* Faint star pattern overlay — Ohio flag flair */
header::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 12% 30%, rgba(255,255,255,.4) 1px, transparent 2px),
    radial-gradient(circle 1.5px at 88% 70%, rgba(255,255,255,.35) 1px, transparent 2px),
    radial-gradient(circle 1px at 50% 20%, rgba(255,255,255,.3) 1px, transparent 2px),
    radial-gradient(circle 1px at 30% 80%, rgba(255,255,255,.25) 1px, transparent 2px),
    radial-gradient(circle 1px at 70% 50%, rgba(255,255,255,.3) 1px, transparent 2px);
  pointer-events: none;
  opacity: .9;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 24px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.header-seal {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,.35);
  border: 3px solid var(--gold);
}
.header-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.header-text h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.header-text p  { font-size: .9rem; opacity: .85; margin-top: 4px; font-style: italic; }
.header-flag { flex-shrink: 0; }
.header-flag img {
  height: 42px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}

/* ── Nav ── */
nav {
  background: linear-gradient(180deg, #14283f 0%, var(--blue) 100%);
  border-top: 4px solid var(--gold);
  border-bottom: 2px solid rgba(0,0,0,.2);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
nav a {
  color: rgba(255,255,255,.9);
  padding: 13px 22px;
  font-size: .92rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: .3px;
  display: block;
  transition: background .2s, color .2s;
  text-decoration: none;
  position: relative;
}
nav a:hover, nav a.active {
  background: var(--gold);
  color: var(--blue);
  text-decoration: none;
}
nav a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--gold);
}

/* ── Page wrapper ── */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 24px 60px;
}

/* ── Hero banner (home only) ── */
.hero {
  background:
    linear-gradient(135deg, var(--cream-deep) 0%, var(--gold-light) 100%);
  border-left: 6px solid var(--gold);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 44px;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero::before {
  /* Decorative star in the corner — Ohio flair */
  content: "★";
  position: absolute;
  top: -8px; right: 18px;
  font-size: 5rem;
  color: rgba(200,149,48,.15);
  pointer-events: none;
}
.hero h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 10px;
  font-family: var(--font-serif);
}
.hero p  { color: var(--gray-700); max-width: 680px; font-size: 1.02rem; }

/* ── Section headings ── */
.section-title {
  font-size: 1.65rem;
  color: var(--blue);
  font-family: var(--font-serif);
  padding-bottom: 10px;
  margin-bottom: 28px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 60px, transparent 60px),
              linear-gradient(90deg, transparent 0%, transparent 70px, var(--gray-100) 70px);
  background-size: 100% 3px, 100% 1px;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 44px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card h3 {
  color: var(--blue);
  margin-bottom: 12px;
  font-size: 1.18rem;
  font-family: var(--font-serif);
}
.card p  { font-size: .94rem; color: var(--gray-700); }

/* ── Trustee cards ── */
.trustee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 44px;
}
.trustee-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.trustee-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.trustee-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.trustee-header::before {
  content: "★";
  position: absolute;
  bottom: -16px; right: -8px;
  font-size: 4rem;
  color: rgba(200,149,48,.18);
  pointer-events: none;
}
.trustee-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0b956, var(--gold) 70%, #9c721d);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-serif);
  border: 3px solid rgba(255,255,255,.55);
  box-shadow: 0 3px 10px rgba(0,0,0,.25), inset 0 -3px 8px rgba(0,0,0,.15);
}
.trustee-header h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-family: var(--font-serif);
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.trustee-header p  { color: rgba(255,255,255,.78); font-size: .88rem; margin-top: 4px; font-style: italic; }
.trustee-body { padding: 22px 24px; }
.trustee-body p { color: var(--gray-700); font-size: .92rem; font-style: italic; }

/* ── Meeting schedule table ── */
.meeting-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: .94rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.meeting-table th {
  background: var(--blue);
  color: var(--white);
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: .3px;
  text-transform: uppercase;
  font-size: .82rem;
}
.meeting-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--gray-100);
}
.meeting-table tr:nth-child(even) td { background: var(--gray-50); }
.meeting-table tr:hover td { background: var(--gold-light); }
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.badge-1st { background: var(--gold-light); color: #6a4d10; border: 1px solid rgba(200,149,48,.4); }
.badge-3rd { background: var(--blue-light); color: var(--blue);  border: 1px solid rgba(31,58,95,.25); }

/* ── Forms ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 760px;
  position: relative;
}
.form-card::before {
  /* Subtle top accent stripe */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--barn-red) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--gray-400);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,149,48,.2);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.required { color: var(--barn-red); font-weight: 700; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: var(--radius);
  font-size: .94rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: .3px;
  cursor: pointer;
  border: none;
  transition: transform .12s, box-shadow .12s, filter .15s;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--blue-mid) 0%, var(--blue) 100%); color: var(--white); }
.btn-gold    { background: linear-gradient(180deg, #d6a13d 0%, var(--gold) 100%); color: var(--blue); }
.btn-success { background: linear-gradient(180deg, #3e8e42 0%, #2e7d32 100%); color: var(--white); }
.btn-danger  { background: linear-gradient(180deg, #a83330 0%, var(--barn-red) 100%); color: var(--white); }
.btn-sm { padding: 6px 15px; font-size: .82rem; }

/* ── Alert banners ── */
.alert {
  padding: 13px 20px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-size: .92rem;
  display: none;
  font-weight: 500;
}
.alert-success { background: #e8f3e1; color: #2d5e1c; border-left: 4px solid var(--sage); }
.alert-error   { background: #fbeae6; color: var(--barn-red-dk); border-left: 4px solid var(--barn-red); }

/* ── Info box ── */
.info-box {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--cream-deep) 100%);
  border-left: 5px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 30px;
  font-size: .94rem;
  color: var(--gray-700);
  box-shadow: 0 1px 4px rgba(60,40,20,.06);
}
.info-box strong { color: var(--blue); }

/* ── Calendar ── */
#cal-container { margin-bottom: 44px; }
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-nav h3 { color: var(--blue); font-size: 1.25rem; font-family: var(--font-serif); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cal-day-name {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 10px 4px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.cal-cell {
  min-height: 76px;
  border: 1px solid var(--gray-100);
  padding: 6px;
  font-size: .82rem;
  background: var(--white);
}
.cal-cell.empty { background: var(--gray-50); }
.cal-cell.today {
  background: var(--gold-light);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.cal-num { font-weight: 700; color: var(--gray-700); font-size: .88rem; margin-bottom: 3px; }
.cal-event {
  background: var(--blue);
  color: var(--white);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .72rem;
  margin-top: 2px;
  line-height: 1.35;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.cal-event-time {
  display: block;
  font-size: .66rem;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event.meeting { background: var(--gold); color: var(--blue); }

/* ── Admin ── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.admin-table th {
  background: var(--blue);
  color: var(--white);
  padding: 11px 13px;
  text-align: left;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.admin-table td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.admin-table tr:hover td { background: var(--gray-50); }
.status-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.status-pending  { background: #fff3cd; color: #856404; }
.status-approved { background: var(--sage-light); color: #3d4f2a; }
.status-denied   { background: #f8dad5; color: var(--barn-red-dk); }
.status-hearing  { background: var(--blue-light); color: var(--blue); }

/* ── Tabs ── */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 3px solid var(--gold);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  background: var(--cream-deep);
  border: 1px solid var(--gray-100);
  border-bottom: none;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background .15s, color .15s, transform .1s;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-right: 4px;
  letter-spacing: .2px;
}
.tab-btn:hover { background: var(--gold-light); }
.tab-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 -2px 6px rgba(31,58,95,.15);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Fee table ── */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: .94rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fee-table th {
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-size: .82rem;
}
.fee-table td {
  padding: 10px 18px;
  border-bottom: 1px solid var(--gray-100);
}
.fee-table tr:nth-child(even) td { background: var(--gray-50); }
.fee-table tr:hover td { background: var(--gold-light); }

/* ── Footer ── */
footer {
  background: linear-gradient(180deg, var(--blue) 0%, #14283f 100%);
  color: rgba(255,255,255,.78);
  text-align: center;
  padding: 28px 24px;
  font-size: .88rem;
  border-top: 4px solid var(--gold);
  position: relative;
}
footer::before {
  /* Wheat-sheaf style divider — small decorative element */
  content: "★ ✦ ★";
  display: block;
  color: var(--gold);
  letter-spacing: 12px;
  margin-bottom: 10px;
  font-size: .8rem;
  opacity: .7;
}
footer a { color: var(--gold); }
footer a:hover { color: #e0b956; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .header-text h1 { font-size: 1.4rem; }
  .header-inner { padding: 20px 16px; gap: 14px; }
  .header-seal { width: 56px; height: 56px; font-size: 22px; }
  .trustee-grid, .card-grid { grid-template-columns: 1fr; }
  nav a { padding: 11px 14px; font-size: .85rem; }
  .header-flag { display: none; }
  .hero { padding: 26px 22px; }
  .hero h2 { font-size: 1.5rem; }
  .section-title { font-size: 1.35rem; }
  .form-card { padding: 24px; }
}

/* ── Public notices bar ───────────────────────────────────────────────────── */
.public-notice {
  border-left: 5px solid;
  padding: 0;
  font-size: .94rem;
}
.pn-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pn-icon   { font-size: 1.3rem; flex-shrink: 0; line-height: 1.4; }
.pn-content { flex: 1; }
.pn-title  { display: block; font-weight: 700; }
.pn-body   { margin: 3px 0 0; line-height: 1.5; }
.pn-more {
  font-size: .78rem;
  white-space: nowrap;
  align-self: center;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid currentColor;
  opacity: .75;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.pn-more:hover { opacity: 1; text-decoration: none; }
.pn-expires {
  font-size: .78rem;
  white-space: nowrap;
  opacity: .65;
  align-self: center;
  flex-shrink: 0;
}
.pn-info    { background: #dce6f4; border-color: var(--blue);     color: var(--blue); }
.pn-warning { background: #fff3cd; border-color: #c89a00;         color: #5a3d00; }
.pn-alert   { background: #fbeae6; border-color: var(--barn-red); color: var(--barn-red-dk); }
.pn-info + .pn-info,
.pn-info + .pn-warning,
.pn-info + .pn-alert,
.pn-warning + .pn-info,
.pn-warning + .pn-warning,
.pn-warning + .pn-alert,
.pn-alert + .pn-info,
.pn-alert + .pn-warning,
.pn-alert + .pn-alert { border-top: 1px solid rgba(0,0,0,.08); }
@media (max-width: 640px) {
  .pn-expires { display: none; }
  .pn-more    { display: none; }
  .pn-inner   { padding: 10px 16px; }
}

/* ── Notice cards (notices.html listing page) ─────────────────────────────── */
.notice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.notice-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.notice-card-icon  { font-size: 1.1rem; }
.notice-card-label { flex: 1; }
.notice-card-dates { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .8; white-space: nowrap; font-size: .78rem; }
.notice-card-body  { padding: 20px 22px; }
.notice-card-title { color: var(--blue); font-size: 1.15rem; margin-bottom: 8px; font-family: var(--font-serif); }
.notice-card-text  { color: var(--gray-700); font-size: .95rem; line-height: 1.65; margin: 0; }

.pn-notice-info    .notice-card-header { background: #dce6f4; color: var(--blue); }
.pn-notice-warning .notice-card-header { background: #fff3cd; color: #5a3d00; }
.pn-notice-alert   .notice-card-header { background: #fbeae6; color: var(--barn-red-dk); }
@media (max-width: 640px) {
  .notice-card-dates { display: none; }
}

/* ── Skip navigation ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ── Typed signature field ────────────────────────────────────────────────── */
.typed-sig-wrap { margin: 4px 0 0; }
.typed-sig-input {
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 1rem !important;
  padding: 10px 14px !important;
}
.typed-sig-preview {
  border: 1px solid var(--gray-400);
  border-radius: var(--radius);
  background: #fafaf8;
  padding: 10px 16px;
  min-height: 64px;
  margin-top: 8px;
  display: flex;
  align-items: center;
}
.typed-sig-text {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: #1a1a2e;
  line-height: 1.2;
}
.typed-sig-notice {
  font-size: .8rem;
  color: var(--gray-700);
  margin: 6px 0 0;
}
.typed-sig-error {
  display: none;
  color: #c0392b;
  font-size: .85rem;
  margin-top: 6px;
}

/* ── Admin notices filter tabs ───────────────────────────────────────────── */
.notices-filter-tab {
  background: var(--white);
  border: 1.5px solid var(--gray-400);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
}
.notices-filter-tab:hover { border-color: var(--blue); color: var(--blue); }
.notices-filter-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ── Meeting Minutes ─────────────────────────────────────────────────────── */
.minutes-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.minutes-filter-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-400);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.minutes-filter-btn:hover,
.minutes-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.minutes-group {
  margin-bottom: 36px;
}
.minutes-group-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--blue);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.minutes-list-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.minutes-item {
  border-bottom: 1px solid var(--gray-100);
}
.minutes-item:last-child { border-bottom: none; }
.minutes-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  transition: background .14s;
}
.minutes-link:hover { background: var(--gray-50); }
.minutes-pdf-icon { font-size: 1.4rem; flex-shrink: 0; }
.minutes-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.minutes-title {
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue);
}
.minutes-date {
  font-size: .82rem;
  color: var(--gray-700);
  margin-top: 2px;
}
.minutes-dl-label {
  font-size: .75rem;
  font-weight: 700;
  background: var(--barn-red);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}
