/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper__container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.header {background-color: var(--bg-black); color: #fff; gap: 10px 30px; margin-bottom: 250px; box-shadow: var(--bsh);}
.content {min-height: 80vh; background-color: var(--bg); padding: 30px var(--indent); box-shadow: var(--bsh);}
.footer {padding: 15px var(--indent);}
.footer__one {color: #fff; gap: 10px 30px; --tt: #fff;}
.footer__two {padding-top: 15px; margin-top: 15px; color: #b4b4b4; border-top: 1px solid rgba(255,255,255,0.2);}
.footer__menu {gap: 10px 30px;}
.wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 700px;
  background: url(../images/bg-1.webp) center center no-repeat;
  background-size: cover;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.scrolltop, .theme-toggle {position: fixed; width: 40px; height: 40px; right: -60px; bottom: 60px;
	z-index: 990; border-radius: 50%; font-size: 20px; opacity: 0; transition: right 0.2s, opacity 0.2s; 
	background-color: #000; color: #fff; padding: 0;}
.scrolltop.is-active {right: 10px; opacity: 1;}
.theme-toggle {background-color: #fff; color: #000; border: 2px solid #000; bottom: 10px; right: 10px; opacity: 1;}
.dt-is-active .theme-toggle::before {content:"\f185";}


/* HEADER
----------------------------------------------- */
.logo {display: inline-flex; flex-direction: column; justify-content: center; height: 80px; text-align: left;
	background: url(../images/logo.png) left center / 60px no-repeat; padding-left: 75px; text-transform: uppercase;
	font-family: 'Rex'; font-weight: 700; font-size: 20px; letter-spacing: 1px; line-height: 1; position: relative;}
.logo__title {color: #fff;}
.logo__subtitle {color: #e5103a; font-size: 30px; letter-spacing: 3px;}
.logo-caption {padding-left: 30px; border-left: 1px solid rgba(255,255,255,0.2); 
	line-height: 1.4; color: var(--tt-lighter-2); font-size: 12px;}
.header__logo img {display: block; position: absolute; left: 0; top: 50%; 
	transform: translateY(-50%); max-height: 100%; max-width: 300px;}

.header__menu {gap: 0 30px; position: relative;}
.header__menu > li > a, .header__menu > li > span {font-size: 16px; height: 80px; 
	display: flex; align-items: center; gap: 10px; cursor: pointer; --tt: #fff;}
.header__menu-submenu {position: absolute; top: 100%; left: 0; z-index: 100; border-radius: 10px;
	background-color: var(--bg); box-shadow: var(--bsh);
	width: 160px; padding: 15px 21px; white-space: nowrap; 
	opacity: 0; visibility: hidden; transform: translateY(30px);}
.header__menu-submenu a {display: block; padding: 8px 0;}
.header__menu span::after {content:"\f0d7"; font-weight: 900; font-family:'Font Awesome 5 Pro';}
.header__menu > li > a.is-active, .header__menu > li > span.is-active {color: #e5103a;}
.header__menu-submenu a.is-active {color: #e5103a;}


/* SECTION, TABS, MAIN PAGE DESCRIPTION, SPEEDBAR
----------------------------------------------- */
.sect {margin-bottom: 30px;}
.sect--bg {margin-left: var(--indent-negative); margin-right: var(--indent-negative); 
	padding: 30px var(--indent); background-color: var(--bg-darker);}
.sect__header {margin-bottom: 30px; gap: 10px;}
.sect__title {font-size: 24px; font-weight: 500; line-height: 1.1;}
.sect__title span {color: #e5103a;}
.sect__link {text-transform: uppercase; color: #e5103a; text-decoration: underline; font-weight: 500;}
.sect--border-top {padding-top: 30px; border-top: 1px solid var(--bdc);}
.sect__title--smaller {font-size: 20px;}

.tabs__select {margin-bottom: 30px; gap: 10px;}
.tabs__select button {background-color: var(--bg-darkest); color: var(--tt);}
.tabs__select button.is-active {background-color: #e5103a; color: #fff;}
.tabs__btn-hidden {gap: 10px 30px; padding-bottom: 40px; padding-bottom: 0;}
.tabs__btn-hidden::before, .tabs__btn-hidden::after {content: ''; height: 1px; flex-grow: 1; background-color: var(--bdc);}
.tabs__btn-hidden button {height: 50px; border-radius: 25px; padding: 0 25px; color: var(--tt-fade); 
	font-size: 14px; font-weight: 500; text-transform: uppercase; background-color: var(--bg-darkest);}
.seas__link {height: 40px; padding: 0 20px; border: 1px solid var(--bdc);}
.seas {flex-grow: 1;}

.descr-list__img {width: 260px; height: 390px; margin-right: 30px; display: block;}
.descr-list__list li {position: relative; padding: 8px 0; padding-left: 230px;}
.descr-list__list li > span:first-child {color: var(--tt-fade); position: absolute; left: 0; top: 8px;}
.descr-list__list li a {color: var(--blue); text-decoration: underline;}
.descr-list__list li > span:not(:first-child) {color: #e5103a;}

.speedbar {color: var(--tt-fade); margin-bottom: 30px; font-size: 12px;}
.speedbar a {color: var(--tt);}
.speedbar::before {color: #e5103a; margin-right: 10px;}
.descr {display: grid; gap: 12px; color: var(--tt-fade-0);}
.descr :is(h1, h2, h3) {color: var(--tt);}
.descr a {text-decoration: underline; color: var(--blue);}
.descr ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.descr ul li::before {content:"\f00c"; font-weight: 900; font-family:'Font Awesome 5 Pro'; 
	color: #e5103a; position: absolute; left: 0; top: 0;}


/* EPISODE SHORT STORY
----------------------------------------------- */
.ep__img {margin-bottom: 15px;}
.ep__title {font-size: 15px; font-weight: 500; line-height: 1.2;}
.ep__meta {margin-top: 6px; color: var(--tt-fade); line-height: 1.2;}
.has-overlay-on-img__trg {position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
	background: rgba(0,0,0,0.5); backdrop-filter: blur(12px); opacity: 0; font-size: 50px; color: #fff;}
.has-overlay-on-img__trg.fa-play::before {width: 60px; height: 60px; border-radius: 50%; box-sizing: border-box;
	background-color: #fff; color: #e5103a; font-size: 18px; padding-left: 3px;}
.ep--news {grid-column: span 2;}
.ep--news .ep__img {height: 200px; padding: 0;}
.ep__text {-webkit-line-clamp: 6; margin-top: 12px;}
.ep--news .ep__meta {font-size: 12px; margin-top: 10px;}
.ep--actor .ep__img {padding-top: 100%;}
.d-grid-actors {display: grid; gap: 20px; grid-template-columns: repeat(6,minmax(0,1fr));}


/* UPDATES
----------------------------------------------- */
.upd {background-color: var(--bg-darker);}
.upd__desc {padding: 5px; gap: 5px; padding-left: 15px;}
.upd__title {font-size: 15px; font-weight: 500; line-height: 1;}
.upd__newseries {background-color: var(--bg-darkest); font-size: 12px; width: 60px; height: 70px;}
.upd__newseries div {font-size: 24px; font-weight: 500;}
.upd__meta {margin-top: 10px;}
.upd__label {font-size: 12px; padding: 0 10px; height: 20px; border-radius: 10px; 
	background-color: var(--bg-darkest); color: var(--tt-fade-0);}
.upd__label-rating {background-color: var(--green); font-weight: 500; color: #fff; width: 30px; padding: 0;}
.has-slider:not(.owl-carousel) {display: flex; overflow: hidden; gap: 30px;}
.has-slider:not(.owl-carousel) > * {flex-shrink: 0; width: calc((100% - 60px)/3);}


/* PAGINATION
----------------------------------------------- */
.pagination {gap: 20px 60px;}
.pagination a, .pagination span {display: grid; place-items: center; 
	height: 40px; min-width: 40px; padding: 0 10px; border-radius: var(--bdrs); border: 1px solid var(--bdc);}
.pagination__pages {gap: 10px 10px; font-size: 18px;}
.pagination__pages span:not(.nav_ext) {background-color: #e5103a; color: #fff; border-color: #e5103a;}


/* INNER PAGE
----------------------------------------------- */
.page__fav {position: absolute; left: 0; top: 0; z-index: 5;}
.page__fav a {display: grid; place-items: center; width: 40px; height: 40px; 
	background-color: var(--blue); color: #fff; font-size: 18px; border-radius: 3px 0 3px 0;}
.page__fav a:has(.page__fav-added) {background-color: var(--red);}
.page__header-img {width: 200px; height: 300px; margin-right: 30px; 
	border: 10px solid var(--bg); box-shadow: 0 0 0 1px var(--bdc);}
.page__header-descr h1 {font-size: 28px; line-height: 1.1; font-weight: 500; padding-bottom: 10px;}
.page__header-descr h1 a {font-size: 16px; margin-left: 10px; color: var(--tt-fade);}
.page__header-meta { gap: 10px 30px; border-bottom: 1px solid var(--bdc); padding-bottom: 16px; margin-bottom: 24px;}
.page__header-meta-item {color: var(--tt-fade);}
.page__stars-rating {position: relative; gap: 5px 15px;}
.page__stars-rating-caption {font-size: 16px;}
.page__stars-rating-score {height: 40px; width: 40px; border-radius: 50%; 
	background-color: var(--green); color: #fff; font-weight: 500; font-size: 18px;}
.page__stars-rating-votes {font-size: 12px;}
.page__caption {line-height: 1.4; display: block; position: relative; padding: 25px 30px;
	padding-left: 75px; font-size: 13px; isolation: isolate; margin-top: auto; color: var(--tt-fade-0);}
.page__caption::before {position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 34px; color: var(--blue);}
.page__caption::after {content: ''; position: absolute; inset: 0; background: var(--blue); opacity: 0.06;}
.page__text {margin-top: -6px;}
.page__stars-rating .page__fav {position: static;}

.page__schedule {border: 1px solid var(--bdc);}
.schedule-item {background-color: var(--bg-darker); padding: 6px 30px; gap: 10px 30px;}
.schedule-item + .schedule-item {border-top: 1px solid var(--bdc);}
.schedule-item__number {font-weight: 500; width: 280px;}
.schedule-item__descr {color: var(--tt-fade); font-size: 12px;}
.schedule-item__descr b {display: block; color: var(--tt); font-size: 14px;}
.schedule-item__date {color: var(--tt-fade);}
.schedule-item__status {color: var(--green); font-size: 24px;}

.page__player-bottom {margin-top: 10px; gap: 10px;}
.video-inside {background-color: #000;}
.page__player.nld .tabs__content, .page__player .tabs__content {display: none;}
.page__player.nld .tabs__select + .tabs__content, .page__player .tabs__content.is-active {display: block;}
.page__prev-next-link {display: flex; align-items: center; gap: 10px; justify-content: center; 
	background-color: var(--bg-darkest); color: var(--tt); height: 50px; position: relative;
	text-transform: uppercase; font-size: 14px; font-weight: 500; width: calc((100% - 20px)/3);}
.page__prev-next-link::before {color: #e5103a; font-size: 24px; position: relative; z-index: 10;}
.page__player-bottom:has(.page__next:first-child) {justify-content: flex-end;}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {margin-bottom: 30px; font-size: 24px;}
.full-text {line-height: 1.5; word-wrap: break-word; color: var(--tt-fade-0);}
.full-text a {text-decoration: underline; color: #e5103a;}
.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
.full-text > ul, .full-text > ol, .full-text table {margin-bottom: 25px;}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	border: 3px solid #e5103a; position: absolute; top: 6px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: #e5103a; color: #000; 
	position: absolute; top: -3px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 500;
	display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: #e5103a; 
	position: absolute; left: 41px; top: -3px; transform: scale(0.66,1.5); transform-origin: 0 0;}
.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
.full-text table, .video-inside > * {width:100%;}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 50%; position: relative;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px; margin-bottom: 20px;}



/* COMMENTS
----------------------------------------------- */
.page__comments {margin-top: 0px;}
.page__comments-title {font-size: 24px; margin-bottom: 20px;}
.page__comments-info {color: var(--tt-fade); display: block; margin: -15px 0 20px; font-size: 14px; padding-left: 23px; position: relative;}
.page__comments-info::before {color: var(--ui-red); position: absolute; left: 0; top: 2px;}
.ac-form {margin-bottom: 30px; position: relative;}
.ac-form__header, .ac-form__editor, .ac-form .message-info {gap: 10px; margin-bottom: 10px;}
.ac-form__btn {padding: 0 60px;}
.ac-form__bottom {gap: 25px;}
.confidential-check {font-size: 14px;}
.ac-form__header > span {margin-left: 15px;}
.ac-form .comments_subscribe {margin-top: 0px;}

.ac-toggle.ac-form {cursor: pointer;}
.ac-form__editor textarea {padding-bottom: 50px;}
.ac-toggle, .ac-toggle .ac-form__editor {position: relative;}
.ac-toggle .ac-form__bottom button {position: absolute; bottom: 20px; right: 10px; z-index: 10; pointer-events: none;}
.ac-form .bb-btn {display: none;}
.ac-form .bb-pane {background: none; box-shadow: none; border: 0; position: absolute; left: 0; bottom: 0; right: 0;}
.ac-form #b_emo, .ac-form #b_leech, .ac-form #b_quote, .ac-form #b_spoiler, 
.ac-form #b_b, .ac-form #b_u, .ac-form #b_s, .ac-form #b_color, .ac-form #b_hide {display: grid;}
.ac-toggle .bb-btn {pointer-events: none;}
.ac-toggle .ac-form__editor .bb-editor textarea {height: 140px; resize: none;}
.ac-form__editor .bb-editor textarea {height: 140px; line-height: 1.4; padding-bottom: 40px;}
.comments_subscribe + br, .ac-form .bb-editor + br {display: none;}
.ac-toggle .has-checkbox {display: none;}

.mass_comments_action {display: flex; align-items: center; flex-wrap: wrap; gap: 10px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -28px 0 0; border-radius: 0; box-shadow: none; min-width: 50%;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

.comm__title {font-size: 18px; margin-bottom: 20px;}

.comm {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
.comm__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 15px;}
.comm__img::before {content: ''; width: 8px; height: 8px; border-radius: 50%; background-color: var(--ui-red); 
	position: absolute; right: -1px; top: -1px; z-index: 5; border: 2px solid var(--bg);}
.comm--online .comm__img::before {background-color: var(--ui-green);}
.comm__letter {width: 100%; height: 100%; text-transform: uppercase; border-radius: inherit;
	position: absolute; left: 0; top: 0; color: #fff; font-size: 18px; font-weight: var(--ui-fw-bolder);}
.comm__author, .comm__author a {color: var(--tt-colored); font-weight: 500; font-size: 14px;}
.comm__date {color: var(--tt-fade); font-size: 13px; margin-top: 2px;}
.comm__main {margin: 10px 0 6px 0;}
.comm__action {gap: 20px; font-size: 13px;}
.comm__action li, .comm__action li a {color: var(--tt-fade); cursor: pointer; gap: 8px; display: flex; align-items: center;}
.comm__ctrl, .comm__ctrl a {font-size: 15px; gap: 10px 15px; color: var(--tt-fade);}
.comm__ctrl li.has-checkbox {transform: scale(0.8,0.8); margin: 0 -10px 0 -5px;}
.comm__ctrl li.has-checkbox input {border-color: var(--tt-fade);}
.comm__rating {gap: 10px; font-size: 14px;}
.comm__rating::before {content: attr(data-text); display: inline;}
.comm__rating > * {display: flex; gap: 5px;}
.comm__rating > * > span:first-child {text-decoration: underline; color: var(--ui-green);}
.comm__rating > * + * > span:first-child {color: var(--ui-red);}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%);
	background-color: var(--ui-bg); width: 440px; border: 10px solid var(--ui-bg-darker); 
	box-shadow: 0 15px 45px rgba(0,0,0,1); overflow-y: auto;
	 max-width: calc(100vw - 40px); max-height: calc(100vh - 40px);}
.login__header {padding: 20px 50px 25px 50px; border-bottom: 1px solid var(--ui-bdc); position: relative;}
.login__title {font-size: 24px; font-weight: var(--ui-fw-bolder);}
.login__caption {font-size: 13px; color: var(--ui-tt-fade); margin-top: 3px;}
.login__close {font-size: 23px; position: absolute; right: 10px; top: 10px; padding: 0; width: 40px; height: 40px;}
.login__content {display: grid; gap: 20px; padding: 25px 50px; padding-bottom: 50px; position: relative;}
.login__row, .login__row.fal, .login__row.fas {position: relative; display: grid; gap: 10px; justify-content: stretch;}
.login__row-caption a, .login__caption a {margin-left: 10px;}
.login__row::before {position: absolute; left: 2px; bottom: 0; width: 40px; height: 50px; 
	display: grid; place-items: center; opacity: 0.4; font-size: 18px;}
.login__input input {padding-left: 40px; height: 50px; line-height: 48px;}
.login__row button {width: 100%; height: 40px;}
.login__social {padding-top: 10px; text-align: center; gap: 10px; margin-bottom: -20px;}
.login__social-caption {font-size: 13px; color: var(--ui-tt-fade); width: 100%;}
.login__social a {padding: 0 10px; border-radius: 20px; position: relative; width: 40px; height: 40px; 
	overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center;}
.login__social a::before {content: ''; width: 40px; background: rgba(0,0,0,0); position: absolute; left: 0; top: 0; height: 100%;}
.login__social a img {position: absolute; left: 10px; top: 50%; height: 20px; width: 20px; z-index: 1; 
	display: block; filter: invert(1); transform: translateY(-50%);}
.login__social-vk {background-color: #587ba1;}
.login__social-ok {background-color: #ff9800;}
.login__social-fb {background-color: #3b5998;}
.login__social-ml {background-color: #2196f3;}
.login__social-gg {background-color: #f44336;}
.login__social-ya {background-color: #fc3f1d;}

.header__login-img {width: 40px; height: 40px; border-radius: 50%; cursor: pointer;}
.header__favlink {font-size: 24px; display: block; position: relative; color: #fff;}
.header__favlink span {background-color: var(--red); color: #fff; border-radius: 10px;
	font-size: 10px; position: absolute; right: -10px; top: -1px; min-width: 20px; text-align: center;}
.header__login-panel {position: absolute; right: 0; top: 100%; width: 240px; 
	padding-bottom: 10px; border-radius: 10px; overflow: hidden;
	background-color: var(--bg); box-shadow: var(--bsh); margin-top: 20px;}
.header__login-header {padding: 20px; font-weight: 500; gap: 20px; border-bottom: 1px solid var(--bdc);
	background-color: var(--bg-darker); margin-bottom: 10px; color: var(--tt);}
.header__login-avatar {width: 40px; height: 40px; border-radius: 50%;}
.header__login-group span {font-size: 12px; font-weight: 400; margin-top: 2px; 
	display: block; color: var(--tt-fade) !important;}
.header__login-menu a {display: flex; align-items: center; min-height: 30px; padding: 0 20px 0 0;}
.header__login-menu a::before {width: 40px; text-align: center; color: var(--blue);}
.header__login-menu-border {border-top: 1px solid var(--bdc); margin-top: 10px; padding-top: 10px;}
.header__login-menu a span {font-size: 12px; margin-left: auto;}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
.mobile-menu {width: 280px; 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-main);}
.mobile-menu.is-active {left: 0;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 0 20px; gap: 10px; background-color: var(--bg-black); color: #fff; --tt: #fff;}
.mobile-menu__header .header__logo {padding-left: 0; background-image: none; flex-grow: 1; margin: 0;}
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: -10px;}
.mobile-menu__content .header__menu {margin: 0; display: block;}
.mobile-menu__content .header__menu > li > a, .mobile-menu__content .header__menu > li > span {height: 60px; 
	padding: 0 20px; border-bottom: 2px solid var(--bg-black);}
.mobile-menu__content .header__menu-submenu::before {display: none;}
.mobile-menu__content .header__menu-submenu {width: 100%; height: auto; position: static;
	border-radius: 0; padding: 10px 20px; opacity: 1; visibility: visible; transform: none; box-shadow: none;}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.wrapper::before {display: none; background-image: none;}
	.wrapper {overflow: hidden;}
	.wrapper__container {max-width:1000px;}
	.header .header__menu {display: none;}
	.header {margin-bottom: 0;}
	.header__logo {margin-left: var(--indent);}
	.header__btn-login {margin-left: auto; background-color: rgba(255,255,255,0.2);}
	.header__btn-menu {display: flex; color: #e5103a; font-size: 32px; padding: 0; margin-right: var(--indent);}
	.d-grid-items,.d-grid-actors {gap: 20px 20px;}
	.speedbar {margin-bottom: 20px;}
	.tabs__btn-hidden {gap: 20px;}
	.descr-list__img {margin-right: 20px; width: 240px; height: 360px;}
	.descr-list__list li {padding-top: 5px; padding-bottom: 5px; padding-left: 200px;}
	.descr-list__list li > span:first-child {top: 5px;}
	.sect--bg {padding-top: 20px; padding-bottom: 20px;}
	.header__favlink {margin-left: auto;}
	.has-slider:not(.owl-carousel) {gap: 20px;}
	.has-slider:not(.owl-carousel) > * {width: calc((100% - 40px)/3);}

	.page__header-img {margin-right: 20px;}
	.tabs__select {margin-bottom: 20px;}
	.tabs__select button {white-space: nowrap; flex-grow: 1;}
	.schedule-item {padding: 6px 20px; gap: 10px 20px;}
	.schedule-item__number {width: 140px;}
	.page--episode .page__stars-rating-votes {min-width: 100%;}
}

@media screen and (max-width: 950px) {
	.wrapper__container {max-width:768px;}
	.pagination {gap: 10px; padding-top: 20px;}
	.pagination__btn-loader a, .pagination__btn-loader span {width: 100%;}
	.pagination > a, .pagination > span {flex-grow: 1; order: 10;}
	.pagination__pages {width: 100%;}
	.pagination__pages a, .pagination__pages span {flex-grow: 1;}
	
	.has-slider:not(.owl-carousel) > * {width: calc((100% - 20px)/2);}
	.d-grid-items {grid-template-columns: repeat(2,minmax(0,1fr));}
	.d-grid-actors {grid-template-columns: repeat(3,minmax(0,1fr));}
	.footer__menu, .footer__text {justify-content: center; min-width: 100%; text-align: center;}

	.page__header-descr {display: block;}
	.page__header-descr h1 {font-size: 24px;}
	.page__caption {margin-top: 20px; padding-top: 15px; padding-bottom: 15px;}
	.page__prev-next-link {font-size: 14px;}
	.page__player-bottom .page__rating {min-width: calc(100% + 40px); order: 20; margin-right: -20px;}
}

@media screen and (max-width: 760px) {
	.wrapper__container {max-width:640px;}
	.login__header, .login__content {padding: 20px;}
	.login__social {margin-bottom: 0;}
	.login__row::before {height: 40px;}
	.login__input input {height: 40px; line-height: 40px; box-shadow: none; border: 0; background-color: var(--bg-darker);}
	.login__social a {border-radius: var(--bdrs); height: 30px; flex: 1 0 30%;}
	.login__social a img {left: 50%; margin-left: -10px;}

	.header {gap: 10px;}
	.header .logo-caption {display: none;}
	.descr-list {display: block;}
	.descr-list__img {margin: 0 auto; margin-bottom: 20px;}
	.descr-list__list li {padding-left: 0;}
	.descr-list__list li > span:first-child {position: static; margin-right: 10px;}
	.speedbar {text-align: center;}
	.has-slider:not(.owl-carousel) > * {width: 100%;}

	.sect__title, .page__header-descr h1 {font-size: 24px;}
	.d-grid-items, .d-grid-actors {gap: 20px 10px;}
	.sect {margin-bottom: 20px;}
	.sect__header {margin-bottom: 20px;}
	
	.page__header {display: block;}
	.page__header-img {height: 300px; width: 200px;  margin: 0 auto; margin-bottom: 20px;}
	.page__header-descr h1 {text-align: center;}
	.page__header-meta {justify-content: center;}
	.page__stars-rating-caption, .page__stars-rating-votes {width: 100%; min-width: 100%;}
	.schedule-item {gap: 0 10px;}
	.schedule-item__number {width: 100px; text-align: right;}
	.schedule-item__descr {min-width: calc(100%	- 130px); order: -1;}
	.page__prev-next-link > span:not(.fas) {display: none;}
	.page__prev-next-link {width: 50px;}
	.page__all {width: calc(100% - 120px); white-space: nowrap;}

	.page__title {font-size: 24px;}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 20px;}
	.page__intro, .page__text .quote {margin-left: var(--indent-negative); margin-right: var(--indent-negative); padding-right: var(--indent);}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}
	
	.ac-form__bottom {gap: 10px;}
	.ac-form__bottom button {padding: 0 20px;}
	.ac-form__header input + input {min-width: 100%; order: 10;}
	.ac-form__header > span, .comm__rating::before {display: none;}
	.ac-form #b_color {display: none;}
	.ac-form__bottom button {position: static !important; width: 100% !important;}
}

@media screen and (max-width: 590px) {
	.wrapper__container {max-width:480px;}
	.header__logo {flex: 1 1 0; max-width: 100%; min-width: 50px; overflow: hidden;}
	.header__btn-login span, .header__favlink {display: none;}
	.header__btn-login {padding: 0; width: 40px; margin: 0; font-size: 18px;}
	.footer__logo-caption {width: 100%; padding: 0; border: 0; text-align: center;}
	.footer__logo-caption br {display: none;}
	.page--episode h1 {text-align: center;}
}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:360px;}
.logo__subtitle {font-size: 16px;}
	.sect__title, .page__comments-title {font-size: 20px;}
	.ep__img {margin-bottom: 10px;}
	.ep__title {font-size: 13px;}
	.ep__meta, .ep__text {font-size: 12px;}
	.tabs__hidden {padding-top: 20px;}

	.video-responsive {padding-top: 80%;}
	.full-text iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
}


/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
 .owl-carousel {width: 100%; position: relative; z-index: 1;}
 .owl-carousel .owl-stage {position: relative; display:flex; justify-content:flex-start;}
 .owl-carousel .owl-stage-outer {position: relative; overflow: hidden; transform: translate3d(0px, 0px, 0px);}
 .owl-carousel .owl-item {position: relative; min-height: 10px;}
 .owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {display: none;}
 .owl-carousel.owl-loaded, .owl-carousel.owl-loading, .no-js .owl-carousel {display: block; opacity: 1;}
 .owl-carousel.owl-drag .owl-item {user-select: none;}
 .owl-carousel.owl-grab {cursor: move; cursor: grab;}
 .owl-carousel .animated {animation-duration: 1000ms; animation-fill-mode: both;}
 .owl-carousel .owl-animated-in {z-index: 0;}
 .owl-carousel .owl-animated-out {z-index: 1;}
 .owl-carousel .fadeOut {animation-name: fadeOut;}
 @keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
 .owl-height {transition: height 500ms ease-in-out;}
 .owl-carousel .owl-item .owl-lazy {opacity: 0; transition: opacity 400ms ease;}
 .owl-carousel .owl-item img.owl-lazy {transform-style: preserve-3d;}
 .owl-nav {position: absolute; right: 0; left: 0; top: 50%;}
 .owl-prev, .owl-next {display: inline-flex; cursor: pointer; box-shadow: none; width: 40px; height: 40px; font-size: 16px;
	background-color: var(--bg); color: var(--tt); border-radius: 50%; 
	margin-top: -20px; position: absolute; top: 0; box-shadow: var(--bsh);}
 .owl-prev {left: -20px; padding-right: 2px;}
 .owl-next {right: -20px; padding-left: 2px;}
 .owl-prev:hover, .owl-next:hover {background-color: var(--blue); color: #fff;}
#owl-upd .owl-nav {margin-top: -40px;}