/* Anapa visual reading system — 2026-10-18. */
.vr-site{--vr-ink:#203444;--vr-muted:#536777;--vr-accent:#086f72;--vr-soft:#edf8f6;--vr-line:#cde4df;--vr-header:88px;color:var(--vr-ink);background:#fff}
.vr-site[data-vr-theme="violet"]{--vr-accent:#66509b;--vr-soft:#f4f0fb;--vr-line:#ded5ee}
.vr-site[data-vr-theme="coral"]{--vr-accent:#a14e36;--vr-soft:#fff4ed;--vr-line:#eed6c8}
.vr-site[data-vr-theme="blue"]{--vr-accent:#2b639b;--vr-soft:#eef5fd;--vr-line:#d1e0f0}
.vr-site[data-vr-theme="gold"]{--vr-accent:#806019;--vr-soft:#fff9e9;--vr-line:#eaddb7}
.vr-site .wrap{width:min(1280px,calc(100% - 64px))}
.vr-site :is(main,article,section,aside,div,figure){min-width:0}
.vr-site main :is(h1,h2,h3,h4,p,li,dd,a){overflow-wrap:anywhere}
.vr-site .header{border-bottom-color:#dfe8e8;box-shadow:0 2px 18px #233c4810}
.vr-site .header .nav-group:nth-child(1){--nav-color:#096b69}
.vr-site .header .nav-group:nth-child(2){--nav-color:#66509b}
.vr-site .header .nav-group:nth-child(3){--nav-color:#a14e36}
.vr-site .header .nav-group:nth-child(4){--nav-color:#2b639b}
.vr-site .header .nav-group:nth-child(5){--nav-color:#096b69}
.vr-site .header .nav-group>summary{color:var(--nav-color);font-weight:750}
.vr-site .header .nav-group[open]>summary{background:#f2f6f6}
.vr-site .header .nav-submenu{border-top:3px solid var(--nav-color)}
.vr-site .header #nav .nav-submenu a{min-height:44px;display:flex;align-items:center}
.vr-site .pagehead{padding-block:50px 34px;background:linear-gradient(100deg,var(--vr-soft),#fff)}
.vr-site .pagehead h1{font-size:clamp(30px,3.1vw,46px);line-height:1.4;color:var(--vr-ink)}
.vr-site .pagehead p{font-size:18px;line-height:1.85;max-width:75ch;color:var(--vr-muted)}
.vr-site .breadcrumbs{font-size:14px;flex-wrap:wrap;color:var(--vr-muted);padding-top:27px}
.vr-site .breadcrumbs a{padding-block:7px}
.vr-site .readinglayout{display:block;padding-top:24px}
.vr-site :is(.reading,.editorial,.guidearticle){max-width:none;width:100%;min-width:0}
.vr-site .clinicalreading{display:block}
.vr-site .treatment-detail{width:min(1280px,calc(100% - 64px));max-width:none;margin-inline:auto}
.vr-site .treatment-detail>.treatment{max-width:none;width:100%;padding:28px 0;border:0;box-shadow:none;background:transparent}
.vr-site :is(.reading,.guidearticle,.treatment)>h1{max-width:28ch;font-size:clamp(30px,3vw,46px);line-height:1.5;margin:12px 0 28px;letter-spacing:-.04em;color:var(--vr-ink)}
.vr-site :is(.reading,.guidearticle,.treatment)>:is(p,ul,ol){max-width:85ch}
.vr-site :is(.reading,.guidearticle,.treatment) :is(p,li){font-size:18px;line-height:1.9}
.vr-site :is(.reading,.guidearticle,.treatment) h2{font-size:clamp(24px,2.25vw,31px);line-height:1.5}
.vr-site :is(.reading,.guidearticle,.treatment) h3{font-size:22px;line-height:1.55}
.vr-site :is(.reading,.guidearticle,.treatment) strong{font-weight:750}
.vr-site :is(.article-summary,.ss-overview,.ds-opening,.care-keybox){border-color:var(--vr-line);border-left-color:var(--vr-accent);background:var(--vr-soft)}
.vr-site .article-summary .summary-card:nth-child(3n+1){border-top:3px solid #087a78}
.vr-site .article-summary .summary-card:nth-child(3n+2){border-top:3px solid #7561a8}
.vr-site .article-summary .summary-card:nth-child(3n){border-top:3px solid #bc6a41}
.vr-site :is(.takeaway,.ss-recap,.dr-takeaways){background:#fff9e6;border-color:#e8d59a;color:#493e25}
.vr-site :is(.emergencybox,.sr-warning,.dr-alert,.er-alert,.ss-visible-warning){border-left-color:#b5463e!important;background:#fff3ef!important;color:#763b32}
.vr-site :is(.emergencybox,.dr-alert,.er-alert) :is(h2,h3,strong){color:#923e34}
.vr-site :is(.sr-toc,.ds-toc,.dr-toc,.treatment-toc){font-size:16px}
.vr-site :is(.sr-toc,.ds-toc,.dr-toc,.treatment-toc) a{min-height:44px}
.vr-site [id]{scroll-margin-top:calc(var(--vr-header) + 24px)}
.vr-site .vr-contents{border:1px solid var(--vr-line);border-radius:10px;background:var(--vr-soft);margin:14px 0 30px;max-width:none}
.vr-site .vr-contents>summary{cursor:pointer;padding:15px 19px;min-height:52px;color:var(--vr-accent);font-size:16px;font-weight:750}
.vr-site .vr-contents[open]>summary{border-bottom:1px solid var(--vr-line)}
.vr-site .vr-contents :is(.readingnav,.guidetoc){position:static;display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:18px 20px;background:#fff;max-height:none;width:auto;border:0}
.vr-site .vr-contents :is(.readingnav,.guidetoc)>:is(h2,b,.eyebrow,p){flex-basis:100%;margin:0;font-size:15px}
.vr-site .vr-contents :is(.readingnav,.guidetoc)>a{font-size:15px;min-height:44px;display:flex;align-items:center;padding:8px 2px;line-height:1.6}
.vr-site .vr-contents .button{min-height:44px;padding-inline:15px!important}
.vr-story{--vr-panel:#f1f8f7;--vr-panel-border:#d3e5e2;--vr-panel-ink:#236967;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:40px;align-items:start;margin:36px 0 52px;position:relative}
.vr-story[data-vr-color="violet"]{--vr-panel:#f5f1fb;--vr-panel-border:#e0d7ef;--vr-panel-ink:#66509b}
.vr-story[data-vr-color="blue"]{--vr-panel:#eef5fd;--vr-panel-border:#d2e2f2;--vr-panel-ink:#2b639b}
.vr-story[data-vr-color="coral"]{--vr-panel:#fff4ed;--vr-panel-border:#efd6c6;--vr-panel-ink:#99513a}
.vr-story[data-vr-color="gold"]{--vr-panel:#fff9e9;--vr-panel-border:#eaddb7;--vr-panel-ink:#806019}
.vr-site .vr-copy{min-width:0;align-self:start}
.vr-site .vr-copy>:first-child{margin-top:0!important}
.vr-site .vr-copy>section:first-child>:is(h2,h3):first-child{margin-top:0!important}
.vr-site .vr-copy>section{margin-block:0 29px}
.vr-site .vr-copy>section:last-child{margin-bottom:0}
.vr-site .vr-copy :is(h2,h3){color:var(--vr-panel-ink)}
.vr-site .vr-copy .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.vr-site .vr-copy :is(.ss-keypoints,.ds-points){font-size:17px}
.vr-site .vr-copy :is(.care-visual,.ss-diagram,.ds-diagram){padding:18px 16px;margin:24px 0;box-shadow:none}
.vr-site .vr-copy .care-flow{gap:17px}
.vr-site .vr-copy .care-flow>li{padding:12px 8px!important}
.vr-site .vr-copy .care-flow strong{font-size:16px}
.vr-site .vr-copy .care-flow span{font-size:14px}
.vr-site .vr-media{align-self:start;position:sticky;top:calc(var(--vr-header) + 18px);border:1px solid var(--vr-panel-border);border-radius:16px;background:var(--vr-panel);padding:16px;box-shadow:0 7px 24px #213c4907}
.vr-site .vr-media[data-vr-static]{position:static}
.vr-site .vr-media>figure{display:block!important;max-width:100%!important;width:100%!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;overflow:visible}
.vr-site .vr-media figure :is(.med-art,.sa-art,.er-image-link){display:block;width:100%;max-width:100%;background:#fff;border-radius:9px}
.vr-site .vr-media figure img:not(.ency-logo):not(.ency-card-logo){width:100%;max-width:100%;height:auto;max-height:56svh;object-fit:contain;border-radius:8px;background:#fff}
.vr-site .vr-media figure :is(.ency-comic-art,.med-art){overflow:hidden;border-radius:9px}
.vr-site .vr-media figure figcaption{font-size:14px!important;line-height:1.8!important;color:#465b68!important;text-align:left!important;padding:13px 2px 0!important;margin:0!important;background:transparent!important;border:0!important;max-width:none!important}
.vr-site .vr-media figure figcaption :is(h2,h3,h4,strong){font-size:16px;line-height:1.6;color:var(--vr-panel-ink)}
.vr-site .vr-media figure figcaption p{font-size:14px!important;line-height:1.8!important;margin:7px 0}
.vr-site .vr-media figure figcaption a{font-size:14px;display:inline-flex;align-items:center;min-height:44px;color:var(--vr-panel-ink)}
.vr-site .vr-media .vr-figure-label{display:block;font-size:12px;font-weight:800;letter-spacing:.05em;color:var(--vr-panel-ink);margin:0 0 10px}
.vr-site .vr-media .vr-added-figure figcaption strong{display:block;font-weight:800;margin-bottom:5px}
.vr-site .vr-media .vr-zoom-link{margin-top:6px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.vr-site .vr-wide-content{grid-column:1 / -1;min-width:0}
.vr-site .vr-visual-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin:30px 0}
.vr-site .vr-visual-gallery>figure{width:100%;max-width:100%;margin:0!important;box-shadow:none}
.vr-site .vr-visual-gallery>figure img:not(.ency-logo){object-fit:contain;max-width:100%;height:auto}
.vr-site :is(.dr-table-wrap,.er-table-wrap,.cu-table){max-width:100%;overflow-x:auto}
.vr-site .vr-copy table{font-size:16px}
.vr-site .clinical-deepening,.vr-site .disease-reference{max-width:none}
.vr-site .article-textbook{background:#fbfcfe;border-color:#dae3ed;padding:28px;margin-top:40px}
.vr-site .article-textbook>.vr-story{margin-block:28px 42px}
.vr-site .vr-chapter{margin:30px 0}
.vr-site .vr-chapter>:is(h2,h3):first-child{margin-top:0}
.vr-site .cardgrid{gap:24px}
.vr-site .articlecard{border-radius:12px;background:#fff;border:1px solid #dbe5e8;border-top:4px solid var(--cat,var(--vr-accent));padding:22px;box-shadow:0 4px 16px #26455705}
.vr-site .articlecard:hover{background:#f9fbfc;border-color:var(--cat,var(--vr-accent));box-shadow:0 8px 24px #2645570e;transform:translateY(-2px)}
.vr-site .articlethumb{width:calc(100% + 44px);max-width:none;margin:-22px -22px 20px;aspect-ratio:16/10;height:auto;object-fit:contain;background:#f4f8fb;border-radius:8px 8px 0 0;padding:8px}
.vr-site .articlecard h3{font-size:21px;line-height:1.6}
.vr-site .articlecard p{font-size:16px;line-height:1.85}
.vr-site .articlecard .cardtop{font-size:13px}
.vr-site .articlecard .readlink{font-size:15px}
.vr-site .ency-expanded-grid{gap:24px}
.vr-site .ency-expanded-card{border-radius:12px;border:1px solid #d7e3e6;border-bottom:4px solid #6cafa7;overflow:hidden;background:#fff;box-shadow:0 3px 15px #26455705}
.vr-site .ency-expanded-card:nth-child(4n+2){border-bottom-color:#9b86c4}
.vr-site .ency-expanded-card:nth-child(4n+3){border-bottom-color:#d18b60}
.vr-site .ency-expanded-card:nth-child(4n){border-bottom-color:#75a6ce}
.vr-site .ency-card-body{padding:20px}
.vr-site .ency-card-body h2{font-size:22px}
.vr-site .ency-card-body p{font-size:16px;line-height:1.85}
.vr-site :is(.searchbar input,#ency-query){background:#fff;border:2px solid #94bdbb;border-radius:9px;font-size:18px;min-height:54px}
.vr-site .filters button{font-size:15px;min-height:44px;border-radius:8px}
.vr-site .filters button[aria-pressed="true"]{background:var(--vr-accent);border-color:var(--vr-accent)}
.vr-site .symptomlist button{border-radius:10px;min-height:52px;font-size:17px;line-height:1.6}
.vr-site .symptomlist button[aria-pressed="true"]{background:#086f72;border-color:#086f72}
.vr-site .patternchoices button{font-size:17px;min-height:52px;border-radius:10px;padding:17px 19px}
.vr-site :is(.testcard,.treatment-card){border-radius:12px;border-color:#d9e3e8}
.vr-site :is(.clinicalrefs,.dr-sources) :is(p,li,a){font-size:14px;line-height:1.85}
.vr-site :is(button,a,input,summary):focus-visible{outline:3px solid #ad7020;outline-offset:4px}
.vr-site :is(a,button){transition:background-color .18s,border-color .18s,box-shadow .18s}
@media(min-width:961px){.vr-site .vr-contents .readingnav .button{margin-left:auto}}
@media(max-width:1080px){.vr-story{gap:26px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}.vr-site .vr-media{padding:12px}.vr-site .vr-copy :is(p,li){font-size:17px}}
@media(max-width:900px){
 .vr-site .wrap,.vr-site .treatment-detail{width:calc(100% - 36px)}
 .vr-story{grid-template-columns:minmax(0,1fr);gap:22px;margin:28px 0 40px}
 .vr-site .vr-media{position:static;max-width:720px;width:100%;margin-inline:auto;padding:14px}
 .vr-site .vr-media figure img:not(.ency-logo):not(.ency-card-logo){max-height:none;height:auto;object-fit:contain}
 .vr-site .vr-copy :is(p,li){font-size:18px}
 .vr-site .vr-media figure figcaption{font-size:14px!important}
 .vr-site .vr-wide-content{grid-column:auto}.vr-site .vr-visual-gallery{grid-template-columns:1fr;gap:20px}
 .vr-site .article-textbook{padding:22px 18px}.vr-site .cardgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .vr-site .wrap,.vr-site .treatment-detail{width:calc(100% - 32px)}.vr-site .pagehead{padding-block:30px 24px}
 .vr-site .pagehead h1{font-size:30px}.vr-site .pagehead p{font-size:17px}.vr-site .readinglayout{padding-top:17px}
 .vr-site :is(.reading,.guidearticle,.treatment)>h1{font-size:30px;line-height:1.5}
 .vr-site :is(.reading,.guidearticle,.treatment) h2{font-size:24px}.vr-site :is(.reading,.guidearticle,.treatment) h3{font-size:21px}
 .vr-site :is(.reading,.guidearticle,.treatment) :is(p,li){font-size:17px;line-height:1.9}
 .vr-site .vr-contents>summary{font-size:15px;padding:14px}.vr-site .vr-contents :is(.readingnav,.guidetoc){display:block;padding:12px 16px}
 .vr-site .vr-contents :is(.readingnav,.guidetoc)>a{border-bottom:1px solid #e3eceb;padding-block:10px}
 .vr-site .vr-copy .summary-grid{grid-template-columns:1fr}.vr-site .cardgrid{grid-template-columns:1fr}
 .vr-site .articlecard{padding:20px}.vr-site .articlethumb{width:calc(100% + 40px);margin:-20px -20px 18px;max-height:260px}
 .vr-site .ency-expanded-grid{gap:17px}.vr-site .ency-card-body{padding:16px}.vr-site .ency-card-body h2{font-size:21px}.vr-site .ency-card-body p{font-size:15px}
 .vr-site .vr-media{padding:11px;border-radius:12px}.vr-site .article-textbook{padding:20px 15px}
}
@media(prefers-reduced-motion:reduce){.vr-site *, .vr-site *::before,.vr-site *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.vr-site .vr-story{display:block;margin:20px 0}.vr-site .vr-media{position:static;max-width:700px;margin:18px auto;padding:8px;box-shadow:none;break-inside:avoid}.vr-site .vr-media figure img:not(.ency-logo){max-height:none}.vr-site .vr-contents{display:none}.vr-site .wrap,.vr-site .treatment-detail{width:100%}}
