/* ============================================================================
   Blog stylesheet — Mind Value Control
   Cozy, editorial aesthetic with warm cream + soft brown palette.
   ============================================================================ */

:root {
  --blog-bg:        #fbf6ec;
  --blog-bg-alt:    #fff8ea;
  --blog-text:      #2b2b2b;
  --blog-text-soft: #6a6a6a;
  --blog-accent:    #8b7355;
  --blog-accent-d:  #6b5440;
  --blog-green:     #1b3816;
  --blog-green-l:   #5A7A5A;
  --blog-line:      #e8dcc4;
  --blog-shadow:    0 4px 18px rgba(107, 84, 64, 0.08);
  --blog-shadow-h:  0 10px 30px rgba(107, 84, 64, 0.14);
  --blog-radius:    14px;
  --blog-max:       720px;
  --blog-max-wide:  1180px;
}

/* Reset some inheritance from main styles */
.blog-body {
  background: var(--blog-bg);
  color: var(--blog-text);
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.blog-body * { box-sizing: border-box; }

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blog-accent), var(--blog-green-l));
  z-index: 100;
  transition: width 0.05s linear;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.blog-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  max-width: var(--blog-max-wide);
  margin: 0 auto;
  border-bottom: 1px solid var(--blog-line);
}
.blog-nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.18s ease;
}
.blog-nav__logo:hover { opacity: 0.85; }
.blog-nav__logo img {
  display: block;
  max-height: 78px;
  width: auto;
  height: auto;
}
@media (max-width: 600px) {
  .blog-nav__logo img { max-height: 52px; }
}
.blog-nav__links {
  display: flex;
  gap: 28px;
}
.blog-nav__link {
  color: var(--blog-text);
  text-decoration: none;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.blog-nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--blog-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.blog-nav__link:hover::after,
.blog-nav__link--active::after { transform: scaleX(1); }
.blog-nav__link--active { color: var(--blog-accent-d); font-weight: 600; }

@media (max-width: 600px) {
  .blog-nav { padding: 14px 18px; flex-direction: column; gap: 10px; align-items: flex-start; }
  .blog-nav__links { gap: 18px; }
}

/* ── INDEX HERO ─────────────────────────────────────────────────────────── */
.blog-main {
  max-width: var(--blog-max-wide);
  margin: 0 auto;
  padding: 0 30px 60px;
}
.blog-hero {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.blog-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blog-accent);
  font-weight: 600;
  margin: 0 0 12px;
}
.blog-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--blog-green);
  margin: 0 0 18px;
}
.blog-hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--blog-text-soft);
  margin: 0;
}
.blog-hero__sub em {
  color: var(--blog-accent-d);
  font-style: italic;
}

