.videos__container {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
    justify-content: flex-start;
}

.video {
    max-width: 240px;
    width: 100%;
}

.videos {
    flex: 1 1 auto;
    min-width: 0;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    /*padding-top: 44px;*/
    padding-bottom: 44px;
}

@media (max-width: 1270px) {
    .videos {
        /*padding-top: calc(30px + 14 * ((100vw - 320px) / 950));*/
        min-height: calc(400px + 185 * ((100vw - 320px) / 950));
    }
}

@media (max-width: 479.98px) {
    .videos {
        width: 100%;
        margin: 0 -15px;
    }
}

.video__body {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease 0s;
    padding-bottom: calc(635 / 310 * 100%);
    border-radius: 4px;
    overflow: hidden;
}

.video_enabled {
    cursor: pointer;
    width: 100%;
}

.video_enabled .video__button {
    display: block;
}

.video__button-icon {
    transition: var(--transition);
}

.video__body:hover .video__button-icon,
.video__button:hover .video__button-icon,
.video__button:focus .video__button-icon {
    fill: var(--primary-color);
    fill-opacity: 1;
}

.video__button {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    aspect-ratio: 1;
    background-color: transparent;
}
.video__button:hover {
    cursor: pointer;
}
.video__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0 none;
}

@media (min-width: 767.98px) {
    .video__media {
        height: 100%;
    }
}

.video__button {
    outline: none;
}

.video__button-shape {
    fill: #212121;
    fill-opacity: 0.8;
}

.video__button-icon {
    fill: #fff;
}

.video__name {
    margin-top: 8px;
}