/* Public "Top 10" pages: same look as goodgovbulldogs.org (navy, red, Josefin Sans). */
:root {
  --navy: #233a6b; --navy-dark: #172849; --ink: #111827;
  --red: #c1203b; --red-dark: #9d1830; --gray: #6b7280; --light: #f4f6fa; --text: #1f2937;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Source Sans 3", system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--text); background: var(--light); }
h1, h2, h3 { font-family: "Josefin Sans", sans-serif; color: var(--navy); line-height: 1.2; }
a { color: var(--red); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--red); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.fb { background: #1877f2; border-color: #1877f2; }
.btn.fb:hover { background: #0f63d1; border-color: #0f63d1; }

header.site { background: #fff; border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
header.site .brand img { height: 58px; display: block; }
header.site nav { display: flex; align-items: center; gap: 22px; }
header.site nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
header.site nav a:hover { color: var(--red); }
header.site nav a.btn { color: #fff; padding: 10px 20px; }
.adminbar { background: #fef3c7; font-size: 15px; padding: 6px 0; }
.preview-note { background: #fde68a; font-weight: 600; padding: 10px 0; font-size: 16px; }

.hero { background: var(--navy); color: #fff; text-align: center; padding: 52px 0 56px; }
.hero .kicker { color: #ffb3bf; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.6vw, 56px); margin: 0 0 12px; }
.hero h1 span { color: #ff5a73; }
.hero .lead { margin: 0 auto; max-width: 620px; color: #dbe3f3; font-size: 20px; }
.hero .sharebox { margin-top: 24px; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 14px; color: var(--red); margin: 0 0 10px; }

.countdown { list-style: none; margin: 0; padding: 44px 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.countdown li { position: relative; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.countdown li > a, .countdown li > div { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.countdown li.on > a:hover { box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.countdown li.on:hover { transform: translateY(-2px); transition: transform .15s; }
.countdown .pic { aspect-ratio: 4 / 5; background: var(--ink); display: block; }
.countdown .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.countdown .num { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-family: "Josefin Sans", sans-serif; font-weight: 700; font-size: 26px; line-height: 1; padding: 10px 12px 6px; border-radius: 6px; }
.countdown .new { position: absolute; top: 14px; right: 12px; background: #fff; color: var(--red); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; }
.countdown .txt { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; border-top: 4px solid var(--red); flex: 1; }
.countdown .txt b { font-family: "Josefin Sans", sans-serif; color: var(--navy); font-size: 21px; line-height: 1.25; }
.countdown .txt small { color: var(--gray); font-size: 16px; line-height: 1.45; }
.countdown .txt em { font-style: normal; color: var(--red); font-weight: 700; margin-top: auto; padding-top: 6px; }
.countdown li.newest { outline: 3px solid var(--red); }
.countdown li.locked { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); min-height: 180px; }
.countdown li.locked .num { position: static; align-self: flex-start; margin: 18px 18px 0; background: rgba(255,255,255,.12); }
.countdown li.locked .txt { border-top: 0; }
.countdown li.locked .txt b { color: #fff; }
.countdown li.locked .txt small { color: #aab6cf; }
.more { text-align: center; margin: 10px 0 56px; font-size: 19px; }
.more a { font-weight: 700; }

.reason { padding: 28px 20px 60px; }
.reason .back { display: inline-block; margin-bottom: 18px; color: var(--navy); font-weight: 600; text-decoration: none; }
.reason h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 12px; }
.reason .lead { font-size: 21px; color: var(--navy); margin: 0 0 22px; }
.reason .cover { margin: 0 0 26px; background: var(--ink); border-radius: 10px; overflow: hidden; }
.reason .cover img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }
.body { font-size: 19px; }
.body h2 { font-size: 28px; margin: 34px 0 10px; }
.body h3 { font-size: 22px; margin: 28px 0 8px; }
.body p, .body ul, .body ol { margin: 0 0 18px; }
.body blockquote { margin: 0 0 18px; padding: 6px 0 6px 18px; border-left: 4px solid var(--red); font-weight: 600; color: var(--navy); }
.body figure.image { margin: 26px 0; }
.body figure.image img, .body img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 0 auto; }
.body figcaption { color: var(--gray); font-size: 15px; text-align: center; margin-top: 8px; }
.share { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; padding-top: 26px; border-top: 1px solid #e5e7eb; }
.pager { display: flex; justify-content: space-between; gap: 16px; }
.pager a { flex: 1; max-width: 48%; background: #fff; border-radius: 8px; padding: 14px 16px; text-decoration: none; color: var(--navy); font-weight: 700; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.pager a small { display: block; color: var(--red); font-weight: 700; font-size: 14px; }
.pager a.next { text-align: right; margin-left: auto; }
.soon { text-align: center; padding: 80px 20px; }
.soon h1 { font-size: clamp(28px, 5vw, 40px); }

footer.site { background: var(--navy-dark); color: #aab6cf; text-align: center; padding: 32px 20px; font-size: 15px; }
footer.site a { color: #fff; }
footer.site .badge { width: 96px; border-radius: 50%; background: #fff; padding: 6px; }
footer.site .paid { display: inline-block; border: 1px solid #aab6cf; padding: 6px 14px; color: #fff; font-weight: 600; }

@media (max-width: 720px) {
  /* Phones: logo on top, every menu link on its own row below it. */
  header.site .wrap { height: auto; flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 10px; }
  header.site .brand img { height: 40px; }
  header.site nav { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  header.site nav a { font-size: 16px; }
  header.site nav a.btn { padding: 6px 14px; }
  .countdown { grid-template-columns: 1fr; padding-top: 28px; gap: 16px; }
  .countdown li.locked { min-height: 0; }
  .body { font-size: 18px; }
  .pager { flex-direction: column; }
  .pager a { max-width: none; }
}

/* Timeline under a reason: a line with a dot per date; each date opens a pop-up. */
.timeline { margin: 40px 0 10px; }
.timeline h2 { font-size: 28px; margin: 0 0 16px; }
.timeline ol { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: #d4dbe8; border-radius: 2px; }
.timeline li { position: relative; margin-bottom: 12px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--light); }
.tl-item { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; background: #fff; border-radius: 8px; padding: 12px 16px; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.tl-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.tl-item:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.tl-date { display: block; color: var(--red); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.tl-title { display: block; color: var(--navy); font-family: "Josefin Sans", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; margin-top: 2px; }
.tl-more { display: block; color: var(--gray); font-size: 15px; margin-top: 4px; }
.tl-pop { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); border: 0; border-radius: 12px; padding: 26px 24px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35); color: var(--text); }
.tl-pop::backdrop { background: rgba(10,18,36,.6); }
.tl-pop h3 { font-size: 26px; margin: 0 0 14px; padding-right: 30px; }
.tl-pop .tl-date { margin: 0 0 4px; }
.tl-pop img { display: block; width: 100%; height: auto; border-radius: 8px; margin: 0 0 14px; }
.tl-pop p { margin: 0 0 14px; }
.tl-x { position: absolute; top: 12px; right: 12px; border: 0; background: var(--light); color: var(--navy); width: 36px; height: 36px; border-radius: 8px; font-size: 18px; cursor: pointer; }
.tl-x:hover { color: var(--red); }
.tl-facts { margin: 0; background: var(--light); border-left: 4px solid var(--navy); border-radius: 6px; padding: 10px 14px; }
.tl-facts div { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px solid #e3e8f1; }
.tl-facts div:last-child { border-bottom: 0; }
.tl-facts dt { font-weight: 700; color: var(--navy); min-width: 34%; }
.tl-facts dd { margin: 0; }

/* Share button + the small list computers get */
.sharebox { position: relative; display: inline-block; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; }
.share-btn svg { flex: none; }
.share-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 200px; background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.22); padding: 6px; text-align: left; }
.share .share-menu { left: 0; transform: none; }
.share-menu a, .share-menu button { display: block; width: 100%; padding: 10px 14px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--navy); text-decoration: none; text-align: left; border-radius: 6px; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--light); color: var(--red); }
.countdown .txt .tag { color: var(--red); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
