/* ── Reset & Base ──────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  color: #222;
  background: #fafafa;
  line-height: 1.65;
}

a {
  color: #1a4a8f;
  text-decoration: none;
  transition: color 0.1s ease;
}
a:hover { color: #c00; text-decoration: underline; }
a:visited { color: #4a2a7a; }

/* ── Header ────────────────────────────────────────────────── */
#header {
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 24px 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-brand {
  display: flex;
  align-items: center;
}

#header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #8b0000;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

/* Clickable logo link — wraps SVG + site name */
.site-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.site-logo-link:hover  { 
  text-decoration: none; 
  opacity: 0.92; 
  transform: translateY(-1px);
}
.site-logo-link:visited { color: inherit; }

.site-logo {
  flex-shrink: 0;
  display: block;
}

.title-name {
  color: #8b0000;
  font-size: 24px;
  font-weight: 700;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.3px;
}

.title-flag {
  font-size: 18px;
  line-height: 1;
  font-style: normal;
}

.tagline {
  display: block;
  font-size: 13px;
  color: #555;
  margin-top: 4px;
  margin-bottom: 8px;
  font-weight: 400;
}

.top-nav {
  font-size: 11px;
  color: #666;
  line-height: 2;
}
.top-nav a {
  color: #00008b;
  font-size: 11px;
}

/* ── Main Layout ───────────────────────────────────────────── */
#main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
}

/* ── Sections ──────────────────────────────────────────────── */
section {
  border-top: 1px solid #e5e5e5;
  padding: 22px 0 18px;
  margin-bottom: 8px;
}

section h2 {
  font-size: 17px;
  font-weight: 700;
  color: #8b0000;
  margin-bottom: 8px;
}
  margin-bottom: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e0e0e0;
}

.section-note {
  font-size: 11px;
  color: #666;
  font-style: italic;
  margin-bottom: 6px;
}

/* ── Columns ───────────────────────────────────────────────── */
.columns {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.col {
  flex: 1;
  min-width: 300px;
}

/* ── Sub-headings ──────────────────────────────────────────── */
.col h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #8b0000;
  margin-top: 16px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid #f2dada;
  padding-bottom: 5px;
}
.col h3:first-child { margin-top: 0; }

/* ── Lists ─────────────────────────────────────────────────── */
ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

ul li {
  padding: 3px 0;
  font-size: 14.5px;
  line-height: 1.65;
}

ul li::before {
  content: "›  ";
  color: #999;
  font-size: 12px;
  margin-right: 2px;
}

ul li em {
  font-style: italic;
  color: #333;
}

/* ── Ads & Sponsors (Cleaner Modern) ───────────────────────── */

/* Leaderboard banner below nav */
.ad-leaderboard {
  background: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 10px 0;
  margin: 12px 0;
}

/* Inline mid-page ad */
.ad-inline {
  text-align: center;
  margin: 16px 0;
}

/* Footer ad strip */
.ad-footer-strip {
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 10px 0;
  margin-top: 16px;
}

/* Placeholder shown until real ads are activated */
.ad-placeholder {
  display: inline-block;
  min-width: 728px;
  max-width: 100%;
  height: 60px;
  line-height: 60px;
  background: #f0f0f0;
  border: 1px dashed #ccc;
  color: #888;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  border-radius: 4px;
}
@media (max-width: 760px) {
  .ad-placeholder { min-width: 90%; height: 50px; line-height: 50px; }
}

/* Sponsor cards — between sections */
.sponsor-card {
  border: 1px solid #e0d0b0;
  background: #fffdf5;
  padding: 12px 16px;
  margin: 14px 0;
  position: relative;
  border-radius: 6px;
}

.sponsor-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  background: #fff;
  border: 1px solid #d4b483;
  padding: 2px 8px;
  position: absolute;
  top: -9px;
  left: 14px;
  border-radius: 3px;
}

.sponsor-content {
  padding-top: 6px;
}

