/* ═══════════════════════════════════
           CSS VARIABLES
═══════════════════════════════════ */
:root {
  --text: #1a1a1a;
  --text-muted: #595959;
  --primary-100: #fdfbe7;
  --primary-500: #ffe000;
  --primary-700: #1a55e8;
  --primary-800: #0d3199;
  --accent-400: #e8cc00;
  --accent-500: #c9af00;
  --white: #ffffff;
  --gray-300: #e2e2e2;
  --gray-600: #9a9a9a;
  --background: #f2f2f2;
  --border: #e2e2e2;
  --surface-100: #fdfbe7;
  --thumb: #e7e5e0;
  --box-shadow-sm: 0 1px 3px 0 rgba(34, 40, 42, 0.1);
  --box-shadow-md: 0 4px 20px 0 rgba(33, 37, 41, 0.05);
  --box-shadow-lg: 0 4px 20px 0 rgba(33, 37, 41, 0.15);
}

/* ═══════════════════════════════════
           RESET & BASE
═══════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  background: var(--background);
  font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
}

body {
  width: 100%;
  background: var(--background);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: inherit;
}

/* ═══════════════════════════════════
           ANIMATIONS
═══════════════════════════════════ */
@keyframes flyup {
  from { transform: translateY(14px); }
  to   { transform: none; }
}

/* ═══════════════════════════════════
           PAGE WRAPPER
═══════════════════════════════════ */
.pg-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pg-bg {
  background: var(--white);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Bootstrap utility equivalents */
.flex-grow-1 {
  flex-grow: 1 !important;
}

.overflow-auto {
  overflow: auto !important;
}

/* ═══════════════════════════════════
           HEADER & NAV
═══════════════════════════════════ */
.site-header {
  animation: flyup .5s ease both;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0 14px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.site-logo {
  text-decoration: none;
  justify-self: center;
}

.logo-text {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 800;
  font-size: 33px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
}

.logo-highlight {
  background: linear-gradient(transparent 52%, var(--primary-500) 52%);
  padding: 0 3px;
}

.menu-mobile-only {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 2px 0;
}

.menu-mobile-only .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-mobile-only .bar-short {
  width: 17px;
}

.menu-mobile-only[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  width: 24px;
}

.menu-mobile-only[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-mobile-only[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 24px;
}

@media (max-width: 768px) {
  .menu-mobile-only {
    display: flex;
  }
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 5px 30px 0;
  border-bottom: 1px solid var(--border);
}

.nav-divider {
  display: none;
}

.nav-link-util {
  color: var(--text-muted);
}

.nav-link {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
  border-bottom-color: var(--primary-500);
}

/* ═══════════════════════════════════
           SHARED SECTION ELEMENTS
═══════════════════════════════════ */
.sec-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.sec-link .sec-arrow {
  display: inline-block;
  transition: transform .22s ease;
}

.sec-link:hover .sec-arrow {
  transform: translateX(6px);
}

.sec-label {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
  background: linear-gradient(transparent 52%, var(--primary-500) 52%);
  padding: 0 3px;
}

.sec-arrow-icon {
  font-size: 18px;
  color: var(--text);
}

.sec-pill {
  display: inline-block;
  background: #f5f5f5;
  color: #3a3a3a;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 99px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: background .15s ease, border-color .15s ease;
}

.sec-pill:hover {
  background: #ebebeb;
  border-color: #cccccc;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

/* ═══════════════════════════════════
           ARTICLE LINK PATTERNS
═══════════════════════════════════ */
.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-link-row {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 14px;
}

.article-link-row-sm {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 13px;
}

/* Card hover: heading turns black with yellow underline */
.article-link:hover [class*="headline"],
.article-link-row:hover [class*="headline"],
.article-link-row-sm:hover [class*="headline"],
.hero-main:hover [class*="headline"],
.hero-secondary-top:hover [class*="headline"],
.hero-mini:hover [class*="headline"],
.hero-mini-last:hover [class*="headline"],
.most-read-item:hover .most-read-title,
.most-read-item-last:hover .most-read-title,
.editors-picks-featured:hover [class*="headline"],
.editors-picks-item:hover [class*="headline"],
.editors-picks-item-last:hover [class*="headline"],
.state-item:hover [class*="headline"],
.state-item-mid:hover [class*="headline"],
.state-item-last:hover [class*="headline"],
.in-focus-item-top:hover [class*="headline"],
.in-focus-item-bottom:hover [class*="headline"],
.traffic-aside-link:hover [class*="headline"],
.traffic-aside-link-mid:hover [class*="headline"],
.traffic-aside-link-last:hover [class*="headline"],
.weather-link:hover [class*="headline"] {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: var(--primary-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════
           THUMBNAILS
═══════════════════════════════════ */
.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--thumb);
  overflow: hidden;
}

.thumb-16x10 { width: 100%; aspect-ratio: 16 / 10; }
.thumb-16x9  { width: 100%; aspect-ratio: 16 / 9; }
.thumb-3x2   { width: 100%; aspect-ratio: 3 / 2; }
.thumb-2x1   { width: 100%; aspect-ratio: 2 / 1; }
.thumb-4x3   { width: 100%; aspect-ratio: 4 / 3; }

.thumb-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--thumb);
  width: 86px;
  height: 64px;
  flex: none;
  overflow: hidden;
}

.thumb-md {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--thumb);
  width: 100px;
  height: 72px;
  flex: none;
  overflow: hidden;
}

.thumb-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--thumb);
  width: 112px;
  height: 86px;
  flex: none;
  overflow: hidden;
}

