/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.mobile-menu {width: 320px; height: 100%; overflow-x: hidden; overflow-y: auto;
	z-index: 999; position: fixed; left: -360px; top: 0; transition: left 0.4s; background-color: var(--bg);}
.mobile-menu.is-active {left: 0;}
.mobile-menu__btn-close{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:#78c042;
    position:relative;
}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 15px 20px; gap: 10px; background-color: var(--bg-darker-1);}
.mobile-menu__header .logo {font-size: 20px;}
.mobile-menu__content {padding: 20px;}
.mobile-menu__content .header__search, .mobile-menu__content .header__btn-login {display: none;}
.mobile-menu__content .header__menu {display: block; margin: 0;}
.mobile-menu__content .header__menu > li > a {height: 50px;}
.mobile-menu__content .header__menu-hidden {opacity: 1; visibility: visible; translate: 0 0; position: static;
	background-color: var(--bg-darker); width: calc(100% + 40px); margin: 0 -20px; box-shadow: none; padding: 20px;}
.mobile-menu__content div.header__menu-hidden {grid-template-columns: repeat(2,minmax(0,1fr));}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.wrapper__container {max-width:1000px;}
	body, .has-branding {padding-top: 0;}
	.wrapper::before, .wrapper::after {background: none; display: none;}
	.wrapper::before, .wrapper::after {height: auto; aspect-ratio: 3 / 2;}
	.wrapper::before {mask-image: none; background-size: cover;}
	.header .header__menu {display: none;}
	.header {padding: 20px var(--indent);}
	.header__search {flex: 1 1 0; max-width: 100%; min-width: 50px; margin-left: 10px;}
	.header__btn-menu{
    display:flex;
    width:34px;
    height:34px;
    border-radius:10px;
    background:#6fbe3a;
    color:#fff;
    border:0;
    order:10;
}

	.page__cols {display: block;}
	.page__cols-right:has(.filter-block) {display: none;}
	.page__cols:has(.page__player) .page__cols-right {padding: 0;}
	.page__fr {position: static;}
	.page__fr .sect__content {height: auto; max-height: 150px;}
	.schedule-item {padding: 6px 20px; gap: 10px 20px;}
	.schedule-item__number {width: 140px;}
    .mobile-menu .header__menu{
        display:flex;
        flex-wrap:wrap;
        gap:8px;
        margin:0 0 15px;
    }

    .mobile-menu .header__menu > li{
        list-style:none;
        margin:0;
    }

    .mobile-menu .header__menu > li:first-child{
        width:100%;
    }

    .mobile-menu .header__menu > li:not(:first-child){
        width:calc(50% - 4px);
    }

    .mobile-menu .header__menu > li:not(:first-child) > a{
        display:flex;
        align-items:center;
        justify-content:center;
        height:42px;
        background:#f5f6f7;
        border:1px solid #ececec;
        border-radius:12px;
        font-size:13px;
        font-weight:600;
        text-decoration:none;
    }

    /* аккордеон */

    .mobile-sections{
        margin-top:5px;
    }

    .mobile-section{
        border-bottom:1px solid #efefef;
    }

    .mobile-section-title{
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:16px 0;
        font-size:15px;
        font-weight:700;
        cursor:pointer;
    }

    .mobile-section-title::after{
        content:"+";
        font-size:22px;
        font-weight:300;
        color:#666;
    }

    .mobile-section.active .mobile-section-title::after{
        content:"−";
    }

    .mobile-section-body{
        display:none;
        padding:0 0 12px;
    }

    .mobile-section-body a{
        display:block;
        padding:7px 0;
        font-size:14px;
    }

    .mobile-section-body .mega-grid-2{
        display:grid;
        grid-template-columns:repeat(4,1fr);
        gap:6px;
    }

    .mobile-section-body .mega-grid-2 a{
        text-align:center;
        background:#f5f6f7;
        border-radius:10px;
        padding:8px 0;
    }

    .mobile-section-body.two-col{
        column-count:2;
        column-gap:20px;
    }

    .mobile-section-body.two-col a{
        display:block;
        padding:6px 0;
    }

    .mobile-menu .mega-columns{
        display:block !important;
    }

    .mega-menu{
        position:static;
        width:100%;
        left:auto;
        top:auto;
        transform:none !important;
        opacity:1 !important;
        visibility:visible !important;
        padding:15px;
        box-shadow:none;
        border-top:0;
        display:block;
    }

    .mega-top{
        grid-template-columns:1fr;
        gap:10px;
        margin-bottom:15px;
    }

    .mega-columns{
        grid-template-columns:1fr;
        gap:15px;
    }

    .mega-grid-2{
        grid-template-columns:repeat(2,1fr);
    }

    .header__menu > li::before,
    .header__menu > li::after{
        display:none;
    }

    .mega-card{
        min-height:auto;
    }
     .collections{
        grid-template-columns:1fr;
        gap:16px;
    }

    .collection-card{
        border-radius:14px;
    }

    .collection-card img{
        height:180px;
    }

    .collection-content{
        padding:14px;
    }

    .collection-title{
        font-size:20px;
        margin-bottom:10px;
    }

    .collection-meta{
        flex-wrap:wrap;
        gap:8px;
    }

    .collection-meta span{
        font-size:12px;
        padding:6px 10px;
    }
    .series-info-modern {
        overflow: hidden;
    }

    .series-meta-grid {
        display: block !important;
    }

    .series-meta-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    .series-ratings {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px;
        margin: 15px 0;
    }

    .series-rating-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .series-meta-row {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
    }

    .series-meta-row b {
        min-width: 0;
        word-break: break-word;
    }
    .series-meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 8px 0;
    }
}


    
@media screen and (max-width: 1220px) and (min-width: 590px) {
	.sect:has(.sect__tabs) .grid-items {display: flex; overflow-y: hidden; overflow-x: auto;}
	.sect:has(.sect__tabs) .grid-items > .grid-items__item {flex-shrink: 0; width: 170px;}
}

