.custom-insights-widget-content .insight-item {
    width: calc(100% / 3);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.insight-item .item-content h6 {
    margin: 0;
    color: #ffffff;
}

.custom-insights-widget-content {
    display: flex;
    gap: 59px;
}

.insight-item .item-content {
    padding-left: 25px;
    padding-bottom: 35px;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    cursor: pointer;
}
.insight-item .item-content:before {
    content: '';
    position: absolute;
    background-image: url(../../../assets/images/icon-button-down.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
    top: 4px;
    left: 0;
}
.insight-item.active .item-content:before {
    transform: rotate(180deg);
}
.insight-item .item-content .content {
    letter-spacing: 0;
}

.custom-insights-widget-image {
    border-top: 1px solid rgba(208, 208, 208, 0.5);
    padding-top: 45px;
}

.custom-insights-widget-content .insight-item.active {
    border-color: var(--Teal, #03A696);
}

.custom-insights-widget-image .insight-image {
    position: relative;
    height: 0;
    padding-bottom: 44.917%;
}

.custom-insights-widget-image .insight-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.custom-insights-widget-image .insight-item:not(.active),
.custom-insights-widget-content .insight-item:not(.active) .item-button {
    display: none;
}
.visible-mobile {
    display: none;
}

@media (max-width: 1200px) {
    .custom-insights-widget-content {
        gap: 20px;
    }
    .custom-insights-widget-content .elementor-button.elementor-button-link.elementor-btn {
        padding: 6px 10px 4px 10px;
    }
}
@media (max-width: 767px) {
    .visible-desktop {
        display: none;
    }
    .visible-mobile {
        display: block;
    }
    .insight-item .insight-image {
        display: none;
    }
    .insight-item.active .insight-image {
        display: block;
    }
    .custom-insights-widget-content .insight-item {
        width: 100%;
    }

    .custom-insights-widget-content {
        flex-wrap: wrap;
    }
    .insight-item .item-content h6 {
        font-size: 18px;
        line-height: 22px;
    }
    .custom-insights-widget-content .elementor-button.elementor-button-link.elementor-btn {
        padding: 6px 15px 4px 15px;
    }
    .insight-item .item-content {
        padding-bottom: 40px;
    }
    .custom-insights-widget-content .insight-item {
        width: 100%;
        border-bottom: 1px solid rgba(208, 208, 208, 0.5);
        padding: 40px 0 40px;
    }

    .custom-insights-widget-content {
        flex-wrap: wrap;
        gap: 0;
    }

    .custom-insights-widget-content .insight-item.active {
        border-width: 3px;
    }

    .insight-item .insight-image img {
        vertical-align: top;
    }

    .insight-item .item-content {
        padding-bottom: 0;
    }

    .custom-insights-widget-content .insight-item .insight-image {
        margin-bottom: 2px;
        margin-top: 40px;
    }
}