/* niche-page.php — page layout only (same as med-spa-page.css); components come from ui-v2.css */
.hero-proof{margin-top:var(--s-6)}
.post-hero .chip{cursor:default}
.post-hero .ms-hero-sub{margin-top:var(--s-4);opacity:.85}
.post-hero + .section{padding-top:var(--section-pad)}

/* stacked blocks inside one section */
.ms-cards,.ms-steps,.ms-links,.ms-list,.ms-work-wrap{margin-top:var(--head-gap)}
.ms-cards + .ms-prose,.ms-steps + .ms-prose,.ms-links + .ms-prose,.ms-list + .ms-prose,.ms-prose + .ms-prose{margin-top:var(--s-6)}
.ms-prose + .ms-cards,.ms-prose + .ms-links,.ms-prose + .ms-steps,.ms-prose + .ms-list{margin-top:var(--s-6)}
.ms-prose{max-width:760px}
.ms-prose p{color:var(--text)}
.ms-prose p + p{margin-top:var(--s-4)}
.ms-sub{margin-top:var(--s-6);font-size:var(--fs-h4)}
.ms-list{max-width:880px}

/* inline links in cards, prose, FAQ answers and the note read as links */
.card--spec li a,.card--spec p a,.card--note a,.ms-prose a,.section-head .lead a,.faq-a a{color:var(--accent-text,var(--blue));text-decoration:underline;text-underline-offset:3px}
.section.dark .section-head .lead a{color:#fff}

/* compliance note */
.ms-note{max-width:880px}
.ms-note__title{font-size:var(--fs-h3);margin:var(--s-3) 0 var(--s-3)}
.ms-note>p{color:var(--text)}

/* list cards (dental page treatment) */
.card--spec .list-check li{padding:10px 0 10px 18px}
.card--spec .list-check li::before{top:calc(10px + .55em)}

/* link cards: guides and city pages */
.ms-links h3{font-size:clamp(17px,1rem + .3vw,20px)}
.ms-links .eyebrow{display:block;margin-bottom:var(--s-2)}

/* related work: description under the title */
.ms-work .card__body p{font-size:var(--fs-small)}

/* other cities */
.ms-cities{margin-top:var(--s-5)}

/* process: hairline 4-up on desktop, vertical timeline on phones (same as foundation-repair-seo) */
.ms-steps h3{font-size:var(--fs-h4);line-height:1.3}
@media (max-width:768px){
  .ms-steps{gap:0}
  .ms-steps .card--spec{display:grid;grid-template-columns:36px minmax(0,1fr);row-gap:6px;align-content:start;border-top:0;padding:0 0 var(--s-5);position:relative}
  .ms-steps .card__num{grid-column:1;grid-row:1;padding-top:4px}
  .ms-steps h3{grid-column:2;grid-row:1}
  .ms-steps p{grid-column:2;grid-row:2}
  .ms-steps .card--spec::before{content:"";position:absolute;left:7px;top:24px;bottom:0;width:1px;background:var(--hair-strong)}
  .ms-steps .card--spec:last-child::before{display:none}
  .ms-links .card{padding:16px}
}
