/* ============================================================
   MedNewsNow Magazine — Full Stylesheet
   Style: White + Blue, multi-column editorial magazine
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700;1,800&display=swap');

:root {
  --blue:      #0057FF;
  --blue-d:    #0045CC;
  --blue-bg:   #EEF3FF;
  --blue-mid:  #1A6BFF;
  --red:       #E8002D;
  --ink:       #0C0C0E;
  --ink-2:     #2D2D30;
  --ink-3:     #5C5C62;
  --ink-4:     #8E8E96;
  --surface:   #FFFFFF;
  --surface-2: #F5F5F7;
  --surface-3: #EBEBED;
  --border:    #E0E0E4;
  --border-2:  #C8C8CE;
  --green:     #00875A;
  --amber:     #FF8800;
  --teal:      #00A3A3;
  --purple:    #7C3AED;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Playfair Display', 'Georgia', serif;
  --r:    6px;
  --r-lg: 12px;
  --max:  1220px;
  --pad:  16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--surface-2); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ═══════════════════════════════════════════════════════════
   UTILITY TOPBAR
   ═══════════════════════════════════════════════════════════ */
.topbar {
  background: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid var(--blue);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar__date { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 500; }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; transition: color .15s; }
.topbar__links a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   BREAKING TICKER
   ═══════════════════════════════════════════════════════════ */
.ticker { background: var(--red); overflow: hidden; height: 34px; display: flex; align-items: center; }
.ticker__inner { display: flex; align-items: center; height: 100%; width: 100%; }
.ticker__tag {
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 2px solid var(--red);
}
.ticker__track { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.ticker__list { display: flex; align-items: center; animation: ticker 50s linear infinite; white-space: nowrap; }
.ticker__list:hover { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding-right: 48px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.95); }
.ticker__item a { color: inherit; }
.ticker__item a:hover { text-decoration: underline; }
.ticker__dot { color: rgba(255,255,255,.4); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════════
   HEADER — Two-row magazine header
   ═══════════════════════════════════════════════════════════ */
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 var(--border); }

