
/* ========================== */
/* CONTENEDOR DE NOTICIA      */
/* ========================== */
.contenedor-noticia {
    width: 70%; /* <- Hace que se adapte al ancho de pantalla */
   
    padding-top: 20%; /* <- Añadimos margen vertical */
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    
}

/* TÍTULO DE NOTICIA */
.contenedor-noticia h1 {
    font-size: 2.5em;
    color: #0d3c74;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 0;
}

/* ========================== */
/* IMAGEN DE NOTICIA          */
/* ========================== */
.imagen-noticia {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
}

/* ========================== */
/* FECHA Y CONTENIDO          */
/* ========================== */
.contenedor-noticia p {
    margin: 10px 0;
}

.contenedor-noticia p strong {
    color: #1f5ba0;
}

.contenedor-noticia p:last-of-type {
    white-space: pre-line;
}

/* ========================== */
/* BOTÓN VOLVER O ACCIONES    */
/* ========================== */
.contenedor-noticia a {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    background-color: #b98c0d;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.contenedor-noticia a:hover {
    background-color: #a77c0b;
}

