@media (max-width: 1024px) {
    #category .tv-grid-list-wrapper-info-box {
        width: 25%;
    }
}
@media (max-width: 767.98px) {
    .category-description-clamp {
        overflow: hidden;
        position: relative;
        max-height: 5.5em; /* Height of approximately 3 lines */
        transition: max-height 0.3s ease;
    }

    .category-description-clamp.expanded {
        max-height: none;
    }

    .category-description-clamp p {
        display: inline;
    }

    .category-description-clamp.expanded p {
        display: block;
    }

    .category-description-clamp:not(.expanded)::after {
        content: "";
        float: right;
        width: 3em;
        height: 1em;
    }

    .read-more {
        color: #45AD9D;
        cursor: pointer;
        text-decoration: none;
        font-weight: bold;
        position: absolute;
        bottom: 4px;
        right: 0;
        background-color: white;
        padding-left: 7px;
    }

    .read-more.hidden {
        display: none !important;
    }
    #category .tv-grid-list-wrapper-info-box {
        width: 33.33%;
    }
}

/* For medium devices and up */
@media (min-width: 768px) {
    .read-more {
        display: none;
    }
}
@media (max-width: 575px) {
    #category .tv-grid-list-wrapper-info-box {
        width: 50%;
    }
}
@media (max-width: 379px) {
    #category .tv-grid-list-wrapper-info-box {
        width: 100%;
    }
}