/* ============================================================
   KnowYourGujarat — Blog & Article Pages
   Editorial Civic Design System — Minimal, Clean, White
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --blog-navy:       #0A1C3E;
  --blog-navy-dark:  #061128;
  --blog-saffron:    #E8680A;
  --blog-green:      #16A34A;
  --blog-muted:      #5A6B82;
  --blog-border:     #E2E8F0;
  --blog-border-lt:  #F1F5F9;
  --blog-bg:         #FFFFFF;
  --blog-bg-soft:    #F8FAFC;
  --blog-lineart:    #7B91B0;
}

/* ─── Base ───────────────────────────────────────────────── */
.blog-page-main {
  background: #FFFFFF;
  color: var(--blog-navy);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  padding-top: 64px;
  overflow-x: hidden;
}

.blog-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Hero Section ───────────────────────────────────────── */
.blog-hero {
  position: relative;
  height: 640px;
  min-height: 580px;
  max-height: 680px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--blog-border);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Inner content container — aligns precisely to site grid */
.blog-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Left: Editorial content (50-55% width) */
.blog-hero__left {
  position: relative;
  z-index: 5;
  width: 50%;
  max-width: 520px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  margin-left: 0;
}

/* Eyebrow: BLOG label + saffron line */
.blog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.blog-eyebrow-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--blog-saffron);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.blog-eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--blog-saffron);
  border-radius: 1px;
}

/* Headline */
.blog-hero__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(46px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blog-navy);
  margin: 0 0 16px;
}

.blog-headline-dot {
  color: var(--blog-saffron);
}

/* Tri-color horizontal accent below headline */
.blog-hero__tricolor {
  display: flex;
  gap: 3px;
  margin-bottom: 22px;
}
.blog-tricolor-saffron { width: 26px; height: 2.5px; background: var(--blog-saffron); border-radius: 1px; }
.blog-tricolor-navy    { width: 16px; height: 2.5px; background: var(--blog-navy);    border-radius: 1px; }
.blog-tricolor-green   { width: 22px; height: 2.5px; background: var(--blog-green);   border-radius: 1px; }

/* Subtitle description */
.blog-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--blog-muted);
  max-width: 440px;
  margin: 0 0 38px;
}

/* Scroll indicator cue */
.blog-hero__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blog-muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  user-select: none;
  transition: color 0.2s ease;
}
.blog-hero__scroll:hover { color: var(--blog-navy); }

.blog-scroll-mouse {
  width: 18px;
  height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 9px;
  position: relative;
  flex-shrink: 0;
}

.blog-scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: currentColor;
  border-radius: 1px;
  animation: blogScrollDot 2s ease infinite;
}

@keyframes blogScrollDot {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  50%       { opacity: 0.35; transform: translate(-50%, 4px); }
}

/* ── Middle: Architectural Line Art Bridge ───────────────── */
.blog-hero__lineart {
  position: absolute;
  left: 38%;
  top: 8%;
  bottom: 0;
  width: 30%;
  max-width: 420px;
  background-image: url('/images/blog_hero_lineart.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 2;
}

/* ── Vertical Editorial Marker ───────────────────────────── */
.blog-hero__vert-marker {
  position: absolute;
  right: calc(38% + 22px);
  top: 48%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

.blog-hero__vert-bar {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  flex-shrink: 0;
}
.blog-vert-bar-saffron { width: 2px; height: 18px; background: var(--blog-saffron); border-radius: 1px; display: block; }
.blog-vert-bar-navy    { width: 2px; height: 12px; background: var(--blog-navy);    border-radius: 1px; display: block; }
.blog-vert-bar-green   { width: 2px; height: 16px; background: var(--blog-green);   border-radius: 1px; display: block; }

.blog-hero__vert-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-vert-line {
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blog-muted);
  opacity: 0.65;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  white-space: nowrap;
}

/* ── Right: Large Angled Editorial Photograph ─────────────── */
.blog-hero__photo-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  min-width: 420px;
  max-width: 600px;
  z-index: 3;
  overflow: hidden;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.blog-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 38%;
  display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-hero__photo-wrap:hover .blog-hero__photo {
  transform: scale(1.025);
}

/* Photo caption overlay */
.blog-hero__photo-caption {
  position: absolute;
  bottom: 30px;
  right: 34px;
  z-index: 5;
  text-align: right;
  pointer-events: none;
}

.blog-hero__photo-caption-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

.blog-hero__photo-caption-dash {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #FFFFFF;
  margin-left: auto;
  margin-top: 5px;
  opacity: 0.85;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ─── Hero Entrance Animations ───────────────────────────── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroLineartFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 0.12;
    transform: translateY(0);
  }
}

