/* ================================================================
   BLOG — blog.html only
================================================================ */

body { background: #fafaf7; }
a { color: var(--green); }

/* ── Hero ── */
.blog-hero {
  position: relative;
  background: radial-gradient(ellipse 160% 100% at 20% 0%, #0a1f06 0%, #020501 65%);
  padding: 88px 24px 80px; text-align: center; color: #fff;
  overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(45,106,31,.35) 0%, transparent 70%);
  border-radius: 50%; top: -200px; left: -100px; pointer-events: none;
}
.blog-hero::after {
  content: ''; position: absolute; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(76,153,0,.18) 0%, transparent 70%);
  border-radius: 50%; bottom: -140px; right: -60px; pointer-events: none;
}
.blog-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(125,186,94,.85); margin-bottom: 18px;
  position: relative; z-index: 1;
}
.blog-hero-label::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: currentColor; opacity: .7; flex-shrink: 0;
}
.blog-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400;
  letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px;
  color: #f0ebe3; position: relative; z-index: 1;
}
.blog-hero p {
  max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.7);
  font-size: .97rem; line-height: 1.75; font-weight: 300;
  position: relative; z-index: 1;
}

/* ── Articles grid ── */
.blog-main { max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px; }
.blog-section-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--green); margin-bottom: 28px;
}
.blog-articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.post-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.post-card-thumb {
  height: 160px; display: flex; align-items: center;
  justify-content: center; font-size: 4rem;
}
.post-card-thumb.health  { background: linear-gradient(135deg,#e8f5e1,#d4edd0); }
.post-card-thumb.recipe  { background: linear-gradient(135deg,#fff8e1,#ffecb3); }
.post-card-thumb.story   { background: linear-gradient(135deg,#e3f2fd,#bbdefb); }
.post-card-thumb.science { background: linear-gradient(135deg,#fce4ec,#f8bbd9); }
.post-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.post-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 50px; width: fit-content;
}
.post-tag.health  { background: #edf7ed; color: var(--green); }
.post-tag.recipe  { background: #fff8e1; color: #b8860b; }
.post-tag.story   { background: #e3f2fd; color: #1565c0; }
.post-tag.science { background: #fce4ec; color: #c2185b; }
.post-card-body h2 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-weight: 400; line-height: 1.4; color: var(--brown); }
.post-card-body h2 a { text-decoration: none; color: inherit; }
.post-card-body h2 a:hover { color: var(--green); }
.post-card-body p { font-size: .85rem; color: #666; line-height: 1.6; flex: 1; }
.post-meta { font-size: .75rem; color: #aaa; display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.post-meta span::before { content: '·'; margin-right: 12px; }
.post-meta span:first-child::before { content: ''; margin-right: 0; }

/* ── Blog filter bar ── */
.blog-filter-bar {
  display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px;
}
.blog-search-wrap { position: relative; }
.blog-search-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #a08060; pointer-events: none;
}
.blog-search {
  width: 100%; padding: 11px 16px 11px 42px;
  border: 1.5px solid #e0d0b8; border-radius: 50px;
  font-size: .9rem; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff; color: #3D2B1F; outline: none;
  transition: border-color .2s;
}
.blog-search:focus { border-color: var(--green); }
.blog-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 7px 18px; border-radius: 50px; border: 1.5px solid #e0d0b8;
  background: #fff; color: #6b5741; font-size: .8rem; font-weight: 600;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.filter-tab:hover { border-color: var(--green); color: var(--green); }
.filter-tab.active { background: var(--green); border-color: var(--green); color: #fff; }
.filter-tab.active:hover { background: #245518; }
.blog-no-results {
  text-align: center; padding: 48px 24px; color: #a08060;
  font-size: .95rem; grid-column: 1/-1;
}
.blog-no-results a { color: var(--green); font-weight: 600; }

/* ── Full article view ── */
.full-post { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.full-post .breadcrumb { padding: 12px 0; margin-bottom: 6px; }
.full-post h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400;
  color: var(--brown); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 12px;
}
.full-post .post-hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: .8rem; color: #aaa; margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.full-post h2 {
  font-family: 'DM Serif Display', serif; font-size: 1.5rem; font-weight: 400;
  color: var(--brown); margin: 36px 0 14px; letter-spacing: -0.01em;
}
.full-post p { margin-bottom: 16px; font-size: .97rem; line-height: 1.75; }
.full-post ul, .full-post ol { padding-left: 22px; margin-bottom: 16px; }
.full-post li { margin-bottom: 8px; font-size: .97rem; line-height: 1.6; }
.full-post blockquote {
  border-left: 4px solid var(--green); background: #f0f9eb;
  padding: 16px 20px; border-radius: 0 10px 10px 0;
  margin: 24px 0; font-style: italic; color: var(--brown);
}
.tip-box { background: #edf7ed; border: 1px solid #b8dba0; border-radius: 10px; padding: 16px 20px; margin: 20px 0; }
.tip-box strong { color: var(--green); }
.back-to-blog {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); text-decoration: none;
  font-size: .88rem; font-weight: 500; margin-bottom: 32px;
}
.back-to-blog:hover { text-decoration: underline; }

/* ── Related Articles ── */
.related-articles {
  border-top: 2px solid var(--border); margin-top: 40px; padding-top: 28px;
}
.related-articles h3 {
  font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400;
  color: var(--brown); margin-bottom: 16px;
}
.related-articles ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.related-articles li a {
  display: flex; align-items: center; gap: 8px;
  color: var(--green); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.related-articles li a::before { content: '→'; flex-shrink: 0; }
.related-articles li a:hover { text-decoration: underline; }

/* ── Author bio ── */
.author-bio {
  display: flex; align-items: flex-start; gap: 20px;
  background: #f8faf5; border: 1px solid #d4e8c4; border-radius: 14px;
  padding: 24px; margin: 40px 0 32px;
}
.author-bio-img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.author-bio-text { flex: 1; }
.author-bio-name { font-weight: 700; font-size: 1rem; color: var(--brown); margin-bottom: 2px; }
.author-bio-role { font-size: .8rem; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.author-bio-text p { font-size: .87rem; color: #555; line-height: 1.6; margin: 0; }

/* ── Article FAQ ── */
.article-faq {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 28px 12px; margin: 32px 0;
}
.article-faq h2 {
  font-family: 'DM Serif Display', serif; font-size: 1.3rem; font-weight: 400;
  color: var(--brown); margin: 0 0 20px; border: none; padding: 0;
}
.faq-item {
  border-top: 1px solid var(--border); padding: 14px 0;
}
.faq-item summary {
  font-weight: 600; font-size: .95rem; color: var(--brown);
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.2rem; color: var(--green);
  flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 10px 0 4px; font-size: .9rem; color: #555; line-height: 1.65; }

/* ── Blog CTA block ── */
.blog-cta {
  position: relative;
  background: radial-gradient(ellipse 140% 100% at 20% 0%, #0a1f06 0%, #020501 70%);
  border-radius: 24px; padding: 40px 36px; margin: 48px 0 32px;
  overflow: hidden; color: #fff;
}
.blog-cta::before {
  content: ''; position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,106,31,.35) 0%, transparent 70%);
  border-radius: 50%; top: -160px; right: -80px; pointer-events: none;
}
.blog-cta-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(125,186,94,.85); margin-bottom: 14px; position: relative; z-index: 1;
}
.blog-cta-label::before {
  content: ''; display: block; width: 24px; height: 1px;
  background: currentColor; opacity: .7; flex-shrink: 0;
}
.blog-cta-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400;
  color: #f0ebe3; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.blog-cta-sub {
  font-size: .92rem; color: rgba(255,255,255,.65); line-height: 1.7;
  font-weight: 300; margin-bottom: 20px; position: relative; z-index: 1; max-width: 500px;
}
.blog-cta-pills {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.blog-cta-pills span {
  background: rgba(45,106,31,.2); border: 1px solid rgba(80,160,50,.25);
  color: #7dba5e; font-size: .71rem; font-weight: 600;
  padding: 5px 12px; border-radius: 50px;
}
.blog-cta-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.blog-cta-btn {
  display: inline-block; background: #E8890C; color: #fff;
  padding: 14px 28px; border-radius: 50px; font-size: .9rem; font-weight: 600;
  text-decoration: none; font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 24px rgba(232,137,12,.45);
  transition: background .2s, box-shadow .2s;
}
.blog-cta-btn:hover { background: #c97a0a; box-shadow: 0 8px 32px rgba(232,137,12,.6); color: #fff; }
.blog-cta-link {
  font-size: .85rem; font-weight: 500; color: rgba(125,186,94,.75);
  text-decoration: none; transition: color .2s;
}
.blog-cta-link:hover { color: #7dba5e; }

@media (max-width: 480px) {
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .author-bio-img { width: 80px; height: 80px; }
  .blog-cta { padding: 28px 22px; }
  .blog-cta-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .blog-hero { padding: 64px 20px 56px; }
}