/* ── FILTER PILLS ────────────────────────────────────────────────────────── */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 30px auto 50px;
  padding: 0 10px;
  max-width: 880px;
}
.blog-filter {
  background: var(--blog-bg-alt);
  border: 1px solid var(--blog-line);
  color: var(--blog-text-soft);
  padding: 8px 18px;
  border-radius: 24px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.blog-filter:hover {
  background: #fff;
  border-color: var(--blog-accent);
  color: var(--blog-accent-d);
}
.blog-filter--active {
  background: var(--blog-accent);
  border-color: var(--blog-accent);
  color: #fff;
}

/* ── POST GRID (INDEX) ───────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px;
  align-items: stretch;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--blog-radius);
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--blog-shadow-h);
}
.blog-card__image-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--blog-bg-alt);
}
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__image { transform: scale(1.04); }
.blog-card__body { padding: 22px 24px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blog-text-soft);
  margin-bottom: 10px;
}
.blog-card__cat {
  background: var(--blog-bg-alt);
  color: var(--blog-accent-d);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.blog-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--blog-green);
  margin: 0 0 10px;
}
.blog-card__sub {
  color: var(--blog-text-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--blog-text-soft);
  padding-top: 12px;
  border-top: 1px solid var(--blog-line);
}
.blog-card__author { font-weight: 600; color: var(--blog-accent-d); }

.blog-empty {
  text-align: center;
  padding: 80px 30px;
  max-width: 480px;
  margin: 0 auto;
}
.blog-empty__icon { font-size: 56px; margin-bottom: 16px; }
.blog-empty h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--blog-green);
  margin: 0 0 12px;
}
.blog-empty p { color: var(--blog-text-soft); }

.blog-error {
  grid-column: 1 / -1;
  text-align: center;
  color: #c62828;
  padding: 40px;
}

.blog-load-more { text-align: center; margin: 60px 0 20px; }
.blog-load-more__btn {
  background: transparent;
  border: 2px solid var(--blog-accent);
  color: var(--blog-accent-d);
  padding: 14px 36px;
  border-radius: 30px;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.blog-load-more__btn:hover {
  background: var(--blog-accent);
  color: #fff;
}

/* ── ARTICLE PAGE ────────────────────────────────────────────────────────── */
.blog-body--article { background: #fff; }

.article {
  max-width: var(--blog-max);
  margin: 0 auto;
  padding: 50px 24px 80px;
  position: relative;
}

.article-crumbs {
  font-size: 13px;
  color: var(--blog-text-soft);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.article-crumbs a {
  color: var(--blog-text-soft);
  text-decoration: none;
}
.article-crumbs a:hover { color: var(--blog-accent); }
.article-crumbs__cat {
  font-weight: 600;
  color: var(--blog-text);
}

.article-header {
  text-align: center;
  margin-bottom: 50px;
}
.article-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blog-accent);
  font-weight: 700;
  margin: 0 0 18px;
}
.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: var(--blog-green);
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.article-subtitle {
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
  color: var(--blog-text-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.article-byline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px 18px;
  background: var(--blog-bg);
  border-radius: 50px;
}
.article-byline__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--blog-shadow);
}
.article-byline__row { font-size: 14px; line-height: 1.4; }
.article-byline__row--meta { color: var(--blog-text-soft); font-size: 13px; }
.article-byline__name { font-weight: 700; color: var(--blog-green); }
.article-byline__role { color: var(--blog-text-soft); margin-left: 6px; }

.article-hero {
  margin: 0 -24px 50px;
}
.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: var(--blog-shadow);
}
.article-hero__caption {
  text-align: center;
  font-size: 13px;
  color: var(--blog-text-soft);
  font-style: italic;
  margin-top: 10px;
}

/* Sticky share rail (desktop only) */
.share-rail {
  position: fixed;
  left: max(20px, calc(50% - var(--blog-max)/2 - 70px));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}
.share-rail__btn {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--blog-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blog-text-soft);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: var(--blog-shadow);
}
.share-rail__btn:hover {
  color: var(--blog-accent-d);
  border-color: var(--blog-accent);
  transform: translateY(-2px);
}
.share-rail__btn--copied {
  background: var(--blog-green-l);
  color: #fff;
}
@media (max-width: 1100px) { .share-rail { display: none; } }

/* Article body — the heart */
.article-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--blog-text);
}
.article-body p {
  margin: 0 0 1.4em;
}
/* Drop cap on the very first paragraph */
.article-body > p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 4.6em;
  float: left;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--blog-accent);
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blog-green);
  margin: 50px 0 20px;
  letter-spacing: -0.3px;
}
.article-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--blog-green);
  margin: 36px 0 14px;
}
.article-body a {
  color: var(--blog-accent-d);
  text-decoration: underline;
  text-decoration-color: var(--blog-line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.article-body a:hover { text-decoration-color: var(--blog-accent); }
.article-body strong { color: var(--blog-green); font-weight: 700; }
.article-body em { color: var(--blog-accent-d); }
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 36px auto;
  border-radius: 4px;
  box-shadow: var(--blog-shadow);
}
.article-body blockquote {
  border-left: 3px solid var(--blog-accent);
  padding: 12px 0 12px 28px;
  margin: 36px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--blog-green);
}
.article-body ul, .article-body ol {
  padding-left: 28px;
  margin: 0 0 1.4em;
}
.article-body li { margin: 0 0 0.6em; }
.article-body hr {
  border: none;
  height: 1px;
  background: var(--blog-line);
  margin: 50px auto;
  max-width: 200px;
}

