/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal: #2a7d6f;
  --teal-dark: #1f5f54;
  --teal-light: #e8f4f1;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e0e0e0;
  --bg: #ffffff;
  --bg-off: #f8f8f8;
  --cta-green: #108474;
  --cta-green-dark: #12664F;
  --cta-bg: #033632;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Source Sans 3', 'Source Sans Pro', sans-serif;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }

.btn-subscribe {
  background: var(--teal);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-subscribe:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }

/* === Breadcrumb === */
.breadcrumb {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 6px; }

/* === Main Layout === */
.page-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 24px 60px;
  max-width: 1200px;
}

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

.article-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.article-title em {
  font-style: italic;
}

.article-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Author */
.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-info { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.author-name { color: var(--text); font-weight: 600; }

/* Hero */
.hero-image {
  margin-bottom: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-off);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Article body */
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
  line-height: 1.3;
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
  margin: 0 0 18px 20px;
}
.article-body li { margin-bottom: 6px; }

/* Patient quotes */
.patient-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  border-left: 3px solid var(--teal);
  padding: 8px 0 8px 20px;
  margin: 14px 0;
  background: none;
}

/* In Brief / callout */
.in-brief {
  background: var(--bg-off);
  border-left: 4px solid var(--teal);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}

.in-brief-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.in-brief p { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-muted); }
.in-brief p:last-child { margin-bottom: 0; }

/* Symptom stats list */
.symptom-stats {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.symptom-stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.symptom-stats li:last-child { border-bottom: none; }

.stat-pct {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* CTA block */
.cta-block {
  text-align: center;
  margin: 40px 0;
  padding: 32px 24px;
  padding-top: 0;
  background: var(--cta-bg);
  border-radius: 8px;
  overflow: hidden;
}

.cta-btn {
  display: inline-block;
  background: #FF6C6C;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  text-decoration: none;
}

.cta-discount {
  margin-top: 12px;
  margin-bottom: 0;
  padding-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Author bio */
.author-bio {
  margin: 44px 0 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-off);
}

.author-bio h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.author-bio-name {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 2px;
}

.author-bio-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.author-bio > p:last-child {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === Sidebar === */
.sidebar { display: flex; flex-direction: column; gap: 32px; }

/* Newsletter */
.newsletter-box {
  background: var(--teal);
  color: #fff;
  padding: 28px 24px;
  border-radius: 8px;
}

.newsletter-box h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.newsletter-box p {
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }

.newsletter-form input {
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: var(--sans);
}

.newsletter-form button {
  background: var(--teal-dark);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s;
}
.newsletter-form button:hover { background: #174a41; }

/* Sidebar cards */
.sidebar-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-card-img {
  aspect-ratio: 16/10;
  background: var(--bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.sidebar-card-img img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-card-body { padding: 16px; }

.sidebar-card-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sidebar-card-body h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.sidebar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* === Section images === */
.section-image {
  margin: 28px 0;
  border-radius: 8px;
  width: 100%;
}

.section-image--full {
  border-radius: 12px;
}

/* === CTA bundle image === */
.cta-bundle-img {
  max-width: 600px;
  width: 100%;
  margin: 0 auto -60px;
  position: relative;
  z-index: 0;
}

/* === Author avatar as img === */
img.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
}

/* === Author bio with photo === */
.author-bio-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
}

.author-bio-header h3 { margin-bottom: 4px; }
.author-bio-header .author-bio-name { margin-bottom: 2px; }
.author-bio-header .author-bio-title { margin-bottom: 0; }

/* === How It Works === */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.hiw-step {
  text-align: center;
}

.hiw-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.hiw-step h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hiw-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* === Sticky CTA bar === */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--cta-bg);
  text-align: center;
  padding: 12px 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.sticky-cta-btn:hover {
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* === Author Intro Box === */
.author-intro {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-off);
  margin-bottom: 28px;
}

.author-intro-avatar {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 15%;
}

.author-intro-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.author-intro-text p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .author-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }
  .author-intro-avatar {
    width: 80px;
    height: 80px;
  }
}

/* === Review Cards === */
.review-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  margin: 32px 0;
  background: var(--bg);
}

.review-card--winner {
  border: 2px solid var(--teal);
  background: var(--teal-light);
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.review-rank {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1.2;
}

.review-card-header h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.review-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 6px;
}

.review-card-img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 18px;
  border-radius: 8px;
}

/* Pros & Cons lists */
.pros-list,
.cons-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}

.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.pros-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}

.cons-list li::before {
  content: "\2718";
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
  font-size: 1rem;
}

/* Criteria checklist */
.criteria-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.criteria-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.criteria-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}

/* Offer box */
.offer-box {
  background: var(--bg-off);
  border: 2px solid var(--teal);
  border-radius: 10px;
  padding: 32px 28px;
  margin: 36px 0;
}

.offer-box h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.offer-headline {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 18px;
}

.offer-box h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 12px;
}

/* Verdict box */
.verdict-box {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  margin: 40px 0;
}

.verdict-box h2 {
  margin-top: 0 !important;
}

/* === Responsive === */
@media (max-width: 900px) {
  .page-wrap {
    max-width: 100%;
  }

  .article-title { font-size: 1.7rem; }

  .site-nav { display: none; }

  .header-inner { height: 56px; }
}

@media (max-width: 600px) {
  .article-title { font-size: 1.4rem; }
  .header-inner { padding: 0 16px; }
  .page-wrap { padding: 16px 16px 40px; }
  .breadcrumb { padding: 12px 16px 0; }

  .cta-btn {
    font-size: 0.95rem;
    padding: 14px 20px;
  }

  .cta-block { padding: 24px 16px; }
  .cta-bundle-img { margin-bottom: 0; }
  .cta-discount { padding-bottom: 4px; }

  .symptom-stats li {
    flex-direction: column;
    gap: 2px;
  }

  .how-it-works {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hiw-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
  }

  .hiw-number {
    margin: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .sticky-cta-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .review-card { padding: 20px 16px; }
  .offer-box { padding: 24px 16px; }
  .verdict-box { padding: 24px 16px; }
  .offer-headline { font-size: 1.2rem; }
}