.sponsor-placeholder {
  font-size: 13.5px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.sponsor-placeholder a {
  color: #8b0000;
  font-weight: 500;
}

/* ── Footer (Cleaner Modern) ───────────────────────────────── */
#footer {
  border-top: 1px solid #e5e5e5;
  padding: 18px 20px 14px;
  margin-top: 28px;
  text-align: center;
  color: #444;
  font-size: 13px;
  line-height: 1.6;
  background: #fff;
}

.footer-note {
  color: #666;
  margin-top: 6px;
  font-size: 12.5px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  margin-top: 10px;
  font-size: 13px;
}

.footer-links a {
  color: #1a4a8f;
}

.footer-small {
  margin-top: 8px;
  font-size: 11.5px;
  color: #777;
}

.footer-small a {
  color: #555;
}



/* ── Brand Logos (small inline) ──────────────────────────────── */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border-radius: 3px;
  background: #8b0000;
  line-height: 1;
}

/* ── Section Header Icons ────────────────────────────────────── */
.section-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
  opacity: 0.85;
}

/* ── Back to Top Button ────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 22px;
  right: 14px;
  z-index: 9998;
  background: #8b0000;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 6px 11px;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  letter-spacing: 0.2px;
}
#back-to-top.visible {
  opacity: 0.88;
  visibility: visible;
}
#back-to-top:hover {
  opacity: 1;
  background: #a00;
  text-decoration: none;
  color: #fff;
}

/* ── State Pages (standardized components) ─────────────────── */
.st-section {
  border-top: 1px solid #ccc;
  padding: 10px 0 14px;
}

.st-section h2 {
  font-size: 14px;
  color: #800;
  margin-bottom: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e0e0e0;
}

.st-section h3 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 10px 0 4px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 2px;
  color: #333;
}

.expand-note {
  background: #f0f7ff;
  border-left: 3px solid #00008b;
  padding: 6px 10px;
  font-size: 11.5px;
  margin: 8px 0;
  line-height: 1.6;
}

.state-nav {
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
  line-height: 2.2;
}

.state-nav a {
  color: #00008b;
  font-size: 11px;
}

.resource-block {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 7px 10px;
  margin: 6px 0;
}

.resource-block h4 {
  font-size: 12.5px;
  color: #800;
  margin: 0 0 3px;
}

.resource-block p {
  font-size: 12px;
  line-height: 1.6;
  margin: 2px 0;
}

/* Enhanced hub cards (used on detailed state pages like WA) */
.hub-card {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 10px 14px;
  margin: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hub-card .icon {
  font-size: 22px;
  flex-shrink: 0;
}

.hub-card h4 {
  font-size: 13px;
  color: #800;
  margin: 0 0 3px;
}

.hub-card p {
  font-size: 12px;
  line-height: 1.6;
  margin: 2px 0;
  color: #555;
}

.hub-card a.hub-link {
  font-size: 12.5px;
  font-weight: bold;
  color: #00008b;
  text-decoration: none;
}

.hub-card a.hub-link:hover {
  color: #800;
  text-decoration: underline;
}

.back-link {
  font-size: 12px;
  margin-bottom: 8px;
  display: inline-block;
}

.tip {
  background: #f0f7ff;
  border-left: 3px solid #00008b;
  padding: 6px 10px;
  font-size: 12px;
  margin: 8px 0;
  line-height: 1.6;
}

/* ── Index Quick Navigation (TOC) ──────────────────────────── */
.quick-nav {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 12px 0 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.quick-nav h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8b0000;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 16px;
}

.quick-nav-grid a {
  display: block;
  padding: 3px 0;
  color: #1a4a8f;
  font-size: 14px;
  line-height: 1.5;
}

.quick-nav-grid a:hover {
  color: #c00;
  text-decoration: underline;
}

.back-to-top {
  display: inline-block;
  font-size: 10.5px;
  margin-top: 6px;
  color: #888;
  text-decoration: none;
}

.back-to-top:hover {
  color: #800;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .quick-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Search Box ────────────────────────────────────────────── */
#header { position: relative; }

#search-wrap {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 100;
  width: 260px;
}

#search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

#search-box:focus-within {
  border-color: #8b0000;
  box-shadow: 0 0 0 3px rgba(139,0,0,0.12);
}

#search-icon {
  color: #666;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  padding: 0 3px;
}

