/* Callouts frame the national map; a selected province replaces them with its own card. */
.map-story-layout>.map-card .map-wrap{height:clamp(620px,49vw,800px);min-height:620px}
.map-story-layout>.map-card .map-wrap>svg[role="img"]{top:112px;left:2%;width:96%;height:calc(100% - 235px)}
.map-story-cards{inset:0;display:block;pointer-events:none}
.map-story-region{position:absolute;width:20%;min-height:94px;padding:10px 12px;border-top-width:4px;pointer-events:auto}
.map-story-region:nth-child(1){top:13px;left:2%}
.map-story-region:nth-child(2){bottom:12px;left:28%}
.map-story-region:nth-child(3){top:13px;left:27%}
.map-story-region:nth-child(4){bottom:12px;left:53%}
.map-story-region:nth-child(5){top:13px;left:52%}
.map-story-region b{font-size:13px;white-space:normal;overflow:visible}
.map-story-region strong{font-size:23px}
.map-story-region small{display:block;font-size:10px}
.map-story-region:hover,.map-story-region:focus-visible{transform:translateY(-1px)}
.map-story-national{top:13px;right:2%;bottom:auto;left:auto;width:21%;min-height:94px;padding:10px 12px;border-top:4px solid #0d4e91}
.map-story-national b{font-size:19px}
.map-story-national small{font-size:11px}
.map-story-layout .map-legend{bottom:15px;left:14px;right:auto;max-width:25%;padding:7px 9px}
.map-story-layout .map-legend b{display:block}
.map-story-layout .map-legend .legend-list{gap:4px 8px}
.map-story-layout .map-legend .legend-list span{font-size:10px}
.map-story-zoom{bottom:15px;right:14px}
.map-story-layout .map-watermark{top:115px}
.map-story-layout .map-wrap.is-province-view .map-story-cards,
.map-story-layout .map-wrap.is-province-view .map-story-national,
.map-story-layout .map-wrap.is-province-view .map-story-guides{display:none!important}
.map-story-layout .map-wrap.is-province-view>svg[role="img"]{top:66px;height:calc(100% - 120px)}
.map-story-province{position:absolute;top:13px;right:14px;z-index:6;width:min(300px,30%);padding:13px 15px;border:1px solid #c7deef;border-top:4px solid #185ca7;border-radius:15px;background:rgba(255,255,255,.98);box-shadow:0 15px 35px rgba(16,67,109,.18);color:#12365d;animation:mapProvinceIn .24s ease-out both}
.map-story-province>span{display:block;color:#416b93;font-size:10px;font-weight:850;letter-spacing:.09em}
.map-story-province>b{display:block;margin:3px 0;font-size:20px;line-height:1.2}
.map-story-province>small{display:block;color:#58728a;font-size:11px;line-height:1.35}
.map-story-province ol{list-style:none;margin:10px 0 7px;padding:0;border-top:1px solid #e2ecf5}
.map-story-province li{display:flex;align-items:start;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #e2ecf5;font-size:11px;line-height:1.3}
.map-story-province li span{flex:1}
.map-story-province li strong{color:#0b3978;white-space:nowrap}
.map-story-province-value{display:block;margin-top:8px;color:#0b3978;font-size:25px}
.map-story-province em{display:block;color:#6e8398;font-size:10px;font-style:normal}
.map-story-layout .map-wrap.is-province-view .map-story-back{top:14px;left:14px}
@keyframes mapProvinceIn{from{opacity:.5}to{opacity:1}}
@media(max-width:1100px){
  .map-story-layout>.map-card .map-wrap{height:640px;min-height:640px}
  .map-story-layout>.map-card .map-wrap>svg[role="img"]{top:115px;height:calc(100% - 215px)}
  .map-story-region,.map-story-national{min-height:80px;padding:7px 8px}
  .map-story-region b{font-size:11px}
  .map-story-region strong{font-size:17px}
  .map-story-region small{font-size:9px}
  .map-story-national b{font-size:16px}
  .map-story-layout .map-legend{max-width:26%}
}
@media(max-width:620px){
  .map-story-layout>.map-card .map-wrap{height:510px;min-height:510px;overflow-x:auto;overflow-y:hidden}
  .map-story-layout>.map-card .map-wrap>svg[role="img"]{top:94px;left:0;width:780px;min-width:780px;height:320px}
  .map-story-cards{width:780px;right:auto}
  .map-story-region,.map-story-national{min-height:67px;padding:5px 7px}
  .map-story-region span{font-size:8px}
  .map-story-region b{display:block;font-size:9px}
  .map-story-region strong{font-size:15px}
  .map-story-region small{display:none}
  .map-story-national{right:auto;left:600px;width:165px;min-height:67px}
  .map-story-national b{font-size:14px}
  .map-story-national small{font-size:9px}
  .map-story-layout .map-legend{left:5px;bottom:6px;max-width:170px}
  .map-story-layout .map-legend .legend-list span{font-size:8px}
  .map-story-province{position:sticky;float:right;top:7px;right:7px;width:205px;max-width:205px;padding:8px 10px}
  .map-story-province>b{font-size:16px}
  .map-story-province li{font-size:10px;padding:5px 0}
  .map-story-layout .map-wrap.is-province-view>svg[role="img"]{top:65px;height:365px}
  .map-story-layout .map-wrap.is-province-view .map-story-back{top:8px;left:8px}
}
@media(prefers-reduced-motion:reduce){.map-story-province{animation:none}}