/* Thumb image sizing */
.thumb img,
.thumb-sm img,
.thumb-md img,
.thumb-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

/* Image zoom on article hover */
a:hover .thumb img,
a:hover .thumb-sm img,
a:hover .thumb-md img,
a:hover .thumb-wide img {
  transform: scale(1.06);
}

/* ═══════════════════════════════════
           HEADLINES & TYPOGRAPHY
═══════════════════════════════════ */
.headline-xl {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-top: 16px;
}

.headline-lg {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 14px;
}

.headline-md {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 12px;
}

.headline-sm {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 12px;
}

.headline-xs {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
}

.headline-hero-secondary {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 12px;
}

.headline-state-lg {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 14px;
}

.headline-state-md {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.headline-rail {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
}

.headline-rail-sm {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text);
}

.deck {
  display: block;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 13px;
  max-width: 56ch;
}

.deck-sm {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 10px;
}

.deck-xs {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-top: 7px;
}

.deck-state {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 10px;
}

.badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--primary-500);
  padding: 2px 5px;
}

.pages .category-title {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800 !important;
  font-size: 30px !important;
  color: var(--text) !important;
  background: linear-gradient(transparent 52%, var(--primary-500) 52%);
  padding: 0 3px;
  width: fit-content;
}

/* ═══════════════════════════════════
           MAIN CONTENT AREA
═══════════════════════════════════ */
.page-main {
  width: 100%;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ═══════════════════════════════════
           HERO SECTION
═══════════════════════════════════ */
.hero-section {
  display: grid;
  grid-template-columns: 1.95fr 1fr;
  gap: 34px;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--border);
  animation: flyup .6s ease .06s both;
}

