/* Skillet & Spoon — a warm, mainstream recipe-blog look (deliberately NOT a premium
   SaaS aesthetic; the demo needs to read as a typical, ad-supported food blog). */
:root {
  --ink: #2b2622;
  --muted: #7a716a;
  --line: #ece6df;
  --paper: #fffdfa;
  --cream: #faf5ee;
  --accent: #c2410c;     /* warm terracotta */
  --accent-soft: #fbe9df;
  --max: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }
img { max-width: 100%; }

/* Top promo strip */
.promo-strip {
  background: linear-gradient(90deg, #c2410c, #e0610f);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 9px 16px;
  cursor: pointer;
}
.promo-strip strong { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,250,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font-family: var(--serif);
  font-size: 24px; font-weight: 700; letter-spacing: .2px;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.brand .amp { color: var(--accent); font-style: italic; }
.brand-mark { font-size: 22px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
@media (max-width: 640px) { .site-nav { display: none; } }

/* Layout: article + sidebar */
.layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 40px; padding-top: 28px; padding-bottom: 56px; }
@media (max-width: 880px) { .layout { grid-template-columns: 1fr; } .sidebar { order: 2; } }

/* Article */
.entry-content { min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.entry-content h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1; margin: 0 0 12px; font-weight: 700;
}
.byline { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.byline span { color: var(--accent); }
.entry-content h2 {
  font-family: var(--serif); font-size: 26px; margin: 36px 0 10px; line-height: 1.25;
}
.entry-content h3 { font-size: 18px; margin: 22px 0 8px; }
.entry-content p { margin: 0 0 18px; font-size: 18px; }

.hero-photo {
  height: 320px; border-radius: 18px; margin: 8px 0 22px;
  background: radial-gradient(120% 140% at 30% 20%, #f6d9a8, #e7a76b 55%, #b9763f);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -40px 80px rgba(120,70,30,.25);
}
.hero-emoji { font-size: 120px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }

.recipe-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.btn {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 600; padding: 11px 18px; border-radius: 999px; cursor: pointer;
}
.btn:hover { border-color: #d9cfc4; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Recipe card */
.recipe-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 26px; margin: 30px 0;
}
.recipe-card-title { font-family: var(--serif); margin: 0 0 4px; font-size: 24px; }
.recipe-meta { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.ingredients, .instructions { padding-left: 22px; }
.ingredients li, .instructions li { margin: 7px 0; font-size: 17px; }
.instructions li { margin-bottom: 12px; }

/* Sidebar */
.sidebar { min-width: 0; }
.sidebar-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; }
.sidebar-card h3 { margin: 0 0 10px; font-size: 16px; }
.pop-list { list-style: none; margin: 0; padding: 0; }
.pop-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pop-list li:last-child { border-bottom: 0; }
.pop-list a { text-decoration: none; font-weight: 600; color: var(--ink); }
.pop-list a:hover { color: var(--accent); }
.ad-rail { position: sticky; top: 84px; }

/* Ad units (deliberately ad-shaped clutter) */
.ad { margin: 26px 0; text-align: center; }
.ad-tag {
  display: block; text-transform: uppercase; letter-spacing: .14em;
  font-size: 10px; color: #b3a99f; margin-bottom: 6px;
}
.ad-creative {
  border-radius: 12px; color: #fff; padding: 22px; display: flex; align-items: center; justify-content: center;
}
.ad-creative--tall { min-height: 360px; }
.ad-creative-text { display: flex; flex-direction: column; gap: 6px; }
.ad-creative-text strong { font-size: 20px; font-weight: 800; }
.ad-creative-text span { font-size: 14px; opacity: .92; }
.ad-creative--green { background: linear-gradient(135deg, #16a34a, #15803d); }
.ad-creative--blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.ad-creative--purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ad-leaderboard { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; }
.ad-leaderboard .ad-creative { max-width: 728px; margin: 0 auto; min-height: 90px; }
.ad-frame { width: 100%; max-width: 336px; height: 170px; border: 0; border-radius: 12px; margin: 0 auto; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); padding: 30px 0 60px; }
.site-footer p { margin: 4px 0; font-size: 14px; }
.muted { color: var(--muted); }
.site-footer a { color: var(--accent); }

/* Simple content pages (privacy/terms/about) */
.doc { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.doc h1 { font-family: var(--serif); font-size: 34px; margin: 0 0 14px; }
.doc h2 { font-family: var(--serif); margin-top: 28px; }
.doc p, .doc li { font-size: 17px; }
