/* Shared screenshot corrections: calm navigation and consistent reading rhythm. */
body.platform-system a.profile-experience-link,
body.platform-system a.profile-experience-link:hover {
 display:inline-flex;align-items:center;justify-content:flex-start;align-self:flex-start;
 width:auto;min-height:44px;margin:8px 0 0;padding:8px 0;border:0;border-radius:0;
 background:transparent;box-shadow:none;color:var(--brand-293b33,#161616);font-size:15px;font-weight:400;
 line-height:1.5;text-decoration:underline;text-underline-offset:4px;transform:none;
}
body.platform-system .about-us .about-hero{grid-template-columns:1fr 1.15fr;gap:48px;}
body.platform-system .about-us .about-hero img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;}
body.platform-system.local-site .local-search-hero{margin-bottom:72px;}
body.platform-system.local-site .local-search-hero+.connection-browser{margin-top:72px;}
body.platform-system.local-site .connection-tabs{margin-bottom:32px;}
body.platform-system .rehab-profile .person-summary{margin-bottom:32px;}
body.platform-system .rehab-profile .person-panel h2{margin:32px 0 18px;}
body.platform-system .rehab-profile .person-panel>h2:first-child{margin-top:8px;}
body.platform-system .rehab-profile .rehab-care-list+h2{margin-top:36px;padding-top:0;}
body.platform-system .rehab-profile .rehab-care-list li{padding:20px 0;}
body.platform-system .rehab-profile .rehab-care-list li:last-child{padding-bottom:24px;}
body.platform-system .rehab-profile .rehab-facts{margin:32px 0;padding:26px 0;}
/* A tab panel is a reading surface, not a control. Keep a modest keyboard cue. */
body.platform-system :is(.person-view,.person-care-panel):focus{outline:none;box-shadow:none;}
body.platform-system :is(.person-view,.person-care-panel):focus-visible>h2:first-child{outline:2px solid var(--brand-486552,#555555);outline-offset:6px;width:fit-content;}
body.platform-system :is(section,article,div,h2,h3)[tabindex="-1"]:focus:not(:focus-visible){outline:none;box-shadow:none;}
body.reading-system.platform-system .article-sidebar .article-contents,
body.reading-system.platform-system .article-jumpbar .article-contents{
 border:1px solid var(--brand-dce2db,#dedede);border-radius:16px;background:#fff;box-shadow:none;
}
body.reading-system.platform-system .article-sidebar .article-contents{padding:24px;}
body.reading-system.platform-system .article-contents a:hover,
body.reading-system.platform-system .article-contents a[aria-current="location"]{background:transparent;text-decoration:underline;text-underline-offset:4px;}
body.platform-system .article-topic-community{border:1px solid var(--brand-dce2db,#dedede);border-radius:16px;}
body.platform-system .answer-endmatter>.article-topic-community{margin:28px 0 36px;}
body.platform-system .people-profile~.breadcrumbs,body.platform-system main>.breadcrumbs{display:block;}
.qa-image-credit-list{padding-left:22px;}
.qa-image-credit-list li{margin:0 0 18px;overflow-wrap:anywhere;}
body.reading-system.platform-system :is(.prose,.answer-post-content) :not(sup)>a.article-citation:not(:has(sup)){vertical-align:super;font-size:.72em;line-height:0;white-space:nowrap;}
@media(max-width:760px){
 body.platform-system .about-us .about-hero{grid-template-columns:1fr;gap:28px;}
 body.platform-system.local-site .local-search-hero{margin-bottom:48px;}
 body.platform-system.local-site .local-search-hero+.connection-browser{margin-top:48px;}
 body.reading-system.platform-system .article-sidebar .article-contents{padding:20px;}
}

/* Unique imagery: text-led articles and cards have no empty media box. */
.community-resource:not(:has(img)),.resource-card:not(:has(img)){display:block}.article-text-first .article-introduction{margin-bottom:2rem}.article-text-first .article-takeaways{margin-top:1.5rem}

/* Keep the contents frame; the inner navigation does not need a second rule. */
body.reading-system.platform-system .article-contents nav{border-top:0;}
/* Media dimensions belong to the card frame, not the source photograph. */
body.platform-system .community-resource-image{aspect-ratio:8/5;overflow:hidden;border-radius:14px;}
body.platform-system .community-resource-image img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;}
body.platform-system.division-hub .article-card-image{display:block;width:100%;aspect-ratio:1;overflow:hidden;flex-shrink:0;}
body.platform-system.division-hub .article-card-image .card-photo{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;margin:0;}
body.platform-system [data-library-standard] .article-feature{width:100%;max-width:none;aspect-ratio:16/9;}
body.platform-system [data-library-standard] .article-feature img{display:block;width:100%;height:100%;object-fit:cover;}
body.platform-system :is(.quiet-card,.community-resource,.resource-card).article-card-text-only{align-self:start;min-height:0;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
@media(max-width:760px){body.platform-system .community-resource-image{aspect-ratio:1.9;}}

/* News uses the same open editorial card system as Library and Perspectives. */
body.platform-system.news-hub .quiet-card{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;}
body.platform-system.news-hub .quiet-grid{gap:32px var(--platform-gap);}
body.platform-system.news-hub .quiet-card :is(h2,h3){font-size:1.25rem;line-height:1.4;font-weight:500;}
/* Every homepage cover stays inside its square, positioned frame. */
body.homepage .reading-card .article-image{position:relative;overflow:hidden;isolation:isolate;}
body.homepage .reading-card .article-image>.reading-image-link{position:absolute;inset:0;display:block;width:100%;height:100%;}
body.homepage .reading-card .article-image>.reading-image-link>img{display:block;width:100%;height:100%;object-fit:cover;}

/* Preserve both people and the full artwork within square News covers. */
body.platform-system.news-hub .card-photo:is([src="/assets/wordpress/46.jpg"],[src="/assets/wordpress/9363.jpg"],[src="/assets/wordpress/9315.jpg"]){object-fit:contain;background:#f3f6f4;}
body.platform-system.news-hub .card-photo[src="/assets/qa246/editorial-10151.webp"]{object-position:right center;}
/* Keep screen-reader descriptions inside their carousel cards on narrow screens. */
body.homepage .treatment-card{position:relative;}
@media(max-width:700px){
 body.reading-system.platform-system .news-reading .article-feature{float:none;width:100%;max-width:360px;margin:0 0 24px;}
 body.reading-system.platform-system .news-reading .article-feature img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;}
}
