/* ============================================
   La Dentique Care — Blog Stylesheet
   Loaded only on /blog/ pages + the homepage "Latest" snippet.
   Builds on style.css tokens (Japandi palette, Cormorant + Inter).
   ============================================ */

/* ---------- Post hero (cream, no photo needed) ---------- */
.post-hero {
  background:
    radial-gradient(120% 120% at 50% 0%, #fffdf9 0%, var(--brand-porcelain) 45%, var(--brand-sand) 100%);
  padding: clamp(110px, 16vw, 160px) 20px clamp(40px, 6vw, 64px);
  text-align: center;
  border-bottom: 1px solid var(--brand-hairline);
}
.post-hero .post-hero-inner { max-width: 860px; margin: 0 auto; }
.post-hero .post-eyebrow {
  font-family: var(--font-ui); font-weight: 600; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--brand-teal-deep);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.post-hero .post-eyebrow::before,
.post-hero .post-eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--brand-gold); }
.post-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.12; letter-spacing: -0.5px;
  color: var(--brand-ink); margin: 0 0 22px;
}
.post-hero h1 em { font-style: italic; color: var(--brand-teal); }
.post-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 22px; font-family: var(--font-ui); font-size: 14px; color: var(--brand-muted);
}
.post-meta .pm-item { display: inline-flex; align-items: center; gap: 8px; }
.post-meta .pm-item i { color: var(--brand-oak); }
.post-hero .breadcrumb { justify-content: center; margin-top: 26px; }

/* ---------- Article body typography ---------- */
.post-body { font-family: var(--font-ui); }
.post-body .lede {
  font-size: clamp(18px, 2.4vw, 21px); line-height: 1.7; color: var(--brand-ink);
  font-weight: 500; margin-bottom: 30px;
}
.post-body h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.2vw, 33px);
  line-height: 1.2; color: var(--brand-ink); margin: 44px 0 16px; letter-spacing: -0.3px;
}
.post-body h2 em { font-style: italic; color: var(--brand-teal); }
.post-body h3 {
  font-family: var(--font-ui); font-weight: 600; font-size: clamp(18px, 2.2vw, 21px);
  color: var(--brand-ink); margin: 30px 0 12px;
}
.post-body p { font-size: 17px; line-height: 1.8; color: var(--brand-body); margin: 0 0 18px; }
.post-body a { color: var(--brand-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--brand-ink); }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 26px; }
.post-body li { font-size: 17px; line-height: 1.75; color: var(--brand-body); margin-bottom: 10px; }
.post-body li strong { color: var(--brand-ink); }
.post-body blockquote {
  margin: 26px 0; padding: 18px 26px; border-left: 3px solid var(--brand-gold);
  background: var(--brand-mist); border-radius: 0 3px 3px 0;
  font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--brand-ink);
}

/* ---------- Key takeaways box ---------- */
.post-takeaways {
  background: var(--brand-sand); border: 1px solid var(--brand-hairline);
  border-radius: var(--radius-card); padding: 26px 30px; margin: 30px 0 34px;
}
.post-takeaways h2 {
  margin: 0 0 14px; font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--brand-teal-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.post-takeaways h2 i { color: var(--brand-oak); }
.post-takeaways ul { margin: 0; padding-left: 22px; }
.post-takeaways li { margin-bottom: 8px; }

/* ---------- Inline funnel CTA (links to a service page) ---------- */
.post-funnel {
  background: linear-gradient(160deg, #14323c 0%, var(--brand-ink) 100%);
  color: #fff; border-radius: var(--radius-card); padding: 32px 34px; margin: 36px 0;
  text-align: center;
}
.post-funnel h3 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 28px);
  color: #fff; margin: 0 0 10px;
}
.post-funnel h3 em { font-style: italic; color: var(--brand-gold); }
.post-funnel p { color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.6; margin: 0 auto 22px; max-width: 560px; }
.post-funnel .funnel-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.post-funnel .btn-funnel {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 2px;
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; transition: all .3s ease;
}
.post-funnel .btn-funnel.primary { background: var(--brand-gold); color: var(--brand-ink); border: 1.5px solid var(--brand-gold); }
.post-funnel .btn-funnel.primary:hover { background: transparent; color: var(--brand-gold); }
.post-funnel .btn-funnel.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.post-funnel .btn-funnel.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Small info / caution note ---------- */
.post-note {
  border: 1px solid var(--brand-hairline); border-left: 3px solid var(--brand-teal);
  background: var(--brand-white); border-radius: 0 3px 3px 0; padding: 16px 22px; margin: 24px 0;
}
.post-note p { margin: 0; font-size: 16px; }
.post-note strong { color: var(--brand-teal-deep); }