#search-input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #222;
  width: 100%;
  background: transparent;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 2px 0;
}

#search-input::placeholder { color: #aaa; }

#search-clear {
  color: #bbb;
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  display: none;
  line-height: 1;
}
#search-clear:hover { color: #800; }

#search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #999;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 999;
}

/* Mobile search dropdown improvements */
@media (max-width: 600px) {
  #search-dropdown {
    max-height: 55vh;           /* Don't take over the whole screen */
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  .sr-item {
    padding: 9px 12px;
  }
  .sr-title { font-size: 13.5px; }
  .sr-desc { font-size: 12px; }
}

.sr-item {
  display: block;
  padding: 7px 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  cursor: pointer;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover, .sr-item.active {
  background: #f5f0f0;
  text-decoration: none;
}

.sr-title {
  display: block;
  font-size: 12.5px;
  font-weight: bold;
  color: #00008b;
  line-height: 1.4;
}
.sr-item:hover .sr-title, .sr-item.active .sr-title { color: #800; }

.sr-desc {
  display: block;
  font-size: 11px;
  color: #777;
  line-height: 1.4;
  margin-top: 1px;
}

.sr-item mark {
  background: #fff3a8;
  color: #333;
  font-style: normal;
  padding: 0 1px;
  border-radius: 1px;
}

.sr-none {
  padding: 10px;
  font-size: 12px;
  color: #999;
  font-style: italic;
  text-align: center;
}

/* Recent searches UI */
.sr-recent-header {
  padding: 6px 10px 4px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.sr-recent .sr-title {
  color: #555;
  font-weight: normal;
}

.sr-recent:hover .sr-title {
  color: #800;
}

.sr-recent-footer {
  padding: 6px 10px;
  font-size: 10px;
  text-align: right;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.sr-recent-footer span {
  color: #888;
  cursor: pointer;
}

.sr-recent-footer span:hover {
  color: #800;
  text-decoration: underline;
}

@media (max-width: 680px) {
  #search-wrap {
    position: static;
    width: 100%;
    margin-top: 6px;
  }
}

/* ── Nav Grid (Cleaner Modern) ─────────────────────────────── */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  border-top: 1px solid #e5e5e5;
  margin-top: 10px;
  padding-top: 14px;
}

@media (max-width: 900px) {
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nav-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.nav-col h4 {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8b0000;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f2dada;
}

/* Links are direct children — no <ul> needed */
.nav-col > a {
  font-size: 13.5px;
  color: #1a4a8f;
  text-decoration: none;
  line-height: 1.65;
  display: block;
  padding: 3px 0;
  border-radius: 3px;
}
.nav-col > a:hover { 
  color: #c00; 
  text-decoration: underline; 
  background: #fff8f8;
  padding-left: 4px;
  margin-left: -4px;
}
.nav-col > a:visited { color: #4a2a7a; }
.nav-col > a strong { font-weight: 600; color: #8b0000; }

/* ── Jokes Section ─────────────────────────────────────────── */
.jokes-section {
  border-top: 1px solid #ccc;
  padding: 10px 0 14px;
}
.jokes-section h2 {
  font-size: 15px;
  font-weight: bold;
  color: #800;
  margin-bottom: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e0e0e0;
}
.joke-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.joke-card {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  background: #fffdf5;
  border: 1px solid #e8d890;
  border-left: 3px solid #c8a800;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.55;
}
.joke-card .punchline {
  font-style: italic;
  color: #800;
  margin-top: 3px;
}

/* ── Visitor Poll (Modern) ─────────────────────────────────── */
.poll-section {
  border-top: 1px solid #e5e5e5;
  padding: 24px 0 16px;
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.poll-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: #8b0000;
  margin-bottom: 8px;
}
.poll-section p.poll-intro {
  font-size: 13.5px;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.6;
}
#poll-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.poll-q {
  flex: 1;
  min-width: 200px;
}
.poll-q label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #444;
  margin-bottom: 5px;
}
.poll-q select {
  width: 100%;
  font-size: 12px;
  padding: 3px 5px;
  border: 1px solid #bbb;
  background: #fff;
  color: #333;
}
#poll-submit {
  align-self: flex-end;
  background: #800;
  color: #fff;
  border: none;
  padding: 5px 18px;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.3px;
}
#poll-submit:hover { background: #a00; }
#poll-results { margin-top: 10px; }
#poll-results h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #800;
  margin-bottom: 8px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 2px;
}
.result-group { margin-bottom: 10px; }
.result-group h4 {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #555;
  margin-bottom: 4px;
}
.result-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: 11px;
}
.result-label { min-width: 140px; color: #333; }
.result-bar-wrap {
  flex: 1;
  background: #eee;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
}
.result-bar {
  height: 100%;
  background: #800;
  border-radius: 2px;
  transition: width 0.4s;
}
.result-pct { min-width: 36px; color: #666; text-align: right; }
.result-count { color: #aaa; font-size: 10px; min-width: 40px; }
#poll-thanks {
  font-size: 12px;
  color: #2a7a2a;
  margin-bottom: 8px;
  font-style: italic;
}
.poll-reset {
  font-size: 10px;
  color: #aaa;
  cursor: pointer;
  text-decoration: underline;
  display: inline-block;
  margin-top: 4px;
}

/* Results header with collapse toggle */
.poll-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #e0e0e0;
}
.poll-results-header span { font-size: 11.5px; color: #666; font-style: italic; }
.poll-toggle-btn {
  background: #fff;
  border: 1px solid #ccc;
  color: #800;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.poll-toggle-btn:hover { background: #f5f0f0; border-color: #800; }

/* ── State Hub Page ────────────────────────────────────────── */
.state-region {
  border-top: 1px solid #ccc;
  padding: 10px 0 14px;
}
.state-region h2 {
  font-size: 14px;
  font-weight: bold;
  color: #800;
  margin-bottom: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e0e0e0;
}
.state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.state-card {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 7px 9px;
}
.state-card h4 {
  font-size: 12.5px;
  font-weight: bold;
  color: #800;
  margin: 0 0 4px;
  border-bottom: 1px dotted #ddd;
  padding-bottom: 2px;
}
.state-card ul { margin: 0; padding: 0; }
.state-card ul li {
  font-size: 11px;
  line-height: 1.6;
  padding: 0;
}
.state-card ul li::before { content: "› "; color: #aaa; font-size: 10px; }
.state-card ul li a { font-size: 11px; }
.state-nav-bar {
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
  line-height: 2.2;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}
.state-nav-bar a { color: #00008b; font-size: 11px; }

/* ── Responsive (Mobile Polish - Phase 2) ──────────────────── */
@media (max-width: 700px) {
  body { font-size: 14.5px; }           /* Better readability on phones/tablets */
  #main { padding: 8px 10px; }

  #header {
    padding: 6px 10px 4px;
  }

  .columns { flex-direction: column; gap: 8px; }
  .col { min-width: 100%; }

  .nav-grid { flex-wrap: wrap; }

  .nav-col {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .nav-col > a {
    font-size: 12.5px;
    padding: 2px 0;
    min-height: 28px;                   /* Improved touch target */
  }

  #header h1 { font-size: 20px; }
  .tagline { font-size: 10px; }

  .joke-card { min-width: 90%; }
  .state-card { min-width: 90%; }
  #poll-form { flex-direction: column; }
}

/* Very small phones */
@media (max-width: 480px) {
  body { font-size: 15px; line-height: 1.55; }
  #main { padding: 6px 8px; }

  .nav-col {
    flex: 0 0 100%;
    min-width: 100%;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .nav-col h4 {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .nav-col > a {
    font-size: 13.5px;
    padding: 3px 0;
    min-height: 32px;                   /* Good touch target */
  }

  #search-wrap { position: static; width: 100%; margin-top: 6px; }
  #search-input { font-size: 14px; }

  section { padding: 8px 0 12px; }
  .ad-leaderboard, .ad-footer-strip { padding: 4px 0; }

  /* Prevent horizontal overflow on very small screens */
  .nav-grid, .columns, .joke-grid, .poll-section {
    overflow-x: hidden;
  }
}