.hero-main {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hero-stack {
  display: flex;
  flex-direction: column;
}

.hero-secondary-top {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.hero-mini {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.hero-mini-last {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 14px;
  padding-top: 16px;
}

.hero-mini-content {
  display: block;
  flex: 1;
}

/* ═══════════════════════════════════
           LOCAL NEWS SECTION
═══════════════════════════════════ */
.local-section {
  display: grid;
  grid-template-columns: 1fr 308px;
  gap: 40px;
  padding: 32px 0;
  animation: flyup .65s ease .1s both;
}

.content-main-side {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
}

.article-stack {
  display: flex;
  flex-direction: column;
}

.article-link-row-sm.pb-rule {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.article-link-row-sm.py-rule {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.article-link-row-sm.pt-only {
  padding-top: 16px;
}

.row-content {
  flex: 1;
  display: block;
}

/* ═══════════════════════════════════
           MOST READ SIDEBAR
═══════════════════════════════════ */
.most-read-aside {
  align-self: start;
}

.most-read-header {
  background: var(--primary-500);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 11px 16px;
}

.most-read-body {
  background: var(--surface-100);
  padding: 2px 16px 10px;
}

.most-read-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #ece4b0;
  align-items: flex-start;
}

.most-read-item-last {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 15px;
  padding: 15px 0 4px;
  align-items: flex-start;
}

.most-read-num {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 0.85;
  color: var(--text);
  width: 26px;
  flex: none;
  margin-top: 5px;
}

.most-read-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.26;
  color: var(--text);
}

/* ═══════════════════════════════════
           GENERAL SECTION
═══════════════════════════════════ */
.section-block {
  padding: 8px 0 26px;
  border-top: 1px solid var(--border);
}

.section-sec-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ═══════════════════════════════════
           BUSINESS SECTION
═══════════════════════════════════ */
.business-section {
  display: grid;
  grid-template-columns: 1fr 308px;
  gap: 40px;
  padding: 8px 0 26px;
  border-top: 1px solid var(--border);
}

.business-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
}

/* ═══════════════════════════════════
           EDITOR'S PICKS SIDEBAR
═══════════════════════════════════ */
.editors-picks-aside {
  align-self: start;
  background: #f6f5f1;
  overflow: hidden;
  margin-top: 22px;
  padding-bottom: 20px;
}

.editors-picks-header {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 9px;
  margin: 14px 18px;
}

.editors-picks-featured {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0 18px 13px;
  border-bottom: 1px solid #e4e1d8;
}

.editors-picks-item {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 13px 18px;
  border-bottom: 1px solid #e4e1d8;
}

.editors-picks-item-last {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 13px 18px 0;
}

/* ═══════════════════════════════════
           STATE NEWS SECTION
═══════════════════════════════════ */
.state-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.state-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.state-item {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.state-item-mid {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.state-item-last {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-top: 14px;
}

/* ═══════════════════════════════════
           TRAFFIC SECTION
═══════════════════════════════════ */
.traffic-section {
  display: grid;
  grid-template-columns: 1fr 308px;
  gap: 40px;
  padding: 8px 0 26px;
  border-top: 1px solid var(--border);
}

.traffic-aside {
  align-self: start;
  background: #f6f5f1;
  overflow: hidden;
  margin-top: 22px;
  padding-bottom: 20px;
}

.traffic-aside-title {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 9px;
  margin: 14px 18px;
}

.traffic-aside-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0 18px 13px;
  border-bottom: 1px solid var(--border);
}

.traffic-aside-link-mid {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.traffic-aside-link-last {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 13px 18px 0;
}

/* Traffic section headline size override */
.traffic-section .headline-lg {
  font-size: 24px;
}

/* Traffic stack article link spacing */
.article-link.traffic-pb {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.article-link.traffic-py {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.article-link.traffic-pt {
  padding-top: 14px;
}

/* ═══════════════════════════════════
           WEATHER SECTION
═══════════════════════════════════ */
.weather-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 15px;
}

.weather-content {
  display: block;
  flex: 1;
}

/* Weather section extra bottom padding */
.section-block.weather-block {
  padding-bottom: 28px;
}

/* Badge with spacing (used in editorial labels) */
.badge-spaced {
  margin: 12px 0 6px;
}

/* ═══════════════════════════════════
           AD ZONE
═══════════════════════════════════ */
.ad_code {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
}

.ad_code iframe {
  max-width: 100%;
}

.ad-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b3ada0;
  font-weight: 700;
}

/* ═══════════════════════════════════
           IN FOCUS SECTION
═══════════════════════════════════ */
.in-focus-section {
  border-top: 1px solid var(--border);
  padding: 8px 0 32px;
}

.in-focus-header {
  padding-top: 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.in-focus-title {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
  background: linear-gradient(transparent 52%, var(--primary-500) 52%);
  padding: 0 3px;
}

.in-focus-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.in-focus-col {
  border-left: 1px solid var(--border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
}

.in-focus-item-top {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.in-focus-col .thumb-16x9 {
  margin-bottom: 12px;
}

.in-focus-item-bottom {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-top: 18px;
}

/* ═══════════════════════════════════
           FOOTER
═══════════════════════════════════ */
.site-footer {
  width: 100%;
  background: var(--background);
  padding: 44px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary-500);
  font-family: 'Newsreader', serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  padding-top: 5px;
}

.footer-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
}

.footer-nav-col {
  display: contents;
}

.footer-nav-link {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.footer-legal {
  border-top: 1px solid #d9d9d9;
  padding-top: 18px;
  width: 100%;
}

.footer-legal-links {
  width: 100%;
  text-align: center;
}

.footer-legal-link {
  text-decoration: none;
  color: #7a7a7a;
  border-left: 1px solid #cfcfcf;
  padding: 3px 14px;
  font-size: 12.5px;
  display: inline;
}

.footer-legal-link:first-child {
  border-left: none;
  padding-left: 14px;
}

.footer-note {
  font-size: 11px;
  line-height: 1.55;
  color: #9a9a9a;
  margin-top: 14px;
  width: 100%;
  text-align: center;
}

.site-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #9a9a9a;
  margin-top: 14px;
  text-align: center;
}

.site-disclaimer a {
  color: #7a7a7a;
  text-decoration: underline;
}

/* ═══════════════════════════════════
           LAYOUT RESET
═══════════════════════════════════ */
.home .container.main {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.container.layout {
  max-width: 100%;
  padding: 0;
}

.container.layout .row.layout {
  margin: 0;
}

.container.layout .row.layout > .cols {
  overflow-x: hidden;
}

.home .container.layout .row.layout > .cols {
  padding: 0;
}

.pages .main-wrapper .container.main {
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ═══════════════════════════════════
           FONTS RESET
═══════════════════════════════════ */
.pages .layout h1,
.pages .layout h2 {
  font-weight: 700;
  color: var(--text);
}

.pages .layout h1,
.pages .layout h2,
.pages .layout h3,
.pages .layout p,
.pages .layout strong {
  color: var(--text);
}

.pages .layout h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.pages .layout h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 18px;
}

.pages .layout h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 24px 0 10px;
}

.pages .layout p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.pages .layout strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .pages .layout h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .pages .layout h2 {
    font-size: 25px;
    margin: 32px 0 16px;
  }

  .pages .layout h3 {
    font-size: 20px;
    margin: 22px 0 8px;
  }

  .pages .layout p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}

/* ═══════════════════════════════════
           TABLE RESET
═══════════════════════════════════ */
table { margin: 32px 0; }

table th, table td {
  border-color: var(--border) !important;
  padding: 8px 16px !important;
}

table td {
  color: var(--text) !important;
}

table th {
  background: var(--text) !important;
  color: var(--white) !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

table tbody tr:nth-child(even) td {
  background: var(--surface-100) !important;
}

@media (max-width: 992px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    border: 0 !important;
  }
}

/* ═══════════════════════════════════
           CONTACT US FORM
═══════════════════════════════════ */
#contact-form {
  margin: 45px auto 0;
  max-width: 500px;
}

#contact-form input,
#contact-form textarea {
  flex: 1;
  border: 2px solid var(--gray-300);
  border-radius: 6px;
  outline: 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  min-width: 100%;
}

#contact-form input:active,
#contact-form input:focus,
#contact-form textarea:active,
#contact-form textarea:focus {
  border: 2px solid var(--text);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: var(--gray-600);
}

#contact-form button {
  background: var(--text);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
  width: 100%;
}