.blog-anim-fade {
  animation: heroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-anim-slide {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-anim-right {
  animation: heroSlideRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-anim-d1 { animation-delay: 0ms; }
.blog-anim-d2 { animation-delay: 100ms; }
.blog-anim-d3 { animation-delay: 220ms; }
.blog-anim-d4 { animation-delay: 320ms; }
.blog-anim-d5 { animation-delay: 420ms; }

.blog-hero__lineart {
  animation: heroLineartFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) 250ms both;
}

@media (prefers-reduced-motion: reduce) {
  .blog-anim-fade,
  .blog-anim-slide,
  .blog-anim-right,
  .blog-hero__lineart,
  .blog-hero__photo {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .blog-hero__lineart {
    opacity: 0.12 !important;
  }
}

/* ─── Category Filter Bar ────────────────────────────────── */
.blog-filter-bar {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--blog-border);
}

.blog-filter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 52px;
}

.blog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 1;
}

.blog-filter-tabs::-webkit-scrollbar {
  display: none;
}

.blog-filter-tab {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--blog-muted);
  padding: 14px 14px;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.blog-filter-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blog-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.blog-filter-tab:hover {
  color: var(--blog-navy);
}

.blog-filter-tab:hover::after {
  transform: scaleX(0.5);
}

.blog-filter-tab.is-active {
  color: var(--blog-navy);
  font-weight: 600;
}

.blog-filter-tab.is-active::after {
  transform: scaleX(1);
}

/* Search */
.blog-filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--blog-border);
  border-radius: 4px;
  padding: 7px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--blog-muted);
  min-width: 180px;
  flex-shrink: 0;
  background: #FFFFFF;
  transition: border-color 0.2s;
}

.blog-filter-search:focus-within {
  border-color: var(--blog-navy);
  outline: none;
}

.blog-filter-search svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.blog-filter-search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--blog-navy);
  background: transparent;
  width: 100%;
}

.blog-filter-search input::placeholder {
  color: var(--blog-muted);
  opacity: 0.7;
}

/* ─── Article List ───────────────────────────────────────── */
.blog-articles {
  padding: 40px 0 0;
}

.blog-article-row {
  display: grid;
  grid-template-columns: 56px 1fr auto 200px 80px;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--blog-border-lt);
  padding: 28px 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
  position: relative;
  background: transparent;
}

.blog-article-row:last-child {
  border-bottom: 1px solid var(--blog-border-lt);
}

.blog-article-row:hover {
  background: #F8FAFC;
}

.blog-article-row:hover .blog-row__title {
  color: var(--blog-navy-dark);
}

.blog-article-row:hover .blog-row__arrow {
  transform: translateX(4px);
}

.blog-article-row:hover .blog-row__img img {
  transform: scale(1.03);
}

/* Index number */
.blog-row__num {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #D1D9E4;
  line-height: 1;
  padding-left: 0;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 4px;
  user-select: none;
}

/* Content */
.blog-row__content {
  padding: 0 24px 0 0;
}

.blog-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-row__date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--blog-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-row__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blog-border);
  flex-shrink: 0;
}

.blog-row__readtime {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--blog-muted);
}

.blog-row__stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--blog-muted);
}

.blog-row__stat svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  opacity: 0.85;
}

.blog-row__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  color: var(--blog-navy);
  line-height: 1.22;
  margin: 0 0 8px;
  transition: color 0.2s ease;
}

.blog-row__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--blog-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrow */
.blog-row__arrow {
  color: var(--blog-navy);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  padding: 0 20px;
}

/* Image */
.blog-row__img {
  width: 200px;
  height: 118px;
  overflow: hidden;
  border-radius: 2px;
  flex-shrink: 0;
  background: var(--blog-bg-soft);
}

.blog-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Side label */
.blog-row__label {
  text-align: right;
  padding-left: 20px;
  flex-shrink: 0;
  min-width: 80px;
}

