/* =====================================================================
   Blog — list (/blog), category/tag pages and single post (/blog/{slug})
   Uses the brand tokens from style.css (--primary-dark, --accent, fonts…)
   ===================================================================== */

/* ---------- shared bits ---------- */
.blog-eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent-dark);
}
.blog-chip {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 0.74rem; font-weight: 600; text-decoration: none; letter-spacing: .2px;
  transition: background .2s, color .2s;
}
.blog-chip:hover { background: var(--primary-dark); color: var(--white); }
.blog-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  background: var(--primary-dark); color: var(--white) !important; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; box-shadow: 0 10px 22px -12px rgba(168, 88, 98, .9);
  transition: transform .2s, background .2s;
}
.blog-btn:hover { background: #8f4650; transform: translateY(-2px); }
.blog-btn-ghost { background: var(--white); color: var(--primary-dark) !important; border: 1.5px solid var(--primary); box-shadow: none; }
.blog-btn-ghost:hover { background: var(--primary-light); }
.blog-avatar {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
}
.blog-avatar-lg { width: 64px; height: 64px; font-size: 1.6rem; }
.blog-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--light); margin-bottom: 18px; }
.blog-crumbs a { color: var(--medium); text-decoration: none; }
.blog-crumbs a:hover { color: var(--primary-dark); }
.blog-crumbs [aria-current] { color: var(--primary-dark); font-weight: 600; }
.blog-section-head { margin-bottom: 22px; }
.blog-section-title { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--dark); margin: 4px 0 0; }

/* ---------- list hero ---------- */
.blog-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 185, 178, .45), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(211, 181, 101, .25), transparent 40%),
    linear-gradient(180deg, #fff8fa, var(--primary-light));
}
.blog-hero .blog-crumbs { justify-content: center; }
.blog-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4.6vw, 3.2rem); color: var(--dark); margin: 8px auto 12px; max-width: 820px; line-height: 1.15; }
.blog-hero p { color: var(--medium); max-width: 620px; margin: 0 auto 26px; font-size: 1.02rem; line-height: 1.7; }
.blog-search {
  display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 18px;
  box-shadow: 0 14px 36px -18px rgba(168, 88, 98, .45);
}
.blog-search svg { width: 18px; height: 18px; color: var(--light); flex: 0 0 auto; }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--dark); padding: 8px 0; }
.blog-search button { border: 0; border-radius: 999px; background: var(--primary-dark); color: var(--white); font: inherit; font-weight: 600; font-size: .88rem; padding: 10px 20px; cursor: pointer; }
.blog-search button:hover { background: #8f4650; }

/* ---------- list body ---------- */
.blog-wrap { padding: 36px 0 70px; }
.blog-wrap-tight { padding-top: 10px; }
.blog-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: -62px 0 40px; position: relative; z-index: 1; }
.blog-pills a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border); color: var(--medium);
  font-size: .86rem; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px -12px rgba(42, 34, 38, .35);
  transition: all .2s;
}
.blog-pills a small { font-size: .72rem; color: var(--light); background: var(--bg); border-radius: 999px; padding: 1px 7px; }
.blog-pills a:hover { border-color: var(--primary); color: var(--primary-dark); }
.blog-pills a.active { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.blog-pills a.active small { background: rgba(255, 255, 255, .2); color: var(--white); }

/* featured */
.blog-featured {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--white); border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(168, 88, 98, .45); margin-bottom: 52px;
}
.bf-media { position: relative; display: block; min-height: 380px; background: var(--primary-light); overflow: hidden; }
.bf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-featured:hover .bf-media img { transform: scale(1.04); }
.bf-badge {
  position: absolute; top: 18px; left: 18px; background: var(--accent); color: var(--dark);
  font-size: .75rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .4px;
}
.bf-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.bf-body h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.2; margin: 0; }
.bf-body h2 a { color: var(--dark); text-decoration: none; }
.bf-body h2 a:hover { color: var(--primary-dark); }
.bf-body > p { color: var(--medium); line-height: 1.75; margin: 0; }
.bf-author { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--light); }
.bf-author b { color: var(--dark); font-weight: 600; }
.bf-body .blog-btn { align-self: flex-start; margin-top: 6px; }

/* cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -24px rgba(168, 88, 98, .55); }
.bc-media { display: block; aspect-ratio: 16 / 10; background: var(--primary-light); overflow: hidden; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .bc-media img { transform: scale(1.06); }
.bc-placeholder { width: 100%; height: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--primary-light), var(--accent-light)); }
.bc-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.bc-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: var(--light); }
.bc-title { font-family: var(--font-heading); font-size: 1.22rem; line-height: 1.35; margin: 0; }
.bc-title a { color: var(--dark); text-decoration: none; background-image: linear-gradient(var(--primary), var(--primary)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.bc-title a:hover { background-size: 100% 2px; }
.bc-excerpt { color: var(--medium); font-size: .9rem; line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--light); }
.bc-more { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.bc-more span { display: inline-block; transition: transform .2s; }
.bc-more:hover span { transform: translateX(4px); }
.blog-pagination { margin-top: 36px; }

.blog-empty { text-align: center; padding: 50px 20px 60px; }
.blog-empty-ic { font-size: 3rem; margin-bottom: 10px; }
.blog-empty h2 { font-family: var(--font-heading); margin-bottom: 8px; }
.blog-empty p { color: var(--medium); margin-bottom: 20px; }

/* CTA band */
.blog-cta {
  margin-top: 64px; padding: 40px 44px; border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, #9b4a55, #7a3440 55%, #5e2631); color: var(--white);
  position: relative; overflow: hidden;
}
.blog-cta::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -80px; top: -120px; background: radial-gradient(circle, rgba(211, 181, 101, .45), transparent 70%); }
.blog-cta-text { position: relative; z-index: 1; max-width: 560px; }
.blog-cta .blog-eyebrow { color: #f3d98f; }
.blog-cta h2 { font-family: var(--font-heading); color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 6px 0 8px; }
.blog-cta p { color: #fde7ea; margin: 0; line-height: 1.7; }
.blog-cta-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.blog-cta .blog-btn { background: var(--white); color: #5e2631 !important; box-shadow: none; }
.blog-cta .blog-btn:hover { background: var(--primary-light); }
.blog-cta .blog-btn-ghost { background: transparent; color: var(--white) !important; border-color: rgba(255, 255, 255, .6); }
.blog-cta .blog-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- single post ---------- */
.post-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1100; pointer-events: none; }
.post-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent)); transition: width .1s linear; }
.post-preview-bar { background: #fff4d6; color: #7a5a00; text-align: center; padding: 10px 16px; font-size: .88rem; border-bottom: 1px solid #f0dca0; }
.post-preview-bar a { color: var(--primary-dark); font-weight: 600; margin-left: 8px; }

/* hero: text left, framed cover right */
.post-hero {
  position: relative; overflow: hidden; padding: 40px 0 96px;
  background:
    radial-gradient(circle at 1px 1px, rgba(168, 88, 98, .12) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(160deg, #fff8fa 0%, var(--primary-light) 55%, #fbeee0 100%);
}
.ph-blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.ph-blob-1 { width: 420px; height: 420px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(245, 185, 178, .75), transparent 70%); }
.ph-blob-2 { width: 380px; height: 380px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(211, 181, 101, .45), transparent 70%); }
.ph-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; max-width: 1200px; }
.ph-text h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.14; color: var(--dark); margin: 16px 0 16px; letter-spacing: -.3px; }
.ph-chip { gap: 6px; padding: 6px 14px; background: var(--white); box-shadow: 0 6px 16px -10px rgba(168, 88, 98, .7); }
.ph-chip svg { width: 14px; height: 14px; color: var(--accent-dark); }
.post-lead { font-size: 1.12rem; color: var(--medium); line-height: 1.75; margin: 0 0 24px; max-width: 600px; }
.ph-author { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ph-author-logo { width: 48px; height: 48px; border-radius: 50%; background: var(--white); padding: 5px; object-fit: contain; box-shadow: 0 6px 16px -8px rgba(42, 34, 38, .45); }
.ph-author b { display: block; color: var(--dark); font-size: .95rem; }
.ph-author small { color: var(--light); font-size: .8rem; }
.ph-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; }
.ph-facts li {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(240, 220, 226, .9); backdrop-filter: blur(6px);
  font-size: .83rem; font-weight: 600; color: var(--medium);
}
.ph-facts svg { width: 15px; height: 15px; color: var(--primary-dark); }
.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ph-actions .blog-btn svg { width: 17px; height: 17px; }

