
.med{--med-ink:#143b46;--med-teal:#097d82;--med-line:#dbe7e8;--med-bg:#f3f8f8;color:var(--med-ink);font-family:"Malgun Gothic","Apple SD Gothic Neo",sans-serif;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.med *, .med *::before,.med *::after{box-sizing:border-box}.med a{color:#096d78;text-decoration-thickness:1px;text-underline-offset:4px}.med button,.med input{font:inherit}.med a:focus-visible,.med button:focus-visible,.med summary:focus-visible,.med input:focus-visible{outline:3px solid #d4a12a;outline-offset:4px}.med [hidden]{display:none!important}
.med-wrap{width:min(1160px,calc(100% - 48px));margin:0 auto}.med-hub{padding:54px 0 66px;border-top:1px solid var(--med-line);border-bottom:1px solid var(--med-line);background:linear-gradient(160deg,#f5faf9,#fff)}
.med-kicker{font-size:12px;letter-spacing:.16em;font-weight:800;color:#10777b;margin:0 0 9px}.med h2.med-title{font-size:clamp(27px,3.2vw,39px);line-height:1.3;letter-spacing:-.045em;margin:8px 0 16px;font-weight:800}.med-hub-lead{max-width:720px;font-size:17px;color:#526c74;margin:0 0 25px}.med-hub-top{display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.med-count{font-size:13px;white-space:nowrap;border:1px solid #bfd4d7;border-radius:99px;padding:7px 14px;margin-bottom:25px;background:white}
.med-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0 25px}.med-filter label{font-weight:700;font-size:14px}.med-filter input{padding:11px 14px;border:1px solid #adc4c9;border-radius:8px;width:290px;max-width:100%;background:white}.med-filter small{font-size:13px;color:#647b82}
.med-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.med-card{display:flex;flex-direction:column;color:inherit!important;text-decoration:none!important;min-width:0;background:white;border:1px solid #d8e4e5;border-radius:14px;overflow:hidden;transition:transform .15s,box-shadow .15s}.med-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #183f4512}.med-card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;display:block;border-bottom:1px solid #e6eded;background:#fff}.med-card-text{padding:21px 22px 22px}.med-card small{font-size:12px;color:#087579;font-weight:700}.med-card h3{font-size:21px;line-height:1.45;margin:7px 0 10px;letter-spacing:-.04em}.med-card p{font-size:14px;line-height:1.75;color:#5a7078;margin:0 0 16px}.med-card .med-arrow{font-size:13px;font-weight:800;color:#057279}.med-no-result{padding:28px;background:white;border:1px dashed #abc2c7;border-radius:10px}.med-hub-note{font-size:13px;color:#627780;margin-top:22px}
.med-page{margin:0;background:#fff}.med-topbar{border-bottom:1px solid #e0e9eb;background:#fff;padding:12px 0}.med-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:15px}.med-brand{display:flex;align-items:center;gap:11px;color:#124252!important;text-decoration:none!important;font-size:17px;font-weight:800}.med-brand img{width:48px;height:48px;object-fit:contain}.med-top-actions{display:flex;gap:18px;align-items:center;font-size:13px}.med-article{width:min(1030px,calc(100% - 48px));margin:0 auto;padding:42px 0 64px}.med-article-header{border-bottom:1px solid var(--med-line);padding-bottom:29px}.med-breadcrumb{font-size:13px;color:#647980;margin:0 0 20px}.med h1.med-h1{font-size:clamp(30px,4vw,48px);font-weight:800;line-height:1.28;letter-spacing:-.05em;margin:12px 0 22px;max-width:940px}.med-deck{font-size:clamp(18px,2vw,21px);color:#526b75;max-width:850px;margin:0}.med-article-meta{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.med-article-meta span{font-size:12px;background:#f0f6f6;color:#42616b;padding:4px 10px;border-radius:5px}.med-urgent{margin:26px 0 32px;background:#fff5f3;border-left:5px solid #c14937;border-radius:0 10px 10px 0;padding:18px 22px;color:#843827;font-size:16px;line-height:1.8}.med-urgent strong{display:block;font-size:15px;margin-bottom:4px}.med-toc{padding:16px 20px;background:#f2f7f7;border:1px solid #dbe7e7;border-radius:10px;font-size:14px}.med-toc strong{margin-right:12px}.med-toc a{display:inline-block;margin:3px 16px 3px 0}.med-section{padding-top:42px;scroll-margin-top:28px}.med h2.med-section-title{font-size:clamp(23px,2.6vw,31px);font-weight:800;line-height:1.4;letter-spacing:-.04em;margin:0 0 17px}.med-section-title .med-number{font-size:13px;letter-spacing:.07em;display:block;margin-bottom:8px;color:#0b7a7d}.med-body-copy{font-size:18px;line-height:1.95;margin:0 0 22px;max-width:940px}.med-source-link{font-size:11px;text-decoration:none!important;margin-left:3px;white-space:nowrap}.med-figure{margin:26px 0 20px;padding:0;border:1px solid #d4e2e5;border-radius:12px;overflow:hidden;background:#fff}.med-figure .med-figure-image{display:block;position:relative}.med-figure-image img{display:block;width:100%;height:auto;object-fit:contain;background:white}.med-figure figcaption{background:#f5f9fa;padding:17px 22px;font-size:15px;line-height:1.8;color:#3d5964;border-top:1px solid #dce7e9}.med-figure figcaption strong{display:block;font-size:15px;color:#155163;margin-bottom:5px}.med-zoom{display:block;border:0;border-top:1px solid #e0e9eb;width:100%;padding:10px 16px;background:#fff;font-size:13px;color:#0c727d;cursor:pointer;text-align:right}.med-image-note{font-size:12px;color:#6b7b80;margin:14px 0 0}.med-memo{background:#edf6f4;border:1px solid #cfdfd9;border-radius:12px;padding:24px 25px;margin-top:40px}.med-memo h2{font-size:23px;margin:0 0 10px}.med-memo p{font-size:16px;margin:8px 0}.med-faq{margin-top:26px;border:1px solid #d5e2e5;border-radius:12px;overflow:hidden}.med-faq summary{padding:20px 24px;font-size:18px;font-weight:800;cursor:pointer;background:#fafcfc}.med-faq p{font-size:17px;padding:0 24px 23px;margin:0}.med-next{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.med-button{display:inline-block;background:#0a555d;color:#fff!important;border:1px solid #0a555d;border-radius:7px;padding:11px 18px;font-size:14px;font-weight:800;text-decoration:none!important}.med-button.secondary{color:#105e66!important;background:#fff}.med-sources{border-top:1px solid #dce7e9;margin-top:40px;padding-top:20px;font-size:13px;color:#64757e}.med-sources h2{font-size:16px;line-height:1.5;margin:0 0 8px}.med-sources ol{padding-left:22px}.med-sources li{margin:8px 0}.med-footer{background:#f0f6f5;border-top:1px solid #dae5e4;padding:24px 0;font-size:12px;color:#566e74}.med-footer p{margin:4px 0}.med-preview-banner{position:relative;background:#213f48;color:white;font:13px/1.6 "Malgun Gothic",sans-serif;padding:10px 22px;text-align:center}.med-preview-banner strong{color:#e7f5ef}.med-preview-banner a{color:#fff;margin-left:15px;text-decoration:underline}
@media(max-width:850px){.med-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.med-hub-top{display:block}.med-count{display:inline-block;margin:0 0 8px}.med-article{width:min(1030px,calc(100% - 34px))}}
@media(max-width:560px){.med-wrap{width:calc(100% - 32px)}.med-hub{padding:32px 0 40px}.med-cards{grid-template-columns:1fr;gap:18px}.med-card-text{padding:18px}.med-article{padding-top:28px}.med-body-copy{font-size:17px;line-height:1.9}.med-urgent{font-size:15px;padding:15px}.med-section{padding-top:32px}.med-figure figcaption{padding:14px 15px;font-size:14px}.med-top-actions a:first-child{display:none}.med-topbar .med-brand{font-size:15px}.med-filter input{width:100%}.med-memo{padding:20px}.med-sources{overflow-wrap:anywhere}.med-preview-banner{font-size:12px}.med-next a{flex:1;text-align:center}.med-toc a{margin-right:8px}.med-topbar-inner{gap:8px}}
@media print{.med-topbar,.med-next,.med-preview-banner,.med-zoom,.med-dialog,.med-filter{display:none!important}.med-article{width:100%;padding:0}.med-figure{break-inside:avoid}.med-section-title{break-after:avoid}.med-source-link{color:black}}

/* v2: namespace additions so the existing site typography is not restyled. */
.anapa-context-education.med{clear:both;max-width:100%;margin:24px 0 38px;padding:24px 0 0;border-top:1px solid #dbe7e8}
.anapa-context-education.med h3.med-section-title{font-size:clamp(23px,2.5vw,29px);line-height:1.45;margin:0 0 16px;font-weight:800}
.anapa-context-education.med .med-body-copy{font-size:18px;line-height:1.95;margin-bottom:22px}
@media(max-width:600px){.anapa-context-education.med .med-body-copy{font-size:17px}.anapa-context-education.med .med-figure{margin:20px 0}.med-dialog-head{gap:8px;flex-wrap:wrap}.med-dialog-head button{min-height:42px}}

/* Medical figures keep their original proportions and open in an accessible viewer. */
.med-figure,.ency-medical-figure{min-width:0;max-width:100%}
.med-figure img,.ency-medical-figure img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.med-figure [data-med-zoom],.ency-medical-figure [data-med-zoom]{cursor:zoom-in}
.med-figure [data-med-zoom]:focus-visible,.ency-medical-figure [data-med-zoom]:focus-visible{outline:3px solid #c99622;outline-offset:-3px}
.med-zoom{min-height:44px;font-size:15px}
.med-dialog,.med-dialog *{box-sizing:border-box}
.med-dialog{width:calc(100vw - 32px);max-width:1800px;height:94vh;height:94dvh;max-height:none;margin:auto;padding:0;border:1px solid #d6e5e8;border-radius:14px;background:#f0f5f6;color:#143b46;overflow:hidden;box-shadow:0 20px 65px #0005;font:15px/1.6 "Malgun Gothic","Apple SD Gothic Neo",sans-serif}
.med-dialog[open]{display:flex!important;flex-direction:column}
.med-dialog::backdrop{background:#0b202ae6}
.med-dialog [hidden]{display:none!important}
.med-dialog-head{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;padding:12px 16px;background:#fff;border-bottom:1px solid #d9e5e8}
.med-dialog-title{margin:0;min-width:0;flex:1 1 240px;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.med-dialog-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.med-dialog button{min-height:44px;padding:8px 12px;border:1px solid #a3bbc0;border-radius:7px;background:#fff;color:#143b46;font:inherit;font-size:14px;line-height:1.4;cursor:pointer}
.med-dialog button[aria-pressed="true"]{border-color:#086f76;background:#e5f4f2;color:#075760;font-weight:700}
.med-dialog button[data-med-close]{background:#0a555d;border-color:#0a555d;color:#fff;font-weight:700}
.med-dialog button:disabled{opacity:.5;cursor:default}
.med-dialog :focus-visible{outline:3px solid #c99622;outline-offset:2px}
.med-dialog-canvas{flex:1 1 auto;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;position:relative;background:#eaf0f2;-webkit-overflow-scrolling:touch}
.med-dialog-canvas:focus-visible{outline-offset:-4px}
.med-dialog-surface{display:grid;place-items:center;min-width:100%;min-height:100%}
.med-dialog .med-dialog-image{display:block;max-width:none;max-height:none;object-fit:contain;flex:none;background:#fff;user-select:none;-webkit-user-drag:none}
.med-dialog-canvas[data-zoomed]{cursor:grab}
.med-dialog-canvas[data-dragging]{cursor:grabbing}
.med-dialog-footer{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 16px;padding:9px 16px;background:#fff;border-top:1px solid #d9e5e8}
.med-dialog-footer p{margin:0;font-size:13px;line-height:1.6;white-space:normal}
.med-dialog-status{color:#234d5b}
.med-dialog-help{color:#526b75}
.med-dialog-footer a{min-height:36px;display:inline-flex;align-items:center;color:#096d78;font-size:13px;text-underline-offset:3px}
@media(max-width:600px){
 .med-dialog{width:calc(100vw - 12px);height:97vh;height:97dvh;border-radius:9px}
 .med-dialog-head{padding:10px;gap:9px}
 .med-dialog-title{flex-basis:100%;font-size:16px}
 .med-dialog-controls{width:100%;gap:6px}
 .med-dialog button{flex:1;padding:8px 6px;font-size:13px;white-space:nowrap}
 .med-dialog-footer{padding:8px 10px;gap:2px 10px}
 .med-dialog-footer p,.med-dialog-footer a{font-size:12px}
 .med-dialog-help{flex-basis:100%}
}
@media print{.med-dialog,.med-dialog[open]{display:none!important}}