/* ---------- Sidebar: TOC + service callout ---------- */
.post-toc {
  background: var(--brand-white); border: 1px solid var(--brand-hairline);
  border-radius: var(--radius-card); padding: 24px 26px; margin-bottom: 24px;
}
.post-toc h4 {
  font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--brand-teal-deep); margin: 0 0 14px;
}
.post-toc ol { margin: 0; padding-left: 18px; }
.post-toc li { margin-bottom: 9px; line-height: 1.4; }
.post-toc a { color: var(--brand-body); text-decoration: none; font-size: 15px; }
.post-toc a:hover { color: var(--brand-teal-deep); }

.post-service-card {
  background: linear-gradient(160deg, var(--brand-sand) 0%, var(--brand-sand-deep, #ECE0CD) 100%);
  border: 1px solid var(--brand-hairline); border-radius: var(--radius-card);
  padding: 26px; text-align: center;
}
.post-service-card .psc-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand-white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  color: var(--brand-teal); font-size: 22px; border: 1px solid var(--brand-hairline);
}
.post-service-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--brand-ink); margin: 0 0 8px; }
.post-service-card p { font-size: 14px; line-height: 1.6; color: var(--brand-body); margin: 0 0 18px; }
.post-service-card .btn { width: 100%; }

/* ---------- Author / E-E-A-T box ---------- */
.post-author {
  display: flex; gap: 22px; align-items: flex-start; margin: 46px 0 0;
  padding: 28px 30px; background: var(--brand-mist); border-radius: var(--radius-card);
}
.post-author img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 2px solid var(--brand-white); }
.post-author .pa-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--brand-ink); margin: 0 0 4px; }
.post-author .pa-role { font-family: var(--font-ui); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-teal-deep); margin: 0 0 10px; }
.post-author p { font-size: 15px; line-height: 1.7; color: var(--brand-body); margin: 0; }

/* ============================================
   BLOG INDEX — listing grid
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--brand-white);
  border: 1px solid var(--brand-hairline); border-radius: var(--radius-card); overflow: hidden;
  text-decoration: none; transition: box-shadow .3s ease, transform .3s ease;
}
.blog-card:hover { box-shadow: 0 14px 36px rgba(14,42,51,0.10); transform: translateY(-3px); }
.blog-card .bc-top { height: 8px; background: var(--brand-teal); }
.blog-card .bc-top.cat-extraction { background: var(--brand-ink); }
.blog-card .bc-top.cat-gums { background: var(--brand-teal); }
.blog-card .bc-top.cat-braces { background: var(--brand-oak); }
.blog-card .bc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .bc-cat {
  font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--brand-oak); margin-bottom: 12px;
}
.blog-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--brand-ink); margin: 0 0 12px; }
.blog-card p { font-family: var(--font-ui); font-size: 15px; line-height: 1.65; color: var(--brand-body); margin: 0 0 20px; flex: 1; }
.blog-card .bc-meta { font-family: var(--font-ui); font-size: 13px; color: var(--brand-muted); margin-bottom: 14px; }
.blog-card .bc-link { font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-teal-deep); display: inline-flex; align-items: center; gap: 8px; }
.blog-card:hover .bc-link i { transform: translateX(4px); }
.blog-card .bc-link i { transition: transform .3s ease; }

/* ============================================
   HOMEPAGE — "Latest from the Blog" snippet
   ============================================ */
.home-blog { padding: clamp(56px, 9vw, 90px) 20px; background: var(--brand-porcelain); }
.home-blog .hb-inner { max-width: 1170px; margin: 0 auto; }
.home-blog .hb-header { text-align: center; margin-bottom: 44px; }
.home-blog .hb-eyebrow { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--brand-teal-deep); margin-bottom: 14px; }
.home-blog h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--brand-ink); margin: 0; }
.home-blog h2 em { font-style: italic; color: var(--brand-teal); }
.home-blog .hb-foot { text-align: center; margin-top: 40px; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .post-author { flex-direction: column; align-items: center; text-align: center; }
}