.ph-media { position: relative; padding: 18px 18px 26px 0; }
.ph-frame {
  position: relative; z-index: 1; aspect-ratio: 4 / 4.4; border-radius: 34px 34px 34px 120px; overflow: hidden;
  border: 8px solid var(--white); background: var(--primary-light);
  box-shadow: 0 40px 70px -36px rgba(94, 38, 49, .65);
  transform: rotate(1.5deg); transition: transform .5s ease;
}
.ph-media:hover .ph-frame { transform: rotate(0); }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.ph-dots {
  position: absolute; right: -8px; top: -6px; width: 150px; height: 150px; border-radius: 24px;
  background: radial-gradient(circle, var(--primary-dark) 1.6px, transparent 1.8px) 0 0 / 16px 16px; opacity: .35;
}
.ph-media::before {      /* gold ring behind the frame */
  content: ""; position: absolute; left: -26px; bottom: -6px; width: 170px; height: 170px; border-radius: 50%;
  border: 14px solid rgba(211, 181, 101, .45);
}
.ph-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 40px -18px rgba(42, 34, 38, .45); animation: phFloat 5s ease-in-out infinite;
}
.ph-float b { display: block; font-size: .9rem; color: var(--dark); line-height: 1.2; }
.ph-float small { font-size: .74rem; color: var(--light); }
.ph-float-ic { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-light); font-size: 1.15rem; }
.ph-float-1 { left: -34px; bottom: 54px; }
.ph-float-2 { right: -10px; top: 36px; animation-delay: -2.5s; }
.ph-float-2 .ph-float-ic { background: var(--accent-light); }
@keyframes phFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ph-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: #fffafa; }
@media (prefers-reduced-motion: reduce) { .ph-float { animation: none; } .ph-frame { transform: none; } }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; max-width: 1160px; margin: 0 auto; padding-top: 40px; padding-bottom: 20px; align-items: start; }
.post-main { min-width: 0; }

/* article typography */
.post-content { font-size: 1.06rem; line-height: 1.85; color: #3d3438; }
.post-content > *:first-child { margin-top: 0; }
.post-content p { margin: 0 0 1.25em; }
.post-content h2 { font-family: var(--font-heading); font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--dark); line-height: 1.3; margin: 2.1em 0 .7em; scroll-margin-top: 110px; position: relative; padding-left: 18px; display: flex; align-items: center; gap: 14px; }
.post-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(var(--primary-dark), var(--primary)); }
.post-content h2:has(.h-num) { padding-left: 0; }
.post-content h2:has(.h-num)::before { display: none; }
.post-content h2::after { content: ""; flex: 1 1 40px; min-width: 30px; height: 2px; margin-left: 4px; background: linear-gradient(90deg, var(--border), transparent); }
.post-content .h-num {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px 16px 16px 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), #c97a83); color: var(--white);
  font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; line-height: 1;
  box-shadow: 0 10px 22px -10px rgba(168, 88, 98, .9);
}
.post-content .h-text { flex: 0 1 auto; }
.post-content > p:first-child::first-letter {
  float: left; font-family: var(--font-heading); font-size: 3.6em; line-height: .82; font-weight: 700;
  margin: .08em .12em 0 0; color: var(--primary-dark);
}
.post-content h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--dark); margin: 1.6em 0 .5em; scroll-margin-top: 110px; }
.post-content a { color: var(--primary-dark); font-weight: 500; text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 3px; }
.post-content a:hover { text-decoration-color: var(--primary-dark); }
.post-content strong, .post-content b { color: var(--dark); }
.post-content ul, .post-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.post-content ul, .post-content ol { list-style: none; padding-left: 0; }
.post-content li { position: relative; margin-bottom: .7em; padding-left: 40px; }
.post-content ul li::before {
  content: ""; position: absolute; left: 4px; top: .32em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23A85862%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 6 9 17l-5-5%27/%3E%3C/svg%3E") center / 12px no-repeat;
}
.post-content ol { counter-reset: step; }
.post-content ol li { counter-increment: step; }
.post-content ol li::before {
  content: counter(step); position: absolute; left: 0; top: .12em; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700;
  color: var(--white); background: var(--accent-dark);
}
.post-content img { max-width: 100%; height: auto !important; border-radius: 16px; margin: 10px 0; }
.post-content blockquote {
  margin: 1.8em 0; padding: 22px 26px 22px 28px; border-radius: 0 18px 18px 0;
  border-left: 5px solid var(--accent); background: var(--accent-light); color: #4d4246; font-size: 1.02rem;
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0 1.8em; font-size: .95rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.post-content th, .post-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.post-content th, .post-content tr:first-child td strong { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.post-content tbody tr:nth-child(even) td { background: #fffafb; }
.post-content tr:last-child td { border-bottom: 0; }
.post-content iframe { max-width: 100%; border-radius: 16px; }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.post-tags svg { width: 18px; height: 18px; color: var(--primary-dark); }
.post-tags a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--medium); font-size: .84rem; text-decoration: none; transition: all .2s; }
.post-tags a:hover { border-color: var(--primary-dark); color: var(--primary-dark); background: var(--primary-light); }

/* post FAQ */
.post-faq { margin-top: 44px; }
.post-faq h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 16px; }
.post-faq details { border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; background: var(--white); transition: box-shadow .2s, border-color .2s; }
.post-faq details[open] { border-color: var(--primary); box-shadow: 0 12px 30px -20px rgba(168, 88, 98, .55); }
.post-faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--dark); position: relative; }
.post-faq summary::-webkit-details-marker { display: none; }
.pf-ic { position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--primary-light); }
.pf-ic::before, .pf-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--primary-dark); border-radius: 2px; transition: transform .25s; }
.pf-ic::after { transform: rotate(90deg); }
details[open] .pf-ic::after { transform: rotate(0); }
.pf-a { padding: 0 22px 20px; color: var(--medium); line-height: 1.75; }

