/* Estilos propios de concejales.html (extraidos del <style> inline). Base global: styles.css */

body { font-size: 1rem; } 

        /* TÍTULO PRINCIPAL */
        .titulo-pagina { 
            font-size: 2.2rem; 
            font-weight: 900; 
            color: #198754; 
            margin: 40px 0; 
            border-bottom: 5px solid #198754; 
            display: inline-block; 
            padding-bottom: 10px;
        }

        /* TARJETAS CONCEJALES */
        .card-concejal {
            border: none;
            border-radius: 20px;
            background: white;
            overflow: hidden; /* Evita que la foto se salga de las esquinas redondas */
            transition: all 0.3s ease;
            box-shadow: 0 6px 15px rgba(0,0,0,0.06);
            height: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
        }
        .card-concejal:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important; }

        /* CONTENEDOR DE IMÁGENES MAGIA */
        .img-container { 
            height: 320px; /* Altura ideal para celular */
            overflow: hidden; 
            background-color: #f8f9fa; 
        }
        .img-container img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; /* Recorta sin deformar */
            object-position: top; /* Enfoca las caras, no los zapatos */
        }

        /* TEXTOS */
        .nombre-concejal { font-size: 1.3rem; font-weight: 800; margin: 15px 10px 5px 10px; text-transform: uppercase; }
        .cargo-concejal { font-size: 1rem; color: #198754; font-weight: 600; margin-bottom: 20px; }

        /* DETALLE PRESIDENTE */
        .presidente-card { border: 3px solid #198754; }

        /* ==================================================
           REGLAS PARA DESKTOP (PC) 
           ================================================== */
        @media (min-width: 992px) {
            body { font-size: 1.1rem; }
            .titulo-pagina { font-size: 3.5rem; margin: 60px 0; border-bottom: 8px solid #198754; }
            .card-concejal { border-radius: 25px; }
            .img-container { height: 420px; } /* Más altas para lucir el cuerpo entero en PC */
            .nombre-concejal { font-size: 1.5rem; margin-top: 20px; }
            .cargo-concejal { font-size: 1.15rem; }
        }
