/* ============================================================
   The Palm Bayer - news.thepalmbayer.com
   Main Stylesheet
   Accent: #e63946 | Font: system stack | Background: #f5f5f5
   ============================================================ */

/* RESET + BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #e63946;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   MASTHEAD
   Centered brand with flag, double rule line
   ============================================================ */
.masthead {
  background: #fff;
  text-align: center;
  padding: 14px 32px 10px;
}

.masthead-brand {
  display: block;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  text-decoration: none;
  color: #1a1a1a;
}

.masthead-brand:hover {
  color: #1a1a1a;
}

.masthead-rule {
  display: none; /* Hidden because the rules are now built directly into the high-res masthead image */
}

.masthead-graphic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 934 / 360;
  margin: 0 auto;
  padding: 4px 0;
}

/* ============================================================
   NAV BAR
   Below masthead, sticky, red bottom border
   ============================================================ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 32px;
  background: #fff;
  border-bottom: 3px solid #e63946;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
  list-style: none;
  margin-right: auto;
}

.nav-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e63946;
}

.nav-subscribe {
  background: #e63946;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-subscribe:hover {
  background: #c62828;
  color: #fff;
}

/* Dark mode toggle */
.dark-mode-toggle {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  margin-left: auto; /* Push to the right side when search form is missing */
  margin-right: 12px;
}

.dark-mode-toggle:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: scale(1.05);
}

