/*
Theme Name: Road News
Description: Custom theme for roadnews.com.au
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:       #f5f5f7;
  --white:    #ffffff;
  --black:    #1d1d1f;
  --red:      #C8102E;
  --red-hover:#a50d25;
  --grey-1:   #86868b;
  --grey-2:   #d2d2d7;
  --grey-3:   #f5f5f7;
  --grey-4:   #e8e8ed;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --nav-h: 56px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font-family: var(--font); }

/* ============================================================
   PAGE SWITCHER
   ============================================================ */

/* ============================================================
   READ PROGRESS BAR
   ============================================================ */
#progress-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============================================================
   CARD IMAGE PALETTES (brand-specific colour temperatures)
   ============================================================ */
.ci-lambo {
  background:
    radial-gradient(ellipse 70% 45% at 52% 62%, rgba(120,200,30,0.55) 0%, transparent 65%),
    linear-gradient(160deg, #0c1a02 0%, #182d04 40%, #090f01 100%);
}
.ci-porsche {
  background:
    radial-gradient(ellipse 60% 38% at 50% 60%, rgba(180,180,175,0.3) 0%, transparent 62%),
    linear-gradient(165deg, #111111 0%, #1c1c1c 48%, #080808 100%);
}
.ci-pagani {
  background:
    radial-gradient(ellipse 65% 45% at 55% 58%, rgba(130,30,200,0.55) 0%, transparent 65%),
    linear-gradient(160deg, #0e0518 0%, #1a0a28 40%, #070312 100%);
}
.ci-ferrari {
  background:
    radial-gradient(ellipse 70% 45% at 52% 63%, rgba(200,16,46,0.65) 0%, transparent 65%),
    linear-gradient(165deg, #180204 0%, #280408 40%, #0e0103 100%);
}
.ci-mclaren {
  background:
    radial-gradient(ellipse 70% 45% at 55% 62%, rgba(230,115,20,0.6) 0%, transparent 65%),
    linear-gradient(160deg, #140a00 0%, #201000 40%, #0c0600 100%);
}
.ci-rimac {
  background:
    radial-gradient(ellipse 65% 45% at 55% 58%, rgba(0,110,255,0.6) 0%, transparent 65%),
    linear-gradient(160deg, #000814 0%, #001022 40%, #000510 100%);
}
.ci-koenigsegg {
  background:
    radial-gradient(ellipse 70% 45% at 55% 62%, rgba(0,90,200,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 40% 28% at 28% 38%, rgba(255,220,0,0.18) 0%, transparent 50%),
    linear-gradient(160deg, #04071a 0%, #080e28 40%, #030610 100%);
}
.ci-guide {
  background:
    radial-gradient(ellipse 65% 40% at 50% 58%, rgba(20,55,140,0.5) 0%, transparent 65%),
    linear-gradient(165deg, #050a18 0%, #091228 40%, #030810 100%);
}
.ci-jdm {
  background:
    radial-gradient(ellipse 65% 42% at 52% 60%, rgba(180,0,30,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 75% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
    linear-gradient(165deg, #140106 0%, #200208 40%, #0a0104 100%);
}
.ci-service {
  background:
    radial-gradient(ellipse 65% 40% at 50% 62%, rgba(180,100,20,0.45) 0%, transparent 65%),
    linear-gradient(165deg, #120800 0%, #1e1000 40%, #0a0600 100%);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245,245,247,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 16px; height: 16px; fill: #fff; }
.logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.logo-text span { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.nav-links a:hover { background: rgba(0,0,0,0.05); }
.nav-links a.active { color: var(--red); }
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-search {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.05);
  border-radius: 100px;
  padding: var(--sp-2) var(--sp-4);
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--grey-1);
  cursor: pointer;
  transition: background 0.15s;
}
.nav-search:hover { background: rgba(0,0,0,0.08); }
.nav-search svg { width: 14px; height: 14px; opacity: 0.5; }
.btn-subscribe {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-subscribe:hover { background: var(--red-hover); transform: scale(1.02); }


/* ============================================================
   SPLIT HERO (Kicker-style)
   ============================================================ */
.kicker-hero {
  display: grid;
  grid-template-columns: 62fr 38fr;
  height: 580px;
  max-height: 88vh;
  min-height: 460px;
}
.kicker-hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.kicker-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.kicker-card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}
.kicker-card:hover .kicker-card-img { transform: scale(1.04); }

/* Simulated editorial car photography via layered gradients */
.kicker-img-1 {
  background-image: url('https://images.unsplash.com/photo-1544636331-e26879cd4d9b?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}
.kicker-img-2 {
  background-image: url('https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?auto=format&fit=crop&w=700&q=80');
  background-size: cover;
  background-position: center;
}
.kicker-img-3 {
  background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=700&q=80');
  background-size: cover;
  background-position: center;
}

.kicker-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.12) 35%,
    rgba(0,0,0,0.62) 72%,
    rgba(0,0,0,0.88) 100%
  );
  transition: background 0.3s;
}
.kicker-card:hover .kicker-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.08) 35%,
    rgba(0,0,0,0.52) 72%,
    rgba(0,0,0,0.78) 100%
  );
}
.kicker-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 26px 24px;
  z-index: 2;
}
.kicker-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 11px;
}
.kicker-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 10px;
  border-radius: 2px;
  line-height: 1;
}
.kicker-tag-dark { background: rgba(0,0,0,0.7); }
.kicker-card-title {
  font-size: clamp(16px, 1.9vw, 24px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.22;
  color: #fff;
  margin-bottom: 10px;
}
.kicker-card.large .kicker-card-title {
  font-size: clamp(22px, 2.8vw, 38px);
  letter-spacing: -0.028em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.kicker-card-byline {
  font-size: 11px;
  color: rgba(255,255,255,0.58);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.kicker-byline-sep { opacity: 0.35; }
.kicker-hero-right .kicker-card:first-child {
  border-bottom: 2px solid rgba(255,255,255,0.07);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--grey-4);
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black);
}
.section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: opacity 0.15s;
}
.section-link:hover { opacity: 0.7; }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip { padding: var(--sp-8) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-4);
}
.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.feature-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111 center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.feature-card.large .feature-card-img { aspect-ratio: 4/3; }
.car-shape {
  display: none;
}
.car-shape-1 {
  background:
    radial-gradient(ellipse 70% 40% at 60% 65%, rgba(200,16,46,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 20% at 50% 75%, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.car-shape-2 { background: radial-gradient(ellipse 70% 40% at 55% 60%, rgba(255,200,50,0.4) 0%, transparent 70%); }
.car-shape-3 { background: radial-gradient(ellipse 70% 40% at 55% 60%, rgba(50,150,255,0.4) 0%, transparent 70%); }
.feature-card-body { padding: var(--sp-4); }
.card-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-2);
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: var(--sp-2);
}
.feature-card.large .card-title { font-size: 22px; }
.card-excerpt {
  font-size: 13px;
  color: var(--grey-1);
  line-height: 1.55;
  margin-bottom: var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-card.large .card-excerpt { -webkit-line-clamp: 3; }
.card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  color: var(--grey-1);
}
.card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-2); }

/* ============================================================
   CONTENT + SIDEBAR LAYOUT
   ============================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-7);
  padding: var(--sp-8) 0 var(--sp-9);
}

/* card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.post-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  background: #111 center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.post-card-body { padding: var(--sp-4); }

/* post list */
.post-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.post-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--sp-4);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-list-item:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.post-list-thumb { aspect-ratio: 1; background: linear-gradient(135deg, #1a0a08 0%, #2d1a0e 100%); }
.post-list-body {
  padding: var(--sp-3) var(--sp-4) var(--sp-3) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-list-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: var(--sp-2);
}
.post-list-meta { font-size: 11px; color: var(--grey-1); display: flex; gap: var(--sp-3); }

/* sidebar */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.widget-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--grey-4);
}
.trending-list { list-style: none; }
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--grey-4);
  cursor: pointer;
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-num {
  font-size: 18px;
  font-weight: 900;
  color: var(--grey-2);
  letter-spacing: -0.03em;
  line-height: 1;
  min-width: 24px;
  flex-shrink: 0;
}
.trending-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--black); }
.trending-meta { font-size: 11px; color: var(--grey-1); margin-top: 2px; }

