/* eChowder — site.css */
:root {
  --cream: #faf3e9;
  --cream-dark: #f1e6d3;
  --ink: #2e2420;
  --ink-soft: #5b4b3f;
  --rust: #b4552b;
  --rust-dark: #8f3f1d;
  --sage: #6c7a5e;
  --gold: #c89b3c;
  --line: #e2d3bc;
  --card-shadow: 0 2px 10px rgba(50, 35, 20, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: var(--rust-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
}

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 3px solid var(--rust);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-header .logo {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.5px;
  color: var(--rust-dark);
}
.site-header .tagline {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.site-nav a { color: var(--ink); font-weight: 600; }

/* Layout */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  max-width: 1120px;
  margin: 32px auto;
  padding: 0 24px;
  align-items: start;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream-dark), var(--cream));
  padding: 56px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 12px;
}
.hero p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Recipe grid on home */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin: 36px 0;
}
.recipe-card-link {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.15s ease;
}
.recipe-card-link:hover { transform: translateY(-3px); text-decoration: none; }
.recipe-card-link img { aspect-ratio: 3/2; object-fit: cover; }
.recipe-card-link .card-body { padding: 16px 18px 20px; }
.recipe-card-link h2 {
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.recipe-card-link .excerpt {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}
.card-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage);
  margin-bottom: 6px;
  display: block;
}

/* Article */
article.post { max-width: 720px; }
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--ink-soft); }
.post-title {
  font-size: 2.2rem;
  margin: 0 0 10px;
}
.post-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.jump-to-recipe {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 10px 0 26px;
}
.jump-to-recipe:hover { background: var(--rust-dark); text-decoration: none; }

.post-figure { margin: 24px 0; }
.post-figure figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-style: italic;
}

article.post p { margin: 0 0 20px; }
article.post h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 6px;
}
article.post h3 {
  font-size: 1.15rem;
  margin: 22px 0 10px;
}

/* Ad containers */
.mv-ad-box {
  background: repeating-linear-gradient(45deg, #efe4d0, #efe4d0 10px, #e8dabf 10px, #e8dabf 20px);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 28px 0;
}
.mv-ad-box::before { content: "Advertisement"; }
.adthrive-ad {
  background: repeating-linear-gradient(45deg, #efe4d0, #efe4d0 10px, #e8dabf 10px, #e8dabf 20px);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
}
.adthrive-ad::before {
  content: "Advertisement";
  color: var(--ink-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mv-sticky-footer {
  position: static;
  min-height: 90px;
  margin: 40px 0 0;
}

/* Recipe card (WPRM-like) */
.wprm-recipe-container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 30px;
  margin: 32px 0;
  box-shadow: var(--card-shadow);
}
.wprm-recipe-header h2 {
  border-bottom: none;
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.wprm-recipe-summary {
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 18px;
}
.wprm-recipe-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--cream-dark);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 0.9rem;
}
.wprm-recipe-meta div span.label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage);
}
.wprm-recipe-ingredients {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.wprm-recipe-ingredients li {
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
}
.wprm-recipe-ingredients li::before {
  content: "\2022";
  color: var(--rust);
  font-weight: 700;
  margin-right: 10px;
}
.wprm-recipe-instructions {
  padding: 0;
  margin: 0 0 24px;
  counter-reset: step;
}
.wprm-recipe-instructions li {
  list-style: none;
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 44px;
  border-bottom: 1px solid var(--line);
}
.wprm-recipe-instructions li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  background: var(--rust);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.wprm-recipe-equipment {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.wprm-recipe-equipment li {
  display: inline-block;
  background: var(--cream-dark);
  border-radius: 20px;
  padding: 6px 14px;
  margin: 0 8px 8px 0;
  font-size: 0.88rem;
}
.wprm-recipe-notes {
  background: var(--cream-dark);
  border-left: 4px solid var(--sage);
  padding: 14px 18px;
  font-size: 0.92rem;
}

/* Sidebar */
.sidebar { font-size: 0.92rem; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: var(--card-shadow);
}
.sidebar-widget h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
  color: var(--rust-dark);
}
.sidebar-widget img { border-radius: 6px; margin-bottom: 10px; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.search-form button {
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-list li { margin-bottom: 10px; }
.popular-list a { color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream-dark);
  margin-top: 48px;
  padding: 40px 24px 28px;
}
.site-footer h3 {
  color: var(--cream-dark);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}
.footer-related {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.footer-related a { color: var(--cream-dark); }
.footer-related a:hover { color: #fff; }
.site-footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: 0.82rem;
  color: #c9bba6;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
}

/* Pubber: a filled ad container drops its placeholder styling */
.pb-filled{background:none !important;border:0 !important;min-height:0 !important;height:auto !important}
.pb-filled::before,.pb-filled::after{content:none !important;display:none !important}