[data-theme="dark"] .dark-mode-toggle {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .dark-mode-toggle:hover {
  background: #334155;
  color: #fff;
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  aria-label: "Open menu";
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 16px 24px;
  gap: 16px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.nav-mobile a:hover {
  color: #e63946;
}

.nav-mobile .nav-subscribe {
  margin-top: 8px;
  text-align: center;
}

/* ============================================================
   HERO SECTION
   Split: video/image left, content right
   Stacks vertically on mobile
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid #eee;
  min-height: 420px;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  align-self: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fix Plyr player sizing inside hero media to prevent square scaling */
.hero-media .plyr {
  width: 100%;
  height: 100%;
}

.hero-media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

/* Video play button overlay (shown before autoplay) */
.hero-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(230, 57, 70, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.hero-play-overlay:hover {
  background: #e63946;
  transform: translate(-50%, -50%) scale(1.08);
}

.hero-play-overlay svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px;
}

.hero-content {
  padding: 48px 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-category {
  font-size: 12px;
  color: #e63946;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-deck {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-byline {
  font-size: 13px;
  color: #999;
}

.hero-read {
  display: inline-block;
  margin-top: 20px;
  background: #e63946;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}

.hero-read:hover {
  background: #c62828;
  color: #fff;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  padding-bottom: 8px;
  border-bottom: 2px solid #e63946;
  display: inline-block;
  margin-bottom: 24px;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 48px;
}

/* ============================================================
   ARTICLE GRID (3-column, responsive)
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

.card-image {
  height: 180px;
  background-color: #e8e8e8;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 11px;
  color: #e63946;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.card-headline {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-deck {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.card-meta {
  font-size: 12px;
  color: #999;
  margin-top: auto;
}

/* ============================================================
   FEATURED SECTION (2/3 + 1/3 split)
   ============================================================ */
.featured-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.featured-main {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.featured-main:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: inherit;
}

.featured-main .card-image {
  height: 280px;
}

.featured-main .card-body {
  padding: 24px;
}

.featured-main .card-headline {
  font-size: 22px;
}

.featured-main .card-deck {
  font-size: 15px;
}

.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.sidebar-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: inherit;
}

.sidebar-thumb {
  width: 100px;
  min-height: 80px;
  border-radius: 6px;
  background-color: #e8e8e8;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-text {
  flex: 1;
  min-width: 0;
}

.sidebar-text .card-headline {
  font-size: 15px;
}

.sidebar-text .card-deck {
  font-size: 13px;
}

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.newsletter-cta {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  margin-bottom: 48px;
}

.newsletter-cta h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.newsletter-cta p {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   MORE ARTICLES (bottom of article pages)
   ============================================================ */
.more-articles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 48px;
  border-top: 3px double #d4d0c8;
}

.more-articles .section-header {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .more-articles {
    padding: 0 16px 32px;
  }
}

.cta-btn {
  background: #e63946;
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}

.cta-btn:hover {
  background: #c62828;
  color: #fff;
}

/* ============================================================
   ABOUT PAGE — SUBSCRIBE CTA
   ============================================================ */
.about-subscribe-cta {
  margin: 40px 0;
  padding: 32px 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #e63946;
  border-radius: 6px;
  text-align: center;
}

.about-subscribe-cta p {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: #334155;
  font-weight: 500;
}

.btn-subscribe-cta {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-subscribe-cta:hover {
  background: #c62828;
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1a1a1a;
  padding: 40px 48px;
  color: #aaa;
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 32px;
}

.footer-brand,
.footer-brand:hover {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  display: block;
}

.footer-tagline {
  color: #888;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   ARTICLE PAGE
   Max-width 800px, article body layout
   ============================================================ */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 48px;
}

.article-category-tag {
  font-size: 12px;
  color: #e63946;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.article-headline {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 14px;
}

.article-deck {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
}

.article-byline {
  font-size: 14px;
  color: #999;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.article-byline .byline-sep {
  color: #ccc;
}

/* Article featured image */
.article-featured-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 32px;
  overflow: hidden;
  background: #e8e8e8;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article video player */
.article-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}

.article-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Article body text */
.article-body {
  font-size: 17px;
  color: #333;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 2em 0 0.75em;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 1.75em 0 0.5em;
  line-height: 1.3;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5em 1.5em;
}

.article-body li {
  margin-bottom: 0.4em;
}

.article-body blockquote {
  border-left: 3px solid #e63946;
  padding: 0 0 0 20px;
  margin: 1.5em 0;
  color: #555;
  font-style: italic;
}

.article-body strong {
  color: #1a1a1a;
  font-weight: 700;
}

.article-body a,
.static-page a {
  color: #e63946;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(230, 57, 70, 0.2);
  transition: color 0.15s ease;
}

.article-body a:hover,
.static-page a:hover {
  color: #c62828;
  border-bottom: 1.5px solid #c62828;
}

.card-meta a {
  color: #e63946;
  transition: color 0.15s ease;
}

.card-meta a:hover {
  color: #c62828;
}

/* ============================================================
   STAT CARDS
   Red left border, light background
   ============================================================ */
.stat-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 120px;
  background: #faf0f0;
  border-left: 3px solid #e63946;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  text-align: center;
}

.stat-card-value {
  font-size: 30px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
}

.stat-card-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================================
   VOTE TABLE
   YES/NO badges, clean borders
   ============================================================ */
.vote-table-wrap {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}

.vote-table-title {
  padding: 14px 20px;
  background: #fafafa;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 1px solid #e8e8e8;
}

.vote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.vote-table thead tr {
  border-bottom: 2px solid #e8e8e8;
}

.vote-table thead th {
  padding: 12px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  text-align: left;
}

.vote-table thead th.center {
  text-align: center;
}

.vote-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.vote-table tbody tr:last-child {
  border-bottom: none;
}

.vote-table tbody td {
  padding: 12px 20px;
  color: #1a1a1a;
}

.vote-table tbody td.member-name {
  font-weight: 500;
}

.vote-table tbody td.seat {
  color: #666;
}

.vote-table tbody td.vote-cell {
  text-align: center;
}

.badge-yes {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
}

.badge-no {
  background: #ffebee;
  color: #c62828;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
}

.badge-abstain {
  background: #f5f5f5;
  color: #666;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
}

/* ============================================================
   INLINE CHARTS (CSS bar chart)
   ============================================================ */
.chart-wrap {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.chart-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bar {
  width: 40px;
  background: linear-gradient(to top, #e63946, #ff6b6b);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}

.bar-label {
  font-size: 11px;
  color: #888;
}

.chart-source {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  font-style: italic;
  text-align: center;
}

/* Data table (generic) */
.data-table-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.data-table thead th {
  background: #fafafa;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  border-bottom: 2px solid #e8e8e8;
}

.data-table tbody td {
  padding: 12px 16px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* ============================================================
   SHARE BAR
   ============================================================ */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.share-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.share-icons {
  display: flex;
  gap: 8px;
}

.share-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.2s;
}

.share-icons a:hover {
  color: #fff;
}

/* Facebook */
.share-icons a[aria-label="Share on Facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
}

/* X */
.share-icons a[aria-label="Share on X"]:hover {
  background: #000;
  border-color: #000;
}

/* LinkedIn */
.share-icons a[aria-label="Share on LinkedIn"]:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

/* Threads */
.share-icons a[aria-label="Share on Threads"]:hover {
  background: #000;
  border-color: #000;
}

/* ============================================================
   DISCUSSION CTA
   ============================================================ */
.discussion-cta {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.discussion-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 8px;
}

.discussion-heading {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.discussion-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 14px;
}

.discussion-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.discussion-btn:hover {
  background: #444;
  color: #fff;
}

/* ============================================================
   SOURCES SECTION
   ============================================================ */
.sources-section {
  border-top: 2px solid #e63946;
  padding-top: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.sources-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.sources-list {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  list-style: none;
}

.sources-list li::before {
  content: '\2022  ';
  color: #e63946;
}

.sources-list li {
  margin-bottom: 4px;
}

.sources-list li.source-subitem {
  padding-left: 20px;
}

.sources-list li.source-subitem::before {
  content: '\25E6  ';
  color: #e63946;
}

.sources-list a {
  color: #e63946;
  text-decoration: underline;
}

.sources-list a:hover {
  color: #c62828;
}

.article-canonical-note {
  font-size: 14px;
  font-style: italic;
  color: #666;
  margin-top: -20px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.article-canonical-note a {
  color: #e63946;
  text-decoration: underline;
}

.article-canonical-note a:hover {
  color: #c62828;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 32px 48px;
}

.category-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.category-title span {
  color: #e63946;
}

.category-desc {
  font-size: 15px;
  color: #666;
}

.category-count {
  font-size: 13px;
  color: #999;
  margin-top: 8px;
}

/* ============================================================
   STATIC PAGES (About, Contact)
   ============================================================ */
.static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
}

.static-page h1 {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.static-page .page-subtitle {
  font-size: 17px;
  color: #666;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e63946;
}

.static-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 40px 0 16px;
}

.static-page p {
  font-size: 17px;
  color: #333;
  line-height: 1.85;
  margin-bottom: 1.25em;
}

.static-page ul {
  margin: 0 0 1.5em 1.5em;
  font-size: 17px;
  color: #333;
  line-height: 1.85;
}

.static-page li {
  margin-bottom: 0.5em;
}

.author-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e8e8e8;
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.author-info .author-role {
  font-size: 13px;
  color: #e63946;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.author-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Contact form elements */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  min-width: 100px;
}

.contact-value {
  font-size: 16px;
  color: #333;
}

.contact-value a {
  color: #e63946;
  text-decoration: underline;
}

/* ============================================================
   VIDEO PLAYER STYLES
   ============================================================ */
.video-player-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
}

.video-player-wrap iframe,
.video-player-wrap video,
.video-player-wrap .plyr {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-caption {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-red {
  color: #e63946;
}

.lazy {
  loading: lazy;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 0;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.page-btn:hover,
.page-btn.active {
  background: #e63946;
  border-color: #e63946;
  color: #fff;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
  padding: 12px 0;
}

.breadcrumb a {
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #e63946;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #ccc;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Mobile-first: base styles above are mobile
   ============================================================ */

/* Tablet: 768px and up */
@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-row {
    grid-template-columns: 2fr 1fr;
  }
}

/* Mobile: below 768px */
@media (max-width: 767px) {
  /* Nav */
  .nav {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-right {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-brand {
    font-size: 22px;
  }

  /* Hero stacks vertically */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .hero-headline {
    font-size: 26px;
  }

  .hero-deck {
    font-size: 15px;
  }

  /* Content area */
  .content-area {
    padding: 24px 16px;
  }

  /* Article grid single column */
  .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Featured section stacks */
  .featured-row {
    grid-template-columns: 1fr;
  }

  .featured-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sidebar-card {
    flex-direction: column;
  }

  .sidebar-thumb {
    width: 100%;
    min-height: 120px;
  }

  /* Newsletter */
  .newsletter-cta {
    padding: 24px 20px;
  }

  .newsletter-cta h3 {
    font-size: 20px;
  }

  /* Footer */
  .footer {
    padding: 32px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Article page */
  .article-page {
    padding: 24px 16px;
  }

  .article-headline {
    font-size: 26px;
  }

  /* Stat cards */
  .stat-cards {
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: calc(50% - 8px);
  }

  /* Category header */
  .category-header {
    padding: 24px 16px;
  }

  .category-title {
    font-size: 26px;
  }

  /* Static pages */
  .static-page {
    padding: 24px 16px;
  }

  .static-page h1 {
    font-size: 26px;
  }

  .author-card {
    flex-direction: column;
  }
}

/* Extra small: below 480px */
@media (max-width: 479px) {
  .featured-sidebar {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-width: 100%;
  }

  .bar-chart {
    gap: 8px;
  }

  .bar {
    width: 32px;
  }
}

/* Pinned TWIPB (This Week in Palm Bay) card */
.article-card-twipb-pinned {
  border-top: 4px solid #c62828;
}
.twipb-pill {
  display: inline-block;
  background: #c62828;
  color: #fff;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  margin-bottom: 6px;
}

/* ============================================================
   PALM BAY WEATHER WIDGET STYLES
   ============================================================ */
.nav-weather-widget {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fcfcfc;
  border: 1px solid #e0e0e0;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
  margin-right: 16px;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-weather-widget:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.nav-weather-widget svg {
  color: #e63946;
  flex-shrink: 0;
}

.nav-weather-widget .temp-val {
  font-weight: 700;
}

.nav-weather-widget .loc-val {
  color: #64748b;
  font-weight: 500;
}

/* Responsive Weather Widget rules */
@media (max-width: 767px) {
  .nav-weather-widget {
    margin-right: 0;
    padding: 6px 10px;
  }
  .nav-weather-widget .loc-val {
    display: none; /* Hide 'Palm Bay' label on mobile viewports to preserve space */
  }
}

/* ============================================================
   VIDEO-FIRST CINEMA HERO PLAYER LAYOUT
   ============================================================ */
.hero-band {
  background: #fff;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.hero-video-first {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  background: #fff;
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-main-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-info-block {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.hero-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-media-wrapper {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  align-self: start;
  width: 100%;
}

.hero-media-wrapper .hero-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  width: 100%;
}

/* Up Next Playlist Sidebar */
.hero-playlist-sidebar {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.hero-playlist-sidebar .sidebar-header {
  background: #1a1a1a;
  color: #fff;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #e63946;
}

.hero-playlist-sidebar .sidebar-feed {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sidebar Feed items styling */
.hero-playlist-sidebar .sidebar-card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
  align-items: flex-start;
}

.hero-playlist-sidebar .sidebar-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.hero-playlist-sidebar .sidebar-thumb {
  width: 90px;
  height: 60px;
  border-radius: 4px;
  flex-shrink: 0;
}

.hero-playlist-sidebar .sidebar-text .card-category {
  font-size: 9px;
  margin-bottom: 2px;
}

.hero-playlist-sidebar .sidebar-text .card-headline {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.hero-playlist-sidebar .sidebar-text .card-meta {
  font-size: 10px;
}

.hero-byline-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero-byline-row .hero-read {
  margin-top: 0; /* Overrides default margin-top to align nicely with byline */
}

/* Video-First responsive overrides */
@media (max-width: 991px) {
  .hero-video-first {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-playlist-sidebar {
    height: auto;
  }
  .hero-sidebar-column {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .hero-video-first {
    padding: 16px;
  }
}

/* ============================================================
   UPCOMING CIVIC MEETINGS WIDGET
   ============================================================ */
.hero-meetings-card {
  background: #fafafa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-meetings-card .card-header {
  background: #1a1a1a;
  color: #fff;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #e63946;
  margin: 0;
}

.hero-meetings-card .meetings-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-meetings-card .meeting-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meetings-card .meeting-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-meetings-card .meeting-type.council {
  color: #e63946;
}

.hero-meetings-card .meeting-type.pz {
  color: #2b6cb0;
}

.hero-meetings-card .meeting-type.budget {
  color: #2e7d32;
}

.hero-meetings-card .meeting-type.special {
  color: #6d28d9;
}

.hero-meetings-card .meeting-date {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
}

.hero-meetings-card .meeting-location {
  font-size: 11.5px;
  color: #64748b;
}

.hero-meetings-card .meeting-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  font-size: 11px;
}

.hero-meetings-card .action-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.hero-meetings-card .action-link:hover {
  text-decoration: underline;
}

.hero-meetings-card .bullet {
  color: #cbd5e1;
}

.hero-meetings-card .meeting-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 2px 0;
}

/* ============================================================
   SECURE TIP FORM & DOCUMENT DROP STYLES
   ============================================================ */
.tip-form-container {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px;
  margin-top: 24px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.tip-form-container h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  border-bottom: 2px solid #e63946;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.form-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 24px;
}

.form-desc strong {
  color: #e63946;
}

.secure-tip-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
  border: 1px solid #ccc;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 6px rgba(230, 57, 70, 0.15);
}

/* File Upload drag/drop zone design */
.file-upload-zone {
  position: relative;
  border: 2px dashed #cbd5e1;
  background-color: #fafafa;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.file-upload-zone:hover {
  border-color: #e63946;
  background-color: #fef2f2;
}

.file-upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-text {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  pointer-events: none;
}

.submit-btn {
  background: #e63946;
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s, transform 0.1s;
}

.submit-btn:hover {
  background: #c62828;
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Tip form responsive rules */
@media (max-width: 767px) {
  .tip-form-container {
    padding: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .submit-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   GOOGLE SITE SEARCH WIDGET
   ============================================================ */
.nav-search-form {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px; /* Modern pill shape */
  padding: 4px 10px 4px 14px;
  margin-right: auto; /* Push subsequent elements to the right */
  margin-left: 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 200px;
  width: 100%;
}

.nav-search-form:focus-within {
  border-color: #e63946;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
  max-width: 260px; /* Refined dynamic expansion */
}

.nav-search-form input[type="text"] {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: #1a1a1a;
  width: 100%;
  padding: 2px 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
}

.nav-search-form input[type="text"]::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.nav-search-form button {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, transform 0.15s;
}

.nav-search-form button:hover {
  color: #e63946;
  transform: scale(1.1);
}

.nav-search-form button svg {
  flex-shrink: 0;
}

/* Mobile search box in the drawer */
.nav-mobile .nav-search-form.mobile-search {
  display: flex;
  max-width: 100%;
  margin: 0 0 12px 0;
  padding: 8px 12px 8px 16px;
  background: #f8fafc;
  border-radius: 6px; /* Custom mobile input container shape */
}

.nav-mobile .nav-search-form.mobile-search input[type="text"] {
  font-size: 14px;
  padding: 4px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .nav-search-form {
    max-width: 150px;
    margin-left: 16px;
  }
  .nav-search-form:focus-within {
    max-width: 180px;
  }
}

@media (max-width: 767px) {
  .nav .nav-search-form {
    display: none; /* Hide standard navigation bar search box on mobile viewports */
  }
}

/* Top Bar Public Comment Action Button */
.nav-public-comment-btn {
  background: #1e293b;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #334155;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-left: 12px;
  margin-right: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-public-comment-btn:hover {
  background: #0f172a;
  border-color: #e63946;
  color: #ffffff !important;
  transform: translateY(-1px);
}
[data-theme="dark"] .nav-public-comment-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc !important;
}
[data-theme="dark"] .nav-public-comment-btn:hover {
  background: #334155;
  border-color: #38bdf8;
}
@media (max-width: 960px) {
  .nav .nav-public-comment-btn {
    display: none;
  }
}



/* --- Article Audio Narration Player Widget (High Contrast Premium Card) --- */
.article-audio-player {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border: 1px solid #334155 !important;
  border-left: 5px solid #f59e0b !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  margin: 22px 0 30px 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
  color: #f8fafc !important;
}
.article-audio-player .audio-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}
.article-audio-player .audio-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #f8fafc !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.article-audio-player .audio-badge {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #f59e0b !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.article-audio-player audio {
  width: 100% !important;
  height: 42px !important;
  border-radius: 6px !important;
  display: block !important;
  accent-color: #f59e0b !important;
}

/* ============================================================
   STORY RESOLUTION NOTICE & STORY ARC TIMELINE
   Editorial components for investigative arcs & superseded news
   ============================================================ */
.story-resolution-notice {
  background: #f8fafc;
  border-left: 4px solid #e63946;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0 26px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.story-resolution-notice .notice-badge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.story-resolution-notice .notice-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
}
.story-resolution-notice .notice-body a {
  color: #b91c1c;
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
  margin-top: 4px;
}
.story-resolution-notice .notice-body a:hover {
  color: #7f1d1d;
}

.story-arc-timeline {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0 28px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.story-arc-timeline .timeline-header {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}
.story-arc-timeline .timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.story-arc-timeline .timeline-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #1e293b;
}
.story-arc-timeline .timeline-list li:last-child {
  margin-bottom: 0;
}
.story-arc-timeline .timeline-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #e63946;
  font-size: 1.2rem;
  line-height: 1;
}
.story-arc-timeline .timeline-date {
  font-weight: 700;
  color: #0f172a;
}

/* ============================================================
   EXECUTIVE BRIEF & VOTE DECISION TABLE
   High-speed entry points for long investigative & meeting stories
   ============================================================ */
.executive-brief {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 22px 0 26px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.executive-brief .brief-header {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 8px;
}
.executive-brief ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.executive-brief ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1e293b;
}
.executive-brief ul li:last-child {
  margin-bottom: 0;
}
.executive-brief strong {
  color: #0f172a;
}

.vote-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0 28px 0;
}
.vote-decision-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.9rem;
}
.vote-decision-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}
.vote-decision-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: top;
}
.vote-decision-table tr:hover {
  background: #fbfcfe;
}
.vote-decision-table .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vote-decision-table .badge-success {
  background: #dcfce7;
  color: #15803d;
}
.vote-decision-table .badge-danger {
  background: #fee2e2;
  color: #b91c1c;
}
.vote-decision-table .badge-info {
  background: #e0f2fe;
  color: #0369a1;
}