.blog-row__label-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blog-muted);
  text-transform: uppercase;
  line-height: 1.7;
}

/* ─── Load More ──────────────────────────────────────────── */
.blog-load-more {
  display: flex;
  justify-content: center;
  padding: 40px 0 60px;
}

.btn-blog-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blog-navy);
  border: 1px solid var(--blog-navy);
  background: transparent;
  padding: 10px 28px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}

.btn-blog-load-more:hover {
  background: var(--blog-navy);
  color: #FFFFFF;
}

/* ─── Empty & Loading States ─────────────────────────────── */
.blog-state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.blog-state-icon {
  width: 40px;
  height: 40px;
  color: var(--blog-border);
  margin-bottom: 16px;
}

.blog-state-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blog-navy);
  margin: 0 0 6px;
}

.blog-state-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--blog-muted);
  margin: 0;
}

.blog-loading-row {
  height: 118px;
  border-top: 1px solid var(--blog-border-lt);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.blog-skel {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: blogSkelShimmer 1.5s infinite;
  border-radius: 2px;
}

@keyframes blogSkelShimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ─── Pull Quote Section ─────────────────────────────────── */
.blog-quote-section {
  padding: 80px 0 60px;
  border-top: 1px solid var(--blog-border-lt);
}

.blog-quote-section__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.blog-quote__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--blog-navy);
  line-height: 1.15;
  margin: 0;
}

.blog-quote__wordmark {
  text-align: right;
  flex-shrink: 0;
}

.blog-quote__wordmark-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blog-muted);
  text-transform: uppercase;
  line-height: 1.9;
}

/* ─── Scroll-reveal animation ────────────────────────────── */
.blog-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.blog-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for sequential rows */
.blog-reveal:nth-child(1) { transition-delay: 0.00s; }
.blog-reveal:nth-child(2) { transition-delay: 0.10s; }
.blog-reveal:nth-child(3) { transition-delay: 0.20s; }
.blog-reveal:nth-child(4) { transition-delay: 0.30s; }
.blog-reveal:nth-child(5) { transition-delay: 0.40s; }

/* Hero animations */
@keyframes blogFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blogSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blogFadeInRight {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.blog-anim-fade     { animation: blogFadeIn    0.5s ease both; }
.blog-anim-slide    { animation: blogSlideUp   0.45s ease both; }
.blog-anim-right    { animation: blogFadeInRight 0.6s ease both; }

.blog-anim-d1 { animation-delay: 0.05s; }
.blog-anim-d2 { animation-delay: 0.20s; }
.blog-anim-d3 { animation-delay: 0.35s; }
.blog-anim-d4 { animation-delay: 0.50s; }
.blog-anim-d5 { animation-delay: 0.65s; }
.blog-anim-d6 { animation-delay: 0.80s; }

/* ─── Article Detail Page ────────────────────────────────── */
.article-page-main {
  background: #FFFFFF;
  color: var(--blog-navy);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  padding-top: 64px;
}

/* Breadcrumb */
.article-breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--blog-muted);
}

.article-breadcrumb a {
  color: var(--blog-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.article-breadcrumb a:hover { color: var(--blog-navy); }

.article-breadcrumb__sep {
  opacity: 0.4;
}

/* Article layout: main content (65%) + sidebar (35%) */
.article-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--blog-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  transition: color 0.15s;
}

.article-back:hover { color: var(--blog-navy); }

/* Article header */
.article-header {
  margin-bottom: 32px;
}

.article-category-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--blog-saffron);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blog-navy);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.article-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--blog-muted);
  margin: 0 0 20px;
  max-width: 580px;
}

/* Author row */
.article-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--blog-border-lt);
  border-bottom: 1px solid var(--blog-border-lt);
  margin-bottom: 28px;
}

.article-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blog-bg-soft);
  object-fit: cover;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blog-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blog-border);
}

.article-author-info {
  flex: 1;
}

.article-author-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blog-navy);
  margin: 0;
}

.article-author-role {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--blog-muted);
  margin: 0;
}

.article-meta-right {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--blog-muted);
}

/* Featured image */
.article-featured-img {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--blog-bg-soft);
  aspect-ratio: 16/10;
}

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

.article-img-caption {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--blog-muted);
  margin: 0 0 32px;
  font-style: italic;
}

