/* 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-darker);}
.mobile-menu.is-active {left: 0;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 15px 20px; gap: 10px; background-color: var(--bg-black); --tt: #fff;}
.mobile-menu__header .logo {font-size: 18px; gap: 10px;}
.mobile-menu__header .logo div div {letter-spacing: 1px;}
.mobile-menu__header .logo::before {width: 30px;} 
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: -10px;}
.mobile-menu__content {padding: 10px 20px;}
.mobile-menu__content .header__menu {display: block;}
.mobile-menu__content .header__menu > li > a {height: 50px;}
.mobile-menu__content .header__menu li.header__menu-has-submenu > a::after {position: static; translate: 0 0;}
.mobile-menu__content .header__menu-submenu {position: static; border-radius: 0; box-shadow: none; 
	translate: 0 0 !important; opacity: 1; visibility: visible; margin: 10px -20px; font-size: 13px; padding: 15px;
	width: calc(100% + 40px); grid-template-columns: repeat(2,1fr);}
.mobile-menu__content .header__menu-submenu a {padding: 5px;}

@media screen and (min-width: 1500px) {
	body {background: url(../images/bg.jpg) center top / 100vw auto fixed no-repeat; 
		background-color: #d6e3dc;}
	.wrappers {padding: 40px 0;}
	body.dt {background-image: none; background-color: var(--bg-black);}
}

@media screen and (max-width: 1340px) {
	:root {--indent-negative: -30px; --indent: 30px;}
	.wrappers__container {max-width:1000px;}
	.header {background-color: var(--bg-black); color: var(--tt-black); 
		--tt: var(--tt-black); --bg: var(--bg-black); --bg-darker: rgba(255,255,255,0.15);}
	.header .header__menu, .marlo__menu {display: none;}
	.header__logo {flex: 1 1 0; max-width: 100%; min-width: 50px; padding-right: 0; background: none;}
	.header__btn-menu {display: flex; height: 60px; font-size: 22px;}
	.cols {display: block;}
	.cols__side {padding-top: 65px;}
	.is-inner-page .sidebar-mobile-main-only {display: none !important;}
	.footer {padding-top: 40px; padding-bottom: 20px; justify-content: center; text-align: center;}
	.footer__left, .footer__top, .footer__submenu {justify-content: center; width: 100%;}
	.footer__menu {width: 100%; padding-top: 40px;}
	.soc__btn {height: 60px; width: 60px; border: 0;}
	.sl__descr {width: 60%;}
	.sl > img {width: 50%;}
	.footer {background-image: none;}
	.footer::after {display: none;}
	
	.aninet__cols {grid-template-columns: minmax(0,1fr); 
		grid-template-rows: repeat(5,auto); grid-template-areas: "left" "right" "desc" "right2" "btm";}
	.aninet__timer {text-align: center;}
	.aninet__trl-scr .sect__content {display: grid; grid-template-columns: 468px 1fr; grid-auto-flow: row dense;}
	.aninet__btn-trl {grid-row: span 2;}
	.aninet__fr .sect__content {display: flex; flex-wrap: nowrap; padding-right: var(--indent);
		overflow-y: hidden; overflow-x: auto; margin-right: var(--indent-negative);}
	.aninet__fr .sect__content > * {flex-shrink: 0; width: 320px;}
	.news__cols-right {width: 100%;}
}

@media screen and (max-width: 950px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.wrappers__container {max-width:768px;}
	.header {gap: 10px;}
	.header__logo {height: 80px;}
	.header__btn-menu, .user-area__avatar {width: 40px; height: 40px; font-size: 18px !important;}
	.user-area__avatar {margin: 0 10px;}
	.header__btn-search::before {font-size: 18px;}
	.user-area__name {display: none;}
	.search-block {--ui-elem-height: 40px;}
	.item-news {gap: 20px;}
	.item-short {padding: 20px; gap: 20px;}
	.sect:not(:last-child) {margin-bottom: 40px;}
	.sect--bg {padding: 20px; padding-top: 30px;}
	.season-carousel {margin-left: var(--indent); margin-right: var(--indent); margin-bottom: 18px;}
	.season-carousel__list.carou-nl > .item-poster {width: calc(100% / 4);}
	.grid-main {gap: 20px 20px;}
	.grid-main:has(.item-news) {gap: 20px;}
	.slider__btns {position: static; width: 100%; border-radius: 0;}
	.slider__btns-btn {height: 76px; font-weight: 400; font-size: 14px; padding: 0 20px; gap: 10px;}
	.sl {--ui-elem-height: 40px;}
	.sl__descr {width: 100%; height: 400px; padding-bottom: 20px; justify-content: flex-end;}
	.sl__title, .sl__subtitle {font-size: 24px;}
	.sl__text {font-size: 14px; margin: 10px 0 15px 0;}
	.sl > img {mask-image: linear-gradient(to top, transparent 40%, #000 60%, #000 100%); width: 100%; height: 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;}

	.aninet__bg {width: 100%; height: 500px; top: 100px;}
	.aninet__bg img {opacity: 0.8; filter: blur(5px) grayscale(0.1);}
	.aninet__cols {gap: 40px;}
	.aninet__col-left {grid-template-columns: minmax(0,1fr); margin-top: -20px;
		grid-template-rows: repeat(3,auto); grid-template-areas: "aheader" "aposter" "ainfo"; gap: 30px;}
	.aninet__header {text-align: center;}
	.aninet__poster {width: 290px; justify-self: center;}
	.aninet__meta-top {justify-content: center; gap: 10px 40px;}
	.aninet__meta-item {flex-grow: 1; text-align: center;}
	.aninet__trl-scr .sect__content {display: flex;}
	.schedule-item {grid-template-columns: 120px 1fr 100px; font-size: 13px;}
	.schedule-item__descr {display: none;}
	.news .aninet__header {text-align: left; margin-top: -20px;}
	.news .aninet__meta-top {justify-content: flex-start; gap: 10px 20px;}
}

@media screen and (max-width: 760px) {
	.wrappers__container {max-width:640px;}
	.sect__tabs-btn {font-size: 14px;}
	.season-carousel {border-radius: 0; margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	.season-carousel + .cols {padding-top: 24px;}
	.season-carousel__header {height: 36px;}
	.season-carousel__list.carou-nl > .item-poster {width: calc(100% / 2);}
	.season-carousel .owl-nav {display: flex; left: 6px; right: 6px; top: calc(50% + 18px); margin-top: -18px;}
	.season-carousel .owl-prev, .season-carousel .owl-next {width: 34px; height: 38px; background: rgba(0,0,0,.48);}
	.season-carousel .owl-prev:hover, .season-carousel .owl-next:hover {background: rgba(0,0,0,.62);}
	.item-news__img {width: 100%;}
	.item-short {display: grid; grid-template-columns: 80px minmax(0,1fr); 
		padding: 10px; gap: 10px 20px; grid-auto-flow: row dense; grid-template-rows: auto auto 1fr auto auto;}
	.item-short__descr {display: contents;}
	.item-short__img {width: 100%; align-self: start; grid-row: 1 / 4;}
	.item-short__meta {align-self: end; margin: 0;}
	.item-short .item__text {grid-column: 1 / -1;}
	.item-short__bottom {grid-column: 1 / -1; padding-top: 10px;}
	.item__text {-webkit-line-clamp: 10; line-clamp: 10;}
	.item-short .item__title h3 {font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; 
		-webkit-box-orient: vertical; overflow: hidden;}
	.filter__col--submit {min-width: 100%; padding-top: 20px;}

	.wrappers__container--main {max-width: 100% !important;}
	.aninet__bg {width: 200%; height: 600px; right: 50%; bottom: auto; top: 140px; transform: translateX(50%);}
	.aninet__complaint {display: none !important;}
	.aninet__complaint--under {
		display: flex !important;
		justify-content: flex-start;
		margin: 0 0 10px;
	}
	.aninet__complaint--under a {
		min-height: 34px;
		padding: 0 10px;
		font-size: 12px;
	}
	.aninet__player .tabs-block__select {
		flex-wrap: nowrap;
		width: 100%;
		min-width: 100%;
	}
	.aninet__player .tabs-block__select button {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 8px;
		font-size: 13px;
	}
	.aninet__player-controls--menu {display: block !important;}
	.player-source {max-width: none; padding: 10px; border-radius: 8px;}
	.player-source__top {margin-bottom: 8px;}
	.player-source__hint {font-size: 12px; line-height: 1.35;}
	.player-source__toggle {display: flex;}
	.player-source__list {
		display: none !important;
		grid-template-columns: 1fr !important;
		margin-top: 8px;
	}
	.player-source.is-open .player-source__list {display: grid !important;}
	.aninet__player .player-source__item {
		grid-template-columns: 34px minmax(0, 1fr);
		min-height: 54px;
		padding: 10px;
	}
	.player-source__name {font-size: 13px;}
	.player-source__desc {font-size: 11px;}
	.player-source__icon {width: 34px; height: 34px;}
	.player-source__badge {
		grid-column: 2;
		justify-self: start;
		max-width: 100%;
		padding: 4px 7px;
		font-size: 10px;
	}
	.player-soon {
		flex-direction: column;
		align-items: flex-start;
		min-height: 0;
		padding: 16px;
		gap: 14px;
	}
	.player-soon__poster {
		width: 96px;
		height: 138px;
	}
	.player-soon__title {
		font-size: 22px;
	}
	.player-soon__text {
		font-size: 13px;
	}
	.aninet .sect--bg .grid-auto-260 {
		grid-template-columns: minmax(0, 1fr);
	}
	.aninet .sect--bg .item-recent {
		flex-wrap: nowrap;
		column-gap: 14px;
		min-width: 0;
	}
	.aninet .sect--bg .item-recent__descr,
	.aninet .sect--bg .item__title,
	.aninet .sect--bg .ws-nowrap {
		min-width: 0;
		max-width: 100%;
	}
	.ac-form__bottom {gap: 10px;}
	.ac-form__bottom button {padding: 0 20px; width: 100%;}
	.ac-form__header input + input {min-width: 100%; order: 10;}
}

@media screen and (max-width: 590px) {
	.wrappers__container {max-width:480px;}
	.header__logo::before {display: none;}
	.header__logo {font-size: 18px;}
	.logo div div {letter-spacing: 1px;}
	.sl__descr {height: 400px;}
	.sl__category {max-width: 58%;}
	.sl > img {height: 90%;}
	.sect:has(.has-carou) {padding-bottom: 50px;}
	.owl-nav {left: 0; top: auto; bottom: -50px; margin-top: 0; gap: 20px;}
	.owl-nav button {flex-grow: 1;}
	.owl-prev {border-color: var(--accent); color: var(--accent);}
	.item-poster__meta {padding-bottom: 0;}
	.item-poster .item__counters-counter {flex-direction: row; display: flex; justify-content: center; 
		min-width: 100%; align-items: center; gap: 5px;}
	.item-poster .item__counters-counter div {font-size: 13px;}
	.item-recent__img {width: 70px; height: 100px;}
	.item-top .btn::before {display: none;}
	.item-video__img {height: 120px; width: 120px;}

	.comm__author {font-size: 14px;}
	.comm__date {font-size: 12px;}

	.lgn, .lgn-logged {padding: 20px; --indent: 20px;}
	.lgn-logged {padding: 0;}
	.lgn__soc a img {display: none;}
}

@media screen and (max-width: 470px) {
	.wrappers__container123 {max-width:410px;}
	.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;}
	.sect__btn-filter {display: flex; width: 100%;}
	.filter-block {display: none;}
	.filter-block.is-active {display: block;}
	.sect:has(.filter-block:not(.is-active)) .sect__header {margin-bottom: 0;}
	.sect:has(.filter-block) .sect__title {font-size: 16px; display: none;}
	.slider + .sect--filter {margin-bottom: -45px !important;}
	.item-short__bottom {justify-content: space-between;}
	.item-short__bottom .item__comm-num::before {display: none;}

	.aninet__category {max-width: 60%;}
	.aninet__header h1 {font-size: 24px; line-height: 1.3;}
	.aninet__list li {padding-left: 160px; font-size: 13px; min-height: 13px;}
	.schedule-item {grid-template-columns: 90px 1fr 60px; padding: 8px 10px;}
	.aninet__ps-form {padding: 15px;}
}

@media screen and (max-width: 400px) {
	.wrappers__container123 {max-width:360px;}
	.season-carousel__list.carou-nl > .item-poster {width: calc(100% / 2);}
	
	.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 (max-width: 600px) {
	.comments-sort {gap: 6px; margin-bottom: 16px;}
	.comments-sort span {width: 100%;}
	.comments-sort__btn {height: 32px; padding: 0 10px; font-size: 12px;}
	.aninet__ps-form {min-height: 70px; padding: 12px;}
	.aninet__ps-form:before {width: 40px; height: 40px; flex-basis: 40px; font-size: 18px;}
	.aninet__ps-form-avatar {width: 44px; flex-basis: 44px;}
	.comm--modern {padding: 12px; border-radius: 7px;}
	.comm--modern .comm__layout {grid-template-columns: 56px minmax(0,1fr); gap: 10px;}
	.comm--modern .comm__avatar {width: 56px; height: 70px;}
	.comm--modern .comm__top {gap: 8px;}
	.comm--modern .comm__author {gap: 5px; font-size: 14px;}
	.comm--modern .comm-group-mark {height: 18px; padding: 0 6px; font-size: 10px;}
	.comm--modern .comm__date {font-size: 11px;}
	.comm--modern .comm__text {font-size: 13px; line-height: 1.5;}
	.comm--modern .comm__tools {align-self: flex-start;}
	.comm--modern .comm__rating {display: none;}
	.comm--modern .comm__footer {margin-top: 10px;}
	.comm--modern .comm__action {gap: 12px;}
	.ac-form {padding: 12px;}
	.ac-form__bottom {display: grid; gap: 10px;}
	.ac-form__btn {width: 100%; padding: 0 20px;}
	.ya-comments-form__head, .ya-comments-form__bottom, .ya-comments-form__user {align-items: stretch;}
	.ya-comments-form__head, .ya-comments-form__user {display: grid;}
	.ya-comments-form__bottom {display: flex;}
	.ya-comments-form__submit {min-width: 0; flex: 1 1 auto;}
	.ya-comment {grid-template-columns: 44px minmax(0,1fr); gap: 10px; padding: 12px;}
	.ya-comment__avatar {width: 44px; height: 44px;}
	.ya-comment__top {display: grid;}
	.ya-comment__side {justify-content: flex-start;}
	.ya-comment__text {font-size: 13px;}
	.ya-comment--last {grid-template-columns: 44px minmax(0,1fr);}
	.ya-comment--last .ya-comment__avatar {width: 44px; height: 44px;}
	.ya-comment--last .ya-comment__source {font-size: 13px;}
}

@media screen and (max-width: 760px) {
	html, body {max-width: 100%; overflow-x: hidden;}
	.wrappers, .wrappers__container, .wrappers__container--main, .cols, .cols__main, .cols__side, .aninet, .aninet__cols, .aninet__player, .full-text, .tabs-block, .playlists-ajax {max-width: 100%; min-width: 0;}
	img, video, iframe, embed, object {max-width: 100%;}
	.season-carousel {margin-bottom: 10px; padding-bottom: 72px !important;}
	.season-carousel + .cols {padding-top: 18px;}
	.season-carousel .owl-carousel {position: static;}
	.season-carousel .owl-nav {display: flex !important; left: 0; right: 0; top: auto; bottom: 20px; margin-top: 0; gap: 10px; justify-content: center; pointer-events: none;}
	.season-carousel .owl-prev, .season-carousel .owl-next {width: 42px; height: 32px; flex-grow: 0; border: 1px solid var(--bdc); border-radius: 5px; background: var(--bg); color: var(--accent); pointer-events: auto; box-shadow: none;}
	.season-carousel .owl-prev:hover, .season-carousel .owl-next:hover {background: var(--accent); color: #fff; border-color: var(--accent);}
}

@media screen and (max-width: 400px) {
	.full-text iframe {width: 100%; max-width: 100%; margin-left: 0; margin-right: 0;}
}