/* categories */
.cat-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cat-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  background: var(--grey-4);
  border-radius: 100px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cat-pill:hover { background: var(--red); color: #fff; }

/* sidebar ad */
.sidebar-ad {
  width: 300px;
  height: 250px;
  background: var(--grey-4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--grey-1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px dashed var(--grey-2);
  margin-bottom: var(--sp-5);
}

/* ============================================================
   DRIVE-AWAY CALCULATOR
   ============================================================ */
.calculator-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-4);
  overflow: hidden;
  margin-bottom: var(--sp-7);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.calc-header {
  background: var(--black);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.calc-header-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.calc-header-text {}
.calc-header-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.calc-header-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.calc-inputs {
  padding: var(--sp-6);
  border-right: 1px solid var(--grey-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.calc-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.calc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-1);
}
.calc-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--grey-4);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.calc-input-wrap:focus-within { border-color: var(--red); }
.calc-prefix {
  background: var(--grey-4);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-1);
  white-space: nowrap;
  border-right: 1.5px solid var(--grey-4);
}
.calc-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  background: transparent;
  width: 100%;
}
.calc-select {
  width: 100%;
  border: 1.5px solid var(--grey-4);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  outline: none;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s;
}
.calc-select:focus { border-color: var(--red); }
.calc-check-row { display: flex; flex-direction: column; gap: var(--sp-2); }
.calc-check {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--black);
  cursor: pointer;
}
.calc-check input[type="checkbox"] { accent-color: var(--red); width: 15px; height: 15px; }
.calc-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: var(--sp-2);
}
.calc-btn:hover { background: var(--red-hover); transform: scale(1.01); }
.calc-results {
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-placeholder {
  text-align: center;
  color: var(--grey-1);
}
.calc-placeholder-icon {
  font-size: 32px;
  margin-bottom: var(--sp-3);
  opacity: 0.25;
}
.calc-placeholder p { font-size: 13px; line-height: 1.6; max-width: 200px; margin: 0 auto; }
.calc-result-rows { width: 100%; }
.calc-result-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-1);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--grey-4);
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--grey-4);
  font-size: 13px;
  color: var(--black);
  gap: var(--sp-3);
}
.calc-row:last-of-type { border-bottom: none; }
.calc-row span:first-child { color: var(--grey-1); }
.calc-row span:last-child { font-weight: 600; white-space: nowrap; }
.calc-row.lct-row span:first-child { color: var(--red); font-weight: 600; }
.lct-note { font-size: 10px; font-weight: 500; color: var(--grey-1); display: block; margin-top: 2px; }
.calc-total {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 2px solid var(--black) !important;
  border-bottom: none !important;
}
.calc-total span:first-child { font-weight: 700; color: var(--black); font-size: 14px; }
.calc-total span:last-child { font-size: 18px; font-weight: 900; color: var(--black); letter-spacing: -0.02em; }
.lct-callout {
  margin-top: var(--sp-4);
  background: rgba(200,16,46,0.06);
  border: 1px solid rgba(200,16,46,0.15);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: 12px;
  color: var(--black);
  line-height: 1.55;
}
.lct-callout strong { color: var(--red); }
.calc-disclaimer {
  font-size: 11px;
  color: var(--grey-1);
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--grey-4);
  line-height: 1.55;
  background: var(--grey-3);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: var(--black);
  padding: var(--sp-9) var(--sp-5);
  text-align: center;
}
.newsletter-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-3);
}
.newsletter-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--sp-4);
  line-height: 1.05;
}
.newsletter-deck {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin: 0 auto var(--sp-6);
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto var(--sp-4);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s;
}
.newsletter-form:focus-within { border-color: rgba(255,255,255,0.3); }
.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 14px;
  color: #fff;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--red-hover); }
