.videos_main-items {
    margin-top: 24px;
}

.videos_main-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 502px;
    gap: 10px;
    column-gap: 32px;
    row-gap: 16px;
    justify-content: space-between;
    justify-items: stretch;
    align-items: stretch;
    overflow: auto;
}

.videos_main-item {
    border-radius: 12px;
    overflow: hidden;
}

.videos_main_item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.videos_main-item:nth-child(1) {
    width: calc(100% - 292px);
    height: 100%;
}

.videos_main-item:not(:nth-child(1)) {
    width: 250px;
    height: 155px;
}

.videos_main-item:nth-child(n + 5) {
    display: none;
}

.videos_main_item-link {
    height: 100%;
    z-index: 1;
}

.videos_main_item-image-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.videos_main_item-image-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
        right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: .3s all;
    background: linear-gradient( 180deg, rgba(19, 24, 30, 0) 40%, rgba(19, 24, 30, 1) 100% );
}

.videos_main_item-image-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: .3s all;
    background: #00000020
}

.videos_main_item-link:hover .videos_play-button svg {

    scale: 1.1 1.1;
}
.videos_main_item-link:hover .videos_play-button circle {
    fill: #0fc4ac;
    fill-opacity: 1;
}

.videos_main_item-link, .videos_mobile_item-link {
    position: relative;
    display: block;
}

.videos_main_item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    color: white;
    max-width: calc(100% - 32px);
    white-space:nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    z-index: 1;
}

.videos_main_item-name.small {
    padding: 12px 16px;
    max-width: calc(100% - 25px);
}

.videos_main_item-more {
    padding: 6px 12px;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    transition: .3s all;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    background: linear-gradient(
            145.73deg,
            rgba(19, 24, 30, 0) 0%,
            rgba(19, 24, 30, 0.09) 18.683522939682007%,
            rgba(19, 24, 30, 1) 100%
    ),
    linear-gradient(to left, rgba(19, 24, 30, 0.6), rgba(19, 24, 30, 0.6));
}

.videos_main_item-link:hover .videos_main_item-more {
    color: #0fc4ac;
}

.videos_main_item-more svg {
    width: 5px;
    height: 10px;
}

.videos_main_item-more svg path {
    fill: currentColor;
}

.videos_play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    backdrop-filter: blur(14px);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.videos_play-button svg {
    transition: .3s all;
    scale: 1 1;
}
.videos_main_item-link .videos_play-button circle {
    fill: white;
    transition: .3s all;
}

.videos_mobile-items {
    display: none;

}
.videos_mobile-items .owl-carousel.owl-drag .owl-item {
    display: flex;
    /* height: 100%; */
}
