.catalog-main{
    padding: 0;
}

.catalog-main main#app{
    padding: 0;
}

.youtube{
    background: #F6F3ED;
    padding: 5.5rem 0 10rem 0;
}

.youtube .heading-secondary{
    margin: 0;
    max-width: 66rem;
}

.youtube .heading-tertiary{
    margin-bottom: 1rem;
}

.youtube__title{
    font-family: "Playfair Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 3rem;
    line-height: 3.6rem;
    color: #121313;
    max-width: 74rem;
}

.youtube__info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.youtube__video{
    margin: 5rem 0;
    border-radius: 1rem;
}

.youtube__video video{
    border-radius: 1rem;
}

.youtube__text{
    font-size: 2rem;
    line-height: 2.6rem;
    color: #515151;
}

.youtube__text--title{
    margin-bottom: 1rem;
}

.youtube__text ul li{
    list-style-type: disc;
    list-style-position: inside;
}

.youtube__wrap-title{
    margin-bottom: 6rem;
    font-size: 2rem;
    line-height: 2.6rem;
    color: #515151;
}

.youtube__sorts{
    display: flex;
    gap: .8rem;
    margin-bottom: 4rem;
}

.youtube__sort{
    background-color: #EDE8DF;
    color: #999690;
    border-radius: .8rem;
    font-size: 1.6rem;
    line-height: 1.6rem;
    padding: 2rem;
    transition: all .3s ease-in-out;
}

.youtube__sort:hover{
    background-color: #DFD4BE;
    color: #515151;
}

.youtube__sort.active{
    background-color: #DFD4BE;
    color: #515151;
}

.youtube__list{
    display: flex;
    flex-wrap: wrap;
    grid-gap: 3rem;
    margin-bottom: 6rem;
}

.youtube__item{
    width: 32%;
    height: auto;
    display: flex;
    flex-direction: column;
    transition: all .3s;
    border-radius: 1rem;
    background-color: #ffffff;
}

.youtube__item:hover{
    box-shadow: 0 100px 150px rgba(0, 0, 0, .2), 0 20px 30px rgba(0, 0, 0, .1), 0 5px 10px rgba(0, 0, 0, .08);
}