/* Row 1: logo + search + subscribe */
.header__top { padding: 12px 0 10px; border-bottom: 1px solid var(--border); }
.header__top-inner { display: flex; align-items: center; gap: 16px; }
.site-logo { text-decoration: none; flex-shrink: 0; }
.site-logo__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.site-logo__name span { color: var(--blue); }
.site-logo__img { max-height: 42px; }
.site-logo__tag {
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-4);
  letter-spacing: .12em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.header__search {
  flex: 1;
  max-width: 380px;
  margin: 0 auto;
  display: none;
  position: relative;
}
.header__search form { display: flex; }
.header__search-input {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 8px 16px 8px 40px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.header__search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,255,.1); }
.header__search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; width: 14px; height: 14px; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.header__icon-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink-3); cursor: pointer; transition: all .15s; }
.header__icon-btn:hover { background: var(--blue-bg); color: var(--blue); border-color: var(--blue); }
.btn-subscribe {
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 40px;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background .15s;
}
.btn-subscribe:hover { background: var(--blue-d); color: #fff; }

/* Row 2: category nav strip */
.header__nav { border-bottom: 3px solid var(--ink); overflow: hidden; }
.header__nav-inner { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.header__nav-inner::-webkit-scrollbar { display: none; }
.primary-nav { display: flex; align-items: center; }
.primary-nav a, .primary-nav li a {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 10px 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-cat > a { color: var(--blue); border-bottom-color: var(--blue); }

/* Mobile nav */
.hamburger { display: flex; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.mobile-nav { display: none; background: var(--surface); border-bottom: 1px solid var(--border); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 12px var(--pad); border-bottom: 1px solid var(--surface-3); text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.mobile-nav a:hover { color: var(--blue); }

/* Search overlay */
.search-overlay { display: none; position: fixed; inset: 0; background: rgba(12,12,14,.93); z-index: 9000; align-items: flex-start; justify-content: center; padding-top: 90px; }
.search-overlay.is-open { display: flex; }
.search-overlay__box { width: 100%; max-width: 640px; padding: 0 var(--pad); }
.search-overlay__form { display: flex; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.search-overlay__input { flex: 1; padding: 18px 20px; font-size: 20px; font-family: var(--sans); color: var(--ink); border: none; outline: none; }
.search-overlay__submit { background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; padding: 18px 28px; border: none; cursor: pointer; font-family: var(--sans); }
.search-overlay__close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.search-overlay__close:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   HERO — Full-width magazine hero with sidebar
   ═══════════════════════════════════════════════════════════ */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Main feature — large left */
.hero__main { padding-bottom: 20px; }
.hero__main-link { display: block; text-decoration: none; }
.hero__img-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-3);
  margin-bottom: 16px;
  position: relative;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.hero__main-link:hover .hero__img { transform: scale(1.03); }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.hero__cat-tag {
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.hero__breaking-tag {
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.hero__main-link:hover .hero__title { color: var(--blue); }
.hero__deck { font-size: 16px; color: var(--ink-3); line-height: 1.65; margin-bottom: 14px; }
.hero__byline { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-4); flex-wrap: wrap; }
.hero__byline-author { color: var(--ink-2); font-weight: 700; }
.hero__byline-dot { width: 3px; height: 3px; background: var(--border-2); border-radius: 50%; }

/* Hero stack — right column of smaller stories */
.hero__stack {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.hero__stack-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-3);
  text-decoration: none;
  transition: opacity .15s;
}
.hero__stack-item:first-child { padding-top: 0; }
.hero__stack-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero__stack-item:hover { opacity: .78; }
.hero__stack-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--surface-3);
  line-height: 1;
  min-width: 34px;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--serif);
}
.hero__stack-img {
  width: 80px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--r);
  flex-shrink: 0;
  background: var(--surface-3);
}
.hero__stack-body { flex: 1; min-width: 0; }
.hero__stack-cat { font-size: 9px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 4px; }
.hero__stack-title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__stack-item:hover .hero__stack-title { color: var(--blue); }
.hero__stack-meta { font-size: 11px; color: var(--ink-4); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════ */
.trust-strip { background: var(--blue); padding: 10px 0; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.trust-strip__item { display: flex; align-items: center; gap: 9px; padding: 3px 12px; border-right: 1px solid rgba(255,255,255,.15); }
.trust-strip__item:nth-child(2) { border-right: none; }
.trust-strip__icon { font-size: 14px; flex-shrink: 0; }
.trust-strip__label { font-size: 11px; font-weight: 700; color: #fff; display: block; }
.trust-strip__sub { font-size: 10px; color: rgba(255,255,255,.65); }

/* ═══════════════════════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════════════════════ */
.site-main { padding: 24px 0 56px; }
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS — Magazine divider style
   ═══════════════════════════════════════════════════════════ */
.mag-hd {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  border-top: 3px solid var(--ink);
  padding-top: 10px;
}
.mag-hd__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding-right: 14px;
}
.mag-hd__title--blue { color: var(--blue); }
.mag-hd__line { flex: 1; height: 1px; background: var(--border); }
.mag-hd__more { font-size: 11px; font-weight: 700; color: var(--blue); padding-left: 14px; white-space: nowrap; letter-spacing: .04em; text-transform: uppercase; }
.mag-hd__more:hover { color: var(--blue-d); }

/* ═══════════════════════════════════════════════════════════
   LATEST STORIES — 4-column magazine grid
   ═══════════════════════════════════════════════════════════ */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Story card */
.story-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.story-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.story-card__img-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-3); position: relative; flex-shrink: 0; }
.story-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.story-card:hover .story-card__img { transform: scale(1.05); }
.story-card__cat {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
}
.story-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.story-card__title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.story-card:hover .story-card__title { color: var(--blue); }
.story-card__excerpt { font-size: 12px; color: var(--ink-3); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--surface-3); margin-top: auto; }
.story-card__author { font-size: 11px; color: var(--ink-4); font-weight: 600; }
.story-card__meta { font-size: 11px; color: var(--ink-4); }

/* Featured story — takes 2 cols */
.story-card--featured .story-card__title { font-size: 20px; -webkit-line-clamp: 4; }
.story-card--featured .story-card__excerpt { -webkit-line-clamp: 3; }

