/* page-general-dentistry.css: page-only layouts for general-dentistry.html (checkup grid, gum band, glossary). */

/* checkups: steps beside a home-care card with self-drawing line art */
.gd-check{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(2rem,4vw,3.5rem);align-items:start;max-width:1120px;margin:0 auto}
.gd-check .i-steps{margin:0;max-width:none}
.gd-home{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2rem);box-shadow:var(--shadow-md);position:sticky;top:calc(var(--header-h) + 2rem)}
.gd-tooth{display:block;width:100%;max-width:220px;height:auto;margin:0 auto 1rem}
.gd-tooth path{stroke:var(--color-primary);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.gd-home h3{font-size:1.35rem;margin-bottom:.5rem}
.gd-home p{font-size:.9375rem;line-height:1.65}
.gd-home .i-checklist{margin:1rem 0 1.25rem}
.gd-home .i-checklist li{font-size:.9375rem}
.gd-note{border-top:1px solid var(--color-border);padding-top:1rem}

/* gum health: teal band, photo bleeding off the right edge, gradient seams in and out */
.gd-band{position:relative;isolation:isolate;overflow:hidden;background:#0e6b61;color:#fff;padding:calc(var(--section-padding) + 3rem) 0 calc(var(--section-padding) + 4.5rem)}
.gd-band::before{content:'';position:absolute;left:0;right:0;top:0;height:160px;z-index:1;pointer-events:none;background:linear-gradient(to bottom,#e8f6f4,rgba(14,107,97,0))}
.gd-band::after{content:'';position:absolute;left:0;right:0;bottom:0;height:160px;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(14,107,97,0),#ffffff)}
.gd-band-photo{position:absolute;top:0;bottom:0;right:0;width:44%;z-index:0;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 38%);mask-image:linear-gradient(to right,transparent 0,#000 38%)}
.gd-band-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%;opacity:.95}
.gd-band .container{position:relative;z-index:2}
.gd-band-inner{max-width:620px}
.gd-band .kicker{color:#cdeee9;margin-bottom:.75rem}
.gd-band h2{color:#fff;margin-bottom:1.25rem}
.gd-band p{color:#fff;margin-bottom:1.1rem;max-width:62ch}
.gd-checklist-light{grid-template-columns:repeat(2,minmax(0,1fr));margin:1.25rem 0 1.5rem}
.gd-checklist-light li{color:#fff}
.gd-checklist-light li::before{background-color:#fff}
.gd-band .cta-on-dark{margin-top:.5rem}

/* glossary as a definition list */
.gd-terms{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem 2.5rem;margin:0}
.gd-term{border-top:1px solid var(--color-sand,#e8e2da);padding-top:1rem}
.gd-term dt{font-family:'DM Serif Display',Georgia,serif;font-size:1.2rem;color:var(--color-charcoal);margin-bottom:.3rem}
.gd-term dd{margin:0;font-size:.9375rem;line-height:1.6}
.gd-read{margin-top:clamp(2rem,4vw,2.75rem);max-width:70ch;font-size:1rem}

@media (max-width:900px){
  .gd-check{grid-template-columns:1fr}
  .gd-home{position:static}
  .gd-band-photo{position:relative;width:auto;height:260px;margin:0 0 -2rem;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 30%,#000 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 30%,#000 70%,transparent 100%)}
  .gd-band{padding-top:calc(var(--section-padding) + 1rem)}
  .gd-band::before{height:120px}
}
@media (max-width:520px){
  .gd-checklist-light{grid-template-columns:1fr}
}

/* the aurora .aur layer is wider than the viewport; clip it sideways only so full-page captures stay viewport-wide */
#checkups{overflow-x:clip}
@media (max-width:640px){#guards .i-head.center p,#checkups .i-head.center p{text-align:left}}
/* the hero photo is a light, airy room: a slightly deeper glass panel keeps the lede above 4.5:1 */
.page-hero-panel{background:rgba(26,23,21,.58)}

/* 2026-10-14 ai-tells pass: left-aligned section heads; guards as stacked rows (photo left, text right); no card accent bar */
.i-head{max-width:40rem}
.gd-rows{grid-template-columns:1fr;gap:1.25rem;max-width:980px}
.gd-rows .i-card{flex-direction:row}
.gd-rows .i-card-img{flex:0 0 280px;aspect-ratio:auto;min-height:190px}
.gd-rows .i-card-body::before{display:none}
@media (max-width:700px){.gd-rows .i-card{flex-direction:column}.gd-rows .i-card-img{flex:auto;aspect-ratio:16/10;min-height:0}}

/* soft aurora bands (operator 2026-10-14: less beige, uneven horizontal auroras in orange and green, elegant).
   Host: .i-section.i-aur.acc-k with <div class="aur" aria-hidden="true"></div> first, then an optional
   .aur-tint--coral or .aur-tint--teal sibling that tilts that band's streak colours. */
.i-section.i-aur.acc-k{--aur-k:.45}
.aur-tint{position:absolute;top:-6px;left:50%;width:108vw;margin-left:-54vw;height:calc(var(--seam,220px) + 6px);pointer-events:none;z-index:-1;-webkit-mask:linear-gradient(to bottom,transparent 0,#000 30%,#000 62%,transparent 100%);mask:linear-gradient(to bottom,transparent 0,#000 30%,#000 62%,transparent 100%)}
.aur-tint--coral{background:radial-gradient(ellipse 22% 30% at 72% 46%,rgb(240 129 79/.08),rgb(240 129 79/0) 70%),radial-gradient(ellipse 14% 22% at 88% 58%,rgb(224 124 90/.04),rgb(224 124 90/0) 70%),radial-gradient(ellipse 12% 20% at 34% 52%,rgb(240 129 79/.04),rgb(240 129 79/0) 70%)}
.aur-tint--teal{background:radial-gradient(ellipse 24% 30% at 26% 48%,rgb(43 181 165/.08),rgb(43 181 165/0) 70%),radial-gradient(ellipse 13% 22% at 10% 60%,rgb(26 138 125/.035),rgb(26 138 125/0) 70%),radial-gradient(ellipse 12% 20% at 66% 44%,rgb(43 181 165/.035),rgb(43 181 165/0) 70%)}
@media (prefers-reduced-motion:no-preference){.aur-tint{animation:tintDrift 46s ease-in-out infinite alternate}}
@keyframes tintDrift{from{transform:translate3d(-1.5%,0,0)}to{transform:translate3d(1.5%,8px,0)}}

/* light hero (operator 2026-10-14: "the page isn't bright enough", card to the left): bright photo,
   white liquid-glass card with dark ink, card aligned to the left page edge */
section.page-hero{background:#fff}
section.page-hero::before{background:linear-gradient(90deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 50%)}
@media (min-width:961px){section.page-hero>.container{max-width:none;padding-left:clamp(1.5rem,5.5vw,6rem)}}
section.page-hero .page-hero-panel{max-width:34rem;background:rgba(255,255,255,.78);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);border:1px solid rgba(255,255,255,.75);box-shadow:0 16px 44px rgba(26,23,21,.16),inset 0 1px 0 rgba(255,255,255,.95)}
section.page-hero h1{color:#1a1715;text-shadow:none}
section.page-hero .page-hero-lede{color:#2d2926}
section.page-hero .page-hero-ctas .cta-secondary{background:transparent;border-color:#1a1715;color:#1a1715}
section.page-hero .page-hero-ctas .cta-secondary:hover{background:#1a1715;color:#fff}
section.page-hero .crumbs{color:#4a4440}
section.page-hero .crumbs a{color:#0e6b61}
section.page-hero .crumbs a:hover{color:#1a1715}
section.page-hero .em-hero-note{color:#2d2926}
section.page-hero .em-hero-note a{color:#0e6b61}
@media (max-width:640px){
  section.page-hero::before{background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,0) calc(var(--hp-h) - 110px),#fff var(--hp-h))}
  section.page-hero .page-hero-panel{background:rgba(255,255,255,.88);backdrop-filter:blur(6px) saturate(1.1);-webkit-backdrop-filter:blur(6px) saturate(1.1)}
}
