/* about page overrides (loaded after main.css) — About Us + Dr. Medhat Bader pages */

/* Checks list: the copy is wrapped in a <span> so a flex <li> never splits text runs and inline links into separate columns when the line wraps. */
.checks li>span{flex:1 1 auto;min-width:0}

/* Page hero: long H1s ("A Veteran-Owned Family Dentist…", "Dr. Medhat Bader, DMD, Dentist in…") step down a little on narrow phones. */
@media (max-width:479px){
	.phero .h-hero{font-size:clamp(2rem,10vw,2.4rem)}
	.phero .lead{font-size:1rem}
}

/* Doctor portrait: premium gold→cyan frame, soft glow, tighter crop so the face leads (source is a tall candid phone photo). */
.bio-media::before{content:"";position:absolute;inset:14% -14% -12% 14%;z-index:0;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(25,211,240,.16),transparent 72%)}
.bio-media figure{z-index:1;isolation:isolate;border:1px solid transparent;background:linear-gradient(var(--bg-2),var(--bg-2)) padding-box,linear-gradient(160deg,var(--gold) 0%,rgba(217,180,94,.12) 35%,rgba(25,211,240,.12) 65%,var(--cyan) 100%) border-box;box-shadow:0 40px 80px -44px rgba(0,0,0,.85)}
.bio-img{object-position:60% 12%;transform:scale(1.1);transform-origin:60% 18%;backface-visibility:hidden}
.bio-media figcaption{padding-top:72px;font-weight:500;letter-spacing:.01em;background:linear-gradient(to top,rgba(7,13,26,.96) 0%,rgba(7,13,26,.55) 55%,transparent 100%)}
@media (max-width:900px){
	.bio-media{position:relative}
}

/* Timeline: a touch more breathing room between the year and the title, and no orphaned bottom padding on phones. */
.tl-year{margin-bottom:12px}

/* Smile gallery: keep the Before / After tags legible over bright photos. */
.ba-tag{box-shadow:0 2px 10px rgba(0,0,0,.35)}
.ba figcaption{font-weight:500}