/* List-style story (no image, compact) */
.story-list { display: flex; flex-direction: column; gap: 0; }
.story-list-item {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--surface-3);
  text-decoration: none;
  transition: opacity .15s;
}
.story-list-item:first-child { padding-top: 0; }
.story-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.story-list-item:hover { opacity: .75; }
.story-list-item__n { font-size: 24px; font-weight: 900; color: var(--surface-3); min-width: 32px; line-height: 1; flex-shrink: 0; font-family: var(--serif); margin-top: 2px; }
.story-list-item__img { width: 72px; height: 56px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; background: var(--surface-3); }
.story-list-item__body { flex: 1; min-width: 0; }
.story-list-item__cat { font-size: 9px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 3px; }
.story-list-item__title { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-list-item:hover .story-list-item__title { color: var(--blue); }
.story-list-item__meta { font-size: 11px; color: var(--ink-4); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY SECTION — Featured + 3-col grid
   ═══════════════════════════════════════════════════════════ */
.cat-section { margin-bottom: 32px; }
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Large dark featured block */
.cat-feature {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 4/3;
  background: var(--ink);
}
.cat-feature__img { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: opacity .35s; }
.cat-feature:hover .cat-feature__img { opacity: .75; }
.cat-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,14,.92) 0%, rgba(12,12,14,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.cat-feature__cat { font-size: 9px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .1em; background: var(--blue); display: inline-block; padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; }
.cat-feature__title { font-family: var(--serif); font-size: 20px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.cat-feature__meta { font-size: 11px; color: rgba(255,255,255,.5); }

/* Small story cards for category grid */
.cat-mini { display: flex; flex-direction: column; gap: 0; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; }
.cat-mini-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--surface-3);
  text-decoration: none;
  transition: background .15s;
}
.cat-mini-item:last-child { border-bottom: none; }
.cat-mini-item:hover { background: var(--blue-bg); }
.cat-mini-item__img { width: 60px; height: 48px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; background: var(--surface-3); }
.cat-mini-item__body { flex: 1; min-width: 0; }
.cat-mini-item__title { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-mini-item:hover .cat-mini-item__title { color: var(--blue); }
.cat-mini-item__meta { font-size: 11px; color: var(--ink-4); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════
   SPECIALTY GRID — Horizontal pill strip
   ═══════════════════════════════════════════════════════════ */
.spec-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; margin: 24px 0; }
.spec-strip__label { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.spec-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-decoration: none;
  transition: all .18s;
  min-width: 0;
}
.spec-pill:hover { background: var(--blue-bg); border-color: var(--blue); }
.spec-pill__icon { font-size: 16px; flex-shrink: 0; }
.spec-pill__name { font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-pill__count { font-size: 10px; color: var(--ink-4); display: none; }
.spec-pill--empty { opacity: .4; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.widget-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 10px;
  border-bottom: 3px solid var(--ink);
}
.widget-hd__title { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.widget-hd__blue { border-bottom-color: var(--blue); }
.widget-hd__blue .widget-hd__title { color: var(--blue); }

/* Trending */
.trending-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 16px;
  border-bottom: 1px solid var(--surface-3);
  text-decoration: none;
  transition: background .15s;
}
.trending-row:last-child { border-bottom: none; }
.trending-row:hover { background: var(--blue-bg); }
.trending-row__n { font-size: 18px; font-weight: 900; color: var(--surface-3); min-width: 24px; line-height: 1.2; flex-shrink: 0; font-family: var(--serif); }
.trending-row__title { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.trending-row:hover .trending-row__title { color: var(--blue); }
.trending-row__date { font-size: 10px; color: var(--ink-4); margin-top: 2px; }

/* Newsletter widget */
.nl-widget { padding: 16px; }
.nl-widget__eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 6px; }
.nl-widget__title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 5px; line-height: 1.25; }
.nl-widget__desc { font-size: 12px; color: var(--ink-3); margin-bottom: 12px; line-height: 1.55; }
.nl-widget__input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: 13px; font-family: var(--sans); outline: none; transition: border-color .15s; margin-bottom: 7px; }
.nl-widget__input:focus { border-color: var(--blue); }
.nl-widget__btn { width: 100%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 10px; border-radius: var(--r); border: none; cursor: pointer; font-family: var(--sans); transition: background .15s; }
.nl-widget__btn:hover { background: var(--blue-d); }
.nl-widget__note { font-size: 10px; color: var(--ink-4); text-align: center; margin-top: 7px; }

/* Category pills widget */
.cat-pills { padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 5px; }
.cat-pill { font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 3px; text-decoration: none; transition: all .15s; }
.cat-pill:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Ad widget */
.widget-ad .ad-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); padding: 10px 16px 0; }
.widget-ad .ad-slot { padding: 8px 10px 10px; min-height: 250px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-radius: var(--r); margin: 0 6px 6px; }

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER FULL SECTION
   ═══════════════════════════════════════════════════════════ */
