/* Bolivar County — shared stylesheet
   Palette approximated from the live Wix site (exact hex values weren't
   extractable since Wix renders via JS — swap these for your real brand
   colors/fonts if you have brand guidelines). */

:root {
  --navy: #1c3f6e;
  --navy-dark: #0d2033;
  --blue-btn: #4a7fc7;
  --blue-btn-dark: #3a68a8;
  --cyan-btn: #29c2d6;
  --cyan-btn-dark: #1fa3b5;
  --orange: #f0952e;
  --orange-dark: #d67e1a;
  --gold: #c9a227;
  --gold-dark: #a9861d;
  --paper: #ffffff;
  --offwhite: #f5f6f8;
  --ink: #22282f;
  --muted: #5c6672;
  --border: #dfe3e8;
  --radius: 4px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.55;
  background: var(--offwhite);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Full-bleed background photo behind the centered content column, matching
   the live site's look. Drop your own background image at
   img/page-background.jpg (from your Wix Media Manager) to activate it —
   without it this just falls back to a plain color. */
.page-bg {
  background-color: #cfd9c8;
  background-image: url("../img/page-background.jpg");
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.page-frame {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 40px rgba(0,0,0,0.25);
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--navy-dark);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

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

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 4px solid var(--gold); }

.header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}

.header-title-block h1 {
  font-size: 1.9rem;
  margin: 0 0 4px;
  color: var(--orange-dark);
  letter-spacing: 0.08em;
}

.header-logos { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.header-logos img { width: 40px; height: 40px; object-fit: contain; }
.header-logos .subtitle {
  margin: 0;
  color: var(--navy-dark);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  font-weight: bold;
}

.header-tagline {
  font-style: italic;
  color: var(--navy);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  max-width: 340px;
}

.header-districts {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  color: var(--muted);
}
.header-districts strong { display: block; color: var(--navy-dark); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Nav ---------- */
.site-nav { background: #2a8fc7; }
.site-nav ul {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
}
@media (max-width: 760px) {
  .site-nav ul { flex-wrap: wrap; }
  .site-nav a, .nav-more summary {
    padding: 10px 12px;
    font-size: 0.75rem;
  }
}
.site-nav a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: #ffffff;
  color: #2a8fc7;
  text-decoration: none;
}

.site-nav-mobile { display: none; background: #2a8fc7; }
@media (max-width: 760px) {
  .site-nav-desktop { display: none; }
  .site-nav-mobile { display: block; }
}

.site-nav-mobile summary {
  list-style: none;
  padding: 14px 20px;
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.site-nav-mobile summary::-webkit-details-marker,
.site-nav-mobile summary::marker { display: none; content: ""; }
.site-nav-mobile ul { list-style: none; margin: 0; padding: 0; background: var(--navy-dark); }
.site-nav-mobile li { border-top: 1px solid rgba(255,255,255,0.15); }
.site-nav-mobile a {
  display: block;
  padding: 14px 24px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.03em;
}
.site-nav-mobile a:hover, .site-nav-mobile a[aria-current="page"] {
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
}
.nav-more summary {
  list-style: none;
  background: none;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 16px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-more summary::-webkit-details-marker,
.nav-more summary::marker { display: none; content: ""; }
.nav-more summary:hover { background: #fff; color: #2a8fc7; }
.nav-more-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #2a8fc7;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  z-index: 20;
}
.nav-more-menu a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }

/* ---------- Hero / slideshow ---------- */
.hero-cta {
  background: var(--navy-dark);
  text-align: center;
  padding: 10px;
}
.hero-cta a { color: var(--gold); font-weight: bold; letter-spacing: 0.04em; }

.slideshow {
  position: relative;
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 24px;
}
.slide-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slide {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.slide img { height: 150px; width: 100%; object-fit: cover; }
.slide-caption { padding: 10px 12px; }
.slide-caption strong { display: block; font-size: 0.95rem; }
.slide-caption span { color: var(--muted); font-size: 0.85rem; }
.slide-note { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* ---------- Quick links ---------- */
.quick-links {
  max-width: var(--maxw);
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.quick-link {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  color: var(--navy-dark);
}
.quick-link img { width: 34px; height: 34px; }
.quick-link:hover { border-color: var(--gold); text-decoration: none; }

/* ---------- Content sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px; }
.section.alt { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--gold-dark); font-weight: bold; }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* ---------- Forms ---------- */
.gov-form { display: grid; gap: 14px; max-width: 480px; }
.gov-form label { font-weight: bold; font-size: 0.9rem; display: block; margin-bottom: 4px; }
.gov-form input, .gov-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.gov-form button {
  justify-self: start;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.gov-form button:hover { background: var(--gold-dark); }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- Solid stacked menu buttons (About Us / County Departments sidebar) ---------- */
.btn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-width: 340px; }
.btn-list a {
  display: block;
  background: var(--blue-btn);
  color: #fff;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn-list a:hover, .btn-list a[aria-current="page"] { background: var(--blue-btn-dark); text-decoration: none; }

/* ---------- Orange / cyan call-to-action buttons ---------- */
.action-btn {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 2px;
  color: #fff;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.action-btn.orange { background: var(--orange); }
.action-btn.orange:hover { background: var(--orange-dark); text-decoration: none; }
.action-btn.cyan { background: var(--cyan-btn); }
.action-btn.cyan:hover { background: var(--cyan-btn-dark); text-decoration: none; }
.action-btn.navy { background: var(--navy); }
.action-btn.navy:hover { background: var(--navy-dark); text-decoration: none; }

.dark-card {
  background: var(--navy);
  color: #fff;
  padding: 18px;
  border-radius: var(--radius);
}
.dark-card h3 { color: #fff; margin-bottom: 10px; }
.dark-card .gov-form input, .dark-card .gov-form textarea {
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.dark-card .gov-form label { color: #fff; }

.meeting-box {
  border: 3px solid var(--navy);
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 18px 14px;
}
.meeting-box h4 {
  font-style: italic;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
.meeting-box img { width: 80px; margin: 0 auto 12px; border-radius: 50%; }
.meeting-box p { margin: 0; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.02em; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { border-bottom: 1px solid var(--border); }
.doc-list a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; }
.doc-list a::before { content: "📄"; }

.phone-list { list-style: none; margin: 0; padding: 0; }
.phone-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 8px 4px;
  flex-wrap: wrap;
}
.phone-list .dept-name { color: var(--navy); font-weight: bold; }
.phone-list .dept-phone { color: var(--muted); white-space: normal; font-size: 0.95rem; text-align: right; min-width: 0; }

.dept-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.dept-grid a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: bold;
}
.dept-grid a:hover { border-color: var(--gold); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--orange);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 40px;
}
.site-footer a { color: #fff; }
