/* The Science of Food blog series (/blog/category/science-of-food.html and its episodes).
   Built on blog.css; the series has its own dark "lab" hero and science callouts. */

.sci-hero {
  background: radial-gradient(120% 90% at 50% 0%, #3a3128 0%, #1b1712 70%);
  color: #f6ead2;
  padding: 44px 20px 0;
  text-align: center;
}
.sci-hero__inner { max-width: 860px; margin: 0 auto; }
.sci-hero .breadcrumb { justify-content: center; margin-bottom: 18px; color: #cdb68c; }
.sci-hero .breadcrumb a { color: #e7c987; }
.sci-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #e3a752; border: 1px solid rgba(227, 167, 82, .45); border-radius: 999px; padding: 6px 14px;
}
.sci-hero h1 {
  font-family: var(--serif); font-size: clamp(36px, 6vw, 64px); line-height: 1.05;
  margin: 18px 0 10px; color: #fff4dc; letter-spacing: -.01em;
}
.sci-hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 23px); color: #e9d2a6; margin: 0 0 14px; }
.sci-hero__meta { font-size: 14px; color: #bfa77d; margin: 0 0 30px; }
.sci-hero__meta span + span::before { content: "·"; margin: 0 8px; }
.sci-hero__art { max-width: 1000px; margin: 0 auto; }
.sci-hero__art img { display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); }

.sci-wrap { max-width: 760px; }
.sci-lede { font-family: var(--serif); font-size: 22px !important; line-height: 1.5 !important; color: var(--ink) !important; }
.sci-section { margin-top: 46px; }
.sci-section h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2; color: var(--ink); margin: 0 0 18px;
}
.sci-num {
  flex: none; font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: #b8661f; border-radius: 8px; padding: 4px 9px; transform: translateY(-3px);
}
.sci-figure { margin: 0 0 22px; }
.sci-figure img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.sci-figure figcaption { font-size: 13px; color: #7d6c55; margin-top: 8px; text-align: center; }
.sci-pull {
  font-family: var(--serif); font-size: 24px !important; line-height: 1.35 !important; font-weight: 700;
  color: #8f4e17 !important; border-left: 4px solid #e3a650; padding-left: 16px; margin: 24px 0 !important;
}
.article__body ul.sci-list-plain li::before { content: "→"; color: #b8661f; }

.sci-callout { border-radius: 14px; padding: 18px 20px 4px; margin: 26px 0; }
.sci-callout__label {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px;
}
.sci-callout--fact { background: #fff4dc; border: 1px solid #ecd29a; }
.sci-callout--fact .sci-callout__label { color: #9a5a14; }
.sci-callout--try { background: #e9f3f9; border: 1px solid #c6dfee; }
.sci-callout--try .sci-callout__label { color: #245478; }
.sci-callout--know { background: #1f1a14; color: #f3e6cc; border: 0; margin-top: 46px; }
.sci-callout--know .sci-callout__label { color: #e3a752; }
.sci-callout--know p { color: #f3e6cc !important; font-family: var(--serif); font-size: 19px !important; }

.sci-next {
  display: block; border: 2px dashed #d9b678; border-radius: 14px; padding: 20px 22px; margin: 26px 0 10px; background: #fffaf0;
}
.sci-next .sci-callout__label { color: #9a5a14; }
.sci-next h3 { font-family: var(--serif); font-size: 26px; margin: 4px 0 6px; color: var(--ink); }
.sci-next p { margin: 0 !important; }

.sci-footer-band {
  background: #1b1712; color: #e9d2a6; text-align: center; padding: 34px 20px; margin-top: 40px;
}
.sci-footer-band strong { display: block; font-size: 13px; letter-spacing: .22em; color: #e3a752; margin-bottom: 8px; }
.sci-footer-band p { margin: 0; font-family: var(--serif); font-size: 18px; }
.sci-footer-band em { display: block; margin-top: 8px; color: #bfa77d; }

/* series page */
.sci-episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; padding: 34px 0 10px; }
.sci-card { display: block; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.sci-card img { display: block; width: 100%; height: auto; }
.sci-card__body { padding: 16px 18px 20px; }
.sci-card__ep { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b8661f; }
.sci-card h3 { font-family: var(--serif); font-size: 24px; margin: 6px 0 6px; color: var(--ink); }
.sci-card p { margin: 0; color: #5a4a36; font-size: 15px; line-height: 1.5; }
.sci-card--soon { background: #fffaf0; border: 2px dashed #d9b678; box-shadow: none; display: flex; align-items: center; }
.sci-card--soon .sci-card__body { padding: 28px 22px; }

@media (max-width: 600px) {
  .sci-hero { padding-top: 28px; }
  .sci-lede { font-size: 19px !important; }
  .sci-section h2 { gap: 10px; }
}
.sci-kicker { font-size: 13px !important; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #b8661f !important; margin-bottom: 8px !important; }
.sci-sub { font-family: var(--serif); font-size: 21px; color: #8f4e17; margin: 22px 0 8px; }
