/* Reproduct Health internal layout v7.6; does not style home or News index. */
body.rhs-v7-approved.rhs-v76-hub,
body.rhs-v7-approved.rhs-v76-reading {--rh76-max:1160px;--rh76-copy:760px;--rh76-navy:#142c59;--rh76-muted:#53647f;}
/* Remove inherited 900px width on outer wrappers. Center the whole article, not its fragments. */
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) #content,
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) #primary,
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .site-main,
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .content-area { width:100%!important;max-width:none!important;float:none!important;margin-inline:auto!important;padding-inline:0!important; }
body.rhs-v7-approved.rhs-v76-hub :is(.entry-header-wrapper,.entry-header,.inside-article,article .entry-content){width:min(var(--rh76-max),calc(100% - 48px))!important;max-width:var(--rh76-max)!important;margin-inline:auto!important;float:none!important;box-sizing:border-box!important}
body.rhs-v7-approved.rhs-v76-reading :is(.entry-header-wrapper,.entry-header,.inside-article,article .entry-content){width:min(920px,calc(100% - 48px))!important;max-width:920px!important;margin-inline:auto!important;float:none!important;box-sizing:border-box!important}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .inside-article{padding:0!important;background:transparent!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-header-wrapper {padding:30px 0 8px!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) article .entry-content{padding:8px 0 44px!important;min-height:0!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-title{font-size:clamp(30px,3vw,45px)!important;line-height:1.14!important;letter-spacing:-.02em!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;}
/* Reading column: prose restrained, parent remains wide so diagrams/tables can use width. */
body.rhs-v7-approved.rhs-v76-reading article .entry-content > :is(p,h2,h3,h4,ul,ol,blockquote){max-width:var(--rh76-copy)!important;margin-left:auto!important;margin-right:auto!important;}
body.rhs-v7-approved.rhs-v76-reading .entry-title{max-width:760px!important;margin-inline:auto!important;}
body.rhs-v7-approved.rhs-v76-reading .entry-header-wrapper{max-width:920px!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content p,
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content li{font-size:clamp(16px,1.3vw,18px)!important;line-height:1.63!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content p{margin-top:0!important;margin-bottom:16px!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content :is(h2,h3){overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content h2{font-size:clamp(23px,2.25vw,31px)!important;line-height:1.24!important;margin-top:30px!important;margin-bottom:12px!important;padding:0!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content h3{font-size:clamp(19px,1.85vw,24px)!important;line-height:1.28!important;margin-top:22px!important;margin-bottom:9px!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content img{max-width:100%!important;height:auto!important;object-fit:contain;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .wp-block-spacer{max-height:22px!important;height:22px!important;}
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) :is(.featured-image.page-header-image,.page-header-image){display:none!important;}
/* Correct grids without guessing card/column counts: flexible min widths prevent skyscraper cards. */
body.rhs-v7-approved.rhs-v76-hub :is(.rhs-help-centers,.rhs-all-centers,.rhs-news-page-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%!important;}
body.rhs-v7-approved.rhs-v76-hub :is(.rhs-help-center,.rhs-all-center,.rhs-news-page-card){min-width:0!important;width:100%!important;padding:20px!important;box-sizing:border-box!important;}
body.rhs-v7-approved.rhs-v76-hub :is(.rhs-help-center,.rhs-all-center) h3{font-size:19px!important;margin-top:0!important;}
body.rhs-v7-approved.rhs-v76-hub :is(.rhs-help-center,.rhs-all-center) p{font-size:15px!important;line-height:1.55!important;}
/* A restrained visual cue for section landing pages; no generated medical photo and no extra banner. */
body.rhs-v7-approved.rhs-v76-hub .entry-header-wrapper{position:relative;border-bottom:1px solid #e9edf6!important;margin-bottom:12px!important;}
body.rhs-v7-approved.rhs-v76-hub .entry-header-wrapper::after{content:'';position:absolute;right:10px;top:12px;width:66px;height:66px;border-radius:20px;background:linear-gradient(135deg,rgba(106,80,204,.10),rgba(46,159,132,.08));pointer-events:none;z-index:0;}
/* Prevent wide headings from forcing narrow cards or breaking words on tablet. */
body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content :is(.wp-block-columns,.wp-block-group,.wp-block-column,section,article){min-width:0;box-sizing:border-box;}
@media(max-width:900px){
 body.rhs-v7-approved.rhs-v76-hub :is(.entry-header-wrapper,.entry-header,.inside-article,article .entry-content),body.rhs-v7-approved.rhs-v76-reading :is(.entry-header-wrapper,.entry-header,.inside-article,article .entry-content){width:calc(100% - 36px)!important;max-width:none!important;}
 body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-header-wrapper{padding-top:22px!important;}
 body.rhs-v7-approved.rhs-v76-hub .entry-header-wrapper::after{width:44px;height:44px;opacity:.7;}
}
@media(max-width:620px){
 body.rhs-v7-approved.rhs-v76-hub :is(.entry-header-wrapper,.entry-header,.inside-article,article .entry-content),body.rhs-v7-approved.rhs-v76-reading :is(.entry-header-wrapper,.entry-header,.inside-article,article .entry-content){width:calc(100% - 24px)!important;max-width:none!important;}
 body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-header-wrapper{padding-top:18px!important;}
 body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) article .entry-content{padding-bottom:28px!important;}
 body.rhs-v7-approved.rhs-v76-hub :is(.rhs-help-centers,.rhs-all-centers,.rhs-news-page-grid){grid-template-columns:1fr!important;gap:12px!important;}
 body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content p,body.rhs-v7-approved:is(.rhs-v76-hub,.rhs-v76-reading) .entry-content li{font-size:16px!important;line-height:1.58!important;}
 body.rhs-v7-approved.rhs-v76-hub .entry-header-wrapper::after{display:none;}
}
