

.card-noticia {
    text-decoration: none;
    color: var(--negro);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e5e5e5;
    background-color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.card-noticia a{
    text-decoration: none;
}

.card-noticia:hover {
    color: var(--negro);
}


.card-noticia .titulo-noticia,
.card-noticia p,
.card-noticia .small {
    text-decoration: none;
    color: inherit;
}

.card-noticia img {
    object-fit: cover;
    height: 220px;
    width: 100%;
}

.card-noticia .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-noticia .titulo-noticia {
    color: var(--negro);
    line-height: 1.3;
}

.card-noticia p {
    color: var(--gris-oscuro);
}

/* pagina noticia */

.noticia {
    line-height: 1.7;
}


.noticia .volver {
    font-weight: 500;
    transition: color 0.2s ease;
}

.noticia .volver:hover {
    color: var(--secundario);
    text-decoration: none;
}


.noticia .titulo-noticia {
    line-height: 1.2;
}


.noticia .img-zoom-container {
    overflow: hidden;
    border-radius: 0.25rem;
}

.noticia .img-zoom-container img {
    transition: transform 0.3s ease;
    will-change: transform;
}

.noticia .img-zoom-container:hover img {
    transform: scale(1.05);
}


.noticia .contenido-noticia p {
    margin-bottom: 1.5rem;
}


.noticia .contenido-noticia h2,
.noticia .contenido-noticia h3,
.noticia .contenido-noticia h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.noticia .contenido-noticia a {
    color: var(--principal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.noticia .contenido-noticia a:hover {
    color: var(--secundario);
    text-decoration: underline;
}



@media (max-width: 768px) {
    .card-noticia img {
        height: 180px;
    }
}
