/* page-emergency-dentist.css: page-only components for /emergency-dentist.html. Palette from site.css tokens only. */

/* contrast: site.css already darkens coral buttons to #b4532f (white 4.98:1). Kickers here use teal-dark (6.4:1 on white; #1a8a7d is 4.22:1). */
main .kicker { color: var(--color-primary-dark); }

/* hero: the phone call leads */
.em-hero .page-hero-ctas .em-call { font-size: 1.0625rem; padding: 1rem 1.75rem; box-shadow: 0 6px 22px rgba(224,124,90,.45); }
.em-hero .page-hero-ctas .em-call svg { width: 18px; height: 18px; }
.em-hero-note { margin-top: 1rem; font-size: .9rem; }
.em-hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .em-hero.page-hero { padding-top: calc(var(--hp-h, 280px) - 4.5rem); }
  .em-hero .page-hero-ctas .em-call { font-size: 1.125rem; padding: 1.1rem 1.5rem; }
}

/* emergency icon cards */
.em-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.em-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.75rem; box-shadow: var(--shadow-sm); transition: box-shadow var(--duration-normal, .3s) var(--ease-out); }
.em-card:hover { box-shadow: var(--shadow-card-hover); }
.em-icon { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--color-primary-50); color: var(--color-primary-dark); margin-bottom: 1rem; }
.em-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.em-card p { font-size: .9375rem; line-height: 1.65; }

/* dentist or ER split */
.em-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem; align-items: stretch; }
.em-panel { border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.em-panel h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.em-panel ul { list-style: none; display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.em-panel li { position: relative; padding-left: 1.6rem; font-size: .975rem; line-height: 1.6; color: var(--color-text-primary); }
.em-panel li::before { content: ''; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; }
.em-panel--er { background: var(--color-accent-light); border: 1px solid #f3d3c5; border-left: 5px solid var(--color-accent); }
.em-panel--er li::before { background: var(--color-accent); }
.em-panel-note { font-size: .9rem; color: var(--color-text-secondary); border-top: 1px solid #f3d3c5; padding-top: 1rem; }
.em-panel--us { background: var(--color-primary-50); border: 1px solid var(--color-primary-100); }
.em-panel--us li::before { background: var(--color-primary); }
@media (max-width: 860px) { .em-split { grid-template-columns: 1fr; } }

/* self-drawing tooth line art above the steps heading */
.em-steps-head { position: relative; }
.em-art { display: block; width: 120px; height: 80px; margin: 0 auto 1rem; }
.em-art path { stroke: var(--color-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* oral surgery band: teal, seamed from the white section above, fades into the cream section below */
.em-band { position: relative; color: #fff; padding: calc(var(--section-padding) + 7rem) 0 calc(var(--section-padding) + 2rem);
  background: linear-gradient(to bottom, #ffffff 0, var(--color-primary-dark) 160px, var(--color-primary-dark) 100%); }
.em-band .kicker { color: #fff; opacity: .9; }
.em-band h2 { color: #fff; margin: .75rem 0 1rem; }
.em-band p { color: #fff; }
.em-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.em-band-lead p + p { margin-top: 1rem; }
.em-band-notes { display: grid; gap: 1rem; }
.em-note { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-md); padding: 1.15rem 1.35rem; }
.em-note h3 { color: #fff; font-size: 1.15rem; margin-bottom: .35rem; }
.em-note p { font-size: .9375rem; line-height: 1.6; }
@media (max-width: 860px) { .em-band-grid { grid-template-columns: 1fr; } }

/* related links */
.em-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .875rem; max-width: 1040px; margin: 0 auto; }
.em-link { display: block; padding: 1.1rem 1.35rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-off-white); color: var(--color-charcoal); font-weight: 600; line-height: 1.4; transition: border-color .3s var(--ease-out), transform .3s var(--ease-out); }
.em-link:hover { border-color: var(--color-primary); transform: translateY(-2px); color: var(--color-primary-dark); }
.em-link span { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary-dark); margin-bottom: .25rem; }

/* extraction photo: portrait stock, keep the dentist's face in frame */
.em-extract .i-intro-media img { aspect-ratio: 4 / 5; object-position: center 12%; }
@media (max-width: 980px) { .em-extract .i-intro-media img { aspect-ratio: 4 / 3; object-position: center 18%; } }

/* 2026-10-14 ai-tells pass: left-aligned section heads; emergency cards as a ruled list, not a card grid */
.i-head{max-width:40rem}
.em-art{margin:0 0 1rem}
.em-cards--list{grid-template-columns:1fr;gap:0;max-width:980px}
.em-cards--list .em-card{display:grid;grid-template-columns:46px minmax(10rem,15rem) 1fr;gap:0 1.5rem;align-items:start;background:none;border:0;border-top:1px solid var(--color-border);border-radius:0;box-shadow:none;padding:1.35rem 0;transform:none!important}
.em-cards--list .em-card:last-child{border-bottom:1px solid var(--color-border)}
.em-cards--list .em-card:hover{box-shadow:none}
.em-cards--list .em-icon{margin:0}
.em-cards--list .em-card h3{margin:0;padding-top:.55rem}
.em-cards--list .em-card p{padding-top:.6rem}
@media (max-width:760px){.em-cards--list .em-card{grid-template-columns:46px 1fr}.em-cards--list .em-card p{grid-column:2}}
/* doctor portrait: plain rounded rectangle, no arch */
.i-doctor-photo img{border-radius:var(--radius-lg)}
.i-doctor-photo::after{border-radius:calc(var(--radius-lg) + 14px)}

/* 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)}
}
