@import url('https://api.fontshare.com/v2/css?f[]=melodrama@700&f[]=supreme@100,400,500,700&display=swap');

:root {
  --cream: #fdf3f0;
  --card: #ffffff;
  --rust: #c96b86;
  --rust-dark: #a34f6b;
  --ink: #352a2f;
  --muted: #93777e;
  --line: #f3dde3;
  --gold: #cf9a3f;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.top-strip {
  background: var(--rust-dark);
  color: #fdeaf0;
  text-align: center;
  font-size: 0.78em;
  padding: 6px;
  letter-spacing: 0.3px;
}

header.blog-head {
  text-align: center;
  padding: 40px 20px 22px;
  border-bottom: 1px solid var(--line);
}
header.blog-head .eyebrow {
  font-family: 'Supreme', sans-serif;
  font-weight: 100;
  font-size: 0.95em;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rust);
}
header.blog-head .site-title {
  font-family: 'Melodrama', Georgia, serif;
  font-weight: 700;
  font-size: 3.4em;
  margin: 10px 0 6px;
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
header.blog-head .tagline {
  color: var(--muted);
  font-size: 1.02em;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}
nav.blog-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 16px 0;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
nav.blog-nav a:hover { color: var(--rust); }
nav.blog-nav a.on { color: var(--rust); }

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
main.single-col { grid-template-columns: 1fr; max-width: 760px; }

/* ---- featured / post hero ---- */
.featured, .post-full {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(90,30,50,0.06);
  margin-bottom: 36px;
}
.featured-media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f3d9e1, #d99cb0);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 4em;
  overflow: hidden;
}
.post-hero-media {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #f3d9e1, #d99cb0);
  display: flex; align-items: center; justify-content: center;
  font-size: 4em;
  overflow: hidden;
}
.post-hero-media .photo-slot {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}
.photo-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.cat-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--rust); color: white;
  font-size: 0.66rem; font-weight: 800;
  padding: 4px 9px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.cat-tag-plain {
  display: inline-block;
  background: var(--rust); color: white;
  font-size: 0.72em; font-weight: 800;
  padding: 5px 11px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.featured-body, .post-body-wrap { padding: 26px 30px 30px; }
.featured-body h2, .post-body-wrap h1 { font-size: 1.7em; margin: 0 0 10px; line-height: 1.25; }
.post-meta { color: var(--muted); font-size: 0.82em; margin-bottom: 12px; }
.featured-body p, .post-content p { line-height: 1.7; color: #4a3a3f; margin: 0 0 16px; font-size: 1.02em; }
.read-more { color: var(--rust); font-weight: 700; font-size: 0.9em; }

/* ---- recipe card ---- */
.recipe-card {
  background: #fbeaef;
  border: 2px dotted var(--rust);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 0.9em;
}
.recipe-card .rc-title { font-weight: 800; margin-bottom: 8px; color: var(--rust-dark); }
.recipe-card ul { margin: 8px 0; padding-left: 20px; }
.recipe-card li { margin-bottom: 4px; }
.recipe-card .price { float: right; font-weight: 700; color: var(--rust); }
.recipe-total {
  border-top: 2px dotted var(--rust);
  margin-top: 10px;
  padding-top: 8px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

/* ---- post grid ---- */
.section-label {
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.post-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(90,30,50,0.05);
}
.post-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eec9d5, #c98aa0);
  position: relative;
  display: flex; align-items:center; justify-content:center;
  font-size: 2.6em;
  overflow: hidden;
}
.post-body { padding: 16px 18px 20px; }
.post-body h3 { font-size: 1.08em; margin: 0 0 8px; line-height: 1.3; }
.post-body p { font-size: 0.86em; color: var(--muted); line-height: 1.55; margin: 0; }

.category-intro {
  background: var(--card);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 28px;
  box-shadow: 0 1px 8px rgba(90,30,50,0.05);
}
.category-intro h1 { margin: 0 0 8px; font-family: 'Melodrama', Georgia, serif; font-size: 1.9em; }
.category-intro p { color: var(--muted); margin: 0; line-height: 1.6; }

/* ---- sidebar ---- */
.widget {
  background: var(--card);
  border-radius: 8px;
  padding: 22px 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px rgba(90,30,50,0.05);
}
.widget h4 {
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rust);
  margin: 0 0 14px;
}
.about-pic {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg,#eec9d5,#c98aa0);
  margin: 0 auto 14px;
  display: flex; align-items:center; justify-content:center;
  font-size: 2em;
  overflow: hidden;
  position: relative;
}
.widget.about { text-align: center; }
.widget.about p { font-size: 0.88em; color: #4a3a3f; line-height: 1.6; }
.widget.about .name { font-weight: 800; margin-bottom: 4px; }

.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9em; }
.cat-list li:last-child { border-bottom: none; }
.cat-list .n { color: var(--muted); font-size: 0.85em; }

.newsletter { background: var(--rust); color: #fff2f6; text-align: center; }
.newsletter h4 { color: #ffe3ec; }
.newsletter p { font-size: 0.88em; line-height: 1.55; margin: 0 0 14px; }
.newsletter input {
  width: 100%; padding: 9px 10px; border: none; border-radius: 4px;
  margin-bottom: 8px; font-size: 0.85em;
}
.newsletter button {
  width: 100%; padding: 9px; border: none; border-radius: 4px;
  background: var(--ink); color: white; font-weight: 700; font-size: 0.85em;
  cursor: pointer;
}

.popular-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.popular-item:last-child { border-bottom: none; }
.popular-thumb {
  width: 52px; height: 52px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg,#eec9d5,#c98aa0);
  position: relative; overflow: hidden;
}
.popular-item h6 { margin: 0; font-size: 0.85em; line-height: 1.3; font-weight: 700; }

footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--muted);
  font-size: 0.72em;
  border-top: 1px solid var(--line);
}
footer .disclaimer { max-width: 620px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 860px) {
  main { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  header.blog-head h1 { font-size: 2.3em; }
}
