/* ============================================================
   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;
}

/* ============================================================
   NAV BAR
   Sticky, white, 3px red bottom border
   ============================================================ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: #fff;
  border-bottom: 3px solid #e63946;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-brand-wrap {
  display: flex;
  flex-direction: column;
}

.nav-brand {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-brand:hover {
  color: #1a1a1a;
}

.nav-tagline {
  font-size: 12px;
  color: #e63946;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
  list-style: none;
}

.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;
}

/* 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;
  min-height: 420px;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.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;
}

.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;
}

.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;
}

/* ============================================================
   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 {
  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-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;
}

/* ============================================================
   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;
}

/* ============================================================
   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 a {
  color: #e63946;
  text-decoration: underline;
}

.sources-list 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;
}

.video-player-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.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: 260px;
  }

  .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;
  }
}