/* Body content */
.article-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #334155;
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--blog-navy);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--blog-navy);
  margin: 32px 0 12px;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body a {
  color: var(--blog-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Blockquote */
.article-body blockquote,
.article-blockquote {
  border-left: 3px solid var(--blog-saffron);
  padding: 0 0 0 20px;
  margin: 32px 0;
}

.article-blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--blog-navy);
  line-height: 1.45;
  margin: 0 0 6px;
}

.article-blockquote cite {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--blog-muted);
  font-style: normal;
}

/* Article Lists & Sources */
.article-body ul,
.article-body ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.article-source-box {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0A4FCD;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 12px 0 24px;
  font-size: 13.5px;
  color: #475569;
}

.article-source-box a {
  color: #0A4FCD;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.article-source-box a:hover {
  color: #e85d04;
}

.article-sources-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 36px 0 20px;
}

.article-sources-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--blog-navy);
}

.article-sources-card ol {
  margin: 0;
  padding-left: 20px;
}

.article-sources-card li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.article-sources-card li a {
  color: #0A4FCD;
  font-weight: 500;
  text-decoration: underline;
}

.article-sources-card li a:hover {
  color: #e85d04;
}

/* Article navigation */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid var(--blog-border-lt);
  margin-top: 48px;
  background: var(--blog-border-lt);
}

.article-nav__item {
  background: #FFFFFF;
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-nav__item:hover { background: var(--blog-bg-soft); }

.article-nav__item--next {
  text-align: right;
  align-items: flex-end;
}

.article-nav__label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--blog-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-nav__title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--blog-navy);
  line-height: 1.3;
}

/* ─── Article Sidebar ────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-section {
  border-top: 1px solid var(--blog-border-lt);
  padding-top: 20px;
}

.sidebar-title {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blog-muted);
  margin: 0 0 16px;
}

/* Table of contents */
.article-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-toc li a {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--blog-muted);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  display: block;
  border-left: 1.5px solid var(--blog-border);
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4;
}

.article-toc li a:hover,
.article-toc li a.is-active {
  color: var(--blog-navy);
  border-left-color: var(--blog-navy);
  font-weight: 500;
}

/* Share */
.article-share-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  border: 1px solid var(--blog-border);
  background: transparent;
  color: var(--blog-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.article-share-btn:hover {
  background: var(--blog-navy);
  color: #FFFFFF;
  border-color: var(--blog-navy);
}

/* Copy link feedback */
.article-share-btn.is-copied {
  background: var(--blog-green) !important;
  color: #FFFFFF !important;
  border-color: var(--blog-green) !important;
}

.article-share-btn.share-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

/* Reading Progress Bar */
.article-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #e85d04, #0A4FCD);
  z-index: 99999;
  transition: width 0.1s ease;
  pointer-events: none;
}

/* Article Meta Stats & Like Button in Header */
.article-meta-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta-sep {
  color: #cbd5e1;
}

.article-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 20px;
  line-height: 1;
}

.article-stat-pill svg {
  color: #64748b;
}

.article-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
}

.article-like-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: translateY(-1px);
}

.article-like-btn.is-liked {
  background: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.article-like-btn.is-liked .like-heart-icon {
  fill: #dc2626;
  stroke: #dc2626;
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Sidebar Engagement Box */
.sidebar-engagement-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-like-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-like-btn:hover {
  border-color: #f87171;
  background: #fff5f5;
  color: #dc2626;
}

.sidebar-like-btn.is-liked {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

.sidebar-like-btn.is-liked .like-heart-icon {
  fill: #dc2626;
  stroke: #dc2626;
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar-view-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  padding-top: 2px;
}

.sidebar-view-stat svg {
  color: #94a3b8;
}

/* Bottom Reader Reaction Bar */
.article-reaction-bar {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0A4FCD;
  border-radius: 8px;
  padding: 24px;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reaction-bar-left h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.reaction-bar-left p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.reaction-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.reaction-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reaction-like-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #dc2626;
}

.reaction-like-btn.is-liked {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

.reaction-like-btn.is-liked .like-heart-icon {
  fill: #dc2626;
  stroke: #dc2626;
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reaction-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A4FCD;
  color: #FFFFFF;
  border: 1.5px solid #0A4FCD;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.reaction-share-btn:hover {
  background: #083c9c;
  transform: translateY(-1px);
}

/* Toast Notification */
.article-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100000;
  pointer-events: none;
}

.article-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .article-reaction-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .reaction-bar-right {
    width: 100%;
  }
  .reaction-like-btn,
  .reaction-share-btn {
    flex: 1;
    justify-content: center;
  }
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--blog-muted);
  border: 1px solid var(--blog-border);
  padding: 4px 10px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  cursor: default;
}

.article-tag:hover {
  background: var(--blog-bg-soft);
  color: var(--blog-navy);
}

/* Related stories */
.related-story-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--blog-border-lt);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.related-story-item:last-child { border-bottom: none; }

