/* Galerías de sedes e información institucional. */
.location-gallery{min-width:0;margin:0 0 20px;background:#f3f4f6;border-radius:8px;overflow:hidden}
.location-gallery [hidden]{display:none!important}
.location-gallery [data-gallery-slide]{display:block}
.location-gallery [data-gallery-slide] img{display:block;width:100%;height:265px;object-fit:contain;background:#eef0f3}
.location-gallery .gallery-controls{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;background:#fff;border-top:1px solid #e1e3ef;color:#25218b}
.gallery-controls button{width:40px;height:40px;border:1px solid #d8dcec;background:#fff;border-radius:50%;color:#25218b;font-size:26px;cursor:pointer;line-height:1}
.gallery-controls button:hover{background:#edf3e7}.gallery-controls button:focus-visible{outline:3px solid #579934;outline-offset:2px}
.gallery-controls span{font-size:14px;font-weight:600}.about-grid .location-gallery{width:100%;margin:0}.about-grid .location-gallery img{height:420px}
@media(max-width:640px){.location-gallery [data-gallery-slide] img{height:300px}.about-grid .location-gallery img{height:340px}}

/* Tarjetas de sedes más compactas. */
.sedes-section .sede-cards{gap:18px}
.sedes-section .sede-card{padding:14px}
.sedes-section .location-gallery{margin-bottom:14px}
.sedes-section .location-gallery [data-gallery-slide] img{height:205px}
.sedes-section .gallery-controls{padding:4px 10px}
.sedes-section .gallery-controls button{width:36px;height:36px;font-size:24px}
.sedes-section .sede-title{gap:10px}
.sedes-section .sede-title h3{font-size:25px;margin:0}
.sedes-section .sede-badge{font-size:11px;padding:3px 9px}
.sedes-section .sede-card>.sede-heading-rule{margin:10px 0 13px}
.sedes-section .sede-details{font-size:15px;line-height:1.4;margin-bottom:16px}
.sedes-section .sede-details>div{gap:10px;margin-bottom:10px}
.sedes-section .sede-location{font-size:14px;min-height:40px;padding:7px 10px}
@media(max-width:640px){.sedes-section .location-gallery [data-gallery-slide] img{height:220px}}

@media(min-width:1101px){
 .sedes-section .sede-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
 .sedes-section .sede-card{padding:12px}
 .sedes-section .location-gallery [data-gallery-slide] img{height:180px}
 .sedes-section .sede-title{align-content:flex-start;min-height:62px;gap:5px}
 .sedes-section .sede-title h3{font-size:23px;width:100%}
 .sedes-section .sede-details{font-size:14px}
 .sedes-section .sede-details>div{grid-template-columns:20px minmax(0,1fr);gap:7px}
 .sedes-section .gallery-controls{padding:4px 6px}
}