/* Inline mid-article newsletter banner */
.article-inline-newsletter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--blog-bg) 0%, var(--blog-bg-alt) 100%);
  border: 1px solid var(--blog-line);
  border-radius: var(--blog-radius);
  padding: 22px 26px;
  margin: 50px 0;
}
.article-inline-newsletter__icon { font-size: 32px; }
.article-inline-newsletter__copy h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  margin: 0 0 4px;
  color: var(--blog-green);
}
.article-inline-newsletter__copy p {
  font-size: 14px;
  color: var(--blog-text-soft);
  margin: 0;
  line-height: 1.5;
}
.article-inline-newsletter__form {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.article-inline-newsletter__input {
  flex: 1;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  background: #fff;
}
.article-inline-newsletter__input:focus { outline: 2px solid var(--blog-accent); outline-offset: -1px; }
.article-inline-newsletter__btn {
  background: var(--blog-green-l);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 22px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}
.article-inline-newsletter__btn:hover { background: var(--blog-green); }
.article-inline-newsletter__msg {
  grid-column: 1 / -1;
  font-size: 13px;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .article-inline-newsletter { grid-template-columns: 1fr; text-align: center; padding: 22px; }
  .article-inline-newsletter__icon { margin: 0 auto; }
  .article-inline-newsletter__form { flex-direction: column; }
  .article-inline-newsletter__btn { padding: 12px 22px; }
}

/* Author footer card */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: var(--blog-bg);
  border-radius: var(--blog-radius);
  margin: 50px 0;
}
.author-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: var(--blog-shadow);
}
.author-card__row { font-size: 16px; }
.author-card__name { font-weight: 700; color: var(--blog-green); font-family: 'Playfair Display', Georgia, serif; font-size: 18px; }
.author-card__role { color: var(--blog-text-soft); margin-left: 6px; font-size: 14px; }
.author-card__bio {
  margin: 8px 0 0;
  color: var(--blog-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Related strip */
.related-section {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--blog-line);
}
.related-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  text-align: center;
  font-size: 28px;
  color: var(--blog-green);
  margin: 0 0 30px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--blog-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.related-card:hover { transform: translateY(-3px); }
.related-card__img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.related-card__img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { padding: 14px 16px 16px; }
.related-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--blog-green);
  margin: 0 0 6px;
}
.related-card__date {
  font-size: 12px;
  color: var(--blog-text-soft);
  margin: 0;
}

/* 404 */
.article-404 {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 30px;
}
.article-404__icon { font-size: 56px; margin-bottom: 16px; }
.article-404 h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--blog-green);
  margin: 0 0 12px;
}
.article-404 p { color: var(--blog-text-soft); }
.article-404 a { color: var(--blog-accent-d); }