.youtube__bottom{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.youtube__poster{
    border-radius: 1rem;
    position: relative;
}

.youtube__poster-play{
    position: absolute;
    bottom: 2rem;
    right: 1rem;
    width: 5.4rem;
    height: 5.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube__poster img{
    border-radius: 1rem;
    width: 100%;
}

.youtube__name{
    color: #AC9F86;
    font-family: "Playfair Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.youtube__descr{
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.youtube__btns{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.youtube__eye{
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #EC7945;
    padding: 1.3rem 3rem;
    border-radius: 5rem;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.6rem;
}

.youtube__eye img{
    width: 2rem;
    height: 2rem;
}

.youtube__lock{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 3rem;
    border-radius: 5rem;
    border: .1rem solid #EB4444;
    color: #EB4444;
    font-size: 1.6rem;
    line-height: 1.6rem;
}

.youtube__lock img{
    width: 2rem;
    height: 2rem;
}

.youtube__soc{
    display: flex;
    gap: .8rem;
    margin-left: auto;
}

.youtube__soc a{
    width: 3.8rem;
    height: 3.8rem;
}

.youtube__soc button{
    background: none;
    border: none;
    cursor:pointer;
}

.youtube__soc img{
    width: 3.8rem;
    height: 3.8rem;
}

.youtube-pagination{
    margin: 0 auto;
    width: max-content;
    display: flex;
}

.youtube-pagination__item{
    width: 6rem;
    height: 6rem;
    border-radius: .8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #939CA1;
    font-size: 1.6rem;
    line-height: 1.6rem;
    transition: all .3s ease-in-out;
}

.youtube-pagination__item:hover{
    background-color: #EDE8DF;
    color: #121313;
}

.youtube-pagination__item.active{
    background-color: #EDE8DF;
    color: #121313;
}

.youtube-pagination__item svg{
    width: 2.4rem;
    height: 2.4rem;
}

.youtube-pagination__item.-prev{
    transform: rotate(180deg);
}
.youtube-pagination__item svg path {
    transition: stroke 0.3s ease-in-out;
}


.youtube-pagination__item:hover svg path{
    stroke: #121313;
}

.kinescope-popup-thumbnail {
    padding-top: 0!important;
}

.kinescope-popup-thumbnail img{
    display: none;
    position: static!important;
}

.kinescope-popup .kinescope-play-btn{
    width: 5.4rem;
    height: 5.4rem;
    top: 0;
    position: static!important;
}

.kinescope-popup:hover .kinescope-play-btn {
    opacity: .7;
    width: 5.4rem;
    height: 5.4rem;
    top: 0;
}




.video__wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: all .3s ease-in-out;
    opacity: 0;
    transform: translateY(-50px);
}


.video__wrap.active{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 1;
    transform: translateY(0)
}

.video__player{
    position: relative;
    width: 100%;
    max-width: 152rem;
}

.video__close{
    position: absolute;
    right: 1.5rem;
    top: -5rem;
    width: 3.5rem;
    height: 3.5rem;
    cursor: pointer;
}

.video__blur{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 13rem;
    background: linear-gradient(180deg, rgba(18, 19, 19, 0) 0%, #121313 100%);
    z-index: 1;
}

.controls{
    position: absolute;
    bottom: 2rem;
    display: flex;
    width: 100%;
    padding: 0 3rem;
    gap: .8rem;
    align-items: center;
    z-index: 2;
}

.controls__playpause{
    width: 5.4rem;
    height: 5.4rem;
    background: rgba(236, 121, 69, 1);
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.controls__playpause svg{
    width: 2.4rem;
    height: 2.4rem;
}

.controls__copylink{
    width: 4.6rem;
    height: 4.6rem;
    cursor: pointer;
}

.controls__wa{
    width: 4.6rem;
    height: 4.6rem;
    cursor: pointer;
}

.controls__copylink svg{
    width: 4.6rem;
    height: 4.6rem;
}

.controls__wa svg{
    width: 4.6rem;
    height: 4.6rem;
}

.controls__progress{
    width: 100%;
}

.controls__home{
    background: #EC7945;
    display: flex;
    align-items: center;
    width: 22rem;
    justify-content: center;
    border-radius: 5rem;
    gap: .5rem;
    color: #ffffff;
    padding: 1.5rem;
    font-size: 1.6rem;
    line-height: 1.6rem;
    cursor: pointer;
}

.controls__home svg{
    width: 2rem;
    height: 2rem;
}

.controls__timeleft{
    color: rgba(153, 150, 144, 1);
    font-size: 1.6rem;
    line-height: 1.6rem;
}

/* Контейнер для ползунка */
.progress-container {
    position: relative;
    width: 100%;
    height: 6px;
}

/* Слой фона (вся длина ползунка) */
#progress {
    -webkit-appearance: none;  /* Для Safari и Chrome */
    appearance: none;          /* Для других браузеров */
    width: 100%;               /* Полная ширина */
    height: .6rem;              /* Высота ползунка */
    background: rgba(255, 255, 255, 0.2); /* Цвет фона */
    border-radius: 5px;        /* Скругленные углы */
    outline: none;             /* Убираем контур при фокусе */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Слой прошедшего времени */
.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #4CAF50;       /* Цвет прошедшего времени */
    border-radius: 5px;
    z-index: 0;
}

/* Стили для индикатора (ползунка) */
#progress::-webkit-slider-thumb {
    display: none;
}

/* Стили для ползунка при наведении */
#progress::-webkit-slider-thumb:hover {
    background: #45a049;       /* Цвет ползунка при наведении */
}
.catalog-main{
    background-color: #f5f3ed !important;
}

