/* Tips index and article pages (tips.html, tip-*.html). Built by build_tips.py. 14 Nov 2026 */
.ta .ta-wrap{max-width:980px}
.ta .ta-hero{padding-bottom:clamp(40px,5vw,64px)}
.ta .ta-hero .pv-eyebrow{display:block !important;color:var(--gold-l);margin-bottom:10px}
.ta .ta-hero h1.pv-h{font-size:clamp(40px,5vw,76px);color:var(--ivory);max-width:17ch}
.ta .ta-hero h1.pv-h em{font-style:normal;color:var(--gold-l)}
.ta .ta-hero .pv-lead{max-width:62ch;margin-top:18px}
.ta .ta-hero .pv-lead p{margin:0}
.ta-by{display:flex;align-items:center;gap:14px;margin-top:26px;padding-top:20px;border-top:1px solid rgba(244,241,234,.18)}
.ta-by img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 18%;flex:none;box-shadow:0 0 0 2px var(--gold)}
.ta-by p{margin:0;display:grid;gap:2px;font-size:14px;line-height:1.45;color:#C5CDD6}
.ta-by b{font-size:15.5px;color:var(--ivory)}
.ta-by a{color:var(--ivory);border-bottom:2px solid var(--gold)}

/* article layout */
.ta .ta-sec{padding-top:clamp(36px,4.5vw,64px)}
.ta .ta-grid{display:grid;grid-template-columns:minmax(0,270px) minmax(0,740px);gap:clamp(28px,5vw,84px);justify-content:center;align-items:start}
.ta-side{position:sticky;top:104px;font-size:14.5px;line-height:1.4}
.ta-side .pv-eyebrow{display:block !important;margin-bottom:12px}
.ta-side ol{list-style:none;margin:0;padding:0;display:grid;gap:2px;border-left:2px solid rgba(36,54,74,.12)}
.ta-side ol a{display:block;padding:7px 0 7px 16px;margin-left:-2px;border-left:2px solid transparent;color:#4A5561;text-decoration:none}
.ta-side ol a:hover,.ta-side ol a.is-on{color:var(--slate);border-left-color:var(--gold);font-weight:700}
.ta-side__faq{margin:10px 0 0;padding-left:16px}
.ta-side__faq a{color:var(--slate);font-weight:700;border-bottom:1px solid var(--gold);text-decoration:none}
.ta-side__cta{margin-top:26px;display:grid;gap:12px}
.ta-side__cta .btn{text-align:center;justify-content:center}

.ta-key{margin:0 0 34px;padding:22px 26px 20px;border-radius:16px;background:#FBF6EA;box-shadow:inset 0 0 0 1px rgba(180,134,43,.45)}
.ta-key .pv-eyebrow{display:block !important;margin-bottom:10px}
.ta-key ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.ta-key li{position:relative;padding-left:26px;font-size:16.5px;line-height:1.55;color:#26313D}
.ta-key li::before{content:"";position:absolute;left:2px;top:.5em;width:12px;height:7px;border-left:2.5px solid var(--gold);border-bottom:2.5px solid var(--gold);transform:rotate(-45deg)}

.ta-body{min-width:0}
.ta-body h2{margin:44px 0 12px;font-family:"Bebas Neue",Impact,sans-serif;font-weight:400;letter-spacing:.012em;font-size:clamp(28px,2.8vw,38px);line-height:1.02;color:var(--slate);scroll-margin-top:110px}
.ta-body h3{margin:26px 0 8px;font-size:clamp(18px,1.5vw,20px);line-height:1.3;font-weight:800;color:var(--slate)}
.ta-body h4{margin:20px 0 6px;font-size:16.5px;font-weight:800;color:var(--slate)}
.ta-body p,.ta-body li{font-size:17px;line-height:1.72;color:#333D49}
.ta-body p{margin:0 0 15px}
.ta-body ul,.ta-body ol{margin:0 0 18px;padding-left:22px}
.ta-body li{margin:0 0 6px}
.ta-body li::marker{color:var(--gold-d)}
.ta-body b{color:#1E2C3B}
.ta-body a{color:var(--slate);font-weight:700;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
.ta-body blockquote{margin:22px 0;padding:16px 20px;border-radius:12px;background:var(--ivory);font-style:italic}
.ta-body figure{margin:26px 0}
.ta-body img{display:block;max-width:100%;height:auto;border-radius:14px}
.ta-body figcaption{margin-top:8px;font-size:14px;color:#5A6470}
.ta-tbl{margin:22px 0 26px;overflow-x:auto;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(36,54,74,.14)}
.ta-tbl table{width:100%;min-width:480px;border-collapse:collapse;font-size:15.5px;line-height:1.45}
.ta-tbl th,.ta-tbl td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(36,54,74,.1);color:#333D49}
.ta-tbl table:not(:has(thead)) tr:first-child th,.ta-tbl thead th,.ta-tbl table:not(:has(thead)) tr:first-child td{background:var(--slate);color:var(--ivory);font-weight:700;border-bottom:0}
.ta-tbl table:not(:has(thead)) tr:first-child td b{color:var(--ivory)}
.ta-tbl tr:last-child td{border-bottom:0}
.ta-tbl td:first-child{font-weight:700;color:var(--slate)}
.ta-tbl table:not(:has(thead)) tr:first-child td:first-child{color:var(--ivory)}

.ta-steps{margin:28px 0 30px;padding:24px;border-radius:18px;background:var(--ivory)}
.ta-steps__t{margin:0 0 16px !important;font-family:"Bebas Neue",Impact,sans-serif;font-size:26px !important;line-height:1 !important;letter-spacing:.012em;color:var(--slate) !important}
.ta-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;counter-reset:st}
.ta-steps li{margin:0;padding:16px 16px 15px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px rgba(36,54,74,.1);display:grid;gap:4px;align-content:start;counter-increment:st}
.ta-steps--num li::before{content:counter(st,decimal-leading-zero);font-family:"Bebas Neue",Impact,sans-serif;font-size:26px;line-height:1;color:var(--gold-d)}
.ta-steps li b{font-size:15.5px;line-height:1.3;color:var(--slate)}
.ta-steps li span{font-size:14.5px;line-height:1.45;color:#4A5561}
.ta-note{margin-top:38px !important;padding-top:18px;border-top:1px solid rgba(36,54,74,.14);font-size:14px !important;line-height:1.55 !important;color:#5A6470 !important}

/* related treatments, cards */
.ta .ta-rel h2.pv-h,.ta .ta-more h2.pv-h,.ta .ta-idx h2.pv-h,.ta .ta-social h2.pv-h{font-size:clamp(32px,3.4vw,50px)}
.ta .pv-h em{font-style:normal;color:var(--gold-d)}
.ta .ta-rel .pv-eyebrow,.ta .ta-more .pv-eyebrow,.ta .ta-idx .pv-eyebrow,.ta .ta-social .pv-eyebrow{display:block !important}
.ta-svcs{margin-top:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.ta-svc{position:relative;display:grid;gap:4px;padding:18px 52px 18px 20px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px rgba(36,54,74,.12);text-decoration:none;transition:transform .2s,box-shadow .2s}
.ta-svc span{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-d)}
.ta-svc b{font-size:17px;line-height:1.3;color:var(--slate)}
.ta-svc i{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-style:normal;font-size:20px;color:var(--gold-d);transition:transform .2s}
.ta-svc:hover{box-shadow:inset 0 0 0 2px var(--gold)}
.ta-svc:hover i{transform:translate(4px,-50%)}
.ta-side .ta-svc{background:var(--ivory)}
.ta-cards{margin-top:26px;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.ta-card{display:flex;flex-direction:column;gap:8px;padding:22px 22px 18px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px rgba(36,54,74,.12);text-decoration:none;transition:transform .25s,box-shadow .25s}
.pv-sec--white .ta-card{background:var(--ivory);box-shadow:none}
.ta-card:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 2px var(--gold)}
.ta-card__c{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-d)}
.ta-card__h{margin:0;font-family:"Bebas Neue",Impact,sans-serif;font-weight:400;font-size:28px;line-height:1.02;letter-spacing:.012em;color:var(--slate)}
.ta-card p{margin:0;font-size:15px;line-height:1.5;color:#4A5561}
.ta-card__m{margin-top:auto;padding-top:10px;font-size:13px;font-weight:700;color:#5A6470}
.ta-card__m::after{content:"  \2192";color:var(--gold-d)}

/* index */
.ta-jump{margin:26px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.ta-jump a{padding:10px 18px;border-radius:999px;box-shadow:inset 0 0 0 1.5px rgba(244,241,234,.5);color:var(--ivory);font-size:14.5px;font-weight:700;text-decoration:none}
.ta-jump a:hover{box-shadow:inset 0 0 0 1.5px var(--gold-l);color:var(--gold-l)}
.ta-idx{scroll-margin-top:80px}
.ta-idx__p{margin:10px 0 0;max-width:60ch;font-size:17px;line-height:1.6;color:#4A5561}

@media (max-width:900px){
  .ta .ta-grid{grid-template-columns:minmax(0,1fr)}
  .ta-side{position:static;padding:18px 20px;border-radius:14px;background:var(--ivory)}
  .ta-side__cta{display:none}
  .ta-body p,.ta-body li{font-size:16.5px}
  .ta-key{padding:18px 18px 16px}
  .ta-steps{padding:18px}
  .ta-by span{font-size:13px}
}
.ta .ta-body ul{list-style:disc !important;padding-left:22px !important}
.ta .ta-body ol{list-style:decimal !important;padding-left:22px !important}
.ta .ta-body ul ul{list-style:circle !important;margin-bottom:6px}
.ta .ta-body h2 + h3{margin-top:14px}

/* follow band with the Instagram feed, directly under the index hero */
.ta .ta-social{padding-top:clamp(36px,4.5vw,60px)}
.ta-social__top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px 40px}
.ta-social__btns{margin:0;display:flex;flex-wrap:wrap;gap:12px}
.ta-ig{margin-top:26px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ta-ig__i{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:14px;background:var(--ivory)}
.ta-ig__i img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.ta-ig__i:hover img,.ta-ig__i:focus-visible img{transform:scale(1.05)}
.ta-ig__c{position:absolute;inset:auto 0 0 0;padding:36px 14px 12px;background:linear-gradient(transparent,rgba(20,30,42,.86));color:#fff;font-size:13.5px;line-height:1.4;opacity:0;transition:opacity .25s}
.ta-ig__i:hover .ta-ig__c,.ta-ig__i:focus-visible .ta-ig__c{opacity:1}
.ta-ig__play{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;background:rgba(20,30,42,.6)}
.ta-ig__play::after{content:"";position:absolute;left:12px;top:9px;border-left:9px solid #fff;border-top:6px solid transparent;border-bottom:6px solid transparent}
@media (max-width:900px){.ta-ig{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ta-ig__c{display:none}}

/* 2026-11-16 article case strip (milk tooth root canal, after version) */
.ta-key__lead{margin:0 0 14px;font-size:17px;line-height:1.6;color:#26313D}
.ta-case{margin:0 0 34px}
.ta-case__pics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.2vw,14px)}
.ta-case__pics figure{position:relative;margin:0;border-radius:16px;overflow:hidden;background:#0f1822}
.ta-case__pics img{display:block;width:100%;aspect-ratio:4/5;height:auto;object-fit:cover}
.ta-case__pics figcaption{position:absolute;left:10px;top:10px;padding:4px 10px;border-radius:999px;background:rgba(27,42,58,.85);color:#fff;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ta-case__pics figure:last-child figcaption{background:var(--gold);color:#1B1408}
.ta-case__cap{margin:12px 0 0;font-size:14.5px;line-height:1.5;color:#55606C}
.ta-body .ta-tbl th[scope="row"]{font-weight:700;color:var(--slate);background:#FBF6EA;width:30%}
.ta-body ol.ta-list{padding-left:22px;display:grid;gap:8px}
@media (max-width:560px){.ta-case__pics figcaption{left:6px;top:6px;padding:3px 7px;font-size:12px}}

/* ===== 2026-11-16 design review fixes (reports/design/2026-11-16-tips-and-question-pages-review.md) ===== */
/* M3 alerts: one component, three levels. Short answer = .ta-key; "see a dentist / book" = .ta-alert; hospital = .ta-alert--urgent */
.ta-alert{margin:30px 0;padding:20px 24px 18px 26px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px rgba(36,54,74,.18)}
.ta-alert:not(.ta-alert--urgent) .ta-alert__t{padding-bottom:10px;border-bottom:1px solid var(--gold)}
.ta-alert__t{margin:0 0 12px !important;font-family:"Bebas Neue",Impact,sans-serif;font-size:27px !important;line-height:1 !important;letter-spacing:.012em;color:var(--slate) !important}
.ta-body .ta-alert ul{margin:0;padding:0 !important;list-style:none !important;display:grid;gap:8px}
.ta-body .ta-alert li{position:relative;margin:0;padding-left:24px;font-size:16.5px;line-height:1.55;color:#26313D}
.ta-body .ta-alert li::marker{content:""}
.ta-alert li::before{content:"";position:absolute;left:2px;top:.5em;width:10px;height:10px;border-radius:50%;background:var(--gold)}
.ta-body .ta-alert .ta-alert__n{margin:14px 0 0;font-size:15.5px;line-height:1.55;color:#4A5561}
.ta-body .ta-alert__cta{margin:16px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.ta-alert__cta .btn{min-height:46px}
.ta-alert__cta .btn--line{border-color:var(--slate);color:var(--slate)}
.ta-alert--urgent{padding:0 0 18px;overflow:hidden;box-shadow:inset 0 0 0 2px #8E2A1F}
.ta-alert--urgent .ta-alert__t{margin:0 0 14px !important;padding:14px 24px 12px 52px;position:relative;background:#8E2A1F;color:#FFF7F2 !important}
.ta-alert--urgent .ta-alert__t::before{content:"!";position:absolute;left:20px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:#FFF7F2;color:#8E2A1F;font:800 15px/22px Manrope,system-ui,sans-serif;text-align:center}
.ta-body .ta-alert--urgent ul,.ta-body .ta-alert--urgent .ta-alert__n{padding:0 24px !important}
.ta-alert--urgent li::before{background:#8E2A1F;border-radius:2px}
@media (max-width:700px){.ta-alert{padding:16px 18px 14px 20px}.ta-alert--urgent{padding:0 0 14px}.ta-body .ta-alert--urgent ul,.ta-body .ta-alert--urgent .ta-alert__n{padding:0 18px !important}}
/* figures (moved from page <style> blocks); S6 portrait figure with caption beside it on desktop */
.ta-fig img{max-width:420px;width:100%}
.ta-fig--wide img{max-width:100%}
.ta-fig figcaption{margin-top:8px;font-size:14px;line-height:1.5;color:#5A6470}
@media (min-width:700px){.ta-fig:not(.ta-fig--wide){display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:22px;align-items:end}.ta-fig:not(.ta-fig--wide) figcaption{margin:0 0 6px;font-size:15px}}
/* M1 contact bar on phones */
.ta .kbar{display:none}
@media (max-width:767px){
  .ta .kbar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:1.4fr 1fr;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(27,42,58,.96);box-shadow:0 -10px 30px rgba(0,0,0,.25)}
  .ta .kbar .btn{min-height:48px;justify-content:center;text-align:center}
  .ta .kbar .btn--line{border-color:var(--ivory);color:var(--ivory)}
  body.ta{padding-bottom:72px}
}
body.ta--urgent .dnudge{display:none !important}
/* M4 "On this page" as a row of chips on phones */
@media (max-width:900px){
  .ta-side{position:static;padding:0;background:none}
  .ta-side > .pv-eyebrow,.ta-side .ta-svc,.ta-side__cta,.ta-side__faq{display:none !important}
  .ta-side ol{display:flex;gap:8px;overflow-x:auto;border-left:0;margin:0 -20px;padding:2px 20px 6px;scrollbar-width:none}
  .ta-side ol::-webkit-scrollbar{display:none}
  .ta-side ol a{white-space:nowrap;margin:0;padding:8px 14px;border:0;border-radius:999px;background:var(--ivory);font-size:14px}
}
/* M5 tables: fit narrow tables, pin the first column and show a scroll shadow on wide ones */
.ta-tbl{background:linear-gradient(90deg,#fff 30%,rgba(255,255,255,0)) left/40px 100% no-repeat local,linear-gradient(270deg,#fff 30%,rgba(255,255,255,0)) right/40px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,rgba(36,54,74,.2),transparent) left/12px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,rgba(36,54,74,.2),transparent) right/12px 100% no-repeat scroll}
.ta-tbl th[scope="row"]{position:sticky;left:0;z-index:1}
.ta-tbl thead th:first-child{position:sticky;left:0;z-index:2}
@media (max-width:560px){
  .ta-tbl table{min-width:0;font-size:14.5px}
  .ta-tbl th,.ta-tbl td{padding:10px 12px}
  .ta-body .ta-tbl th[scope="row"]{width:34%}
  .ta-tbl table:has(thead th:nth-child(4)){min-width:540px}
}
.ta-tbl table:has(thead th:nth-child(4)) th[scope="row"]{width:26%}
/* M6 case-strip captions under the photos on phones */
@media (max-width:560px){
  .ta-case__pics figure{overflow:visible;background:none;border-radius:0}
  .ta-case__pics img{border-radius:12px}
  .ta-case__pics figcaption{position:static;margin-top:6px;padding:0;background:none !important;color:var(--slate) !important;font-size:12px;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ta-case__pics figure:last-child figcaption{color:var(--gold-d) !important}
}
/* S1 stacked before-and-after pairs */
.ta-case--stack .ta-case__pics{grid-template-columns:minmax(0,1fr)}
.ta-case--stack .ta-case__pics img{aspect-ratio:auto}
@media (max-width:560px){.ta-case--stack .ta-case__pics figure{overflow:hidden;border-radius:12px;position:relative}.ta-case--stack .ta-case__pics figcaption{position:absolute;left:8px;top:8px;padding:3px 9px;border-radius:999px;background:rgba(27,42,58,.85) !important;color:#fff !important;font-size:12px}.ta-case--stack .ta-case__pics figure:last-child figcaption{background:var(--gold) !important;color:#1B1408 !important}}
/* S3 hero labels */
.ta .ta-hero .crumbs{margin-bottom:16px}
.ta-hero--idx .pv-eyebrow{display:none !important}
/* S4 compact index cards on phones */
@media (max-width:560px){.ta-idx .ta-cards{gap:10px}.ta-idx .ta-card{padding:16px 18px 14px;gap:6px}.ta-idx .ta-card p{display:none}.ta-idx .ta-card__h{font-size:24px}}
@media (max-width:560px){.ta-tbl th,.ta-tbl td{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere}}

/* 17 Nov 2026: photo of Dr. Sandhu with the puppets on the children's articles (owner: children's searches should show this photo) */
.ta-doc{margin:28px 0 0;max-width:560px}
.ta-doc img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.ta-doc figcaption{margin-top:10px;font-size:14px;line-height:1.45;opacity:.8}