#contact-form button:hover {
  background: var(--accent-500);
}

/* ═══════════════════════════════════
           WIDGETS
═══════════════════════════════════ */

/* IMAGE STYLE RESET */
.item-current-image img {
  box-shadow: none !important;
  border-radius: 4px !important;
  border-color: var(--gray-300) !important;
}

/* SUBLIST */
.item-sublist a {
  width: 100%;
  height: 100%;
}

.item.item-bubbles {
  margin-bottom: 32px;
}

.item-bubbles .row {
  margin: 0;
}

.bubbles-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  display: flex;
  font-weight: 500;
  height: 100%;
  padding: 16px 48px 16px 24px;
  position: relative;
  transition: padding 0.2s ease-in-out;
}

.bubbles-chip:hover {
  color: var(--text);
  background: var(--surface-100);
  border-color: var(--primary-500);
  padding-left: 20px;
}

.bubbles-chip:active,
.bubbles-chip:focus {
  background: var(--primary-500);
  color: var(--text);
}

.bubbles-link {
  display: block;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.bubbles-link .bubbles-outer {
  height: 100%;
  padding: 5px;
  max-width: 100%;
}

.sibling.link-button .bubbles-link .bubbles-outer,
.sibling.link-button .bubbles-chip {
  height: auto;
}

.col-gap:has(> .item-bubbles)::before {
  display: none !important;
}

.bubbles-chip::after {
  content: url("data:image/svg+xml,%3Csvg width='13' height='12' viewBox='0 0 13 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.87771 7.01782H1.02042C0.737361 7.01782 0.496528 6.91886 0.297917 6.72094C0.0993056 6.52317 0 6.2833 0 6.00136C0 5.71942 0.0993056 5.4781 0.297917 5.2774C0.496528 5.07657 0.737361 4.97615 1.02042 4.97615H8.87771L5.66583 1.76428C5.46111 1.55955 5.35681 1.31719 5.35292 1.03719C5.34889 0.757332 5.45076 0.510249 5.65854 0.295943C5.86632 0.0948319 6.11014 -0.00377823 6.39 0.000110661C6.66986 0.00399955 6.91236 0.108583 7.1175 0.313861L12.0713 5.27407C12.1699 5.37282 12.2464 5.4856 12.3008 5.6124C12.3551 5.73935 12.3823 5.86865 12.3823 6.00032C12.3823 6.13199 12.3551 6.26122 12.3008 6.38803C12.2464 6.51497 12.1727 6.62497 12.0798 6.71803L7.10958 11.688C6.89403 11.9037 6.65368 12.0081 6.38854 12.0012C6.12354 11.9942 5.88715 11.8862 5.67938 11.6772C5.4716 11.4629 5.36771 11.2166 5.36771 10.9382C5.36771 10.6599 5.4716 10.4192 5.67938 10.2162L8.87771 7.01782Z' fill='%231a1a1a'/%3E%3C/svg%3E%0A");
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s ease-in-out;
}

.bubbles-chip:hover::after {
  right: 10px;
}

/* SUBLIST CARDS */
.item-sublist {
  padding-top: 0 !important;
}

.item-sublist:has(.sublist.card) .row > div {
  padding: 10px !important;
}

.sublist.card {
  border: none;
  border-radius: 0;
  transition: 0.2s ease-in;
}

.sublist.card .card-img-holder {
  aspect-ratio: 16 / 9;
  position: relative;
  width: 100%;
  height: auto;
}

.sublist.card .card-img-holder img {
  position: absolute;
  border-radius: 0;
  transition: 0.2s ease-in;
}

.sublist.card h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 14px;
}