.nl-section { background: var(--ink); padding: 44px 0; margin: 28px 0; }
.nl-section__inner { text-align: center; max-width: 540px; margin: 0 auto; }
.nl-section__label { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 10px; }
.nl-section__title { font-family: var(--serif); font-size: clamp(24px, 4vw, 36px); color: #fff; font-weight: 800; margin-bottom: 8px; }
.nl-section__sub { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 22px; line-height: 1.6; }
.nl-section__form { display: flex; flex-direction: column; gap: 10px; }
.nl-section__input { padding: 13px 18px; border-radius: var(--r); border: 2px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); font-size: 14px; font-family: var(--sans); color: #fff; outline: none; transition: border-color .15s; }
.nl-section__input::placeholder { color: rgba(255,255,255,.4); }
.nl-section__input:focus { border-color: var(--blue); }
.nl-section__btn { background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; padding: 13px; border-radius: var(--r); border: none; cursor: pointer; font-family: var(--sans); transition: background .15s; letter-spacing: .02em; }
.nl-section__btn:hover { background: var(--blue-mid); }
.nl-section__note { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 10px; }
.nl-msg { font-size: 13px; font-weight: 600; margin-top: 8px; }
.nl-msg--ok { color: #6EE7B7; }
.nl-msg--err { color: #FCA5A5; }

/* ═══════════════════════════════════════════════════════════
   SINGLE ARTICLE
   ═══════════════════════════════════════════════════════════ */
.reading-bar { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--blue); z-index: 9999; }
.article-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.article-inner { padding: 28px 28px 24px; }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-4); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-3); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb__sep { color: var(--border-2); }

.article-cat-badge { display: inline-block; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; text-decoration: none; }
.article-cat-badge:hover { background: var(--blue-d); color: #fff; }
.article-title { font-family: var(--serif); font-size: clamp(24px, 4vw, 44px); font-weight: 800; color: var(--ink); line-height: 1.15; margin-bottom: 16px; letter-spacing: -.02em; }
.article-deck { font-size: 18px; color: var(--ink-2); line-height: 1.65; margin-bottom: 20px; border-left: 4px solid var(--blue); padding-left: 18px; }

.article-byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--surface-3); border-bottom: 1px solid var(--surface-3); margin-bottom: 24px; flex-wrap: wrap; }
.article-byline__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-byline__name { font-size: 13px; font-weight: 700; color: var(--ink); display: block; }
.article-byline__meta { font-size: 12px; color: var(--ink-4); }
.article-byline__reviewed { margin-left: auto; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 3px; white-space: nowrap; }

.article-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.article-hero-cap { font-size: 11px; color: var(--ink-4); padding: 8px 28px; background: var(--surface-2); border-bottom: 1px solid var(--border); }

