/* =====================================================================================
   Atrium Denture Clinic: the rules the ported pieces in assets/js/interactive.js need (the
   contents list and the heading's smile), ported by /scaffold-site (2026-10-31). Each rule names
   its source. A re-run never overwrites this file once it is edited.
   ===================================================================================== */

/* ---------- the contents list (hook "On This Page" / "Topics") ---------- */

/* Demo: assets/css/styles.css:515 .article__toc-title */
.page-toc__title { font-size: 12.8px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--color-muted); margin-bottom: 14px; }
/* Demo: assets/css/styles.css:516 .article__toc ol */
.page-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(42, 32, 27, 0.12); }
.page-toc ol li { margin: 0; padding: 0; list-style: none; }
.page-toc ol li::before { display: none; }
/* Demo: assets/css/styles.css:517 .article__toc li a */
.page-toc ol a { display: block; padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--color-body); font-size: 15.7px; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
/* Demo: assets/css/styles.css:518 .article__toc li a:hover */
.page-toc ol a:hover { color: var(--color-heading); }
/* Demo: assets/css/styles.css:519 .article__toc li a.is-active */
.page-toc ol a.is-active { color: var(--color-main); border-color: var(--color-main); font-weight: 600; }
/* Demo: assets/css/styles.css:561 .faq-page (the FAQ page's topics list beside its groups; interactive.js wraps them) */
.toc-layout { display: grid; grid-template-columns: 260px minmax(0, 880px); column-gap: clamp(40px, 6vw, 96px); justify-content: center; align-items: start; padding: 0 clamp(16px, 4vw, 40px); }
.toc-layout > .page-toc { grid-column: 1; grid-row: 1 / span 99; position: sticky; top: 116px; padding-top: 32px; }
.toc-layout > section.faq-group { grid-column: 2; padding-inline: 0; }
.toc-layout > section.faq-group .content { margin: 0; max-width: none; padding: 0; }
/* Demo: assets/css/styles.css:633 @media (max-width: 1024px) .faq-page (one column, the list hidden) */
@media (max-width: 1024px) {
  .toc-layout { grid-template-columns: 1fr; }
  .toc-layout > .page-toc { display: none; }
  .toc-layout > section.faq-group { grid-column: 1; }
}

/* ---------- the smile under a page heading's last word ---------- */

/* Demo: assets/css/styles.css:98 .smile */
.smile { position: relative; display: inline-block; white-space: nowrap; font-style: italic; color: inherit; }
/* Demo: assets/css/styles.css:99 .smile svg */
.smile svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.32em; overflow: visible; }
/* Demo: assets/css/styles.css:100 .smile path (drawn in once) */
.smile path { fill: none; stroke: var(--color-main); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: ix-draw 1.4s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
/* Demo: assets/css/styles.css:101 @keyframes draw */
@keyframes ix-draw { to { stroke-dashoffset: 0; } }
/* Demo: assets/css/styles.css:219 .hero h1 .smile / :220 .hero .smile path */
.home-hero .smile { color: #FFD9DE; }
.home-hero .smile path { stroke: #FF5A70; }
/* Demo: assets/css/styles.css:610 @media (prefers-reduced-motion) .smile path (drawn at once) */
.smile.is-drawn path { animation: none; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce), print { .smile path { animation: none; stroke-dashoffset: 0; } }
