:root {
  --bg-base: #ffffff;
  --bg-surface: #fdfdfd;
  --bg-surface-light: #f5f5f5;
  --accent-primary: #b32626;  /* Deep, professional red */
  --accent-secondary: #218c53; /* Strong editorial green */
  
  --text-main: #2b2b2b;
  --text-muted: #666666;
  --text-white: #ffffff;
  --border-color: #e4e4e4;
  
  --font-display: "Bebas Neue", sans-serif;
  --font-header: "Playfair Display", serif;
  --font-body: "Source Serif 4", serif;
  --font-ui: "DM Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #f0f0f0; /* Gentle off-white for body background outside container */
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400; /* Dark themes use 300, Light needs 400 for crispness */
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; display: flex; justify-content: center; }
.content-wrapper { 
  width: 100%; 
  max-width: 580px; 
  background-color: var(--bg-base); 
  box-shadow: 0 0 50px rgba(0,0,0,0.06);
  min-height: 100vh;
}

/* Utilities */
.text-red { color: var(--accent-primary); }
.text-orange { color: #d35400; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 800;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.pill-red { background-color: var(--accent-primary); color: var(--text-white); }
.pill-dark { background-color: var(--bg-surface-light); color: var(--text-muted); border: 1px solid var(--border-color); }

/* SECTION 1: HEADER */
.section-header { padding: 36px 24px 20px; }

.tag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.read-time { margin-left: auto; font-family: var(--font-ui); font-size: 13px; color: #888; font-weight: 500; }

.main-headline {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 24px;
  color: #111;
  letter-spacing: 0.5px;
}

.author-row {
  display: flex; align-items: center; padding: 18px 0; border-top: 1px solid var(--border-color);
}
.author-info { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-color); }
.author-details { display: flex; flex-direction: column; }
.author-name { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: #222; }
.post-date { font-family: var(--font-ui); font-size: 13.5px; color: #777; }

.stats-row { display: flex; align-items: center; padding: 16px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.view-count { font-family: var(--font-ui); font-size: 15px; color: var(--text-muted); }
.view-count strong { color: #111; font-weight: 700; }
.share-buttons { margin-left: auto; display: flex; gap: 8px; }
.share-btn {
  background-color: #fff; color: var(--text-main); border: 1px solid #ddd;
  border-radius: 6px; padding: 6px 14px; font-family: var(--font-ui);
  font-size: 13.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03); transition: background-color 0.2s;
}
.share-btn:hover { background-color: #f7f7f7; }

/* SECTION 2: COMIC PANEL HERO */
.comic-hero {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 0 0 36px 0;
  overflow: hidden;
  background-color: var(--bg-surface);
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.comic-captions {
  display: flex;
  background-color: #f8f9fa;
  border-top: 1px solid var(--border-color);
}
.caption {
  flex: 1; padding: 14px 18px; font-size: 13.5px; line-height: 1.5; color: #555; font-family: var(--font-ui);
}
.caption-left { border-right: 1px solid var(--border-color); }

/* SECTIONS 3 & 4: BODY COPY */
.body-copy { padding: 0 24px 36px; }
.intro-copy { padding-top: 10px; }
.body-copy p { margin-bottom: 22px; font-size: 17px; color: #333; }

.section-title {
  font-family: var(--font-header);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.25;
}
.section-title em { font-style: italic; font-weight: 700; }

.callout-box {
  background-color: #fffaf9; 
  border-left: 4px solid var(--accent-primary);
  padding: 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 3px 14px rgba(0,0,0,0.03);
  border: 1px solid rgba(179, 38, 38, 0.1);
  border-left: 4px solid var(--accent-primary);
}
.callout-label { font-family: var(--font-ui); font-size: 12.5px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 10px; }
.callout-box p { margin-bottom: 0; font-size: 16.5px; color: #444; }

/* SECTION 5: NUMBERED EXPLAINER */
.explainer-box {
  margin: 0 24px 44px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.explainer-header {
  background-color: var(--accent-primary);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 26px;
  padding: 16px 20px 12px;
  letter-spacing: 0.5px;
}
.explainer-body { padding: 26px 20px; }
.numbered-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.numbered-list li { display: flex; align-items: flex-start; gap: 16px; }
.num-badge {
  background-color: var(--accent-primary); color: var(--text-white);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px;
  flex-shrink: 0; margin-top: 2px;
}
.numbered-list p { font-family: var(--font-ui); font-size: 15.5px; line-height: 1.6; color: #333; }

/* SECTION 6 & 10: IMAGE BREAK */
.image-break {
  margin: 0 24px 40px;
  background-color: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}
.image-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 20px; background-color: #fcfcfc; text-align: center;
}
.img-icon { color: #999; margin-bottom: 16px; }
.img-label { font-family: var(--font-ui); font-size: 14.5px; color: #777; margin-bottom: 18px; max-width: 250px; line-height: 1.5; }
.badge-replace { border: 1px solid var(--accent-primary); color: var(--accent-primary); padding: 4px 12px; border-radius: 4px; font-family: var(--font-ui); font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px; background: #fff; }
.image-caption { font-family: var(--font-body); font-style: italic; font-size: 15px; color: #666; padding: 16px 20px; text-align: center; border-top: 1px solid var(--border-color); background: #fff; }

/* SECTION 7: COMPARISON SECTION */
.alarm-callout {
  border: 1px solid var(--accent-primary);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 6px 16px rgba(179,38,38,0.08);
}
.alarm-header {
  background-color: #fffaf9;
  display: flex; gap: 16px; padding: 22px; align-items: flex-start;
  border-bottom: 1px solid rgba(179,38,38,0.1);
}
.alarm-icon { color: var(--accent-primary); flex-shrink: 0; margin-top: 3px; }
.alarm-title { font-family: var(--font-header); font-size: 21px; font-weight: 700; color: #111; line-height: 1.3; margin-bottom: 6px; }
.alarm-subtitle { font-family: var(--font-ui); font-size: 14.5px; color: #666; font-weight: 500;}
.alarm-body { background-color: #ffffff; padding: 22px; }
.alarm-body p { margin-bottom: 0; font-size: 16.5px; color: #444; }

.comparison-grid { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
@media (min-width: 480px) { .comparison-grid { flex-direction: row; gap: 16px; } }

.comp-col {
  flex: 1; background-color: #ffffff; border: 1px solid #e2e8f0;
  border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.comp-header { font-family: var(--font-ui); font-size: 16.5px; font-weight: 800; padding: 18px 20px; text-align: center; }
.header-red { background-color: #fdf6f5; border-bottom: 1px solid #f0d5d2; color: #a92424; }
.header-green { background-color: #f2fbf5; border-bottom: 1px solid #cceade; color: #1e7a48; }

.comp-list { list-style: none; padding: 24px 20px; display: flex; flex-direction: column; gap: 22px; }
.comp-list li { display: flex; align-items: flex-start; gap: 14px; font-family: var(--font-ui); font-size: 14.5px; line-height: 1.5; color: #4a5568; }
.icon-x { color: #e53e3e; flex-shrink: 0; margin-top: 2px; }
.icon-check { color: #38a169; flex-shrink: 0; margin-top: 2px; }
.comp-list strong { color: #2d3748; font-weight: 700; }

.proteolytic-copy { font-size: 16.5px; color: #444; margin-bottom: 36px; line-height: 1.6; }

.pullquote { border-left: 4px solid var(--accent-primary); padding: 6px 0 6px 26px; margin: 44px 0 24px; }
.pullquote p { font-family: var(--font-header); font-size: 22px; font-style: italic; font-weight: 500; color: #111; margin-bottom: 16px; line-height: 1.5; }
.quote-author { font-family: var(--font-ui); font-size: 15px; color: #777; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* SECTION 8: CLICKABLE PRODUCT HERO */
.product-hero-link {
  display: block;
  margin: 44px 0 28px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #d1e2d9;
}
.product-hero-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 45px rgba(0,0,0,0.12);
}
.product-hero {
  width: 100%;
  height: auto;
  display: block;
}

/* SECTION 9: INGREDIENT GRID */
.ingredients-section { padding: 0 24px 48px; }
.ingredient-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .ingredient-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ing-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.ing-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.red-dot { width: 7px; height: 7px; background-color: #b32626; border-radius: 50%; flex-shrink: 0; margin-top: 1px; }
.ing-name { font-family: var(--font-ui); font-size: 17px; font-weight: 800; color: #1a202c; letter-spacing: 0.2px; }
.ing-desc { font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: #4a5568; }

/* SECTION 12: FINAL CTA BLOCK (DARK AMAZON STYLE) */
.final-cta-dark {
  background-color: #0b2214; 
  margin: 0; 
  padding: 40px 24px 60px;
  display: flex; flex-direction: column; align-items: center;
}
.cta-product-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  max-width: 480px; width: 100%;
}
.cta-product-card img {
  width: 100%; height: auto; display: block; border-radius: 4px;
}
.cta-price-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.amz-choice-badge {
  background-color: #e53935; color: #fff; font-family: var(--font-ui); font-size: 11px;
  font-weight: 700; padding: 4px 8px; border-radius: 2px;
}
.cta-price {
  color: #fff; font-family: var(--font-ui); font-size: 26px; font-weight: 700; line-height: 1;
}
.cta-price sup { font-size: 14px; top: -0.5em; position: relative; }
.buy-now-amz {
  background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
  border: 1px solid #a88734; border-radius: 24px; padding: 12px 24px;
  width: 100%; max-width: 320px; display: flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none; color: #111; font-family: var(--font-ui); font-size: 16px; font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 12px;
}
.buy-now-amz:hover { background: linear-gradient(to bottom, #f5d78e, #eeb933); }
.amz-logo-icon { width: 32px; height: 32px; flex-shrink: 0; background-color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta-inventory {
  font-family: var(--font-ui); font-size: 12px; color: #8ba993; text-align: center;
}

/* SECTION 13: DISCLAIMER */
.disclaimer {
  padding: 36px 28px 48px; font-family: var(--font-ui); font-size: 11.5px; line-height: 1.6; color: #999; border-top: 1px solid var(--border-color); background-color: #f9f9f9; text-align: center;
}
