/* ============================================================
   ESTILOS ESPECÍFICOS – GOBIERNO
   Archivo: gobierno.css
   ------------------------------------------------------------
   - Presentación institucional
   - Estructura del gobierno
   - Marco jurídico
   👉 Alineado visualmente con index.css
   👉 No sobrescribe base.css
============================================================ */


/* ============================================================
   PRESENTACIÓN GOBIERNO
============================================================ */
section#gobierno-intro {
    padding: 2rem 1rem;               /* Espacio interno */
    background-color: white;          /* Fondo blanco */
    margin: 1rem auto;                /* Centrado */
    max-width: 1100px;
    border-radius: 14px;             /* Bordes redondeados */
    box-shadow: 0 10px 28px rgba(0,0,0,0.15); /* Sombra elegante */
    text-align: justify;              /* Texto centrado */
}

section#gobierno-intro h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 1.2rem;
    text-align: center;
}

section#gobierno-intro p {
    font-size: 1.15rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto 1.4rem;
    line-height: 1.6;
}


/* ============================================================
   ESTRUCTURA DEL GOBIERNO
============================================================ */
section#gobierno-estructura {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 0 2rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

/* ============================================================
   TARJETAS – ESTILO INDEX / CABILDO
============================================================ */
section#gobierno-estructura .tarjeta {
    background-color: white;
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
    border-left: 6px solid #001f3f;          /* Línea azul */
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

section#gobierno-estructura .tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.15);
}

section#gobierno-estructura .tarjeta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #001f3f;
    margin-bottom: .6rem;
}

section#gobierno-estructura .tarjeta p {
    font-size: .95rem;
    color: #444;
    margin-bottom: 1rem;
}

section#gobierno-estructura .tarjeta a {
    color: #001f3f;
    font-weight: 700;
    text-decoration: none;
}

section#gobierno-estructura .tarjeta a:hover {
    text-decoration: underline;
}


/* ============================================================
   MARCO LEGAL
============================================================ */
section#gobierno-legal {
    padding: 1rem 1rem;               /* Espacio interno */
    margin: 1rem auto;                /* Centrado */
    max-width: 1100px;
    text-align: center;              /* Texto centrado */
}

section#gobierno-legal h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 1rem;
}

section#gobierno-legal p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    max-width: 950px;
    margin: 0 auto;
    text-align: justify;
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {

    section#gobierno-intro,
    section#gobierno-legal {
        padding: 2rem 1.4rem;
    }

    section#gobierno-intro h1 {
        font-size: 2rem;
    }

    section#gobierno-legal h2 {
        font-size: 1.7rem;
    }

}
