/* UI-9: Warm Boutique
   Palette: cream bg #faf7f2, dark brown text #3d2817, brick red #b45309 accent,
            light cream cards #f5efe6, border #e8ddc8
   Type: Cormorant Garamond headings, Lora body (Google Fonts)
   Layout: magazine style, large images + multi-column, max 1080px
   Cards: recipe-card style, rounded 12px + soft shadow + cream base
   Rating: brick red stars; CTA: brick red button */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-card: #f5efe6;
  --surface-muted: #f0e9dc;
  --text: #3d2817;
  --text-muted: #7a6552;
  --border: #e8ddc8;
  --accent: #b45309;
  --accent-dark: #92400e;
  --accent-soft: #fdf3e7;
  --star: #b45309;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
  --maxw: 1080px;
  --maxw-narrow: 720px;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(61, 40, 23, 0.08);
  --shadow-lg: 0 10px 30px rgba(61, 40, 23, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.005em;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  font-style: italic;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; }
.nav-links a {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }

/* Container */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 28px; }

/* Hero — magazine full-width image + overlay text */
.hero-magazine {
  position: relative;
  width: 100%;
  margin: 0 0 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-magazine .hero-img-wrap {
  width: 100%;
  max-height: 560px;
  overflow: hidden;
  background: var(--surface-muted);
}
.hero-magazine .hero-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}
.hero-magazine .hero-text {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 28px 40px;
}
.hero-magazine h1 {
  font-size: 52px;
  margin: 0 0 14px;
  font-weight: 600;
}
.hero-magazine .lead {
  font-family: var(--font-body);
  font-size: 20px;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
  max-width: 640px;
}

/* Fallback hero (no image) */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 52px; margin: 0 0 14px; font-weight: 600; }
.hero .lead { font-family: var(--font-body); font-size: 20px; font-style: italic; color: var(--text-muted); margin: 0; max-width: 640px; }

/* Section heading */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 56px 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-head h2 { font-size: 34px; margin: 0; font-weight: 600; }
.section-head a { font-family: var(--font-body); font-size: 14px; font-style: italic; }

/* Card grid (recipe-card style) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.card-list { display: flex; flex-direction: column; gap: 28px; }
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--surface-muted);
}
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 24px; margin: 0 0 8px; font-weight: 600; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--accent); text-decoration: none; }
.card-body .card-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 12px;
  font-style: italic;
  text-transform: capitalize;
}
.card-body p { margin: 0 0 16px; color: var(--text); font-size: 15px; }
.card-body .card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 14px;
}

/* Brick red star rating */
.rating-stars { color: var(--star); font-size: 16px; letter-spacing: 2px; }
.rating-stars .muted { color: var(--border); }

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

/* CTA: brick red button */
.cta-button {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  border: 1px solid var(--accent);
  transition: background 0.2s ease;
}
.cta-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }

/* Article page */
.article-page { padding: 48px 0 64px; }
.article-header { margin-bottom: 32px; text-align: center; }
.article-header .category-tag {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  display: block;
  font-style: italic;
}
.article-header h1 {
  font-size: 48px;
  margin: 0 0 16px;
  font-weight: 600;
}
.article-header .article-meta {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}
.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 0 0 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-disclosure {
  background: var(--surface-card);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  margin: 0 0 36px;
  color: var(--text);
  border-radius: var(--radius);
}
.article-content { font-size: 18px; line-height: 1.85; }
.article-content h2 { font-size: 32px; margin: 40px 0 14px; font-weight: 600; }
.article-content h3 { font-size: 24px; margin: 30px 0 12px; font-weight: 600; }
.article-content p { margin: 0 0 22px; }
.article-content ul, .article-content ol { margin: 0 0 22px; padding-left: 24px; }
.article-content li { margin-bottom: 10px; }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 28px 0;
  padding: 8px 0 8px 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--text-muted);
}
.article-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-family: var(--font-body); font-size: 15px; background: var(--surface-card); border-radius: var(--radius); overflow: hidden; }
.article-content th, .article-content td { border-bottom: 1px solid var(--border); padding: 12px 14px; text-align: left; }
.article-content th { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 16px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.pros-cons h3 { font-size: 20px; }
.pros-cons > div { background: var(--surface-card); padding: 20px 22px; border-radius: var(--radius); }
.scorecard { margin: 28px 0; }
.scorecard table { font-size: 15px; }
.scorecard td:last-child { text-align: right; font-weight: 600; color: var(--accent); }

/* Category page */
.category-page { padding: 48px 0 64px; }
.category-page h1 { font-size: 44px; margin: 0 0 12px; font-weight: 600; text-align: center; }
.category-page .lead { color: var(--text-muted); margin: 0 0 36px; font-family: var(--font-body); font-size: 19px; font-style: italic; text-align: center; }

/* Legal pages — warm boutique serif */
.legal-page { padding: 48px 0 64px; }
.legal-page h1 { font-size: 44px; margin: 0 0 18px; font-weight: 600; text-align: center; }
.legal-page h2 { font-size: 28px; margin: 36px 0 12px; font-weight: 600; }
.legal-page h3 { font-size: 20px; margin: 26px 0 10px; font-weight: 600; }
.legal-page p, .legal-page ul, .legal-page ol { margin: 0 0 16px; }
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page li { margin-bottom: 8px; }
.legal-page .lead { font-size: 19px; color: var(--text-muted); font-style: italic; text-align: center; }
.legal-page .contact-email { font-size: 22px; font-family: var(--font-display); font-style: italic; color: var(--accent); }
.legal-page .disclosure-callout {
  background: var(--surface-card);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  margin: 24px 0;
  border-left: 3px solid var(--accent);
  text-align: center;
}
.legal-revision { color: var(--text-muted); font-size: 14px; margin-top: 36px; font-style: italic; text-align: center; }

/* Footer */
.site-footer {
  background: var(--surface-card);
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 48px 28px 28px;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: var(--maxw); margin: 0 auto 28px; }
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 14px;
  font-style: italic;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text); font-family: var(--font-body); font-size: 14px; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .affiliate-disclosure { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin: 0; font-family: var(--font-body); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.affiliate-disclosure { font-size: 12px; color: var(--text-muted); line-height: 1.6; font-family: var(--font-body); }

/* Responsive */
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-magazine h1, .hero h1 { font-size: 36px; }
  .article-header h1 { font-size: 32px; }
  .category-page h1, .legal-page h1 { font-size: 32px; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
