/* KMA Our Branches — editorial photo-first layout, responsive, accessible */
.kma-locations{background:#fff;padding:76px 0 94px}
.kma-location-heading{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:end;gap:50px;margin-bottom:30px}
.kma-location-heading h2{font-size:clamp(32px,3.7vw,49px);line-height:1.17}
.kma-location-heading>p{font-size:16px;max-width:670px;line-height:1.83;margin:0;color:#516076}
.kma-branch-jump{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f2f5fa;border:1px solid #e2e8f0;padding:15px 22px;margin-bottom:42px}
.kma-branch-jump strong{margin-right:auto;font-size:13px;font-weight:750;color:#132845}
.kma-branch-jump a{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:13px;font-weight:800;background:#fff;border:1px solid #dce3ed;padding:10px 18px;color:#092b61;min-width:99px;transition:background .18s,color .18s}
.kma-branch-jump a:hover,.kma-branch-jump a:focus-visible{background:#092b61;color:#fff;text-decoration:none}
.kma-location-stack{display:grid;gap:29px}
.kma-location-entry,.kma-location-entry.is-reversed{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"photo detail";align-items:stretch;min-width:0;min-height:440px;background:#fff;border:1px solid #e0e7ef;border-radius:14px;box-shadow:0 15px 45px rgba(15,34,65,.055);overflow:hidden;scroll-margin-top:175px}
.kma-location-entry.is-reversed{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"detail photo"}
/* Full-quality main photo with smaller, naturally proportioned second image.
   Never stretch an image through the entire photo column. */
.kma-location-photos{grid-area:photo;display:block;position:relative;min-width:0;min-height:440px;overflow:hidden;isolation:isolate;background:#dce6f1}
.kma-location-photo{margin:0;position:relative;min-width:0;overflow:hidden}
.kma-location-photo-main{position:absolute;inset:0;z-index:0}
.kma-location-photo-main>a{display:block;width:100%;height:100%}
.kma-location-photo-main img{display:block;width:100%;height:100%!important;object-fit:cover;object-position:center 45%;image-rendering:auto}
.kma-location-photos:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(5,22,45,.13));pointer-events:none;z-index:1}
.kma-location-photo-detail{position:absolute;z-index:3;bottom:22px;right:22px;width:34%;max-width:225px;aspect-ratio:4/3;background:#fff;border:5px solid white;border-radius:8px;box-shadow:0 14px 35px rgba(5,25,48,.27)}
.kma-location-photo-detail>a{display:block;width:100%;height:100%;overflow:hidden}
.kma-location-photo-detail img{width:100%;height:100%!important;display:block;object-fit:cover;object-position:center center;image-rendering:auto}
.kma-location-photo-main img,.kma-location-photo-detail img{transition:transform .35s ease}
.kma-location-photo a:hover img{transform:scale(1.025)}
.kma-location-photo-detail figcaption{position:absolute;bottom:0;left:0;right:0;background:rgba(6,25,52,.82);color:#fff;font-size:10px;font-weight:700;line-height:1.4;padding:6px 7px;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kma-location-overlay{position:absolute;top:21px;left:22px;z-index:4;background:#fff;color:#092b61;font-size:13px;font-weight:850;letter-spacing:.055em;padding:10px 15px;box-shadow:0 6px 20px rgba(0,0,0,.09);border-radius:3px;pointer-events:none}
.kma-location-overlay span{color:#d71938}
.kma-location-details{grid-area:detail;min-width:0;padding:34px clamp(26px,3vw,44px);display:flex;flex-direction:column;justify-content:center}
.kma-location-details .k-eyebrow{margin-bottom:12px;font-size:11px;letter-spacing:.10em}
.kma-location-details h2{font-size:clamp(30px,2.5vw,39px);color:#092b61;font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.16;letter-spacing:-.018em;overflow-wrap:normal}
.kma-location-subtitle{font-size:clamp(17px,1.7vw,22px);line-height:1.42!important;font-weight:600;color:#435979!important;margin:6px 0 0!important;text-wrap:pretty}
.kma-location-info{margin-top:19px;border-top:1px solid #e2e8ef}
.kma-location-field{padding:11px 0;border-bottom:1px solid #e2e8ef}
.kma-location-label{display:block;color:#d71938;font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:850;margin-bottom:4px}
.kma-location-field address{font-style:normal;font-weight:560;color:#243a56;font-size:14px;line-height:1.68}
.kma-location-field p{margin:0;font-size:13px;line-height:1.58}
.kma-location-phones{display:flex;flex-wrap:wrap;gap:4px 18px}
.kma-location-phones a{font-weight:800;font-size:16px;color:#092b61;text-decoration:underline;text-decoration-color:#b8c5d9;text-underline-offset:4px;white-space:nowrap}
.kma-location-actions{display:flex;align-items:center;gap:13px 18px;flex-wrap:wrap;margin-top:22px}
.kma-location-actions .k-btn{min-height:44px;padding:11px 16px;font-size:12px;line-height:1.5}
.kma-location-call{font-size:12px;font-weight:800;color:#092b61;border-bottom:1px solid #092b61;white-space:nowrap;padding:8px 0}
.kma-branch-visit-note{margin-top:40px;background:#f2f5fa;padding:32px 38px;border-left:4px solid #d71938;display:flex;justify-content:space-between;gap:25px;align-items:center}
.kma-branch-visit-note h2{font-size:clamp(25px,2.7vw,35px)}
.kma-branch-visit-note p{font-size:14px;line-height:1.75;max-width:760px}
.kma-branch-visit-note .k-btn{flex-shrink:0}
html[lang="my"] .kma-location-details h2,html[lang="my"] .kma-location-subtitle,html[lang="my"] .kma-branch-visit-note h2{font-family:"Myanmar Text","Pyidaungsu",sans-serif;line-height:1.55;letter-spacing:0;font-weight:700}
html[lang="ja"] .kma-location-details h2,html[lang="ja"] .kma-branch-visit-note h2{font-family:"Yu Mincho","Noto Serif JP",serif;line-height:1.45}
@media(max-width:1100px){
 .kma-location-entry,.kma-location-entry.is-reversed{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .kma-location-photos{min-height:400px}
 .kma-location-details{padding:26px 25px}
 .kma-location-details h2{font-size:32px}
 .kma-location-subtitle{font-size:18px}
 .kma-location-heading{gap:26px}
}
@media(max-width:850px){
 .kma-location-heading{grid-template-columns:1fr;gap:14px}
 .kma-location-entry,.kma-location-entry.is-reversed{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "detail";min-height:0}
 .kma-location-photos{height:370px;min-height:370px}
 .kma-location-photo-detail{width:29%;max-width:200px}
 .kma-location-details{padding:28px 30px}
 .kma-location-info{margin-top:15px}
 .kma-branch-visit-note{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
 .kma-locations{padding-top:44px;padding-bottom:59px}
 .kma-location-heading h2{font-size:30px}
 .kma-location-heading>p{font-size:14px}
 .kma-branch-jump{padding:12px;gap:8px;margin-bottom:25px}
 .kma-branch-jump strong{width:100%;margin-bottom:4px}
 .kma-branch-jump a{flex:1;min-width:0;padding:8px 11px;font-size:12px}
 .kma-location-stack{gap:18px}
 .kma-location-entry,.kma-location-entry.is-reversed{border-radius:11px}
 .kma-location-photos{height:260px;min-height:260px}
 .kma-location-photo-detail{bottom:12px;right:12px;width:31%;max-width:144px;border-width:3px}
 .kma-location-photo-detail figcaption{font-size:9px;padding:4px 5px}
 .kma-location-overlay{top:11px;left:11px;padding:7px 10px;font-size:11px}
 .kma-location-details{padding:24px 20px}
 .kma-location-details h2{font-size:30px}
 .kma-location-subtitle{font-size:17px}
 .kma-location-field address{font-size:14px}
 .kma-location-actions{align-items:stretch;flex-direction:column;gap:9px}
 .kma-location-actions .k-btn{font-size:12px}
 .kma-location-call{text-align:center}
 .kma-branch-visit-note{padding:25px 20px;margin-top:24px}
 .kma-branch-visit-note .k-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.kma-location-photo img{transition:none!important}.kma-location-photo a:hover img{transform:none!important}}
