/* Mapa de los candidatos del frente en /nuestro-equipo (02/11/2026; js/equipo-mapa.js). El SVG es el de /alertas (generar-equipo.py). */
#nuestro-equipo .eq-pronto, #nuestro-equipo .h2-centro { max-width: 46rem; margin-inline: auto; }
.eqm { display: grid; gap: 1.2rem; margin-top: .5rem; }
.eqm-bajada { margin: 0; text-align: center; font-size: 1.05rem; line-height: 1.6; color: var(--texto); }
.eqm-aviso { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; padding: .6rem 1rem; border-radius: 12px;
  background: #FFF3C4; color: #5C4300; font-size: .92rem; font-weight: 600; text-align: center; }
.eqm-filtros { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: .8rem 1.4rem; }
.eqm-donde { min-width: min(100%, 20rem); margin: 0; }
.eqm-cargos { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.eqm-cargo { padding: .5rem .95rem; border: 1px solid var(--borde-2); border-radius: 999px; background: #FFFFFF; color: var(--azul); font: inherit; font-size: .88rem;
  font-weight: 600; cursor: pointer; }
.eqm-cargo[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #FFFFFF; }
.eqm-cargo:focus-visible { outline: 3px solid var(--rojo); outline-offset: 2px; }

.eqm-tus { padding: 1.1rem 1.2rem; background: #FFFFFF; border: 1px solid var(--borde); border-radius: 16px; box-shadow: var(--sombra-card); }
.eqm-tus-titulo, .eqm-detalle-titulo { margin: 0 0 .8rem; font-size: 1.15rem; color: var(--tinta); }
.eqm-sumate { margin: .9rem 0 0; font-size: .92rem; color: var(--texto); }
.eqm-sumate a { font-weight: 700; color: var(--rojo); }

.eqm-cuerpo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
@media (max-width: 860px) { .eqm-cuerpo { grid-template-columns: 1fr; } }
.eqm-mapa { position: relative; max-width: 30rem; width: 100%; margin-inline: auto; }
.eqm-svg { display: block; width: 100%; height: auto; }
.eqm-svg path { fill: #E6ECF6; stroke: #FFFFFF; stroke-width: 1.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .15s ease; }
.eqm-svg path.eqm-con { fill: #D3DCF0; }
.eqm-svg path:hover { fill: #C4D0EA; }
.eqm-nombres text { font-size: 10px; font-weight: 700; fill: #6B7A99; text-anchor: middle; pointer-events: none; }
.eqm-nombres text.am-chico, .eqm-nombres text.eqm-chico { font-size: 7.5px; }
.eqm-punto { position: absolute; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; transform: translate(-50%, -50%);
  border: 3px solid #FFFFFF; border-radius: 50%; background: var(--rojo); box-shadow: 0 3px 10px rgba(16,32,61,.35); cursor: pointer; overflow: hidden;
  transition: transform .15s ease; }
.eqm-punto:hover, .eqm-punto:focus-visible { z-index: 3; transform: translate(-50%, -50%) scale(1.15); }
.eqm-punto:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.eqm-punto.eqm-elegido { z-index: 2; border-color: var(--azul); transform: translate(-50%, -50%) scale(1.2); }
.eqm-punto-foto { width: 100%; height: 100%; object-fit: cover; }
.eqm-punto .eqm-sin-foto { display: grid; place-items: center; width: 100%; height: 100%; color: #FFFFFF; font-size: .8rem; font-weight: 800; }
.eqm-varios { background: var(--azul); }
.eqm-num { color: #FFFFFF; font-weight: 800; font-size: 1rem; }
@media (max-width: 520px) { .eqm-punto { width: 2rem; height: 2rem; border-width: 2px; } }

.eqm-detalle { min-height: 6rem; }
.eqm-resumen { display: grid; gap: .6rem; padding: 1.2rem 1.3rem; background: #FFFFFF; border: 1px solid var(--borde); border-radius: 16px; box-shadow: var(--sombra-card); }
.eqm-resumen p { margin: 0; }
.eqm-resumen-num { font-size: 1.15rem; color: var(--tinta); }
.eqm-resumen-num b { font-size: 1.6rem; color: var(--rojo); }
.eqm-resumen-cargos { font-size: .92rem; font-weight: 600; color: var(--azul); }
.eqm-ayuda { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--texto-2); font-size: .95rem; line-height: 1.5; }
.eqm-tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.eqm-detalle .eqm-tarjetas { grid-template-columns: 1fr; }
.eqm-tarjeta { display: flex; gap: .85rem; padding: .9rem; background: #FFFFFF; border: 1px solid var(--borde); border-radius: 14px; box-shadow: var(--sombra-card); }
.eqm-foto { flex: none; width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; }
.eqm-foto.eqm-sin-foto { display: grid; place-items: center; background: var(--fondo-suave); color: var(--azul); font-weight: 800; }
.eqm-tarjeta-txt { min-width: 0; }
.eqm-tarjeta h4 { margin: 0; font-size: 1.02rem; color: var(--tinta); }
.eqm-cargo-lugar { margin: .1rem 0 .3rem; font-size: .84rem; font-weight: 600; color: var(--rojo); }
.eqm-frase { margin: 0 0 .4rem; font-size: .88rem; line-height: 1.45; color: var(--texto); }
.eqm-ir { font-size: .9rem; font-weight: 700; color: var(--azul); text-decoration: none; }
.eqm-ir:hover, .eqm-ir:focus-visible { color: var(--rojo); text-decoration: underline; }

.eqm-titulo-lista { margin: 1rem 0 0; font-size: 1.25rem; text-align: center; color: var(--tinta); }
.eqm-lista { display: grid; gap: 1.2rem; }
.eqm-depto-nombre { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: 1rem; color: var(--azul); text-transform: uppercase; letter-spacing: .08em; }
.eqm-depto-nombre span { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; border-radius: 999px; background: var(--fondo-suave);
  font-size: .8rem; letter-spacing: 0; }
