:root {
  --bg:           #FFFFFF;
  --ink:          #0A0A0A;
  --ink-soft:     #1F1F1F;
  --muted:        #5C5C5C;
  --muted-soft:   #8A8A8A;
  --line:         #E8E8E8;
  --line-strong:  #C4C4C4;

  --green:        #34E0A1;
  --green-deep:   #25C089;
  --blue:         #2034EE;
  --orange:       #FF530D;

  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max:    1320px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 18px 0;
}
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex; gap: 40px;
  justify-content: center;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-tools { display: flex; align-items: center; gap: 12px; }
.search-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  background: #fff;
}
.search-pill svg { width: 14px; height: 14px; stroke: #6E6E6E; }
.search-pill input {
  border: 0; outline: 0; background: transparent;
  width: 160px; font-size: 13.5px;
}
.search-pill input::placeholder { color: var(--muted-soft); }

.btn {
  display: inline-flex; align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .25s ease;
  white-space: nowrap;
}
.nav-cta {
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  background: #fff;
}
.nav-cta:hover { background: var(--blue); color: #fff; }
.nav-cta svg { width: 14px; height: 14px; stroke: currentColor; flex: 0 0 auto; }

/* HERO */
.hero { padding: 80px 0 130px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
}
.hero-sub {
  margin-top: 30px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.55;
}
.hero-cta {
  margin-top: 48px;
  background: var(--green);
  color: var(--ink);
  padding: 18px 30px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
}
.hero-cta:hover { background: var(--green-deep); }
.hero-cta svg { width: 16px; height: 16px; stroke: currentColor; flex: 0 0 auto; }

/* Right-column stage. Cover at top-left of column.
   Callout overlaps the BOTTOM-RIGHT quadrant of the cover.
   Chip is a vertical stack BELOW the cover with the green icon hanging up
   into the cover's bottom edge. */
.hero-stage {
  position: relative;
  height: 580px;        /* sized for cover + callout overhang */
}
.hero-cover {
  position: absolute;
  top: 0;
  left: 30px;
  width: 410px;
  aspect-ratio: 612 / 792;
  border-radius: 14px;  /* tighter than before */
  overflow: hidden;
  box-shadow: 0 24px 48px -22px rgba(0,0,0,0.18);
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Blue callout — overlaps BOTTOM-RIGHT quadrant of cover */
.hero-callout {
  position: absolute;
  right: 0;
  top: 250px;            /* lower position — anchors callout to cover's bottom half */
  width: 360px;
  padding: 30px 28px 26px;
  background: var(--blue);
  color: #fff;
  border-radius: 18px;   /* tighter than before */
  z-index: 3;
  box-shadow: 0 24px 50px -20px rgba(32,52,238,0.32);
}
.hero-callout-arrow {
  position: absolute;
  top: -22px;            /* arrow center near corner — 50% inside, 50% outside */
  right: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  /* The 8px white ring creates the "notched corner" effect — visually cuts a
     white moat out of the blue callout where they overlap, matching Figma. */
  box-shadow: 0 0 0 8px #fff, 0 6px 16px -4px rgba(255, 83, 13, 0.45);
  z-index: 5;
}
.hero-callout-arrow svg { width: 16px; height: 16px; stroke: #fff; }
.hero-callout h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 240px;
}
.hero-callout ul { list-style: none; display: block; }
.hero-callout li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.28);   /* visible white divider */
  line-height: 1.4;
}
.hero-callout li:first-child { padding-top: 0; }
/* Note: keeping border-bottom on every item, including last — matches Figma */

.hero-callout-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.95);
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  width: 100%;
}
.hero-callout-link:hover { opacity: 0.85; }
.hero-callout-link svg { width: 14px; height: 14px; stroke: #fff; flex: 0 0 auto; }

/* FEATURED */
.featured { padding: 60px 0 96px; }
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    ".     eyebrow"
    "cover text";
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 18px;
  align-items: start;
}
.featured-grid > .featured-eyebrow { grid-area: eyebrow; margin-bottom: 0; }
.featured-grid > .featured-cover   { grid-area: cover; }
.featured-grid > .featured-text    { grid-area: text; }
.featured-cover {
  aspect-ratio: 612 / 792;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.22);
}
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }

.featured-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 14px;
}
.featured-title {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.featured-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 460px;
}

.btn-view {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-view:hover { background: var(--ink); color: #fff; }
.btn-view svg { width: 14px; height: 14px; stroke: currentColor; flex: 0 0 auto; }

.featured-row {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* fade-out edges so additional cards hint at "more to scroll" */
  mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
  padding-right: 40px;
  padding-bottom: 4px;
}
.featured-row::-webkit-scrollbar { display: none; }
.related-card {
  flex: 0 0 220px;
  display: grid;
  gap: 14px;
  justify-items: center;
  scroll-snap-align: start;
}
.related-cover {
  width: 100%;
  aspect-ratio: 612 / 792;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.14);
}
.related-cover.placeholder {
  display: grid; place-items: center;
  text-align: center;
  padding: 18px;
  color: #fff;
}
.placeholder .label-row {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.placeholder h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.placeholder p {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.cov-diversity { background: linear-gradient(155deg, #2A1A3F 0%, #6B2FB3 60%, #C95FB7 100%); }
.cov-travel    { background: linear-gradient(155deg, #5C2C0F 0%, #C46133 50%, #F5B04C 100%); }
.cov-cuisine   { background: linear-gradient(155deg, #6E1E1E 0%, #C44E32 50%, #F2A562 100%); }
.cov-pets      { background: linear-gradient(155deg, #1F3D2D 0%, #4A7E5C 50%, #95C49B 100%); }

.related-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-align: center;
}
.related-btn {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: #fff;
}
.related-btn:hover { background: var(--ink); color: #fff; }

/* TOPICS */
.topics { padding: 80px 0 96px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.topic-card {
  position: relative;
  aspect-ratio: 1 / 1;
  transition: transform .35s ease;
}
.topic-card:hover { transform: translateY(-4px); }

/* The notched image surface — SVG clip-path with rounded inner corners */
.topic-card-image {
  position: absolute;
  inset: 0;
  clip-path: url(#topic-card-shape);
}
.topic-card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%);
}

/* Green arrow chip — sits in the top-right notch white area */
.topic-arrow {
  position: absolute;
  top: 8px; right: 8px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  z-index: 3;
  transition: transform .3s ease;
}
.topic-card:hover .topic-arrow { transform: rotate(-45deg); }
.topic-arrow svg { width: 14px; height: 14px; stroke: #0A0A0A; }

/* Label — sits in the bottom-left notch white area */
.topic-label {
  position: absolute;
  bottom: 6px;
  left: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  z-index: 2;
}

.topic-travel    { background: linear-gradient(160deg, #5B7AA0 0%, #9DB7CF 100%); }
.topic-pets      { background: linear-gradient(160deg, #C9956C 0%, #E5BFA0 100%); }
.topic-lifestyle { background: linear-gradient(160deg, #7B4F8A 0%, #B883C5 100%); }
.topic-cuisine   { background: linear-gradient(160deg, #A03A2C 0%, #D67050 100%); }

/* EDITOR'S PICK */
.editors { padding: 60px 0 100px; }
.editors-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.editors-tag {
  display: inline-flex;
  background: var(--ink);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 22px;
}
.editors-title {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.editors-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 360px;
}

/* 3-column vertical marquee. 8 cards per column, duplicated for seamless loop. */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  height: 600px;
  overflow: hidden;
}
.story-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scrollUp var(--col-speed, 38s) linear infinite;
}
.story-column:nth-child(1) { --col-speed: 42s; }
.story-column:nth-child(2) { --col-speed: 36s; animation-delay: -8s; }
.story-column:nth-child(3) { --col-speed: 48s; animation-delay: -3s; }

.story-grid:hover .story-column { animation-play-state: paused; }

@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.story-card {
  flex: 0 0 auto;
  aspect-ratio: 612 / 792;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease;
}
.story-card:hover { transform: scale(1.02); }
.story-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder gradients — to be replaced with real photoshop thumbnails */
.t1  { background: linear-gradient(160deg, #1F4D6B 0%, #4A85AD 100%); }
.t2  { background: linear-gradient(160deg, #6B1F3D 0%, #B14A6B 100%); }
.t3  { background: linear-gradient(160deg, #5C4A1E 0%, #C0995A 100%); }
.t4  { background: linear-gradient(160deg, #3D2563 0%, #6E4FA0 100%); }
.t5  { background: linear-gradient(160deg, #2C5C3F 0%, #5B9F77 100%); }
.t6  { background: linear-gradient(160deg, #6B341B 0%, #B26B45 100%); }
.t7  { background: linear-gradient(160deg, #1B3D5C 0%, #4A6FA0 100%); }
.t8  { background: linear-gradient(160deg, #5C1B3F 0%, #A04A6E 100%); }
.t9  { background: linear-gradient(160deg, #4A3D1E 0%, #A08F5A 100%); }
.t10 { background: linear-gradient(160deg, #2E1B5C 0%, #5A4AA0 100%); }
.t11 { background: linear-gradient(160deg, #1E5C4A 0%, #4A9F8F 100%); }
.t12 { background: linear-gradient(160deg, #5C2E1B 0%, #A06F4A 100%); }
.t13 { background: linear-gradient(160deg, #2A6B7B 0%, #5AAFC0 100%); }
.t14 { background: linear-gradient(160deg, #7B2A4A 0%, #C05A82 100%); }
.t15 { background: linear-gradient(160deg, #6B5A2A 0%, #C0A55A 100%); }
.t16 { background: linear-gradient(160deg, #4A2A7B 0%, #825AC0 100%); }
.t17 { background: linear-gradient(160deg, #2A7B4A 0%, #5AC082 100%); }
.t18 { background: linear-gradient(160deg, #7B4A2A 0%, #C0825A 100%); }
.t19 { background: linear-gradient(160deg, #1B3F5C 0%, #4A82A0 100%); }
.t20 { background: linear-gradient(160deg, #5C1B3D 0%, #A04A6B 100%); }
.t21 { background: linear-gradient(160deg, #4A3D2A 0%, #A0825A 100%); }
.t22 { background: linear-gradient(160deg, #3D1E5C 0%, #6E4AA0 100%); }
.t23 { background: linear-gradient(160deg, #1E5C3D 0%, #4A9F6E 100%); }
.t24 { background: linear-gradient(160deg, #5C3D2A 0%, #A0825A 100%); }

/* FOOTER */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.footer-brand img { height: 44px; filter: invert(1); margin-bottom: 16px; }
.footer-brand p { max-width: 360px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.62); }

.footer-form {
  display: flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 4px 4px 4px 22px;
  margin-bottom: 28px;
}
.footer-form input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: #fff;
  font-size: 13.5px;
  padding: 12px 0;
}
.footer-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-form button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  transition: background .25s ease;
}
.footer-form button:hover { background: rgba(255,255,255,0.2); }
.footer-form button svg { width: 16px; height: 16px; stroke: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.back-top {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.13);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #fff;
  transition: background .25s ease;
}
.back-top:hover { background: rgba(255,255,255,0.22); }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .nav-links { gap: 28px; }
  .search-pill input { width: 110px; }
  .hero-grid, .featured-grid, .editors-grid { gap: 40px; }
  .hero-cover { width: 360px; left: 20px; }
  .hero-callout { width: 320px; top: 220px; }
  .hero-stage { height: 560px; }
}
@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto auto; gap: 12px; }
  .nav-links, .search-pill { display: none; }
  .hero-grid, .featured-grid, .editors-grid { grid-template-columns: 1fr; }
  .hero-stage { height: auto; min-height: 580px; position: relative; }
  .hero-cover { position: relative; left: 0; width: 280px; margin: 0 auto; }
  .hero-callout { position: relative; right: 0; width: 100%; max-width: 360px; top: 0; margin: 30px auto 0; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}

/* =================== Day 4 additions =================== */

/* =====================================================================
   ARTICLE PAGE
   ===================================================================== */
.article {
  padding: 60px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.article-category-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-soft); }
.article-title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.article-excerpt {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 36px;
}
.article-hero {
  margin: 36px -40px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.4em 0 0.5em;
}
.article-body h1 { font-size: 36px; }
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 22px; }
.article-body h4 { font-size: 18px; }
.article-body p { margin: 0 0 1.3em; }
.article-body a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  transition: opacity .2s ease;
}
.article-body a:hover { opacity: 0.65; }
.article-body img {
  border-radius: 14px;
  margin: 1.4em 0;
  width: 100%;
  height: auto;
}
.article-body ul, .article-body ol { margin: 0 0 1.3em 1.6em; }
.article-body li { margin: 0.4em 0; }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 4px 24px;
  margin: 1.6em 0;
  color: var(--muted);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.article-body pre {
  background: var(--ink);
  color: #F5F5F5;
  padding: 20px;
  border-radius: 14px;
  overflow-x: auto;
  margin: 1.4em 0;
  font-size: 14px;
  line-height: 1.65;
}
.article-body code {
  background: rgba(10,10,10,0.06);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

.article-tags {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #F5F5F0;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: background .2s ease;
}
.article-tag:hover { background: var(--ink); color: #fff; }

.article-related {
  background: #FAFAF8;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.article-related-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
}
.article-related-head h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-article-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.related-article-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.related-article-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #1F4D6B 0%, #4A85AD 100%);
}
.related-article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.related-article-card-body { padding: 20px 22px 24px; }
.related-article-card-cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.related-article-card h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}

/* =====================================================================
   CATEGORY LISTING
   ===================================================================== */
.category-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.category-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.category-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
}
.category-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}
.category-grid {
  padding: 60px 0 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.category-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-bottom: 80px;
  font-size: 14px;
}
.category-pager a {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-weight: 500;
  transition: all .2s ease;
}
.category-pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.category-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  font-size: 17px;
}

/* =====================================================================
   404
   ===================================================================== */
.notfound {
  padding: 120px 0 140px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.notfound-num {
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 28px;
}
.notfound h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.notfound p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 36px;
}

/* Newsletter form states */
.footer-form.is-loading button { opacity: 0.5; pointer-events: none; }
.footer-msg {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  min-height: 18px;
}
.footer-msg.is-error   { color: #FF8A6B; }
.footer-msg.is-success { color: #34E0A1; }

/* Article hero responsive */
@media (max-width: 800px) {
  .article-hero { margin: 24px -24px; border-radius: 0; }
  .article { padding: 40px 24px 80px; }
  .article-related-grid, .category-grid { grid-template-columns: 1fr; }
  .article-related-head { flex-direction: column; align-items: start; gap: 16px; }
}

/* =====================================================================
   ARTICLE → MAGAZINE BACKLINK (Day 6.5)
   Shown at the end of an article when it's part of a magazine issue.
   Reinforces the editorial relationship and pulls readers back into
   the magazine viewer.
   ===================================================================== */
.article-magazine-backlink {
  margin: 48px 0 24px;
  padding: 24px 28px;
  background: #F5F5F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.article-magazine-backlink-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
}
.article-magazine-backlink-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.article-magazine-backlink-meta strong {
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.article-magazine-backlink-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}
.article-magazine-backlink-cta:hover {
  transform: translateX(2px);
  background: #2034EE;  /* same blue as the homepage callout */
}
@media (max-width: 640px) {
  .article-magazine-backlink {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
  }
  .article-magazine-backlink-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Day 7c — editorial topic cards (tennis-style),
/* ============================================================
   Day 7c — editorial topic cards (tennis-style)
   ============================================================ */

.topics .wrap { position: relative; }

.topic-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 4px 28px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  grid-template-columns: none !important;
}
.topic-grid::-webkit-scrollbar { display: none; }

.topic-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none;
  color: #0a0a0a;
  background: #f7f5f1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  clip-path: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 480px;
  aspect-ratio: auto !important;
}
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
.topic-card.is-featured { background: var(--green); }

.topic-card-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.topic-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }

.topic-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.topic-chip-soft { background: rgba(255, 255, 255, 0.55); }
.topic-card.is-featured .topic-chip-soft { background: rgba(0, 0, 0, 0.08); }

.topic-card-title {
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: #0a0a0a;
}
.topic-card-dek { font-size: 13px; line-height: 1.4; color: rgba(0,0,0,0.65); margin: 0; }
.topic-card.is-featured .topic-card-dek { color: rgba(0, 0, 0, 0.7); }

.topic-card-image {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 auto;
  min-height: 240px;
  background-size: cover !important;
  background-position: center !important;
  clip-path: none !important;
  border-radius: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.topic-card-image::after { display: none !important; content: none !important; }

.topic-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.topic-card-arrow svg { width: 14px; height: 14px; stroke: #0a0a0a; }
.topic-card:hover .topic-card-arrow { transform: scale(1.08); background: #0a0a0a; }
.topic-card:hover .topic-card-arrow svg { stroke: #fff; }

.topic-card .topic-label,
.topic-card .topic-arrow { display: none !important; }

.topic-scroll-prev,
.topic-scroll-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s, opacity 0.15s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
}
.topic-scroll-prev { left: -10px; }
.topic-scroll-next { right: -10px; }
.topic-scroll-prev:hover,
.topic-scroll-next:hover { background: #0a0a0a; }
.topic-scroll-prev:hover svg,
.topic-scroll-next:hover svg { stroke: #fff; }
.topic-scroll-prev[disabled],
.topic-scroll-next[disabled] { opacity: 0.25; pointer-events: none; }
.topic-scroll-prev svg,
.topic-scroll-next svg {
  width: 18px;
  height: 18px;
  stroke: #0a0a0a;
  stroke-width: 2;
  fill: none;
}

/* ============================================================
   Day 7d v3 — Mobile & responsive polish
   - Hamburger drawer with disabled search
   - Magazine: title block above, cover below (mobile)
   - Editor's Pick: 2 cols at <=900, 1 col at <=500
   - Heavier hamburger, smaller logo, tighter side padding
   ============================================================ */

/* ----- Hamburger button ----- */
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0a0a0a;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

/* ----- Drawer ----- */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  z-index: 90;
  transition: opacity 0.25s ease;
}
.nav-drawer-backdrop.is-open { opacity: 1; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}
.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-drawer-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
}
.nav-drawer-close {
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-drawer-close svg { width: 22px; height: 22px; }

.nav-drawer-search { padding: 14px 22px 8px; }
.nav-drawer-search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  background: #f7f7f4;
}
.nav-drawer-search-pill svg { width: 16px; height: 16px; stroke: rgba(0, 0, 0, 0.45); flex: 0 0 auto; }
.nav-drawer-search-pill input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  min-width: 0;
}

.nav-drawer-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
  overflow-y: auto;
}
.nav-drawer-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  font-size: 17px;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background 0.15s ease;
}
.nav-drawer-list a:hover { background: rgba(0, 0, 0, 0.03); }
.nav-drawer-list a svg { width: 16px; height: 16px; color: rgba(0, 0, 0, 0.35); }

.nav-drawer-foot {
  padding: 18px 22px 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-drawer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}
.nav-drawer-cta svg { width: 16px; height: 16px; }

/* ----- Section padding ----- */
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .featured { padding: 56px 0 72px; }
  .topics { padding: 56px 0 72px; }
  .editors { padding: 56px 0 80px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 56px; }
  .featured { padding: 40px 0 56px; }
  .topics { padding: 40px 0 56px; }
  .editors { padding: 40px 0 64px; }

  /* Tighter wrap padding so logo/burger don't kiss the edges,
     but enough room for 14px breathing space */
  .nav .wrap { padding: 0 18px; }
}

/* ----- 900px: switch to mobile layout ----- */
@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr auto !important;
    gap: 16px;
    padding: 14px 0;
  }
  .nav .wrap { padding: 0 20px; }
  .nav-logo img { height: 28px; }

  .nav-primary { display: none !important; }
  .nav-tools   { display: none !important; }
  .nav-burger  { display: flex; }
  .nav-links   { display: none !important; }

  /* Magazine: stacks in DOM order on mobile —
     eyebrow → cover → title → desc → button → related.
     Use flex-column to bypass grid-area assignments entirely
     (otherwise children layered on top of each other in same cell). */
  .featured-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .featured-grid > * { grid-area: auto !important; }
  .featured-cover {
    width: 100%;
    max-width: 360px;
    margin: 12px auto 0;
  }
  .featured-text { display: block; }
  .featured-eyebrow { text-align: left; margin-bottom: 0; }
  .featured-title { font-size: clamp(28px, 8vw, 36px); margin-top: 18px; }
  .featured-desc { font-size: 15px; }

  /* Editor's Pick — 2-col marquee (legacy override-rules removed in base) */
  .editors-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    height: 480px !important;
    gap: 12px;
  }
  .story-column { display: flex !important; }
  .story-column:nth-child(3) { display: none !important; }
  .story-card { border-radius: 10px; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero-headline { font-size: clamp(36px, 10vw, 56px); }
  .hero-stage { height: auto !important; min-height: 0 !important; }
  .hero-cover {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  .hero-callout {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px auto 0 !important;
  }

  .topic-card { flex: 0 0 260px; min-height: 440px; }
  .topic-card-image { min-height: 220px; }
  .topic-card-title { font-size: 26px; }

  .topic-scroll-prev,
  .topic-scroll-next { display: none !important; }
}

/* ----- 600px: phone tweaks (story grid keeps 2 cols) ----- */
@media (max-width: 600px) {
  .story-grid { height: 420px !important; gap: 10px; }

  .topic-card { flex: 0 0 240px; min-height: 420px; }
  .topic-card-image { min-height: 200px; }
  .topic-card-title { font-size: 24px; }

  .featured-cover { max-width: 320px; }
  .featured-title { font-size: clamp(26px, 8vw, 32px); }

  .nav-logo img { height: 26px; }
}

/* ============================================================
   Day 8 — Article page redesign (magazine-style)
   - Reading progress bar (top of viewport)
   - Centered breadcrumb / category pill / title / meta
   - Big rounded hero
   - Sticky sidebar TOC at >= 1100px, collapsible mobile TOC otherwise
   - Serif body typography for editorial feel
   - Author bio card, share row, related-articles grid
   ============================================================ */

/* Bring in a serif for body copy without bloat */
/* ----- Reading progress bar ----- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.04);
  z-index: 200;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--green);
  transition: width 0.08s linear;
}

/* ----- Article shell ----- */
.article-shell {
  background: #fff;
  padding: 56px 0 24px;
}

/* ----- Header (centered, magazine-style) ----- */
.article-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-breadcrumb {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.article-breadcrumb a {
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}
.article-breadcrumb a:hover { color: #0a0a0a; }
.article-breadcrumb-sep { color: rgba(0, 0, 0, 0.3); }

.article-cat-pill {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(196, 71, 36, 0.08);
  color: var(--orange, #C44724);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  margin-bottom: 28px;
  transition: background 0.15s ease;
}
.article-cat-pill:hover { background: rgba(196, 71, 36, 0.14); }

.article-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  max-width: 880px;
  margin: 0 auto 28px;
}

.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14.5px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-meta-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 0.7;
}
.article-meta-author {
  font-size: 14.5px;
  font-weight: 600;
  color: #0a0a0a;
}

.article-updated {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
  margin: 14px 0 0;
}

.article-hero {
  margin: 44px auto 0;
  max-width: 1100px;
  width: 100%;
}
.article-hero img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

/* ----- Body layout ----- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 56px;
  gap: 48px;
}

@media (min-width: 1100px) {
  .article-layout {
    grid-template-columns: 260px minmax(0, 740px);
    max-width: 1100px;
    column-gap: 80px;
    justify-content: center;
  }
}
@media (min-width: 1100px) {
  .article-layout.is-toc-collapsed {
    grid-template-columns: 56px minmax(0, 740px);
  }
}

/* ----- Sticky TOC sidebar (desktop only) ----- */
.article-toc { display: none; }

@media (min-width: 1100px) {
  .article-toc { display: block; }
  .article-toc-sticky {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 8px;
  }
}

/* Collapsible toggle for desktop TOC */
.article-toc-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 4px 0 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.article-toc-toggle:hover { color: #0a0a0a; }
.article-toc-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.article-toc.is-collapsed .article-toc-toggle svg { transform: rotate(-90deg); }

@media (min-width: 1100px) {
  .article-toc-toggle { display: flex; }
  .article-toc-eyebrow { display: none; }
  .article-toc.is-collapsed .article-toc-list { display: none; }
  .article-toc.is-collapsed .article-toc-sticky { padding-right: 0; }
  .article-toc.is-collapsed .article-toc-toggle span { display: none; }
}

.article-toc-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-toc-list a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  padding: 4px 0 4px 12px;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.article-toc-list a:hover { color: #0a0a0a; }
.article-toc-list a.is-active {
  color: var(--orange, #C44724);
  border-left-color: var(--orange, #C44724);
  font-weight: 500;
}
.article-toc-list .article-toc-l3 a { padding-left: 26px; font-size: 13px; }

/* ----- Mobile TOC (collapsible, between hero and body) ----- */
.article-toc-mobile {
  display: block;
  margin: 0 0 32px;
  background: #f7f5f1;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
@media (min-width: 1100px) { .article-toc-mobile { display: none; } }

.article-toc-mobile summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  color: #0a0a0a;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.article-toc-mobile summary::-webkit-details-marker { display: none; }
.article-toc-mobile-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: rgba(0, 0, 0, 0.55);
}
.article-toc-mobile-chev {
  margin-left: auto;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.article-toc-mobile[open] .article-toc-mobile-chev { transform: rotate(180deg); }

.article-toc-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 50vh;
  overflow-y: auto;
}
.article-toc-mobile-list a {
  display: block;
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  padding: 4px 0;
}
.article-toc-mobile-list .article-toc-l3 a { padding-left: 16px; font-size: 13.5px; color: rgba(0, 0, 0, 0.55); }

/* ----- Article body (the read) ----- */
.article-main { min-width: 0; }

.article-lede {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.65);
  margin: 0 0 32px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.article-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: #1d1d1d;
  letter-spacing: -0.003em;
  scroll-padding-top: 100px;
}
.article-body > * { max-width: 720px; }

.article-body p {
  margin: 0 0 22px;
}
.article-body h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0a0a0a;
  margin: 56px 0 18px;
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin: 38px 0 14px;
  scroll-margin-top: 100px;
}
.article-body h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 28px 0 10px;
  color: #0a0a0a;
}
.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.article-body li { margin-bottom: 10px; }
.article-body li > p { margin-bottom: 8px; }

.article-body a {
  color: var(--orange, #C44724);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}
.article-body a:hover { color: #8a3119; }

.article-body strong { font-weight: 600; color: #000; }
.article-body em { font-style: italic; }

.article-body blockquote {
  border-left: 3px solid var(--orange, #C44724);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-size: 20px;
  font-style: italic;
  color: #2a2a2a;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body figure {
  margin: 40px 0;
  max-width: 100%;
}
.article-body figure img,
.article-body p > img,
.article-body img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.article-body figure figcaption {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13.5px;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

.article-body code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}
.article-body pre {
  background: #0a0a0a;
  color: #f7f5f1;
  padding: 22px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.5;
}
.article-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.article-body hr {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 48px auto;
  max-width: 200px;
}

/* "Related Read:" inline callouts (h5 followed by content) */
.article-body h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: rgba(196, 71, 36, 0.05);
  border-left: 3px solid var(--orange, #C44724);
  padding: 14px 18px;
  margin: 32px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange, #C44724);
  border-radius: 0 8px 8px 0;
}
.article-body h5 a {
  color: var(--orange, #C44724);
  text-decoration: underline;
}

/* ----- Magazine backlink (existing, restyled) ----- */
.article-magazine-backlink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, #4D44F0 100%);
  color: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  margin: 48px 0 0;
  flex-wrap: wrap;
}
.article-magazine-backlink-meta { display: flex; flex-direction: column; gap: 4px; }
.article-magazine-backlink-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.75;
}
.article-magazine-backlink strong { font-size: 17px; font-weight: 600; }
.article-magazine-backlink-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.article-magazine-backlink-cta:hover { transform: translateX(2px); }

/* ----- Tags ----- */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  max-width: 720px;
}
.article-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
  font-size: 12.5px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.article-tag:hover { background: rgba(0, 0, 0, 0.08); }

/* ----- Share row ----- */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 0;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 720px;
}
.article-share-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  margin-right: 6px;
}
.article-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  padding: 0;
}
.article-share-btn:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
.article-share-btn svg { width: 16px; height: 16px; }
.article-share-btn.is-copied {
  background: var(--green);
  border-color: var(--green);
  color: #0a0a0a;
}

/* ----- Author bio card ----- */
.article-author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f7f5f1;
  border-radius: 16px;
  padding: 28px;
  margin: 44px 0 0;
  max-width: 720px;
}
.article-author-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  background: #0a0a0a;
  color: #fff;
}
.article-author-avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #0a0a0a;
}
.article-author-meta { flex: 1; min-width: 0; }
.article-author-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
  margin: 0 0 6px;
}
.article-author-name {
  font-size: 19px;
  color: #0a0a0a;
  font-weight: 600;
  display: block;
}
.article-author-role {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  display: block;
  margin-top: 2px;
}
.article-author-bio {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.7);
  margin: 12px 0 0;
}

/* ----- Related articles ----- */
.article-related {
  background: #fafaf7;
  padding: 80px 0 96px;
  margin-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.article-related-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.article-related-eyebrow {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  margin: 0;
}
.article-related-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.15s ease;
}
.article-related-all:hover { color: var(--orange, #C44724); }

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #0a0a0a;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.article-related-card-image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}
.article-related-card-image-fallback {
  background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}
.article-related-card-body { padding: 18px 20px 22px; }
.article-related-card-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange, #C44724);
  font-weight: 600;
  margin: 0 0 8px;
}
.article-related-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #0a0a0a;
  letter-spacing: -0.012em;
}

@media (max-width: 900px) {
  .article-related { padding: 56px 0 72px; margin-top: 56px; }
  .article-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-related-card { flex-direction: row; align-items: stretch; }
  .article-related-card-image { aspect-ratio: 1 / 1; width: 130px; flex: 0 0 auto; }
  .article-related-card-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
  .article-related-card-title { font-size: 16px; }
}

/* ----- Mobile tweaks ----- */
@media (max-width: 900px) {
  .article-shell { padding: 32px 0 16px; }
  .article-header { text-align: center; }
  .article-meta { gap: 16px; font-size: 13.5px; }
  .article-meta-author { font-size: 16px; }
  .article-hero { margin-top: 32px; }
  .article-hero img { border-radius: 18px; }
  .article-layout { margin-top: 36px; gap: 0; }
  .article-body { font-size: 17px; line-height: 1.7; }
  .article-body h2 { margin-top: 40px; font-size: 24px; }
  .article-body h3 { margin-top: 30px; font-size: 19px; }
  .article-magazine-backlink { padding: 20px; }
  .article-author-card { flex-direction: column; padding: 20px; gap: 14px; align-items: flex-start; }
  .article-author-avatar { width: 60px; height: 60px; }
  .article-share { padding: 16px 0; }
}
