﻿.seccion-nov {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: var(--section-left-padding);
    padding-right: var(--section-right-padding);
}

.seccion-nov-de {
    display: flex;
    flex-direction: column;
    justify-self: center;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: var(--section-left-padding);
    padding-right: var(--section-right-padding);
}

.nov-tittle-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0px 0 30px 0;
}

.nov-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 100%;
}

@media (min-width: 769px) {
    .nov-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nov-tittle-container {
        margin-bottom: 0;
    }
}

.nov-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0px;
    overflow: hidden;
    margin: 0px 0 30px 0;
}

.nov-card-img-container {
    position: relative;
    overflow: hidden;
}

    .nov-card-img-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

.image-credit {
    font-family: 'ClanOT-NarrowBook', sans-serif;
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.0); /* fondo semitransparente */
    color: white;
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    pointer-events: none;
}

.nov-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nov-card-fecha {
    margin-top: 16px;
    word-spacing:1px;
    margin-bottom:0;
}

.nov-card-titulo {
    height: 81px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-top: 0;
    margin-bottom: 0
}

.nov-card-leer-mas {
    color: #d9004c;
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;
}

.nov-card-resumen {
    height: 63px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align:justify;
}