/* share */
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center; color: var(--medium); cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s; position: relative;
}
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { transform: translateY(-2px); color: var(--white); border-color: transparent; }
.share-wa:hover { background: #25d366; }
.share-fb:hover { background: #1877f2; }
.share-x:hover { background: #111; }
.share-in:hover { background: #0a66c2; }
.share-copy:hover, .share-native:hover { background: var(--primary-dark); }
.share-copy .copied-ic { display: none; }
@media (min-width: 961px) { .post-aside .share-native { display: none; } }
.share-copy.copied { background: var(--success); color: var(--white); border-color: transparent; }
.share-copy.copied svg:first-child { display: none; }
.share-copy.copied .copied-ic { display: block; }
.post-share-inline { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 36px; padding: 18px 22px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); }
.post-share-inline > span { font-weight: 600; color: var(--dark); }

/* author + prev/next */
.post-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, var(--primary-light), var(--accent-light)); }
.post-author small { display: block; font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--light); font-weight: 700; }
.post-author b { font-family: var(--font-heading); font-size: 1.2rem; color: var(--dark); }
.post-author p { margin: 6px 0 0; color: var(--medium); font-size: .92rem; line-height: 1.65; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; text-decoration: none; transition: all .2s; }
.post-nav a:hover { border-color: var(--primary); background: #fffafb; }
.post-nav small { color: var(--light); font-weight: 600; font-size: .78rem; }
.post-nav span { color: var(--dark); font-weight: 600; line-height: 1.4; }
.pn-next { text-align: right; grid-column: 2; }

/* sidebar */
.post-aside { position: sticky; top: 110px; }
.post-aside-inner { display: grid; gap: 18px; }
.aside-title { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dark); margin-bottom: 14px; }
.aside-title svg { width: 16px; height: 16px; color: var(--primary-dark); }
.post-toc, .aside-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 20px 20px 18px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.post-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--medium); font-size: .86rem; line-height: 1.45; text-decoration: none; transition: color .2s, border-color .2s; }
.post-toc li.toc-l3 a { padding-left: 26px; font-size: .82rem; }
.post-toc li a:hover { color: var(--primary-dark); }
.post-toc li a.active { color: var(--primary-dark); border-left-color: var(--primary-dark); font-weight: 600; }
.post-toc-mobile { display: none; margin-bottom: 26px; }
.post-toc-mobile summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark); }
.post-toc-mobile summary::-webkit-details-marker { display: none; }
.post-toc-mobile summary::after { content: "▾"; margin-left: auto; color: var(--primary-dark); }
.post-toc-mobile summary svg { width: 17px; height: 17px; color: var(--primary-dark); }
.post-toc-mobile ol { margin-top: 14px; }
.aside-cta { text-align: center; background: linear-gradient(160deg, #fff8fa, var(--primary-light) 70%, var(--accent-light)); }
.aside-cta-emoji { font-size: 2.2rem; display: block; margin-bottom: 6px; }
.aside-cta b { font-family: var(--font-heading); font-size: 1.12rem; color: var(--dark); display: block; }
.aside-cta p { color: var(--medium); font-size: .88rem; margin: 6px 0 14px; line-height: 1.6; }
.aside-cta .blog-btn { width: 100%; }
.aside-wa { display: inline-block; margin-top: 12px; font-size: .86rem; font-weight: 600; color: #128c4a; text-decoration: none; }
.aside-wa:hover { text-decoration: underline; }

/* shop this post */
.post-products { padding: 48px 0 20px; background: linear-gradient(180deg, transparent, var(--bg)); }
.post-products .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
}
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-featured { grid-template-columns: 1fr; }
  .bf-media { min-height: 0; aspect-ratio: 16 / 9; }
  .bf-body { padding: 28px 26px 30px; }
  .post-layout { grid-template-columns: 1fr; padding-top: 28px; }
  .post-aside { position: static; }
  .post-aside .post-toc { display: none; }
  .post-toc-mobile { display: block; }
  .post-aside-inner { grid-template-columns: 1fr 1fr; }
  .post-products .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-hero { padding: 36px 0 70px; }
  .blog-hero p { font-size: .95rem; }
  .blog-pills { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: -50px -16px 30px; padding: 4px 16px 10px; scrollbar-width: none; }
  .blog-pills::-webkit-scrollbar { display: none; }
  .blog-pills a { flex: 0 0 auto; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-featured { border-radius: 20px; margin-bottom: 36px; }
  .blog-cta { padding: 30px 22px; margin-top: 44px; border-radius: 20px; }
  .blog-cta-actions, .blog-cta-actions .blog-btn { width: 100%; }
  .post-hero { padding: 30px 0 24px; }
  .post-lead { font-size: 1rem; }
  .post-meta-dot { display: none; }
  .post-cover img { border-radius: 16px; max-height: 320px; }
  .post-content { font-size: 1rem; line-height: 1.8; }
  .post-content h2 { padding-left: 14px; }
  .post-content blockquote { padding: 18px 18px 18px 20px; }
  .post-content table { font-size: .84rem; }
  .post-content th, .post-content td { padding: 10px 10px; }
  .post-aside-inner { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .pn-next { grid-column: auto; }
  .post-author { flex-direction: column; gap: 12px; }
  .post-products .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* =====================================================================
   Article page extras (v2): callouts, numbered TOC, baker's pick,
   newsletter, scroll reveal
   ===================================================================== */
.post-layout { padding-top: 26px; }

/* "Baker's tip" callout */
.post-content blockquote {
  position: relative; border: 0; border-radius: 20px; padding: 22px 26px 22px 84px;
  background: linear-gradient(135deg, #fff6e2, var(--accent-light)); box-shadow: inset 0 0 0 1px rgba(211, 181, 101, .35);
}
.post-content blockquote::before {
  content: "\1F4A1"; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--white); box-shadow: 0 8px 18px -10px rgba(180, 150, 74, .9);
}
.post-content blockquote strong:first-child { color: var(--accent-dark); }

/* tables: rounded with a soft shadow */
.post-content table { box-shadow: 0 16px 36px -28px rgba(168, 88, 98, .6); background: var(--white); }
.post-content tbody tr:hover td { background: var(--primary-light); }

/* images inside articles */
.post-content img { box-shadow: 0 20px 40px -28px rgba(42, 34, 38, .55); }

/* numbered TOC */
.post-toc ol { border-left: 0; }
.post-toc li a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 8px; margin: 0; border: 0; border-radius: 10px; }
.post-toc li.toc-l3 a { padding-left: 42px; }
.post-toc li a:hover { background: #fdf3f5; }
.post-toc li a.active { background: var(--primary-light); color: var(--primary-dark); }
.toc-num {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700; background: var(--bg); color: var(--primary-dark); border: 1px solid var(--border);
  transition: all .2s;
}
.post-toc li a.active .toc-num { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.post-toc { box-shadow: 0 16px 36px -30px rgba(168, 88, 98, .7); }

/* baker's pick (sidebar product) */
.aside-pick { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(168, 88, 98, .8); }
.aside-pick-badge { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--dark); font-size: .72rem; font-weight: 700; letter-spacing: .3px; }
.aside-pick-img { display: block; aspect-ratio: 4 / 3; background: var(--primary-light); overflow: hidden; }
.aside-pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.aside-pick:hover .aside-pick-img img { transform: scale(1.06); }
.aside-pick-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.aside-pick-body b { font-family: var(--font-heading); font-size: 1.08rem; color: var(--dark); }
.aside-pick-price { color: var(--primary-dark); font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.aside-pick-body .blog-btn { min-height: 42px; }

/* FAQ header */
.post-faq-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.post-faq-head h2 { margin: 2px 0 0; }
.post-faq-ic {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 12px 24px -12px rgba(180, 150, 74, .9);
}
.post-faq summary { display: flex; align-items: center; gap: 12px; }
.pf-q { flex: 0 0 auto; font-size: .72rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-light); border-radius: 8px; padding: 4px 8px; }
.post-faq details[open] summary { color: var(--primary-dark); }
.pf-a { padding-left: 68px; }

/* share strip */
.post-share-inline { background: linear-gradient(135deg, #fff, var(--primary-light)); }
.post-share-inline > span { display: inline-flex; align-items: center; gap: 8px; }
.post-share-inline > span svg { width: 18px; height: 18px; color: var(--primary-dark); fill: rgba(245, 185, 178, .6); }

/* author box with logo */
.post-author { position: relative; overflow: hidden; align-items: center; padding: 26px 28px; }
.post-author::after { content: "\275D"; position: absolute; right: 22px; top: -14px; font-family: var(--font-heading); font-size: 8rem; line-height: 1; color: rgba(168, 88, 98, .1); }
.post-author-logo { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; background: var(--white); padding: 8px; object-fit: contain; box-shadow: 0 10px 24px -12px rgba(42, 34, 38, .5); }
.post-author-links { display: flex; gap: 18px; margin-top: 10px; }
.post-author-links a { font-size: .85rem; font-weight: 600; color: var(--primary-dark); text-decoration: none; }
.post-author-links a:hover { text-decoration: underline; }

/* newsletter */
.post-newsletter {
  margin-top: 28px; padding: 26px 28px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #2a2226, #4a3036); color: var(--white); position: relative; overflow: hidden;
}
.post-newsletter::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 185, 178, .45), transparent 70%); }
.pn-text { display: flex; align-items: center; gap: 14px; position: relative; flex: 1 1 280px; }
.pn-emoji { font-size: 2.2rem; }
.pn-text b { font-family: var(--font-heading); font-size: 1.2rem; }
.pn-text p { margin: 2px 0 0; color: #e9d9dc; font-size: .88rem; }
.pn-form { position: relative; display: flex; gap: 8px; flex: 1 1 300px; background: var(--white); border-radius: 999px; padding: 5px; }
.pn-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font: inherit; font-size: .9rem; background: transparent; color: var(--dark); }
.pn-form button { border: 0; border-radius: 999px; padding: 11px 20px; background: var(--primary-dark); color: var(--white); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.pn-form button:hover { background: #8f4650; }

/* shop this post */
.post-products { padding: 56px 0 30px; margin-top: 30px; background: linear-gradient(180deg, #fffafa, var(--primary-light) 40%, #fffafa); }
.post-products-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.post-products-head p { color: var(--medium); margin: 6px 0 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .ph-grid { grid-template-columns: 1fr; gap: 34px; }
  .ph-media { max-width: 520px; width: 100%; margin: 0 auto; padding: 10px 10px 18px; }
  .ph-frame { aspect-ratio: 16 / 11; }
  .ph-float-1 { left: -6px; bottom: 26px; }
  .ph-float-2 { right: -4px; top: 20px; }
  .post-aside-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post-hero { padding: 26px 0 70px; }
  .ph-text h1 { font-size: 1.85rem; }
  .post-lead { font-size: 1rem; }
  .ph-facts li { padding: 6px 11px; font-size: .78rem; }
  .ph-actions .blog-btn { flex: 1 1 auto; }
  .ph-frame { border-width: 6px; border-radius: 24px 24px 24px 70px; }
  .ph-dots { width: 100px; height: 100px; }
  .ph-media::before { width: 110px; height: 110px; border-width: 10px; left: -12px; }
  .ph-float { padding: 8px 12px 8px 8px; border-radius: 14px; }
  .ph-float-ic { width: 32px; height: 32px; font-size: 1rem; }
  .ph-float b { font-size: .8rem; }
  .post-content h2 { gap: 10px; }
  .post-content .h-num { width: 38px; height: 38px; font-size: 1.05rem; border-radius: 12px 12px 12px 4px; }
  .post-content h2::after { display: none; }
  .post-content blockquote { padding: 72px 18px 18px; }
  .post-content blockquote::before { left: 18px; top: 18px; transform: none; }
  .post-content li { padding-left: 34px; }
  .pf-a { padding-left: 22px; }
  .post-author { flex-direction: row; align-items: flex-start; padding: 20px; }
  .post-author-logo { width: 60px; height: 60px; }
  .post-newsletter { padding: 22px 18px; }
  .post-aside-inner { grid-template-columns: 1fr; }
}