/* ── BIG NEWSLETTER STRIP (INDEX) ────────────────────────────────────────── */
.blog-newsletter {
  background: linear-gradient(135deg, #4a5e44 0%, #1b3816 100%);
  color: #fff8ea;
  padding: 70px 20px;
  margin-top: 60px;
}
.blog-newsletter__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.blog-newsletter__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  margin: 0 0 14px;
  color: #fff8ea;
}
.blog-newsletter__sub {
  font-size: 16px;
  margin: 0 0 28px;
  opacity: 0.85;
}
.blog-newsletter__form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 6px;
  border-radius: 30px;
  max-width: 420px;
  margin: 0 auto;
}
.blog-newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: #fff8ea;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
}
.blog-newsletter__input::placeholder { color: rgba(255,248,234,0.6); }
.blog-newsletter__input:focus { outline: none; }
.blog-newsletter__btn {
  background: #fff8ea;
  color: var(--blog-green);
  border: none;
  border-radius: 24px;
  padding: 0 24px;
  font-family: 'Lora', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.blog-newsletter__msg {
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.blog-footer {
  background: #fff;
  border-top: 1px solid var(--blog-line);
  padding: 30px 20px;
  text-align: center;
}
.blog-footer__inner {
  max-width: var(--blog-max-wide);
  margin: 0 auto;
  font-size: 13px;
  color: var(--blog-text-soft);
}
.blog-footer a { color: var(--blog-text-soft); margin: 0 6px; }
.blog-footer a:hover { color: var(--blog-accent); }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .blog-card { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
  .blog-card:nth-child(2) { animation-delay: 0.05s; }
  .blog-card:nth-child(3) { animation-delay: 0.1s; }
  .blog-card:nth-child(4) { animation-delay: 0.15s; }
  .blog-card:nth-child(5) { animation-delay: 0.2s; }
  .blog-card:nth-child(6) { animation-delay: 0.25s; }
  @keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================================
   BLOG V2 — Tags, TOC, Shop the article
   ============================================================================ */

/* ── Tag cloud on blog index ─────────────────────────────────────────────── */
.blog-tagcloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 880px;
  margin: -20px auto 40px;
  padding: 0 20px;
}
.blog-tagcloud__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--blog-line);
  color: var(--blog-text-soft);
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.blog-tagcloud__tag:hover {
  border-color: var(--blog-accent);
  color: var(--blog-accent-d);
  transform: translateY(-1px);
}
.blog-tagcloud__count {
  background: var(--blog-bg-alt);
  color: var(--blog-accent-d);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

/* ── Active tag pill (when on /blog/tag/:slug) ───────────────────────────── */
.blog-active-tag {
  text-align: center;
  margin: -20px auto 40px;
  font-size: 14px;
  color: var(--blog-text-soft);
}
.blog-active-tag__name {
  background: var(--blog-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 16px;
  font-weight: 600;
  margin: 0 6px;
}
.blog-active-tag__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--blog-line);
  color: var(--blog-text);
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  vertical-align: middle;
  transition: background 0.15s ease;
}
.blog-active-tag__clear:hover {
  background: var(--blog-accent);
  color: #fff;
}

/* ── Tag chips on blog cards ─────────────────────────────────────────────── */
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 16px;
}
.blog-card__tag {
  font-size: 11px;
  color: var(--blog-text-soft);
  background: var(--blog-bg);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── Tag chips on article (under hero) ───────────────────────────────────── */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: -20px 0 40px;
}
.article-tag {
  font-size: 13px;
  color: var(--blog-accent-d);
  background: var(--blog-bg);
  border: 1px solid var(--blog-line);
  padding: 4px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.article-tag:hover {
  background: var(--blog-accent);
  color: #fff;
  border-color: var(--blog-accent);
}

/* ── Auto Table of Contents ──────────────────────────────────────────────── */
.article-toc {
  position: fixed;
  right: max(24px, calc(50% - var(--blog-max)/2 - 280px));
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  max-height: 70vh;
  background: var(--blog-bg);
  border: 1px solid var(--blog-line);
  border-radius: 12px;
  padding: 16px 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
}
.article-toc__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Lora', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--blog-green);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--blog-line);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.article-toc__chevron {
  transition: transform 0.2s ease;
  font-size: 14px;
}
.article-toc__toggle[aria-expanded="false"] .article-toc__chevron {
  transform: rotate(-90deg);
}
.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: calc(70vh - 60px);
}
.article-toc__link {
  display: block;
  font-size: 13px;
  color: var(--blog-text-soft);
  text-decoration: none;
  line-height: 1.45;
  padding: 4px 8px;
  border-left: 2px solid transparent;
  border-radius: 3px;
  transition: all 0.15s ease;
}
.article-toc__link:hover {
  color: var(--blog-accent-d);
  background: rgba(139, 115, 85, 0.06);
}
.article-toc__link--l3 {
  padding-left: 22px;
  font-size: 12px;
}
.article-toc__link--active {
  color: var(--blog-green);
  border-left-color: var(--blog-accent);
  font-weight: 600;
  background: rgba(139, 115, 85, 0.08);
}

/* On smaller screens, TOC moves inline with the article (collapsible) */
@media (max-width: 1280px) {
  .article-toc {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 36px;
    max-height: none;
  }
  .article-toc__list {
    max-height: none;
  }
}

