#filter-wrap .tm-tileoffertatv{
    border-radius: 8px !important;
    overflow: hidden;
}

.to-articoli-letti__wrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3.2rem !important;
}

.tm-tileoffertatv img {
    margin: 0 !important;
}

.tm-tile__body {
    padding: 1.6rem !important;
    height: 100% !important;
}

.tm-tile.tm-tile--offerta.tm-tile--theme-light {
    flex-direction: column !important;
    border: none !important;
}

.to-filtriNews__chips {
    margin-top: 1.6rem !important;
}

.tm-tile__tags {
    margin-top: 1rem !important;
}

#filter-wrap {
    padding: 3rem calc(1/12*100vw) !important;
}

.ta-filter-tag {
    padding: 0 !important;
}

.ta-filter-tag>span {
    padding: 0 0.5rem !important;
}

.tm-tile__description {
    margin-bottom: 0 !important;
}

@media (min-width: 48em) {
    .to-articoli-letti__wrap {
        grid-template-columns:
                1fr 1fr 1fr !important;
    }

    .ta-heading.ta-heading--h3 {
        font-size: 28px !important;
        line-height: 30px !important;
    }
}

@media (max-width: 1280px) {
    .to-articoli-letti__wrap {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    .to-articoli-letti__wrap {
        grid-template-columns: 1fr !important;
    }

    #filter-wrap {
        padding: 1.6rem !important;
    }

    .tm-filter-tags__list {
        justify-content: start !important;
    }

    .to-filtriNews {
        padding: 0 !important;
    }

    .ta-tag.ta-tag--novita {
        height: 24px !important;
    }

    .tm-tile__tags {
        margin-top: 0 !important;
    }
}

.container {
    overflow: hidden !important;
}

.filterDiv {
    display: none !important;
    /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
    display: block !important;
}

/* Style the buttons */
.btn {
    cursor: pointer !important;
}

/* Add a light grey background on mouse-over */
.btn:hover {
    background-color: #ddd !important;
}

/* Add a dark background to the active button */
.btn.active {
    background-color: #666 !important;
    color: white;
}

@media (max-width: 1000px) {
    .lines-grid {
        flex-flow: wrap !important;
    }
}

.tm-tile.tm-tile--offerta.tm-tile--theme-light img {
    aspect-ratio: 16 / 9;
}
.tm-tile__body .ta-button.-secondary {
    width: 100% !important;
}
.tm-tile__body>div:first-of-type {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ta-carousel-card-enterprise-date{

}
