
/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.tvgl-gk {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);}
.tvgl-gk.tvgl-ei {left: 0;}
body.tvgl-gm {overflow: hidden; width: 100%; height: 100%;}
.tvgl-gp {padding: 15px 20px; gap: 10px; background-color: var(--bg-darker-1);}
.tvgl-gp .tvgl-gg {font-size: 20px;}
.tvgl-gn {font-size: 24px; width: 40px; height: 40px; margin-right: -10px;}
.tvgl-go {padding: 20px;}
.tvgl-go .tvgl-eb, .tvgl-go .tvgl-du {display: none;}
.tvgl-go .tvgl-ea {display: block; margin: 0;}
.tvgl-go .tvgl-ea > li > a {height: 50px;}
.tvgl-go .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;}
.tvgl-go div.header__menu-hidden {grid-template-columns: repeat(2,minmax(0,1fr));}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.tvgl-ng {max-width:1000px;}
	body, .tvgl-dp {padding-top: 0;}
	.tvgl-ne::before, .tvgl-ne::after {background: none; display: none;}
	.tvgl-ne::before, .tvgl-ne::after {height: auto; aspect-ratio: 3 / 2;}
	.tvgl-ne::before {mask-image: none; background-size: cover;}
	.tvgl-dr .tvgl-ea {display: none;}
	.tvgl-dr {padding: 20px var(--indent);}
	.tvgl-eb {flex: 1 1 0; max-width: 100%; min-width: 50px; margin-left: 10px;}
	.tvgl-dv {display: flex;}

	.tvgl-hk {display: block;}
	.tvgl-hk:has(.tvgl-ib) .page__cols-right {padding: 0;}
	.page__fr {position: static;}
	.page__fr .tvgl-kq {height: auto; max-height: 150px;}
	.schedule-item {padding: 6px 20px; gap: 10px 20px;}
	.schedule-item__number {width: 140px;}
}
@media screen and (max-width: 1220px) and (min-width: 590px) {
	.tvgl-kp:has(.sect__tabs) .tvgl-dn {display: flex; overflow-y: hidden; overflow-x: auto;}
	.tvgl-kp:has(.sect__tabs) .tvgl-dn > .tvgl-do {flex-shrink: 0; width: 170px;}
}

@media screen and (max-width: 950px) {
	.tvgl-ng {max-width:768px;}
	.tvgl-bv {margin: 0;}
	.tvgl-bu {width: 100%;}

	.tvgl-im {gap: 10px;}
	.tvgl-iq a, .tvgl-iq span:not([class]) {width: 100%;}
	.tvgl-im > a, .tvgl-im > span {flex-grow: 1; order: 10;}
	.tvgl-ir, .pagination__btns {min-width: 100%;}
	.tvgl-ir a, .tvgl-ir span, .pagination__btns > * {flex-grow: 1;}
}

@media screen and (max-width: 760px) {
	.tvgl-ng {max-width:640px;}
	.tvgl-dr .tvgl-eb, .tvgl-dr .tvgl-du, .tvgl-dw {display: none;}
	.tvgl-go .tvgl-eb, .tvgl-go .tvgl-du {display: block; 
		width: 100%; margin: 0; margin-bottom: 10px;}
	.tvgl-go .tvgl-du {display: flex;}
	.tvgl-dz {flex: 1 1 0; max-width: 100%; min-width: 50px;}
	.tvgl-dv, .tvgl-dx {order: 10; padding: 0;}
	.tvgl-kr:has(.sect__tabs) .tvgl-ks {width: 100%;}
	.sect__tabs {margin-top: 10px; gap: 10px; width: 100%;}
	.sect__tabs button {flex: 1 1 0; max-width: 100%; min-width: max-content; padding: 0 10px; font-size: 12px; height: 30px;}

	.tvgl-ia {display: block;}
	.tvgl-ia > * + * {margin-top: 20px;}
	.tvgl-hs h1, body:has(.tvgl-hs) .speedbar {text-align: center;}
	.tvgl-ie {margin-left: auto; margin-right: auto; width: 200px;}
	.tvgl-hy {padding: 10px 0;}
	.schedule-item {gap: 0 10px;}
	.schedule-item__number {width: 100px; text-align: right;}
	.schedule-item__descr {min-width: calc(100%	- 130px); order: -1;}
	.tvgl-hq {display: none !important;}
	.tvgl-ib .tvgl-lp button {flex-grow: 1;}
	.tvgl-ic {padding: 20px;}
	.ya-share2 {width: 100%; text-align: center;}
	.tvgl-hr {margin: 0;}
	.tvgl-hw a {padding: 0 10px; height: 30px; font-size: 12px; gap: 8px;}
	
	.tvgl-hh {margin-bottom: 20px;}
	.tvgl-b {gap: 10px;}
	.tvgl-b button {padding: 0 20px; width: 100%;}
	.tvgl-e input + input {min-width: 100%; order: 10;}
	.tvgl-e > span, .tvgl-ad::before {display: none;}
	.tvgl-a #b_color {display: none;}
	.tvgl-g .tvgl-b button {position: static; width: 100%;}
	.tvgl-ad {padding: 15px 20px;}
	.tvgl-ap {width: 40px; height: 40px; position: relative; left: 0; top: 0;}
	.tvgl-ar {display: block;}
	.tvgl-av, .tvgl-an {translate: -50% -100%; display: none;}
}

@media screen and (max-width: 590px) {
	.tvgl-ng {max-width:480px;}
	.tvgl-fq {padding: 30px 20px;}
	.tvgl-fr > * {font-size: 17px; height: 40px;}
	.tvgl-fn {right: 0; top: 0; color: var(--tt); font-size: 24px;}
	.tvgl-fs {padding-left: 60px;}
	.tvgl-fl {width: 40px; font-size: 18px;}
	.tvgl-gd {font-size: 17px;}
	.tvgl-fo {font-size: 14px; margin-top: 0;}
	.header__login a, .tvgl-dw {display: none;}
	.tvgl-bv {width: 100%; padding: 0; border: 0; text-align: center;}
	.tvgl-bs {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) {
	.tvgl-ng {max-width:410px;}
	.tvgl-ne::before, .tvgl-ne::after {aspect-ratio: 1 / 1.2;}
	.header__theme-select {height: 30px;}
	.tvgl-iq a {min-width: 0; width: 100%;}
}

@media screen and (max-width: 400px) {
	.tvgl-ng {max-width:360px;}
	
	.tvgl-b .comments_subscribe {font-size: 13px;}
	.tvgl-df iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
}
