/* ═══════════════════════════════════════════════════════════════
   mein-pcos.at — Blog-Artikel Shared Stylesheet
   Einbinden in allen Blog-Artikeln:
   <link rel="stylesheet" href="/blog/css/blog.css">

   WICHTIG: styles.css muss ZUERST eingebunden sein (Header/Footer/Base).
   Dieses File enthält nur artikel-spezifische Stile.
═══════════════════════════════════════════════════════════════ */

/* ── Links im Artikel ── */
.article-body a { color: var(--sage-600); text-decoration: underline; }
.article-body a:hover { color: var(--terra); }

/* ── Reading Progress Bar ── */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--terra); width: 0%; z-index: 200; transition: width 0.1s linear;
}

/* ── Badge (im Hero) ── */
.badge {
  display: inline-block; background: rgba(255,255,255,0.2); color: var(--white);
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem;
  border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem;
}

/* ── Hero / Article Header ── */
.article-hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-600) 100%);
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.article-hero .meta {
  font-size: 0.85rem; opacity: 0.85; margin-bottom: 1rem;
  font-family: var(--font-sans); letter-spacing: 0.05em; text-transform: uppercase;
}
.article-hero h1 { color: var(--white); max-width: 680px; margin: 0 auto 1rem; }
.article-hero .subtitle {
  font-size: 1.1rem; opacity: 0.9; max-width: 560px;
  margin: 0 auto; font-family: var(--font-serif); font-style: italic;
}

/* ── Article Body ── */
.article-body { padding: 3rem 0 4rem; }

/* ── Highlight Box ── */
.highlight-box {
  background: var(--white); border-left: 4px solid var(--sage);
  border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 2rem 0; font-size: 0.97rem;
}
.highlight-box.terra { border-color: var(--terra); background: var(--terra-light); }
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box .box-title {
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
  margin-bottom: 0.5rem; color: var(--sage-600);
}
.highlight-box.terra .box-title { color: var(--terra); }

/* ── Tabellen (allgemein) ── */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.93rem; }
table th { background: var(--sage); color: var(--white); padding: 0.7rem 1rem; text-align: left; font-weight: 600; }
table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
table tr:nth-child(even) td { background: var(--sage-xlight); }
table tr:last-child td { border-bottom: none; }

/* ── Dosage Table ── */
.dosage-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.93rem; }
.dosage-table th { background: var(--sage); color: var(--white); padding: 0.7rem 1rem; text-align: left; font-family: var(--font-sans); font-weight: 600; }
.dosage-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
.dosage-table tr:nth-child(even) td { background: var(--sage-xlight); }
.dosage-table tr:last-child td { border-bottom: none; }

/* ── Checklist ── */
.checklist { list-style: none; margin-left: 0; padding: 0; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: 0.6rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; font-size: 1rem; }

/* ── CTA / Newsletter Box ── */
.cta-box {
  background: linear-gradient(135deg, var(--sage-600) 0%, var(--sage) 100%);
  color: var(--white); border-radius: 12px; padding: 2.5rem 2rem; text-align: center; margin: 3rem 0 2rem;
}
.cta-box h3 { font-family: var(--font-serif); color: var(--white); font-size: 1.4rem; margin-bottom: 0.6rem; }
.cta-box p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 0.97rem; }
.cta-form { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta-form input[type="email"] { flex: 1 1 220px; padding: 0.7rem 1rem; border: none; border-radius: 6px; font-size: 0.95rem; font-family: var(--font-sans); outline: none; }
.cta-form button { background: var(--terra); color: var(--white); border: none; padding: 0.7rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.2s; font-family: var(--font-sans); }
.cta-form button:hover { background: var(--terra-700); }
.cta-hint { font-size: 0.78rem; opacity: 0.7; margin-top: 0.8rem; margin-bottom: 0; }

/* ── Disclaimer ── */
.disclaimer { background: var(--sand); border-radius: 8px; padding: 1rem 1.4rem; font-size: 0.85rem; color: var(--brown-mid); margin-top: 3rem; line-height: 1.6; }
.disclaimer strong { color: var(--brown); }

/* ── Related Articles ── */
.related { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--sand); }
.related h3 { font-family: var(--font-serif); color: var(--brown-light); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin-bottom: 1rem; }
.related-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.related-links a {
  background: var(--white); padding: 0.8rem 1.2rem; border-radius: 8px; text-decoration: none;
  color: var(--sage-600); font-size: 0.92rem; font-weight: 500; border: 1px solid var(--sand);
  transition: border-color 0.2s, box-shadow 0.2s; flex: 1 1 180px;
}
.related-links a:hover { border-color: var(--sage); box-shadow: 0 2px 8px rgba(227,107,155,0.2); color: var(--sage-600); }

/* ── Affiliate Note ── */
.affiliate-note { background: var(--sand); border: 1px solid var(--sand); border-radius: 8px; padding: .9rem 1.2rem; font-size: .82rem; color: var(--brown-light); margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .article-hero { padding: 2.5rem 1rem 2rem; }
  table th, table td, .dosage-table th, .dosage-table td { padding: 0.5rem 0.7rem; }
}