@media screen and (max-width: 950px) {
	.wrapper__container {max-width:768px;}
	.footer__notify {margin: 0;}
	.footer__menu {width: 100%;}

	.pagination {gap: 10px;}
	.pagination__btn-loader a, .pagination__btn-loader span:not([class]) {width: 100%;}
	.pagination > a, .pagination > span {flex-grow: 1; order: 10;}
	.pagination__pages, .pagination__btns {min-width: 100%;}
	.pagination__pages a, .pagination__pages span, .pagination__btns > * {flex-grow: 1;}
}

@media screen and (max-width:760px) {

    .wrapper__container {max-width:640px;}

    .header .header__search {
        display:none;
    }

    .header__btns {
        display:flex;
        align-items:center;
        gap:6px;
        margin-left:auto;
        order:5;
        padding:0;
    }

    .header__btn1,
    .header .header__btn-login {
        display:flex;
        align-items:center;
        justify-content:center;
        width:34px;
        height:34px;
        border-radius:10px;
        background:#f5f7fa;
        color:#1f2937;
        font-size:15px;
    }

    .header__btn1 span {
        display:none;
    }

    .mobile-menu__content .header__search,
    .mobile-menu__content .header__btn-login {
        display:block;
        width:100%;
        margin:0 0 10px;
    }

    .mobile-menu__content .header__btn-login {
        display:flex;
    }

    .header__logo {
        flex:1 1 0;
        max-width:100%;
        min-width:50px;
    }
    .header-logo__icon{
    width:32px;
    height:32px;
    border-radius:8px;
}

.header-logo__icon i{
    font-size:14px;
}

.header-logo__name{
    font-size:18px;
    letter-spacing:.3px;
}

.header-logo__tagline{
    font-size:8px;
    margin-top:2px;
}

    .header__btns {
    order:5;
    padding:0;
}

.header__btn-menu {
    display:flex;
    order:10;
    padding:0;
    width:34px;
    height:34px;
    border-radius:10px;
    background:#6fbe3a;
    color:#fff;
    border:0;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}
    .header-logo{
    flex-shrink:0;
}

.header{
    flex-wrap:nowrap;
    align-items:center;
}

.header__btn-menu{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;

    order:10;

    width:34px;
    height:34px;

    padding:0;
    border:0;
    border-radius:10px;

    background:#f4f6f8;
    color:#1f2937;

    font-size:16px;
    box-shadow:0 3px 10px rgba(15,23,42,.08);

    transition:.2s ease;
}

.header__btn-menu:hover,
.header__btn-menu:active{
    background:#6fbe3a;
    color:#fff;
    box-shadow:0 6px 14px rgba(111,190,58,.25);
}

.header__btns{
    order:5;
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:auto;
    padding:0;
}

.header__btn1,
.header .header__btn-login{
    display:flex;
    align-items:center;
    justify-content:center;

    width:34px;
    height:34px;

    padding:0;
    border-radius:10px;

    background:#f4f6f8;
    color:#1f2937;

    font-size:15px;
}
.sect__header{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.sect__header{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.sect__title,
.result__title{
    width:100%;
}

.sect__tabs{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:6px;
    width:100%;
    margin-top:0;
}

.sect__tabs > *{
    min-width:0;
    width:100%;
}

.sect__tabs button,
.sect__tabs a,
.sect__tabs span{
    width:100%;
    min-width:0;
    height:34px;
    padding:0 8px;
    border-radius:10px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    font-size:12px;
    line-height:1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:center;
}
}


@media screen and (max-width:590px) {

    .wrapper__container {max-width:480px;}

    .lgn__content {padding:30px 20px;}
    .lgn__ctrl > * {font-size:17px;height:40px;}
    .lgn__btn-close {right:0;top:0;color:var(--tt);font-size:24px;}
    .lgn__header {padding-left:60px;}
    .lgn__avatar {width:40px;font-size:18px;}
    .lgn__title {font-size:17px;}
    .lgn__caption {font-size:14px;margin-top:0;}

     .header__login a {
        display:none;
    }

    .footer__notify {
        width:100%;
        padding:0;
        border:0;
        text-align:center;
    }

    .footer__copyright {
        margin:0;
        text-align:center;
        width:100%;
    }

    .page__scr ul:has(li:nth-child(6)) {
        grid-template-columns:repeat(2,1fr);
    }

    .page__scr ul:not(:has(li:nth-child(6))) {
        gap:10px;
    }

}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:410px;}
	.wrapper::before, .wrapper::after {aspect-ratio: 1 / 1.2;}
	.header__theme-select {height: 30px;}
	.pagination__btn-loader a {min-width: 0; width: 100%;}
	.filter__col--ranges {padding: 0 0;}
	.filter__cell--submit, .filter__col--submit {flex-direction: row; width: 100%;}
	.filter__cell--submit input {flex: 1 1 0; max-width: 100%; min-width: 50px;}
     .videohub-player {
        border-radius: 12px;
    }
    .page__header{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:10px;
    }

    .page__header h1,
    .page__title,
    .ftitle h1{
        width:100%;
        text-align:center;
        font-size:24px;
        line-height:1.25;
        margin:0;
    }

    .telekanal-badge{
        position:static;
        transform:none;
        margin:0 auto;
    }
}

@media screen and (max-width: 400px) {
	.wrapper__container123 {max-width:360px;}
	
	.ac-form__bottom .comments_subscribe {font-size: 13px;}
	.full-text iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
    }
@media screen and (min-width:330px) and (max-width:360px){

    .header-logo__icon{
        width:28px;
        height:28px;
        border-radius:8px;
    }

    .header-logo__icon i{
        font-size:13px;
    }

    .header-logo__name{
        font-size:14px;
        letter-spacing:0;
    }

    .header-logo__tagline{
        font-size:6px;
        margin-top:1px;
        letter-spacing:0;
    }

    .header-logo{
        gap:5px;
    }
}