.newsletter-note { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-8) var(--sp-5) var(--sp-6);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.footer-logo-mark {
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 4px;
}
.footer-logo-text { font-size: 14px; font-weight: 700; color: #fff; }
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  max-width: 240px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-4);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--sp-3); }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.15s; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: var(--sp-5); }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.25); cursor: pointer; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }


/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-hero {
  height: 65vh;
  min-height: 500px;
  background: linear-gradient(160deg, #0a0a0a 0%, #1a0808 40%, #0d0d1a 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 65% 45%, rgba(200,16,46,0.1) 0%, transparent 70%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-5) var(--sp-8);
  width: 100%;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-5);
}
.breadcrumbs a { cursor: pointer; transition: color 0.15s; }
.breadcrumbs a:hover { color: rgba(255,255,255,0.7); }
.breadcrumbs span { opacity: 0.3; }
.article-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.article-tag-pill {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.article-type { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }
.article-headline {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  max-width: 780px;
  margin-bottom: var(--sp-5);
}
.article-byline { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff4466);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.byline-name { font-size: 13px; font-weight: 600; color: #fff; }
.byline-meta { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 1px; }
.byline-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }
.byline-stat { text-align: center; }
.byline-stat-val { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); }
.byline-stat-label { font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 1px; }

/* article body */
.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-5) var(--sp-9);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-7);
}
.article-prose {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  max-width: 680px;
}
.article-prose p { margin-bottom: var(--sp-5); }
.article-prose p:first-of-type::first-letter {
  font-size: 72px;
  font-weight: 900;
  line-height: 0.85;
  float: left;
  margin: 4px 10px 0 0;
  color: var(--red);
  letter-spacing: -0.03em;
}
.article-prose h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--black);
  margin: var(--sp-7) 0 var(--sp-4);
  line-height: 1.2;
}
.article-prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin: var(--sp-6) 0 var(--sp-3);
}
.pull-quote {
  border-left: 3px solid var(--red);
  margin: var(--sp-7) 0;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  background: rgba(200,16,46,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.pull-quote p {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--black);
  margin: 0;
  font-style: italic;
}
.pull-quote p::first-letter { all: unset; }

/* spec table */
.spec-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-4);
  margin: var(--sp-6) 0;
}
.spec-table-header {
  background: var(--black);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td {
  padding: 11px var(--sp-5);
  font-size: 14px;
  border-bottom: 1px solid var(--grey-4);
}
.spec-table td:first-child { color: var(--grey-1); font-weight: 500; width: 45%; }
.spec-table td:last-child { font-weight: 700; color: var(--black); }
.spec-table tr:nth-child(even) td { background: rgba(0,0,0,0.015); }

/* author bio */
.author-bio {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
  border: 1px solid var(--grey-4);
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff4466);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.author-bio-name { font-size: 15px; font-weight: 700; margin-bottom: var(--sp-1); }
.author-bio-role { font-size: 12px; color: var(--red); font-weight: 600; margin-bottom: var(--sp-3); }
.author-bio-text { font-size: 13px; color: var(--grey-1); line-height: 1.6; }

/* article sidebar */
.sidebar-nl-widget {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.sidebar-nl-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: var(--sp-2); }
.sidebar-nl-text { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.55; margin-bottom: var(--sp-4); }
.sidebar-nl-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: #fff;
  outline: none;
  margin-bottom: var(--sp-3);
}
.sidebar-nl-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-nl-btn:hover { background: var(--red-hover); }
.article-sidebar .sidebar-widget { position: sticky; top: calc(var(--nav-h) + 16px); }

