/* Categories News Element - Minimal Custom Styles */
/* Using Flatsome's native classes, only adding specific adjustments */

.wvft-categories-news {
    margin-bottom: 30px;
}

/* Vertical scroll container for right column */
.wvft-news-list {
    max-height: 600px;
    overflow: hidden;
    position: relative;
}

.wvft-news-list[data-auto-scroll="true"] {
    overflow-y: auto;
}

.wvft-news-list::-webkit-scrollbar {
    width: 0;
    display: none;
}

.wvft-news-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Small post horizontal layout */
.wvft-categories-news .box-vertical {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.wvft-categories-news .box-vertical .box-image {
    flex-shrink: 0;
}

.wvft-categories-news .box-vertical .box-text {
    flex: 1;
    padding-left: 15px;
}

/* Responsive adjustments */
@media (max-width: 549px) {
    .wvft-categories-news .box-vertical {
        flex-direction: column;
    }

    .wvft-categories-news .box-vertical .box-image {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .wvft-categories-news .box-vertical .box-text {
        width: 100% !important;
        padding-left: 0;
    }
}