body {
    background-color: var(--beige);
    font-family: Georgia, serif;
    overflow-x: hidden;
}
/* CONTENEDOR GENERAL  */
.contenedor_noticia {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    padding: 20px;
}
/* TABLET */
@media (min-width: 600px) {
    .contenedor_noticia {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* PC */
@media (min-width: 1024px) {
    .contenedor_noticia {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
        padding: 40px;
    }
}
/* LINK COMPLETO */
.link_noticia {
    text-decoration: none;
    color: inherit;
}
/* TARJETA */
.bloque_noticia {
    background-color: var(--amarillo);
    padding: 15px; 
    border-radius: 5px;
    box-shadow: 5px 5px 10px var(--sombra);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
@media (min-width: 1024px) {
    .bloque_noticia:hover {
        transform: scale(1.02);
    }
}
/* TITULO */
.titulo_noticia {
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
}
/* Imagen */
.imagen_noticia img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
/* TEXTO */
.descripcion_noticia {
    font-size: 14px;
}
.textos_noticia {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.leer_mas {
    font-size: 13px;
    color: var(--verde-oscuro);
    font-weight: 600;
    margin-top: 5px;
    text-align: right;
}
/* FECHA */
.fecha_noticia {
    align-self: flex-end;
    font-size: 12px;
    margin-top: auto;
}
.imagen_noticia {
    display: flex;
    justify-content: center;
}

.imagen_noticia_sola {
    display: flex;
    justify-content: center;
}
/* ===== AJUSTES PARA PC ===== */
@media (min-width: 1024px) {

    .titulo_noticia {
        font-size: 24px;
    }

    .imagen_noticia img {
        width: 300px;
        height: 200px;
    }

    .bloque_noticia {
        padding: 20px;
    }
}
/* ===== NOTICIA INDIVIDUAL ===== */

.noticia-sola {
    margin: 20px;
    padding: 20px;
}
.noticia-sola .imagen_noticia_sola img {
    width: 100%;
    height: auto;
    max-width: 100%;
}
/* PC */
@media (min-width: 1024px) {
    .noticia-sola {
        max-width: 800px;
        margin: 60px auto;
        padding: 30px;
    }
    .noticia-sola h1 {
        font-size: 32px;
    }
    .noticia-sola .imagen_noticia_sola img {
        width: 300px;
        height: 200px;
        object-fit: cover;
    }
}