/* related posts */
.related-section {
  background: var(--white);
  border-top: 1px solid var(--grey-4);
  padding: var(--sp-8) 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

/* ============================================================
   WORDPRESS OVERRIDES
   ============================================================ */
.wp-block-image img, .wp-post-image { max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
.screen-reader-text { position: absolute; left: -9999px; }
#wpadminbar { position: fixed !important; }
body.admin-bar .nav { top: 32px; }
.page-id-4 .site-main, .home .site-main { display: none; }

/* Post list image fallback */
.post-card-img img, .feature-card-img img, .kicker-card-img img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}

/* Sidebar newsletter widget */
.sidebar-nl-widget {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.sidebar-nl-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: var(--sp-2); }
.sidebar-nl-desc { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: var(--sp-4); line-height: 1.5; }
.sidebar-nl-input {
  width: 100%; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; color: #fff;
  outline: none; margin-bottom: var(--sp-3);
}
.sidebar-nl-btn {
  width: 100%; background: var(--red); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 10px; font-size: 13px;
  font-weight: 600; cursor: pointer;
}
.sidebar-nl-btn:hover { background: var(--red-hover); }

/* ─── UX Improvements ──────────────────────────────────────────── */

/* [3] Trust Bar */
.trust-bar {
  background: var(--black);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.trust-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* [1] Hero Headline Hook */
.hero-hook {
  background: var(--bg);
  padding: 28px 0 10px;
}
.hero-hook-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-1);
  margin: 0;
}

/* [6] Bigger lead card title */
.kicker-card.large .kicker-card-title {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.18;
}

/* [5] Category Strip */
.cat-strip {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 0;
}
.cat-strip-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cat-strip-pill {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  background: var(--bg);
  border-radius: 20px;
  padding: 6px 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.cat-strip-pill:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* [4] Inline Newsletter Banner */
.inline-nl-banner {
  background: var(--black);
  padding: 44px 0;
}
.inline-nl-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.inline-nl-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.inline-nl-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.inline-nl-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.inline-nl-input {
  padding: 11px 16px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  width: 240px;
  outline: none;
  font-family: inherit;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.inline-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.inline-nl-input:focus { background: rgba(255,255,255,0.13); }
.inline-nl-btn {
  padding: 11px 22px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: opacity 0.18s;
}
.inline-nl-btn:hover { opacity: 0.88; }

/* [2] Full-width card grid (4-up on desktop) */
.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid-4 { grid-template-columns: 1fr; }
}

/* [7] About Road News Module */
.about-rn-module {
  background: #fff;
  padding: 56px 0;
  border-top: 1px solid #e8e8e8;
}
.about-rn-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.about-rn-mark {
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-rn-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.about-rn-body {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  max-width: 700px;
  margin: 0;
}
.about-rn-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.about-rn-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.about-rn-link:hover { text-decoration: underline; }

/* Responsive: stack inline NL on mobile */
@media (max-width: 700px) {
  .inline-nl-inner { flex-direction: column; align-items: flex-start; }
  .inline-nl-form { width: 100%; flex-direction: column; }
  .inline-nl-input { width: 100%; }
  .about-rn-inner { flex-direction: column; }
}