.related-story-img {
  width: 64px;
  height: 48px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--blog-bg-soft);
  transition: transform 0.25s;
}

.related-story-item:hover .related-story-img {
  transform: scale(1.02);
}

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

.related-story-meta {
  flex: 1;
  min-width: 0;
}

.related-story-title {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blog-navy);
  line-height: 1.3;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-story-date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--blog-muted);
  margin: 0;
}

.related-story-arrow {
  color: var(--blog-muted);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.related-story-item:hover .related-story-arrow {
  transform: translateX(2px);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-hero {
    height: 560px;
    min-height: 520px;
  }
  .blog-hero__inner {
    padding: 0 24px;
    width: 100%;
  }
  .blog-hero__left {
    width: 52%;
    max-width: 460px;
  }
  .blog-hero__headline {
    font-size: clamp(38px, 4.2vw, 50px);
  }
  .blog-hero__lineart {
    left: 36%;
    width: 28%;
    opacity: 0.08;
  }
  .blog-hero__vert-marker {
    right: calc(36% + 14px);
  }
  .blog-hero__photo-wrap {
    width: 36%;
    min-width: 320px;
    clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  /* Article rows: 3 cols (no label) */
  .blog-article-row {
    grid-template-columns: 44px 1fr auto 160px;
  }
  .blog-row__label { display: none; }

  /* Article page layout: single column */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .blog-hero {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 36px 0 28px;
    display: block;
  }
  .blog-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    width: 100%;
  }
  .blog-hero__left {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .blog-hero__eyebrow {
    margin-bottom: 16px;
  }
  .blog-hero__headline {
    font-size: clamp(34px, 8vw, 44px);
    margin-bottom: 14px;
  }
  .blog-hero__tricolor {
    margin-bottom: 18px;
  }
  .blog-hero__sub {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .blog-hero__scroll {
    margin-bottom: 28px;
  }
  .blog-hero__lineart {
    position: absolute;
    right: -10px;
    top: 10px;
    bottom: auto;
    left: auto;
    width: 180px;
    height: 180px;
    opacity: 0.07;
    pointer-events: none;
  }
  .blog-hero__vert-marker {
    display: none;
  }
  .blog-hero__photo-wrap {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 240px;
    clip-path: none;
    -webkit-clip-path: none;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
  }
  .blog-hero__photo {
    object-position: center 40%;
  }
  .blog-hero__photo-caption {
    bottom: 14px;
    right: 16px;
  }

  .blog-container { padding: 0 16px; }
  .blog-filter-bar__inner { padding: 0 16px; min-height: 46px; }
  .blog-filter-tab { font-size: 12px; padding: 12px 10px; }

  /* Article rows: 2 cols (no image, no label) */
  .blog-article-row {
    grid-template-columns: 36px 1fr auto;
    padding: 20px 0;
  }
  .blog-row__img { display: none; }
  .blog-row__label { display: none; }
  .blog-row__num { font-size: 18px; }
  .blog-row__title { font-size: 16px; }
  .blog-row__desc { display: none; }
  .blog-row__arrow { padding: 0 8px; }

  /* Quote */
  .blog-quote-section__inner {
    grid-template-columns: 1fr;
  }
  .blog-quote__wordmark { display: none; }

  /* Article */
  .article-layout { padding: 0 16px 60px; }
  .article-breadcrumb { padding: 12px 16px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 22px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__item--next { text-align: left; align-items: flex-start; }
  .blog-filter-search { display: none; }
}

@media (max-width: 374px) {
  .blog-hero__headline { font-size: 30px; }
  .blog-filter-tab { font-size: 11px; padding: 11px 8px; }
}
