/* Practice pages share the landing page's photos, line icons and light cards. */
.topic-page main{background:var(--white)}
.topic-breadcrumbs{padding-top:27px;color:var(--slate);font-size:.85rem}
.topic-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px 14px;list-style:none;padding:0;margin:0}
.topic-breadcrumbs li+li::before{content:'/';margin-right:14px;color:var(--gray)}
.topic-breadcrumbs a{text-decoration:underline;text-underline-offset:4px}
.topic-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;align-items:stretch;padding-top:36px;padding-bottom:43px}
.topic-hero-copy{min-width:0;align-self:center}
.topic-context{display:flex;gap:16px;align-items:center;margin-bottom:23px}
.topic-context .icon-stage{flex:none;width:54px;height:54px;margin:0;background:var(--blue)}
.topic-context .eyebrow{font-size:.7rem;color:var(--slate);margin:0;line-height:1.6}
.topic-hero h1{font-size:clamp(2rem,3.45vw,3.3rem);line-height:1.14;max-width:27ch;margin:0 0 24px;text-wrap:balance}
.topic-hero .detail-intro{font-size:1.06rem;line-height:1.75;margin:0;max-width:66ch}
.topic-photo{position:relative;min-height:290px;max-height:480px;margin:0;overflow:hidden;border-bottom:6px solid var(--yellow);background:var(--card-bed)}
.topic-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,50% 50%)}
.topic-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:38px;align-items:start;padding-bottom:57px}
.topic-content{min-width:0;grid-column:1;grid-row:1}
.topic-sidebar{min-width:0;grid-column:2;grid-row:1;position:sticky;top:calc(var(--header-offset) + 24px);max-height:calc(100vh - var(--header-offset) - 48px);overflow:auto;padding:23px;background:var(--card-bed);border-top:3px solid var(--blue)}
.topic-page .detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px;margin:0 0 28px;background:var(--card-bed)}
.topic-page .detail-sections>section{min-width:0;background:var(--white);border:1px solid var(--card-border);padding:25px;transition:background-color .2s ease,box-shadow .2s ease}
.topic-page .detail-sections>section:hover,.topic-page .detail-sections>section:focus-within{background:var(--blue);box-shadow:inset 0 -4px 0 var(--yellow)}
.topic-page .topic-section-icon{width:43px;height:43px;margin:0 0 17px;background:var(--blue);transition:background-color .2s ease}
.topic-page .topic-section-icon .icon{width:25px;height:25px}
.topic-page .detail-sections>section:hover .topic-section-icon,.topic-page .detail-sections>section:focus-within .topic-section-icon{background:var(--yellow)}
.topic-page .detail-sections h3{font-size:1.06rem;line-height:1.4;margin:0 0 11px}
.topic-page .detail-sections p{font-size:.96rem;line-height:1.75}
.topic-page .detail-example{border-left-color:var(--blue)}
.topic-contents summary{font:600 1rem/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;cursor:pointer;margin-bottom:14px}
.topic-contents summary::marker{color:var(--navy)}
.topic-sidebar ul{list-style:none;margin:0 0 23px;padding:0;display:grid;gap:11px}
.topic-sidebar nav a{display:block;font-size:.86rem;line-height:1.5;border-left:2px solid var(--card-border);padding-left:12px}
.topic-sidebar nav a:hover,.topic-sidebar nav a:focus-visible{border-color:var(--yellow);text-decoration:underline;text-underline-offset:4px}
.topic-sidebar .btn{display:flex;width:100%;padding-inline:12px}
.topic-back{display:block;margin-top:17px;font-size:.85rem;text-decoration:underline;text-underline-offset:4px}
.topic-practice{border-top:1px solid var(--line);padding-top:35px;margin-top:38px}
.topic-practice>.eyebrow{color:var(--slate);margin-bottom:23px}
.topic-guide{padding:0 0 30px;scroll-margin-top:30px}
.topic-guide+.topic-guide{border-top:1px solid var(--line);padding-top:32px}
.topic-guide-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:23px}
.topic-guide-heading .icon-stage{flex:none;width:48px;height:48px;margin:2px 0 0;background:var(--blue)}
.topic-guide-heading h2{min-width:0;font-size:clamp(1.65rem,2.65vw,2.35rem);line-height:1.2;margin:0;text-wrap:balance}
.topic-guide>.detail-intro{margin-bottom:25px}
.topic-note{font-size:.86rem;line-height:1.65;color:var(--slate);padding:20px 0 0;border-top:1px solid var(--line)}
.topic-related{padding-bottom:62px}
.topic-related>h2{max-width:30ch;font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:26px;text-wrap:balance}
.topic-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;background:var(--card-bed);padding:20px}
.topic-related-card{display:grid;grid-template-columns:48px minmax(0,1fr) 28px;align-items:center;gap:15px;min-height:115px;background:var(--white);border:1px solid var(--card-border);padding:23px 20px;transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}
.topic-related-card .icon-stage{width:48px;height:48px;margin:0;background:var(--blue);transition:background-color .2s ease}
.topic-related-title{min-width:0;font:400 1.25rem/1.3 Georgia,'Times New Roman',serif;letter-spacing:-.02em;hyphens:none;overflow-wrap:normal}
.topic-related-arrow{display:grid;place-items:center;background:var(--navy);color:var(--white);width:28px;height:28px;transition:background-color .2s ease,color .2s ease}
.topic-related-card:hover,.topic-related-card:focus-visible{background:var(--blue);box-shadow:inset 0 -4px 0 var(--yellow);transform:translateY(-2px)}
.topic-related-card:hover .icon-stage,.topic-related-card:focus-visible .icon-stage,.topic-related-card:hover .topic-related-arrow,.topic-related-card:focus-visible .topic-related-arrow{background:var(--yellow);color:var(--navy)}
.topic-page h1,.topic-page h2,.topic-page h3{-webkit-hyphens:none;hyphens:none;overflow-wrap:normal;word-break:normal}
.topic-page article[id],.topic-page article h3[id]{scroll-margin-top:28px}
@media(max-width:1100px){.topic-hero{gap:30px}.topic-layout{grid-template-columns:minmax(0,1fr) 225px;gap:26px}.topic-page .detail-sections{grid-template-columns:1fr}.topic-sidebar{padding:19px}.topic-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.topic-hero{grid-template-columns:1fr;gap:27px}.topic-hero h1{font-size:clamp(2rem,5.2vw,3rem);max-width:30ch}.topic-photo{height:260px;min-height:0}.topic-layout{grid-template-columns:1fr;gap:27px}.topic-content,.topic-sidebar{grid-column:1;grid-row:auto}.topic-sidebar{position:static;max-height:none;overflow:visible}.topic-sidebar ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.topic-sidebar .btn{max-width:340px}.topic-page .detail-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.topic-breadcrumbs{padding-top:21px}.topic-hero{padding-top:26px;padding-bottom:28px;gap:25px}.topic-context{margin-bottom:20px;gap:13px}.topic-context .icon-stage{width:46px;height:46px}.topic-context .eyebrow{font-size:.63rem}.topic-hero h1{font-size:clamp(1.7rem,7.4vw,2.5rem);line-height:1.18;margin-bottom:20px}.topic-hero .detail-intro{font-size:1rem}.topic-photo{height:205px}.topic-layout{padding-bottom:38px}.topic-page .detail-sections{grid-template-columns:1fr;gap:14px;padding:13px}.topic-page .detail-sections>section{padding:20px}.topic-sidebar ul{grid-template-columns:1fr}.topic-related{padding-bottom:40px}.topic-related-grid{grid-template-columns:1fr;padding:13px;gap:13px}.topic-related-card{grid-template-columns:43px minmax(0,1fr) 28px;min-height:95px;padding:18px 16px;gap:12px}.topic-related-card .icon-stage{width:43px;height:43px}.topic-related-title{font-size:1.2rem}.topic-practice{padding-top:27px;margin-top:29px}.topic-guide-heading{display:block}.topic-guide-heading .icon-stage{margin:0 0 17px}.topic-guide-heading h2{font-size:clamp(1.55rem,6.5vw,2rem)}}
@media(max-width:360px){.topic-page .detail-sections h3{font-size:1rem}.topic-related-card{grid-template-columns:38px minmax(0,1fr);padding:16px 12px;gap:10px}.topic-related-card .icon-stage{width:38px;height:38px}.topic-related-arrow{display:none}.topic-related-title{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){.topic-related-card,.topic-page .detail-sections>section,.topic-page .icon-stage,.topic-related-arrow{transition:none}.topic-related-card:hover,.topic-related-card:focus-visible{transform:none}}
@media print{.topic-sidebar,.topic-related,.topic-breadcrumbs,.topic-photo{display:none}.topic-layout,.topic-hero{display:block;padding-top:10px}.topic-page .detail-sections{grid-template-columns:1fr}.topic-page .detail-sections>section{break-inside:avoid}.topic-hero h1{font-size:26pt}.topic-page .cta{break-before:page}}

/* Keep complete card groups together; a compact photo accompanies the practice links. */
.topic-followup{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:center;margin:28px 0 8px;padding:22px;background:var(--wash);border-left:3px solid var(--yellow)}
.topic-interlude{min-width:0;width:100%;max-width:320px;margin:0;background:var(--white)}
.topic-interlude img{display:block;width:100%;height:auto;aspect-ratio:2048/1365;object-fit:contain}
.topic-interlude figcaption a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:11px 12px;font-size:.82rem;line-height:1.45;transition:background-color .2s ease}
.topic-interlude figcaption a:hover,.topic-interlude figcaption a:focus-visible{background:var(--blue)}
.topic-interlude figcaption a span{flex:none;font-size:1.2rem;line-height:1}
.topic-followup .panel-guides{min-width:0;margin:0;padding:0;background:transparent;border:0}
.topic-followup .panel-guides h3{font-family:Georgia,'Times New Roman',serif;font-size:1.65rem;line-height:1.2;margin:0 0 13px}
.topic-followup .panel-guides li{line-height:1.6}
@media(min-width:901px) and (max-width:1100px){.topic-followup{gap:20px;padding:18px}.topic-interlude figcaption a{font-size:.78rem;padding-inline:9px}}
@media(max-width:600px){.topic-followup{grid-template-columns:1fr;gap:20px;padding:20px;margin-top:23px}.topic-followup .panel-guides{grid-row:1}.topic-interlude{max-width:260px;justify-self:center}.topic-followup .panel-guides h3{font-size:1.45rem}}
@media(prefers-reduced-motion:reduce){.topic-interlude figcaption a{transition:none}}
@media print{.topic-interlude{display:none}.topic-followup{display:block;padding:20px}.topic-sidebar{position:static}}
