/* ============================================================
   Blissful Touch — blog (blog.css)
   Loads after styles.css + pages.css. Same black + gold + white.
   ============================================================ */

/* ---------- Post hero ---------- */
.post-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.post-hero .pagehero__inner { max-width: 860px; }
.post-hero__meta { font-size: .86rem !important; letter-spacing: .4px; color: rgba(255,255,255,.72) !important; max-width: none !important; }
.post-hero__meta a { color: var(--gold-light); }
.post-hero__meta span { opacity: .45; margin: 0 .55rem; }

/* ---------- Layout: article + sticky sidebar ---------- */
.post-sec { padding-top: 4rem; }
.post-layout { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.post-aside { position: sticky; top: 130px; display: grid; gap: 1.2rem; }

/* ---------- Article typography ---------- */
.prose { min-width: 0; max-width: 760px; color: rgba(255,255,255,.8); font-size: 1.06rem; line-height: 1.85; }
.prose > p, .prose > ul, .prose > ol { margin-bottom: 1.25rem; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: #fff; margin: 3rem 0 1rem; scroll-margin-top: 120px; }
.prose h2::before { content: ""; display: block; width: 46px; height: 2px; background: var(--gold-grad); margin-bottom: 1rem; }
.prose h3 { font-size: 1.55rem; color: #fff; margin: 2rem 0 .7rem; }
.prose strong { color: #fff; font-weight: 500; }
.prose a { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(239,215,155,.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold-light); }
.prose .btn { text-decoration: none; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.prose ul li::before { content: "✦"; position: absolute; left: 0; top: .05rem; color: var(--gold); font-size: .85rem; }
.prose ol { padding-left: 1.4rem; }
.prose ol li { margin-bottom: .55rem; padding-left: .3rem; }
.prose ol li::marker { color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; }

.post-figure { margin: 0 0 2rem; }
.post-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- Quick answer / takeaways ---------- */
.answer-box, .takeaways-box { border: 1px solid var(--glass-brd); border-left: 3px solid var(--gold); border-radius: 14px; background: linear-gradient(160deg, rgba(201,164,92,.1), rgba(255,255,255,.02)); padding: 1.3rem 1.5rem; margin-bottom: 1.2rem; }
.answer-box p:last-child { color: #fff; margin: 0; }
.answer-box__label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: .5rem !important; font-weight: 500; }
.takeaways-box { border-left-color: var(--gold-deep); background: rgba(255,255,255,.03); }
.takeaways-box ul { margin: 0; }
.takeaways-box li { margin-bottom: .35rem; }

/* ---------- Table of contents ---------- */
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: .45rem; }
.toc li { counter-increment: toc; padding-left: 0 !important; margin: 0 !important; font-size: .9rem; line-height: 1.45; }
.toc li::before { content: counter(toc, decimal-leading-zero) " "; color: var(--gold); font-size: .72rem; letter-spacing: 1px; position: static !important; margin-right: .35rem; }
.toc a { color: rgba(255,255,255,.72); text-decoration: none !important; }
.toc a:hover, .toc a.is-current { color: var(--gold-light); }
.toc--side { border: 1px solid var(--glass-brd); border-radius: 14px; background: rgba(255,255,255,.03); padding: 1.2rem 1.3rem; max-height: calc(100vh - 380px); overflow-y: auto; }
.toc--inline { display: none; border: 1px solid var(--glass-brd); border-radius: 14px; background: rgba(255,255,255,.03); margin-bottom: 1.6rem; }
.toc--inline summary { cursor: pointer; padding: .95rem 1.2rem; color: var(--gold-light); font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.toc--inline summary::-webkit-details-marker { display: none; }
.toc--inline summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.toc--inline[open] summary::after { content: "–"; }
.toc--inline ol { padding: 0 1.2rem 1.1rem; }

/* ---------- Sidebar card ---------- */
.aside-card { border: 1px solid var(--glass-brd); border-radius: 14px; padding: 1.4rem 1.3rem; background: radial-gradient(120% 90% at 100% 0%, rgba(201,164,92,.16), transparent 60%), var(--charcoal); display: grid; gap: .55rem; justify-items: start; }
.aside-card .eyebrow { margin: 0; color: var(--gold-light); }
.aside-card .aside-card__title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.aside-card p { color: var(--muted-d); font-size: .9rem; }
.aside-card .btn { margin: .4rem 0 .2rem; }
.aside-card__link { color: var(--gold-light); font-size: .86rem; }

/* ---------- Pros / cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 2rem; }
.proscons__col { border: 1px solid var(--glass-brd); border-radius: 14px; padding: 1.3rem 1.4rem; background: rgba(255,255,255,.03); }
.proscons__col h3 { margin: 0 0 .8rem; font-size: 1.45rem; }
.proscons__col ul { margin: 0; }
.proscons__col li { font-size: .97rem; }
.proscons__col--pro { border-top: 3px solid var(--gold); }
.proscons__col--pro li::before { content: "✓" !important; color: var(--gold-light) !important; font-weight: 600; }
.proscons__col--con { border-top: 3px solid rgba(255,255,255,.28); }
.proscons__col--con li::before { content: "–" !important; color: rgba(255,255,255,.6) !important; font-size: 1.1rem !important; top: -.1rem !important; }

/* ---------- Callout / inline CTA / tables ---------- */
.callout { border-radius: 14px; padding: 1.1rem 1.4rem; margin: 1.5rem 0; background: rgba(201,164,92,.08); border: 1px dashed rgba(231,207,146,.35); color: rgba(255,255,255,.88); font-size: 1rem; }
.post-cta { display: flex; gap: 1.4rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 2.2rem 0; padding: 1.5rem 1.6rem; border-radius: var(--radius); border: 1px solid rgba(231,207,146,.35); background: radial-gradient(90% 140% at 100% 0%, rgba(201,164,92,.2), transparent 60%), var(--charcoal); }
.post-cta .eyebrow { margin: 0 0 .2rem; color: var(--gold-light); }
.post-cta .post-cta__title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: #fff; line-height: 1.15; margin-bottom: .3rem; }
.post-cta p { margin: 0; font-size: .95rem; color: var(--muted-d); max-width: 420px; }
.post-cta__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.post-table { margin: 1.5rem 0 2rem; }
.post-table .compare { min-width: 560px; }
.post-table .compare td:first-child { color: #fff; font-weight: 400; }

/* ---------- FAQ, disclaimer, author, share ---------- */
.post-faq { margin: 1.2rem 0 2rem; max-width: none; }
.post-faq details p { font-size: 1rem; }
.disclaimer { font-size: .84rem !important; color: rgba(255,255,255,.5); border-top: 1px solid var(--glass-brd); padding-top: 1.2rem; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 1.3rem; align-items: center; margin: 2rem 0 1.4rem; padding: 1.4rem; border: 1px solid var(--glass-brd); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(231,207,146,.5); }
.author-box .eyebrow { margin: 0; color: var(--gold-light); }
.author-box .author-box__name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #fff; line-height: 1.2; margin-bottom: .3rem !important; }
.author-box p { font-size: .93rem; margin: 0; }
.share-box { padding: 1.4rem; border: 1px solid var(--glass-brd); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.share-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.1rem; }
.share-links a, .share-copy { font-family: inherit; font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-d); color: var(--gold-light) !important; background: transparent; cursor: pointer; text-decoration: none !important; transition: background .25s, color .25s; }
.share-links a:hover, .share-copy:hover { background: var(--gold-grad); color: #241b08 !important; border-color: transparent; }
.cite-note { font-size: .9rem; margin-bottom: .6rem !important; }
.cite-code { min-width: 0; display: flex; gap: .7rem; align-items: center; background: #050505; border: 1px solid var(--glass-brd); border-radius: 10px; padding: .7rem .8rem; }
.cite-code code { flex: 1; font-size: .78rem; color: rgba(255,255,255,.75); overflow-x: auto; white-space: nowrap; }

/* ---------- Cards + filter chips ---------- */
.post-card__meta { font-size: .7rem !important; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-light) !important; margin-bottom: .5rem !important; }
.post-card .svc-card__body h3 { font-size: 1.45rem; line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.chip { font-family: inherit; font-size: .76rem; letter-spacing: 1.2px; text-transform: uppercase; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); color: rgba(255,255,255,.8); cursor: pointer; transition: .25s; }
.chip:hover { color: var(--gold-light); border-color: var(--gold); }
.chip.is-active { background: var(--gold-grad); color: #241b08; border-color: transparent; }
.post-card[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; }
  .toc--side { display: none; }
  .toc--inline { display: block; }
  .prose { max-width: none; }
}
@media (max-width: 640px) {
  .proscons { grid-template-columns: 1fr; }
  .prose { font-size: 1rem; }
  .post-sec { padding-top: 2.5rem; }
  .author-box { grid-template-columns: 1fr; text-align: left; }
  .post-hero__meta span { margin: 0 .3rem; }
}