.article-body-wrap { padding: 24px 28px 8px; }
.article-body { font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.article-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); margin: 36px 0 14px; line-height: 1.2; }
.article-body h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.article-body p { margin-bottom: 22px; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body blockquote { border-left: 4px solid var(--blue); padding: 16px 22px; background: var(--blue-bg); border-radius: 0 var(--r) var(--r) 0; margin: 28px 0; font-size: 17px; color: var(--ink); font-style: italic; line-height: 1.7; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 7px; }
.article-body img { border-radius: var(--r); margin: 24px auto; }

.article-footer { padding: 16px 28px 24px; border-top: 1px solid var(--surface-3); }

.share-bar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 16px 0; }
.share-bar__label { font-size: 10px; font-weight: 700; color: var(--ink-4); text-transform: uppercase; letter-spacing: .08em; }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 3px; font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: none; border: none; font-family: var(--sans); transition: opacity .15s; }
.share-btn:hover { opacity: .84; }
.share-btn--fb { background: #1877F2; color: #fff; }
.share-btn--tw { background: #0A0A0B; color: #fff; }
.share-btn--li { background: #0A66C2; color: #fff; }
.share-btn--wa { background: #25D366; color: #fff; }
.share-btn--cp { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border); }

.medical-disc { background: #FFFBEB; border-left: 4px solid var(--amber); padding: 14px 18px; margin: 24px 0; font-size: 13px; color: #78350F; line-height: 1.65; border-radius: 0 var(--r) var(--r) 0; }
.article-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--surface-3); }
.article-tags__label { font-size: 10px; font-weight: 700; color: var(--ink-4); text-transform: uppercase; letter-spacing: .08em; }
.tag-pill { background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 3px; text-decoration: none; transition: all .15s; }
.tag-pill:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.author-card { background: var(--surface-2); border-radius: var(--r-lg); padding: 18px; margin: 20px 0; display: flex; gap: 14px; }
.author-card__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card__eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 3px; }
.author-card__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.author-card__role { font-size: 11px; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.author-card__bio { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.related-card { display: flex; gap: 12px; background: var(--surface-2); border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--border); transition: border-color .15s; }
.related-card:hover { border-color: var(--blue); }
.related-card__img { width: 80px; height: 65px; object-fit: cover; flex-shrink: 0; background: var(--surface-3); }
.related-card__body { padding: 10px 12px 10px 0; }
.related-card__cat { font-size: 9px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; display: block; }
.related-card__title { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   ARCHIVE
   ═══════════════════════════════════════════════════════════ */
.archive-hd { background: var(--ink); padding: 28px 0 24px; margin-bottom: 24px; }
.archive-hd__eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.archive-hd__title { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); color: #fff; font-weight: 800; letter-spacing: -.02em; }
.archive-hd__count { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 5px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 32px; flex-wrap: wrap; }
.page-numbers { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); font-size: 13px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--border); background: var(--surface); text-decoration: none; transition: all .15s; }
.page-numbers:hover, .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-numbers.dots { border: none; background: none; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); }
.footer__top { padding: 44px 0 32px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer__logo { font-family: var(--serif); font-size: 24px; font-weight: 900; color: #fff; text-decoration: none; display: inline-block; margin-bottom: 10px; letter-spacing: -.02em; }
.footer__logo span { color: var(--blue); }
.footer__about { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 16px; }
.footer__socials { display: flex; gap: 8px; }
.footer__social { width: 30px; height: 30px; background: rgba(255,255,255,.07); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none; transition: background .15s; }
.footer__social:hover { background: var(--blue); }
.footer__col-title { font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.footer__links a:hover { color: rgba(255,255,255,.9); }
.footer__disc { font-size: 11px; color: rgba(255,255,255,.2); line-height: 1.7; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.05); }
.footer__bottom { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__copy { font-size: 11px; color: rgba(255,255,255,.25); }
.footer__btm-links { display: flex; gap: 14px; }
.footer__btm-links a { font-size: 11px; color: rgba(255,255,255,.25); text-decoration: none; }
.footer__btm-links a:hover { color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.ad-unit { text-align: center; margin: 20px 0; }
.ad-unit .ad-label { font-size: 9px; font-weight: 700; color: var(--ink-4); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 5px; }
.aligncenter { display: block; margin: 20px auto; }
.alignleft { float: left; margin: 0 20px 14px 0; }
.alignright { float: right; margin: 0 0 14px 20px; }
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 40px; text-decoration: none; transition: background .15s; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.error-pg { text-align: center; padding: 80px 0; }
.error-pg__code { font-family: var(--serif); font-size: 96px; font-weight: 900; color: var(--surface-3); line-height: 1; }
.error-pg__title { font-family: var(--serif); font-size: 32px; color: var(--ink); margin: 8px 0 10px; }
.error-pg__desc { font-size: 16px; color: var(--ink-3); margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET 640px+
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  :root { --pad: 20px; }
  .trust-strip__grid { grid-template-columns: repeat(4,1fr); }
  .trust-strip__item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.15); }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .spec-strip__grid { grid-template-columns: repeat(4, 1fr); }
  .spec-pill__count { display: block; }
  .nl-section__form { flex-direction: row; }
  .nl-section__btn { white-space: nowrap; flex-shrink: 0; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP 900px+
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  :root { --pad: 24px; }
  .hamburger { display: none; }
  .header__search { display: block; }
  .header__icon-btn.search-mobile { display: none; }

  /* Hero: big left + right stack column */
  .hero__grid { grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
  .hero__stack { border-top: none; padding-top: 0; border-left: 1px solid var(--border); padding-left: 28px; }
  .hero__main { padding-bottom: 0; }

  /* Main: content + sidebar */
  .page-grid { grid-template-columns: 1fr 300px; gap: 28px; }

  /* Latest: 4 columns */
  .stories-grid { grid-template-columns: repeat(4, 1fr); }
  .story-card--featured { grid-column: span 2; }
  .story-card--featured .story-card__img-wrap { aspect-ratio: 16/10; }

  /* Category grid: featured + 2 mini lists side by side */
  .cat-grid { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .cat-feature { border-radius: var(--r-lg) 0 0 var(--r-lg); aspect-ratio: auto; min-height: 280px; }
  .cat-mini { border-radius: 0; border-left: none; }
  .cat-mini:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }

  /* Specialty: 6 columns */
  .spec-strip__grid { grid-template-columns: repeat(6, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  /* Related */
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — WIDE 1220px+
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1220px) {
  .page-grid { grid-template-columns: 1fr 320px; }
  .spec-pill__count { display: block; }
}
