.noticias__container {
    padding: 6rem 2rem;

}

.noticias__container h1 {
    margin-bottom: 4rem;
}

.noticias__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
}

@media (max-width: 1024px) {
    .noticias__grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .noticias__section {
        grid-column: span 1;
    }
}

.noticias__section {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.noticias__card {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .noticias__card {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

}

.noticias__card-header {
    grid-column: span 3;
    border-radius: 0.625rem;
}

.noticias__card-header img {
    width: 100%;
    height: 100%;
    border-radius: 0.625rem;
    object-fit: cover;
}

.noticias__card-body {
    grid-column: span 5;
    position: relative;
    padding: 1rem;
}

.noticias__card-title {
    margin-bottom: 1.5rem;
    font-family: var(--font-family-secondary);
    font-size: 1.125rem;
    font-weight: 500;
}

.noticias__card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticias__card-link {
    background-color: var(--color-tertiary);
    color: var(--color-primary);
    font-weight: 500;
    padding: 1rem;
    display: inline-block;
    border-radius: 0.625rem;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .noticias__card-link {
        position: relative;
        margin-top: 1rem;
        left: 0;
    }
}

/* Single de noticias */
.single-noticia {
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .single-noticia {
        display: flex;
        flex-direction: column;
    }
}

.single-noticia__content {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.single-noticia__thumbnail {
    width: 100%;
    height: 600px;
    border-radius: 0.625rem;
    overflow: hidden;
}

.single-noticia__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.625rem;
}

.single-noticia__body p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .single-noticia {
        grid-template-columns: 1fr;
    }

    .single-noticia__content {
        grid-column: span 1;
    }
}