.boton_leer_noticia {
  border: .2rem solid var(--primario);
  border-radius: .5rem;
  padding: .3rem 1rem;
}
.boton_mas_noticias:hover, .boton_mas_noticias:focus, .boton_mas_noticias:active, .boton_leer_noticia:hover, .boton_leer_noticia:focus, .boton_leer_noticia:active {
  background: var(--primario);
  color: var(--blanco);
  transition: all 0.5s ease-in-out;
}
/* Contenedor general de cada noticia */
.noticia {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.noticia:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Imagen principal */
.noticia img {
    width: 100%;
    object-fit: cover; /* Evita deformaciones */
}
.resumen {
    margin-bottom: 2rem;
}
/* Contenedor del texto */
.descripcion-noticia {
    padding: 15px 18px;
}

/* Fecha */
.fecha_noticia {
    font-size: 14px;
    color: var(--grismedio);
    margin-bottom: 5px;
}

/* Título */
.titulo_novedad {
    font-size: 18px;
    font-weight: 700;
    color: var(--negro); /* tono institucional */
    line-height: 1.3;
    margin-bottom: 12px;
}

/* Botón Leer más */
.descripcion-noticia .text-end a {
    display: inline-block;
    padding: 8px 18px;
    background: #5cb6ff;
    border-radius: 6px;
    color: #003366;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}
.descripcion-noticia {
    min-height: 180px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