/* ── Shop the article ────────────────────────────────────────────────────── */
.shop-the-article {
  margin: 60px 0 50px;
  padding: 36px 30px;
  background: linear-gradient(180deg, var(--blog-bg-alt) 0%, var(--blog-bg) 100%);
  border-radius: var(--blog-radius);
  border: 1px solid var(--blog-line);
}
.shop-the-article__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: var(--blog-green);
  text-align: center;
  margin: 0 0 8px;
}
.shop-the-article__sub {
  text-align: center;
  font-size: 14px;
  color: var(--blog-text-soft);
  margin: 0 0 28px;
  font-style: italic;
}
.shop-the-article__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.shop-product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-product:hover {
  transform: translateY(-3px);
  box-shadow: var(--blog-shadow-h);
}
.shop-product__img-wrap {
  aspect-ratio: 1;
  position: relative;
  background: var(--blog-bg);
  overflow: hidden;
}
.shop-product__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-product__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #c62828;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.shop-product__oos {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 6px;
  font-weight: 600;
}
.shop-product--oos { opacity: 0.7; }
.shop-product__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shop-product__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  line-height: 1.3;
  color: var(--blog-green);
  margin: 0 0 6px;
  font-weight: 600;
}
.shop-product__price {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--blog-text);
}
.shop-product__price-cross {
  text-decoration: line-through;
  color: var(--blog-text-soft);
  font-size: 12px;
  margin-right: 5px;
}
.shop-product__price-now {
  color: var(--blog-accent-d);
  font-weight: 700;
}
.shop-product__cta {
  margin-top: auto;
  font-size: 12px;
  color: var(--blog-accent-d);
  font-weight: 600;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .shop-the-article { padding: 26px 18px; }
  .shop-the-article__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── "A fost util?" feedback widget + email CTA ─────────────────────────
   Sits at the natural end of the article — gentle prompt for reaction +
   an invitation to write us directly. No public comments, no troll surface. */
.article-feedback {
  margin: 60px 0 40px;
}
.article-feedback__inner {
  background: linear-gradient(180deg, var(--blog-bg-alt) 0%, var(--blog-bg) 100%);
  border: 1px solid var(--blog-line);
  border-radius: var(--blog-radius);
  padding: 36px 32px;
  text-align: center;
}
.article-feedback__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--blog-green);
  margin: 0 0 20px;
  font-weight: 700;
}

/* Two-button row */
.article-feedback__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fff;
  border: 1.5px solid var(--blog-line);
  border-radius: 28px;
  color: var(--blog-text);
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.feedback-btn:hover:not(:disabled) {
  background: #fff;
  border-color: var(--blog-accent);
  color: var(--blog-accent-d);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(139, 115, 85, 0.18);
}
.feedback-btn:disabled { cursor: default; opacity: 0.55; }
.feedback-btn--voting {
  background: var(--blog-green-l);
  border-color: var(--blog-green-l);
  color: #fff;
  opacity: 1;
  transform: scale(0.95);
}
.feedback-btn__emoji { font-size: 1.15em; }

.article-feedback__thanks {
  font-size: 15px;
  color: var(--blog-green);
  font-style: italic;
  padding: 14px 0 6px;
  animation: feedbackFadeIn 0.4s ease-out;
}
.article-feedback__thanks p { margin: 0; }
@keyframes feedbackFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Email CTA — sits below feedback buttons, divider in between */
.article-feedback__cta {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px dashed var(--blog-line);
}
.article-feedback__cta-lead {
  font-size: 15px;
  color: var(--blog-text);
  margin: 0 0 6px;
}
.article-feedback__cta-sub {
  font-size: 14px;
  color: var(--blog-text-soft);
  margin: 0 0 18px;
  font-style: italic;
}
.article-feedback__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: var(--blog-green-l);
  color: #fff8ea;
  text-decoration: none;
  border-radius: 28px;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(90, 122, 90, 0.25);
}
.article-feedback__cta-btn:hover {
  background: var(--blog-green);
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(90, 122, 90, 0.35);
}
.article-feedback__cta-arrow { transition: transform 0.2s ease; }
.article-feedback__cta-btn:hover .article-feedback__cta-arrow { transform: translateX(4px); }

@media (max-width: 600px) {
  .article-feedback__inner { padding: 28px 22px; }
  .article-feedback__title { font-size: 19px; }
}
