/* BASIC LAYOUT
----------------------------------------------- */

html {background-color: #1e1e1e;}
.wrapper {min-width: 320px; overflow: hidden; overflow: clip;}
.wrapper__container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper__container--main {background-color: var(--bg-darker); box-shadow: var(--bsh-long);}
.header {padding: 0 var(--indent); position: sticky; z-index: 1000; left: 0; top: 0;
	background-color: var(--bg); box-shadow: var(--bsh-block);}
.header-is-sticky .header {translate: 0 -200%;}
.content {padding: 20px var(--indent); min-height: 100vh; background-color: var(--bg);}
.footer {padding: 40px var(--indent); padding-bottom: 20px; background-color: var(--bg-black); 
	color: var(--tt-fade); --tt: #fff; --tt-fade: #ccc; --bdc: rgba(255,255,255,0.2);}
.footer__two {border-top: 1px solid var(--bdc); padding-top: 20px; margin-top: 40px;}

.scrolltop {position: fixed; width: 40px; height: 40px; right: 10px; bottom: 10px; padding: 0;
	z-index: 990; border-radius: 4px; font-size: 18px; opacity: 0; scale: 0 0; top: auto !important;}
.scrolltop.is-active {scale: 1 1; opacity: 1;}
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.8; background-color: #1d1924; cursor: pointer; display: none;}
.scrolltop:hover{
    top: auto!important;
}

/* HEADER, TOPMENU, CAROU
----------------------------------------------- */
.logo {display: flex; align-items: center; font-family: 'Righteous-Regular'; font-weight: 400; color: var(--tt);
	padding-left: 50px; text-transform: uppercase; position: relative; font-size: 24px; height: 40px; letter-spacing: 1px;}
.logo::before {content: ''; width: 40px; height: 40px; position: absolute; left: 0; top: 50%; 
	background: url(../images/logo.svg) 0 center / contain no-repeat; translate: 0 -50%;}
.lt .header__logo {--tt: #000;}
.logo:has(img) {background: none; min-width: 200px;}
.logo:has(img)::before {display: none;}
.logo img {display: block; position: absolute; left: 0; top: 50%; translate: 0 -50%; max-height: 100%;}

.header__ava {width: 40px; cursor: pointer;}
.header__btn1 span {position: absolute; right: -5px; top: -10px; padding: 2px 3px; font-size: 10px; border-radius: 2px; 
	background-color: var(--accent); color: #fff; display: inline-block; 
	text-align: center; min-width: 20px; line-height: 1;}

.header__menu {margin: 0 30px;}
.header__menu li {position: relative;}
.header__menu > li > a {display: flex; align-items: center; height: 70px; text-transform: uppercase;
	font-size: 16px; font-weight: 700; font-family: 'Oswald', sans-serif;}

.search-block {position: relative;}
.search-block__input, .search-block__input:focus {padding: 0 40px 0 10px; border: 0; box-shadow: none; 
	height: 34px; line-height: 34px; color: var(--tt); border: solid 1px var(--tt);}
.search-block__input:not(:focus)::placeholder {color: var(--tt); opacity: 0.66; font-size: 12px;}
.search-block__btn {position: absolute; right: 0; top: 0!important; height: 34px; font-size: 16px; width: 40px; color: var(--accent); box-shadow: none!important;}


/* SECTION
----------------------------------------------- */
.sect-title-full{
    font-size: 28px;
    font-weight: 600;
    filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, .3));
    font-family: 'Bebas';
    margin-bottom: 0px;
    text-transform: none;
    display: inline-flex;
    margin-bottom: 20px;
}
.sect:not(:last-child) {margin-bottom: 20px;}
.sect__header {margin-bottom: 0px; padding-inline: var(--padding-inline);}
.sect__title {font-size: 30px;
    font-weight: 500;
    font-family: 'Bebas';
    margin-bottom: 0px;
    position: relative;
    top: -4px;
    text-transform: none;
    display: inline-flex;
    align-items: baseline;}
.sect__title :is(h1,h2,h3) {font-size: inherit;}

.speedbar {color: var(--tt-fade); font-size: 12px; padding: 10px 0; margin-top: -20px;}
.speedbar a {color: var(--tt);}

/* ITEM CAROUSEL, SHORTSTORY
----------------------------------------------- */
.item__img {box-shadow: var(--bsh); overflow: hidden;}
.item__label {font-size: 12px; padding: 3px 12px; border-radius: 3px; font-weight: 500;
	background-color: var(--accent); color: #fff; position: absolute; left: 10px; top: 10px; z-index: 1;}
.item__desc {position: absolute; inset: 0; z-index: 3; color: #fff; 
	--tt: #fff; --bdc: rgba(255,255,255,0.3); text-align: center; padding: 10px;}
.item__title {font-weight: 500; font-size: 15px; margin-bottom: 5px;}
.item__year {opacity: 0.8; font-size: 12px;}
.item__rates {line-height: 1; border-top: 1px solid var(--bdc); padding-top: 10px; margin-top: 10px;}
.item__rates-item::before {content: attr(data-text); display: inline; margin-right: 5px; text-transform: uppercase; font-weight: 500;}
.item__rates-item.kp::before {color: #f60;}
.item__rates-item.imdb::before {color: #fc0;}
.item__rates:not(:has(.item__rates-item:nth-child(2))) {justify-content: center;}

/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__notify {border-left: 1px solid var(--bdc); padding-left: 20px;}
.footer__copyright {font-size: 14px;}

.pagination {gap: 20px 10px; padding-top: 10px;}
.pagination__pages a, .pagination__pages span, .pagination > a, .pagination > span 
{display: grid; place-items: center; color: var(--tt-fade);
	height: 36px; min-width: 36px; padding: 0 10px; border-radius: 3px; background-color: var(--bg);}
.pagination__pages {gap: 10px; font-size: 14px;}
.pagination__pages span:not(.nav_ext) {color: #fff; background: var(--accent);}
.pagination__btns {height: 36px; border-radius: 4px; overflow: hidden; background-color: var(--bg); box-shadow: var(--bsh);}
.pagination__btns > * {width: 40px; display: grid; place-items: center; color: var(--accent); font-size: 18px;}
.pagination__btns > span {color: var(--tt-fade);}
.pagination__btn-loader:has(span:not(.fal)) {display: none;}

/* INNER PAGE
----------------------------------------------- */
.page__bg {box-shadow: var(--bsh-block); background-color: var(--bg); margin: 0 var(--indent-negative);}
.page__cols {display: grid; grid-template-columns: minmax(0,1fr) 280px;}
.page__cols:not(:has(.page__cols-right)) {display: block;}
.page__cols-left {padding: 20px; padding-bottom: 0;}
.page__cols-right {background-color: var(--bg-darker-1); padding: 20px;}
.page__main {display: grid; gap: 15px 20px; grid-template-columns: 200px minmax(0,1fr); 
	grid-template-areas: "poster header" "poster info"; grid-template-rows: auto 1fr; margin-bottom: 25px;}
.page__poster {
		grid-area: poster;
		border-radius: 15px;
		overflow: hidden;
		align-self: start;
		border: 3px solid grey;
	}
.page__header {grid-area: header;}
.page__info {grid-area: info;}

.page__img::after {opacity: 0.5; height: 33%;}
.page__rating-ext {position: relative; z-index: 10; font-size: 12px;}
.page__rating-ext a {display: flex; align-items: center; padding: 0 10px; font-weight: 500; gap: 10px; height: 40px;}
.page__rating-ext a .fal {display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; 
	font-size: 16px; color: #fff; background-color: var(--green);}
.page__rating-ext a + a .fal {background-color: var(--red);}
.page__ratingscore-ring {width: 50px; font-weight: 500; font-size: 16px; 
	background-color: var(--bg); color: var(--tt); box-shadow: var(--bsh); 
	position: absolute; left: 50%; top: 0; translate: -50% -50%; isolation: isolate;}
.page__ratingscore-ring::before {content: ''; position: absolute; z-index: -2; inset: 0; border-radius: 50%; 
	background: conic-gradient(from 0deg, #FDC830 0%, #F37335 var(--p), var(--bg-darker-1)  var(--p));}
.page__ratingscore-ring::after {content: ''; position: absolute; z-index: -1; 
	background-color: var(--bg); inset: 3px; border-radius: 50%;}

.page__header h1 {font-size: 20px; font-weight: 500;}
.page__header h1 a {font-size: 12px; margin-left: 10px;}
.page__text .full-text {color: #888; line-height: 1.4;}
.page__text {margin-bottom: 20px;}
.js-hide-text {max-height: 160px; overflow: auto;}
.show-text {position: relative; z-index: 2; left: 0; bottom: -10px; top: inherit!important; width: 100%; height: 34px; font-size: 12px; vertical-align: bottom;
	box-shadow:0 0 0 1px #ccc,2px 3px 3px 0 rgba(0,0,0,0.1)!important; background-color: var(--bg); color: var(--tt);}
.show-text:hover{
	top: inherit!important;
}
.js-hide-text[style]::before {content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; 
	background: linear-gradient(to top, var(--bg) 20%, transparent 100%); z-index: 1;}
.page__list {line-height: 1.3; font-size: 13px; display: grid; gap: 5px 20px; 
	grid-template-columns: repeat(auto-fill,minmax(260px,1fr));}
.page__list li > span:first-child {font-weight: 500; margin-right: 5px;}
.page__list a {color: var(--blue); text-decoration: underline;}
.page__list-wide {grid-column: 1 / -1;}
.page__list-rates {grid-row: span 2;}
.page__list-rates-item {font-size: 15px; padding-left: 30px; line-height: 20px;}
.page__list-rates-item.kp {background: url(../images/kp.svg) 0 center / 20px no-repeat;}
.page__list-rates-item.imdb {background: url(../images/imdb.svg) 0 center / 20px no-repeat;}
.page__list-rates-item.tmdb {background: url(../images/tmdb.svg) 0 center / 20px no-repeat;}
.page__subtitle {border-top: 1px solid var(--bdc); margin: 0 -20px; padding: 15px 20px; 
	text-align: center; font-size: 18px !important; font-weight: 500; background-color: var(--bg-darker);
	border-bottom: 1px solid var(--bdc);
}

.page__scr ul {display: grid; gap: 20px; grid-template-columns: repeat(4,1fr);  
	border-top: 1px solid var(--bdc); margin: 0 -20px; padding: 20px 20px;}
.page__scr a, .page__scr img {display: block; height: auto; width: 100%; border-radius: 0px; aspect-ratio: 300 / 200;}
.page__scr img {object-fit: cover;}
.page__scr ul li:nth-child(4) ~ li {display: none;}

.page__player {position: relative; background-color: var(--bg-black); padding: 0;}
.page__player .tabs-block__select {gap: 1px; margin-bottom: 0px;}
.page__player .tabs-block__select button {background: var(--bg-blackest); color: #fff; border-radius: 0;}
.page__player .tabs-block__select button.is-active, .page__player .tabs-block__select button:hover {background: var(--accent); color: #fff;}
.page__complaint a {display: flex; align-items: center; gap: 10px; color: var(--red); --red: #f37e7c;}
.page__complaint {padding-right: 20px; --tt: #fff; color: #fff; --ui-bg-darker: rgba(255,255,255,0.3);}
.nl .page__player-controls + .tabs-block__content {display: block;}
.page__player .tabs-block__select button.is-active::before {color: rgba(0,0,0,0.8);}
.page__fav a, .page__fav > span {cursor: pointer; display: flex; align-items: center; gap: 10px; 
	color: var(--tt-fade); --tt-fade: #ccc;}
.page__fav a:has(.fav-added) .fal {color: var(--yellow);}
.page__player-bottom {padding-left: 20px;}
.page__likes a {display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 20px;
	background-color: var(--green); color: #fff;}
.page__likes a:last-child {background-color: var(--red);}
.dark-overlay {background: rgba(0,0,0,0.9); position: fixed; width: 100%; height: 100%; z-index: 100; top: 0; left: 0;}
.light-off #scrolltop {visibility: hidden;}
.light-off .page__player {position: relative; z-index: 102;}

.page__cols:has(.page__player) .page__cols-right {background-color: var(--bg-blackest); 
	color: #fff; --tt: #fff; --tt-fade: #ccc;--bdc: rgba(255,255,255,0.2);}

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {margin-bottom: 30px; font-size: 24px;}
.full-text {line-height: 1.6; font-size: 14px; word-wrap: break-word; color: var(--tt-fade-0);}
.full-text a {text-decoration: underline; color: var(--ui-accent);}
.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 var(--accent); 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: var(--accent); color: #fff; 
	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: var(--accent); 
	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: 60%; position: relative; background-color: #000;}
.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;}

/* LOGIN
----------------------------------------------- */
.lgn {position: fixed; z-index: 999; left: 50%; top: 50%; translate: -50% -50%; width: 500px; max-width: calc(100% - 40px);}
.lgn__content {background-color: var(--bg); box-shadow: var(--bsh-long); padding: 30px 60px; position: relative;}
.lgn__ctrl > * {color: #fff !important; font-size: 19px; font-weight: 500; height: 45px; position: relative; text-transform: uppercase;}
.lgn__ctrl span::before {content: ''; border: 10px solid transparent; border-bottom-color: var(--bg); 
	position: absolute; left: 50%; bottom: 0; margin-left: -10px; z-index: 5;}
.lgn__btn-close {font-size: 40px; color: #fff; position: absolute; right: -50px; z-index: 10; background-color: #af3735; box-shadow: 0 3px 0 0 rgb(108, 31, 31)!important;}
.lgn__header {position: relative; padding-left: 80px; margin-bottom: 15px;}
.lgn__avatar {width: 60px; background-color: var(--bg-darker); font-size: 24px; 
	position: absolute; left: 0; top: 50%; translate: 0 -50%; overflow: hidden; border-radius: 50%;}
.lgn__title {font-size: 19px; font-weight: 500;}
.lgn__caption {color: var(--tt-fade); margin-top: 5px;}
.lgn__input input {height: 50px; line-height: 50px; border-radius: 0; padding: 0 30px;}
.lgn__input input::placeholder {font-size: 16px;}
.lgn__input input + input {margin-top: -1px;} 
.lgn__input input:focus {position: relative; z-index: 5;}
.lgn__btn button {height: 50px;}
.lgn__cell a {color: var(--ui-accent);}
.lgn__social-caption {font-size: 13px; color: var(--tt-fade); margin-top: 5px;}
.lgn__social-caption::before, .lgn__social-caption::after {content: ''; flex-grow: 1; background: var(--bdc); height: 1px;}
.lgn__social a {border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center;}
.lgn__social a img {height: 18px; width: 18px; display: block; filter: invert(1);}
.lgn__social-vk {background-color: #587ba1;}
.lgn__social-ok {background-color: #ff9800;}
.lgn__social-fb {background-color: #3b5998;}
.lgn__social-ml {background-color: #2196f3;}
.lgn__social-gg {background-color: #f44336;}
.lgn__social-ya {background-color: #fc3f1d;}
.lgn__social:not(:has(a)) {display: none;}
.lgn--logged {width: 400px;}
.lgn__menu a {display: flex; align-items: center; gap: 10px;}
.c-0 span {display: none;}

.owl-carousel {width: 100%; position: relative; z-index: 1;}
.owl-stage {position: relative; display:flex; justify-content:flex-start;    width: 100%!important; }
.owl-stage-outer {width: 100%; position: relative; overflow: hidden; transform: translate3d(0px, 0px, 0px); padding: 10px 15px; }
.owl-item {position: relative; min-height: 10px; width: 100% ;}
.owl-nav.disabled, .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {display: none;}
.owl-carousel.owl-drag .owl-item {user-select: none;}
.owl-carousel.owl-grab {cursor: move; cursor: grab;}
.owl-nav {position: absolute; right: 20px; top: 0; margin-top: -30px; display: flex; gap: 5px;}
.owl-prev, .owl-next {cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; 
	font-size: 18px; background-color: var(--accent); color: #fff; box-shadow: none; border-radius: 4px;}
.owl-prev {opacity: 1;}
.owl-next {opacity: 1;}

/* CLS FIX
----------------------------------------------- */
.has-carousel:not(.owl-carousel) {display: flex; overflow: hidden; gap: 20px;}
.has-carousel:not(.owl-carousel) > * {flex-shrink: 0;}
.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 100px)/6);}

@media screen and (max-width: 1220px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 80px)/5);}
}
@media screen and (max-width: 950px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 60px)/4);}
}
@media screen and (max-width: 760px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 40px)/3);}
}
@media screen and (max-width: 470px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 20px)/2);}
}

.info__fullstory {}
.info__fullstory span {font-weight: 700}
.info__fullstory a {color: var(--accent)}