.sublist.card h5 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 12px;
}

.sublist.card.horizontal h5 {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  margin-top: 0;
}

.sublist.card .card-body {
  padding: 0px;
}

.sublist.card:hover h2,
.sublist.card:hover h5 {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: var(--primary-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.sublist.card:hover img {
  transform: scale(1.06);
}

@media (max-width: 767.98px) {

  .item-sublist:has(.sublist.card) .row > div {
    padding: 0 0 10px !important;
  }

  .item-sublist {
    padding-bottom: 0 !important;
  }

  .item-sublist:has(.horizontal) {
    margin-bottom: 20px;
  }

  .container.layout .row.layout > .cols {
    padding: 0;
  }

  .row div:has(> .sublist.card) {
    padding: 0 !important;
  }

  .row:has(> div .sublist.card) {
    margin: 0;
  }

  .sublist.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
  }

  .sublist.card.horizontal {
    margin-bottom: 0;
  }

  .sublist.card .card-img-top {
    border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .sublist.card .card-body {
    flex: 1;
    /* padding: 1rem; */
  }

  .sublist.card.horizontal .card-title {
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }


  .sublist.card.horizontal h5 {
    font-size: 16px;
  }
}

/* ═══════════════════════════════════
           RESPONSIVE
═══════════════════════════════════ */

/* ── Tablet: 992px ── */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hero-secondary-top {
    grid-column: 1 / -1;
  }

  .local-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .most-read-aside {
    max-width: 480px;
  }

  .business-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editors-picks-aside {
    margin-top: 0;
    max-width: 480px;
  }

  .traffic-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .traffic-aside {
    margin-top: 0;
    max-width: 480px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .in-focus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .in-focus-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 20px;
  }

  .in-focus-grid > .article-link {
    grid-column: 1 / -1;
  }

  .state-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Mobile: 768px ── */
@media (max-width: 768px) {
  /* Header */
  .header-container {
    padding: 0 16px;
  }

  .header-grid {
    grid-template-columns: 1fr auto;
    padding: 14px 0 12px;
  }

  .header-left {
    order: 2;
    justify-content: flex-end;
  }

  .site-logo {
    order: 1;
    justify-self: start;
    grid-column: auto;
  }

  .header-right {
    display: none;
  }

  .logo-text {
    font-size: 20px;
  }

  .site-header {
    border-bottom: 1px solid var(--border);
  }

  /* Mobile nav drawer */
  .site-nav {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    border-bottom: none;
    background: var(--white);
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav .nav-link {
    padding: 13px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }

  .site-nav .nav-link:last-child {
    border-bottom: none;
  }

  .site-nav .nav-link-util {
    color: var(--text-muted);
  }

  .nav-divider {
    display: none;
  }

  /* Main container */
  .main-container {
    padding: 0 16px;
  }

  /* Hero */
  .hero-section {
    padding: 18px 0 16px;
    gap: 20px;
  }

  .hero-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-secondary-top {
    padding-bottom: 14px;
  }

  .headline-xl {
    font-size: 26px;
    margin-top: 12px;
  }

  .headline-lg {
    font-size: 21px;
    margin-top: 10px;
  }

  .headline-hero-secondary {
    font-size: 18px;
    margin-top: 10px;
  }

  .deck {
    font-size: 14px;
    margin-top: 10px;
  }

  /* Content grids */
  .content-main-side {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .business-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Sections */
  .section-block {
    padding: 6px 0 20px;
  }

  .section-header {
    padding-top: 18px;
    margin-bottom: 16px;
    gap: 12px;
  }

  .section-sec-link {
    margin: 18px 0 16px;
  }

  /* Sidebars go full width */
  .most-read-aside,
  .editors-picks-aside,
  .traffic-aside {
    max-width: 100%;
  }

  /* In focus */
  .in-focus-grid {
    grid-template-columns: 1fr;
  }

  .in-focus-grid > .article-link {
    grid-column: auto;
  }

  /* State list */
  .state-grid {
    gap: 20px;
  }

  /* Weather */
  .weather-link {
    gap: 12px;
  }

  .thumb-wide {
    width: 90px;
    height: 68px;
  }

  /* Footer */
  .footer-container {
    padding: 0 16px;
  }

  .site-footer {
    padding: 32px 0 24px;
  }

  .footer-top {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
  }

  .footer-nav-grid {
    gap: 8px 20px;
    justify-content: center;
  }

  .footer-legal-link {
    font-size: 12px;
  }
}

/* ── Small mobile: 480px ── */
@media (max-width: 480px) {
  .logo-text {
    font-size: 17px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  /* .hero-stack .hero-mini,
  .hero-stack .hero-mini-last {
    display: none;
  } */

  .headline-xl {
    font-size: 24px;
  }

  .thumb-md,
  .thumb-sm {
    width: 76px;
    height: 58px;
  }

  .most-read-num {
    font-size: 24px;
  }

  .footer-nav-grid {
    gap: 6px 16px;
  }

  .footer-legal-link {
    border-left: none;
    padding-left: 0;
  }

  .pill-group {
    display: none;
  }

  .in-focus-col {
    padding-top: 16px;
  }
}
