/* NOTICIAS */

.card-noticia {
    color: var(--negro);
    border: 1px solid var(--grisBorde);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 600px;
}
.card-noticia:hover {
    color: var(--negro);
    border: 1px solid var(--negro2);
}

.card-noticia.card-noticia-home {
    color: white;
    border: 1px solid #545454;
}
.card-noticia.card-noticia-home:hover {
    border: 1px solid rgb(193, 193, 193);
}

.card-noticia .img-noticia {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.card-noticia .arrow-right path {
    stroke-dasharray: 25;
    stroke-dashoffset: 37;
    transition: stroke-dashoffset 0.4s ease-in-out;
}

.card-noticia:hover .arrow-right path {
    stroke-dashoffset: 50;
}

.card-noticia .span-ver-mas {
    transform: translateX(111px);
    transition: transform 0.4s ease-in-out;
}

.card-noticia:hover .span-ver-mas {
    transform: translateX(0);
}

/* Mostrar noticia */
.noticia-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.noticia-card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.noticia-card-header {
    background-color: var(--blanco);
    font-size: 1.75rem;
    font-weight: bold;
    padding: 1.5rem;
    border-bottom: 1px solid var(--grisBorde);
}

.noticia-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.noticia-card-body {
    padding: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--negro);
}

@media (max-width: 768px) {
    .noticia-card-header {
        font-size: 1.4rem;
    }
}
