.news-item-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.news-item-container .contador-boton {
    color: var(--bellota-color-primary);
    /* font-size: 1rem; */
}

.news-item-tag-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
    background-color: #c20420;
    width: fit-content;
    padding: 8px;
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

.news-item-tag-date>h5 {
    font-size: 1.5rem;
}

.news-item-tag-date>h6 {
    font-size: 1rem;
}

.news-item-tag-date>h5, 
.news-item-tag-date>h6 {
    line-height: .7rem;
    margin: 0;
}

.news-item-container img {
    /* aspect-ratio: 6/5;
    object-fit: cover;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%; */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
}

.news-item-title {
    margin: 0;
    font-size: var(--bellota-font-size);
    color: var(--bellota-color-primary);
}

.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-text::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 0;
    /* Para superponer el texto */
    padding-left: 5px;
}

.news-item-link {
    color: #c20420;
    text-decoration: none;
    cursor: pointer;
    font-size: smaller;
    width: 35%;
    text-align: right;
    white-space: nowrap;

    &:hover {
        color: gray;
    }
}