/* --- 1. NAVEGACIÓN Y ENLACES --- */
nav a { text-decoration: none !important; }
a:visited, a:active, a:focus { color: inherit; }

/* --- 2. COLORES Y BOTONES --- */
.bg-white { background-color: white !important; color: #9333ea !important; }
.bg-\[\#e11d48\] { background-color: #e11d48 !important; color: white !important; }
.text-white { color: white !important; }

/* --- 3. CONTENEDOR DE IMÁGENES --- */
.noticia-contenedor-img {
    background-color: #000 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    margin-bottom: 25px;
}
.noticia-contenedor-img img {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

/* --- 4. TÍTULOS EN PORTADA (SIMETRÍA) --- */
.p-4 h3 {
    min-height: 4.5rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    overflow: hidden !important;
    text-align: center;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    line-clamp: 3;
    text-overflow: ellipsis !important;
}

/* --- 5. SEPARACIÓN DE PÁRRAFOS DENTRO DEL ARTICLE --- */
article p, .noticia-texto p {
    display: block !important;
    margin-bottom: 1.8rem !important; /* Espacio entre párrafos */
    margin-top: 0 !important;
    line-height: 1.7 !important;
    color: #f1f5f9; /* Color de texto legible */
}

/* Ajuste para saltos de línea manuales */
article br {
    display: block;
    content: "";
    margin-top: 1rem;
}
.footer-centrado {
    display: flex;             /* Activa el modo flexible */
    flex-direction: column;    /* Pone los elementos uno debajo del otro */
    align-items: center;       /* Centra horizontalmente todo el contenido */
    text-align: center;        /* Centra el texto dentro de los párrafos */
    padding: 30px;
    background-color: #1e293b; /* Tu fondo oscuro */
    color: white;
}

.contenido-footer > * {
    margin-bottom: 15px;       /* Da espacio uniforme entre cada elemento */
}

.licencia-cc img {
    margin-top: 10px;
    display: block;            /* Asegura que la imagen respete el centrado */
    margin-left: auto;
    margin-right: auto;
}