
#lista-sedes{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}


#lista-sedes .sede-box{
  display: grid;
  grid-template-columns: clamp(120px, 18vw, 220px) 1fr;
  align-items: self-start;
  gap: 18px;
}


#lista-sedes .sede-map{
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3f3;
}

.sede-directions {
  margin-top:15px;
}


@supports not (aspect-ratio: 1 / 1){
  #lista-sedes .sede-map{
    height: 0;
    padding-top: 100%;          /* cuadrado por padding */
  }
  #lista-sedes .sede-map iframe{
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
  }
}


#lista-sedes .sede-map iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sede-data {
  max-width:330px;
}

/* ====== Tipografía ====== */
#lista-sedes .sede-title{
  margin: 0 0 .35rem 0;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(16px, 1.2vw + 12px, 20px);
}

#lista-sedes .sede-address{
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(12px, .6vw + 10px, 14px);
  line-height: 1.35;
  color: #333;
}


/* ====== Responsive (móvil) ====== */
@media (max-width: 600px){
  #lista-sedes{
    grid-template-columns: 1fr;  /* una sola columna */
    gap: 20px;
  }

  #lista-sedes .sede-box{
    grid-template-columns: 1fr;  /* mapa arriba, texto abajo */
    gap: 12px;
  }

  #lista-sedes .sede-map{ width: 100%; }
}