/* Sedes — lo cargan sedes.php y las subpáginas sede-*.php */

.sede-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sede-intro-sin-foto { grid-template-columns: minmax(0, 760px); justify-content: center; }
.sede-foto {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: var(--radio-l);
  box-shadow: var(--sombra-m);
}

.sede-llegar {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
.sede-mapa {
  height: 440px;
  border-radius: var(--radio-l);
  overflow: hidden;
  box-shadow: var(--sombra-m);
  background: var(--gris-1);
}
.sede-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

.sede-ruta { margin: 22px 0 18px; }
.sede-ruta label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--azul-d);
}
.sede-ruta-campo { display: flex; gap: 8px; }
.sede-ruta-campo input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--borde-2);
  border-radius: var(--radio);
  background: var(--blanco);
  font: inherit;
  font-size: .92rem;
  color: var(--texto);
}
.sede-ruta-campo input:focus { outline: 2px solid var(--azul-l); outline-offset: 1px; }
.sede-ruta-campo .btn { flex-shrink: 0; justify-content: center; text-align: center; }

/* Tarjeta del hub cuando la casa todavía no tiene foto */
.sede-card-sin-foto {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azul-dd) 0%, var(--azul-d) 100%);
  color: var(--blanco);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .sede-intro, .sede-llegar { grid-template-columns: 1fr; gap: 28px; }
  .sede-foto { height: 280px; }
  .sede-mapa { height: 340px; }
}

@media (max-width: 480px) {
  .sede-ruta-campo { flex-direction: column; }
}
