﻿.yt-shorts--desktop {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
.yt-shorts--mobile {
    display: none;
    width: calc(100% - 40px);
    margin: 0 auto;
}
.short-item {
    border-radius: 29px;
    overflow:hidden;
}
.short-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 100%;
    padding: 0 20px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.125;
    outline: 1px solid;
}
.swiper-content {
    overflow: hidden;
}
.custom-slide-width {
    width: 320px !important;
    border-radius: 29px;
    overflow: hidden;
}
.swiper-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 7px;
    margin-top: 10px;
}
.nxt-btn, .prv-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #E53029;
    border-radius: 50%;
}
.nxt-btn::after, .prv-btn::after {
    position: absolute;
    color: #fff;
    font-weight: 700;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.nxt-btn::after {
    content: '>';
}
.prv-btn::after {
    content: '<';
}

@media screen and (max-width: 768px) {
    .yt-shorts--desktop {
        display: none;
    }
    .yt-shorts--mobile {
        display: block;
    }
}