/* BASIC LAYOUT
----------------------------------------------- */
.wrappers {min-width: 320px; position: relative; padding-top: 30px;
	background: url(../images/bg.jpg) center top fixed no-repeat; background-size: 100% auto;}
.wrapper-container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper-main {min-height: 100vh; background-color: var(--bg); box-shadow: 0 30px 60px rgba(0,0,0,1);}
.header {position: absolute; z-index: 10; left: 0; top: 0; right: 0; height: 80px; padding-left: 30px; padding-right: 60px;}
.footer {background: url(../images/logo.png) 30px center / 40px no-repeat; 
	background-color: var(--bg-3); color: var(--tt-dark); padding: 30px var(--indent); padding-left: 86px;}
.col-main {padding: 30px var(--indent); padding-bottom: 60px; padding-top: 110px;}
.col-side {background: var(--gradient); color: #fff; padding: 110px 30px; width: 240px; position: relative;}
	
#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: var(--bg); color: var(--tt-2); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1);}


/* HEADER, NAV
----------------------------------------------- */
.logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center; /* Выравнивание элементов по вертикали */
    height: 60px;
    text-align: left;
    width: auto;
    margin-right: var(--indent);
}
.logo__title {text-transform: uppercase; color: #fff; font-size: 22px; letter-spacing: 5px; 
	font-weight: 400; line-height: 1; font-family: 'Fredoka One', sans-serif; margin-top: 5px;}
.logo__caption {font-size: 10px; font-weight: 500; color: #fff; 
	opacity: 0.9; text-transform: uppercase; letter-spacing: 3px; margin-top: 7px; }
	
.logo__img {
    width: 50px; /* Фиксированная ширина */
    height: 50px; /* Фиксированная высота */
    margin-right: 10px;
    margin-left: -15px;
    object-fit: contain; /* Гарантирует, что изображение не искажается */
}


.logo__text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрирует текст внутри блока */
}

@media (max-width: 1220px) {
  .logo__img {
    margin-left: 0;
  }
}
	

.header__menu > li {margin-right: 30px; position: relative;}
.header__menu > li > a {height: 80px; display: flex; align-items: center;}
.header__menu > li:hover > a {color: var(--accent);}
.header__btn {padding: 0; width: 40px; font-size: 14px; box-shadow: var(--bsh-2);}

.header__search {position:relative; border-bottom: 1px solid var(--bdc); width: 260px; margin-left: 20px;}
.header__search input, .header__search input:focus {padding: 0; border-radius: 0px; 
	background: none; box-shadow: none; color: #fff; padding-left: 30px;}
.header__search input:not(:focus)::placeholder {color: #fff; opacity: 0.6; font-size: 14px;} 
.header__search button {position:absolute; left: 0; top: 0; padding: 0; 
	background: none; color: #fff; opacity: 0.8; font-size: 14px;}


/* TOP ITEM
----------------------------------------------- */
.carou {padding: 30px var(--indent); margin: 0 var(--indent-negative); 
	background-color: var(--bg-2); position: relative; padding-bottom: 60px; margin-top: -30px;}
.carou__content:not(.owl-carousel) {display: flex; overflow: hidden;}
.carou__content > .top {width: calc((100% - 75px)/6); flex-shrink: 0; margin-right: 15px;}
.top {background-color: var(--bg-3);}
.top__desc {position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding: 15px; color: #fff;}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 20px;}
.sect__header {margin-bottom: 30px;}
.sect__title {font-size: 24px; font-weight: 700;}
.sect__subtitle {font-size: 21px;}
.desc {display: grid; grid-gap: 20px; line-height: 1.7; color: var(--tt-3); background: var(--bg-2); 
	margin: 0 var(--indent-negative); margin-bottom: -60px; margin-top: 60px; padding: 60px var(--indent);}
.desc h1, .desc h2, .desc h3 {font-weight: 700; font-size: 18px; color: var(--tt); line-height: 1.3;}
.desc a {text-decoration: underline;}
.desc ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.desc ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}
.speedbar {font-size: 14px; color: var(--tt-2); background-color: var(--bg-2);
	margin: 0 var(--indent-negative); margin-bottom: -60px; margin-top: 30px; padding: 30px var(--indent);}
.speedbar a:after {color: var(--tt); display: inline; content: '/'; margin: 0 5px;}
.speedbar a:hover {text-decoration: underline;}
.sect__btn-filter {display: flex; align-items: center; height: 30px; border-radius: 15px; padding: 0 15px; 
	font-size: 10px; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; 
	border: 1px solid var(--accent); color: var(--tt); cursor: pointer; margin-left: 20px;}


/* POSTER ITEM
----------------------------------------------- */
.poster__img {box-shadow: var(--bsh); margin-bottom: 15px;}
.poster__desc {position: relative;}
.poster__rating {height: 17px; width: 85px; position: absolute; right: 5px; top: 4px; pointer-events: none;
	background: url(../dleimages/rating.svg); transform: scale(0.8,0.8); transform-origin: right top;}
.poster__rating-fill {position: absolute; left: 0; top: 0; height: 100%; z-index: 1; 
	background: url(../dleimages/rating.svg) 0 -34px repeat-x;}
.poster__title {
  font-size: 15px;
  font-weight: 500;
  padding-right: 0;
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Ограничивает текст двумя строками */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster__subtitle li {display: inline-block; font-size: 0.9em; margin-top: 6px; color: var(--tt-2); margin-right: 4px;}
.poster__subtitle li a {color: var(--tt-2);}
.poster__subtitle li:not(:last-child)::after {margin-left: 6px; content: '/'; opacity: 0.6;}

.poster__subtitle_1 li {display: block; font-size: 0.9em; margin-top: 6px; color: var(--tt-2); margin-right: 4px;}
.poster__subtitle_1 li a {color: var(--tt-2);}
.poster__subtitle_1 li:not(:last-child)::after {margin-left: 6px; opacity: 0.6;}

.poster__label {position: absolute; right: 0; top: 5px; z-index: 10; padding: 3px 10px; 
	background-color: var(--bg-3); color: #fff; font-size: 12px; font-weight: 500;}
.poster__shk {position: absolute; left: 0; top: 5px; z-index: 10; padding: 3px 10px; 
	background-color: #fff; color: #000; font-size: 12px; font-weight: bold; }
.poster__imdb {position: absolute; left: 0; top: 35px; z-index: 10; padding: 3px 10px; 
	background-color: #fc0; color: #000; font-size: 12px; font-weight: bold;}
	
.poster__label_min {position: absolute; right: 0; top: 5px; z-index: 10; padding: 4px 6px; 
	background-color: var(--bg-3); color: #fff; font-size: 9px; font-weight: 500;}
.poster__shk_min {position: absolute; left: 0; top: 5px; z-index: 10; padding: 3px 6px; 
	background-color: #fff; color: #000; font-size: 9px; font-weight: bold; }
.poster__imdb_min {position: absolute; left: 0; top: 30px; z-index: 10; padding: 3px 6px; 
	background-color: #fc0; color: #000; font-size: 9px; font-weight: bold;}

.poster-ext.not-loaded {display: flex; padding: 30px; flex-direction: column; justify-content: center;}
.poster-ext.not-loaded::before {height: 100%; top: 0; margin: 0;}
.poster-ext {position: fixed !important; left: 0; bottom: 20px; z-index: 999; background: var(--bg); 
	box-shadow: var(--bsh); width: 500px; padding: 15px 15px 15px 165px; min-height: 180px;}
.poster-ext h1 {font-size: 15px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.poster-ext .pmovie__header-list {width: 100%; margin: 0;}
.poster-ext .page__text {max-height: 100px; overflow: hidden; margin: 0 0 -6px 0; position: relative; font-size: 13px;}
.poster-ext .page__text::before {content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80%; 
	background: linear-gradient(to top, #2c2d33, transparent); z-index: 1;}
.poster-ext .pmovie__header-list li {margin: 0 !important; position: relative; z-index: 2;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.poster-ext .pmovie__header-list li > div:first-child {display: inline; margin: 0; font-size: 13px;}
.poster-ext .pmovie__poster {position: absolute; left: 0; top: 0; width: 150px; height: 100%;}
.poster-ext .not-shown-ajax {display: none !important;}


/* SIDEBAR
----------------------------------------------- */
.side-block + .side-block {padding: 30px; padding-bottom: 0; 
	border-top: 1px solid rgba(255,255,255,0.2); margin-left: -30px; margin-right: -30px;}
.side-block:not(:last-child) {margin-bottom: 30px;}
.side-block__title {font-weight: 700; font-size: 16px; margin-bottom: 30px;}
.side-block__menu--main {font-size: 16px; font-weight: 700;}
.side-block__menu--icon > li > a {padding-left: 26px;}
.side-block__menu > li + li {margin-top: 20px;}
.side-block__menu li {position: relative;}
.side-block__menu li .fal {position: absolute; left: 0; top: 1px; pointer-events: none; opacity: 0.8;}
.side-block__menu li span:not(.fal) {background-color: rgba(0,0,0,0.1); font-size: 11px; font-weight: 400;
	position: absolute; right: 0; top: -1px; border-radius: 3px; padding: 3px 6px; pointer-events: none;}
.side-block__menu > li > a {color: #fff; display: block;}
.side-block__menu a:hover, .showitems-btn:hover {text-decoration: underline;}
.showitems-btn {margin-top: 13px; cursor: pointer; color: var(--accent);  
	text-transform: uppercase; font-weight: 500; font-size: 12px; letter-spacing: 1px;}
.side-block__menu-hidden {position: absolute; left: 98%; top: -30px; z-index: 999; 
	background-color: var(--bg); box-shadow: var(--bsh); padding: 30px; width: 600px; 
	column-gap: 30px; column-width: 150px; border-right: 5px solid var(--accent); 
	visibility: hidden; opacity: 0; transform: translateX(30px);}
.side-block__menu-hidden li {margin-bottom: 10px;}
.side-block__menu > li:hover .side-block__menu-hidden {visibility: visible; opacity: 1; transform: translateX(0);}

.popular + .popular {margin-top: 20px;}
.popular .poster__subtitle .poster__subtitle_1 li {color: #fff; opacity: 0.8;}
.popular__img {width: 60px; height: 90px; margin-right: 20px; box-shadow: 0 10px 26px rgba(0,0,0,0.25);}
.popular__title {line-height: 1.4; -webkit-line-clamp: 2; color: #fff;}
.popular:hover {text-decoration: underline;}

.soc-channels {position: absolute; left: 0; right: 0; bottom: 30px;}
.soc-channels__item {display: flex; flex-direction: column; justify-content: center; margin: 0 8px; 
	position: relative; background-color: rgba(0,0,0,0.3); box-shadow: var(--bsh-2); border-radius: 50%; 
	background-position: center center; background-repeat: no-repeat; width: 40px; height: 40px;}
.tlg {background-image: url(../images/i-tlg.svg); background-size: 16px;}
.vk {background-image: url(../images/i-vk.svg); background-size: 20px;}
.yt {background-image: url(../images/i-youtube.svg); background-size: 20px;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__btn {/*margin: 0 30px;*/ height: 30px; border-radius: 15px; padding: 0 15px; text-transform: none;}
.footer__text {font-size: 13px; line-height: 1.7;}

.pagination {text-align: center; padding-top: 10px;}
.pagination__pages > a, .pagination__pages > span, .pagination__pages-btn > a, 
.pagination__pages-btn > span {display: inline-block; margin: 10px 5px 0 5px; line-height: 38px; 
	padding: 0 10px; min-width: 40px; font-size: 14px; border: 1px solid var(--bdc); border-radius: 20px;}
.pagination__pages1 > span:not(.nav_ext), .pagination__pages a:hover, .pagination__btn-loader a:hover,   
.pagination__pages-btn > a {background: var(--accent); color: #fff; border-color: var(--accent);}
.pagination__pages--full a, .pagination__pages--full span {line-height: 30px; min-width: 30px; font-size: 14px;}
.pagination__pages > span:not(.nav_ext), .pagination__pages-btn > span {background: var(--bg-2); color: var(--tt-3);}


/* INNER PAGE
----------------------------------------------- */
.page__subcols {padding: 60px var(--indent); margin: 0 var(--indent-negative); 
	background-color: var(--bg-2); position: relative; margin-top: -30px; margin-bottom: 30px;}
.page__subcol-side {width: 200px; margin-right: 30px;}
.page__subcol-side2 {width: 300px; margin-left: 30px;}
.pmovie__poster {width: 200px; height: 300px; cursor: pointer;}
.pmovie__poster .poster__label {border-radius: 0 0 4px 0; right: auto; bottom: auto; left: 0; top: 0;}
.pmovie__original-title {color: var(--tt-2); text-transform: uppercase; font-size: 12px; 
	margin-top: 2px; font-weight: 500; letter-spacing: 1px;}
.page__subcol-main h1 {font-size: 22px; font-weight: 700;}
.page__subcol-main h1 a {margin-left: 10px; font-size: 14px; font-weight: 400;}
.pmovie__colum {margin-top: 10px;}
.pmovie__year {margin-top: 10px;}
.pmovie__episod {margin-top: 10px;}
.pmovie__category {margin-top: 10px; text-transform: lowercase;}
.pmovie__category a, .pmovie__year a, .pmovie__colum a {text-decoration: underline; color: inherit; transition: color 0.3s ease;} 
.pmovie__category a:hover, .pmovie__year a:hover, .pmovie__colum a:hover {color: #D84B40;}

.pmovie__genres {margin: 15px 0 20px 0; font-size: 13px; color: var(--tt-2);}
.pmovie__header-list {line-height: 1.5; font-size: 13px; color: var(--tt-3);}
.pmovie__header-list li + li {margin-top: 15px;}
.pmovie__header-list li > div:first-child {color: var(--tt); font-size: 14px; margin-bottom: 3px;}
.pmovie__header-list li a {border-bottom: 1px dotted var(--accent-2); color: var(--accent-2);}
.ya-share2 {height: 36px; padding-top: 6px; padding-bottom: 6px;}
.pmovie__ratings-caption {width: 100%; margin-bottom: 15px;}
.pmovie__rating {position: relative; margin-right: 30px;}
.pmovie__rating--site .poster__rating {position: static; transform: none;}
.pmovie__rating--site .pmovie__rating-content {height: 17px; margin: 9px 0 7px;}
.pmovie__rating--site .poster__rating-fill {height: 17px; top: 9px;}
.pmovie__rating-content {font-size: 24px; display: flex; justify-content: center;}
.pmovie__rating-caption {margin-top: 2px; color: var(--tt-2); font-size: 12px;}
.pmovie__subinfo {margin-bottom: 15px;}
.pmovie__subinfo > * {white-space: nowrap; width: 48%; padding: 0; text-align: center;}
.pmovie__btn {background: var(--gradient); text-transform: none; font-size: 14px;}
.pmovie__fav a {display: flex; align-items: center; justify-content: center; 
	height: 40px; border-radius: 20px; padding: 0 15px; 
	font-size: 14px; border: 3px solid var(--bdc); color: var(--tt-3);}

.page__subtitle {font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 20px;}
.page__text {margin-bottom: 26px;}
.pmovie__player {position: relative; margin-bottom: 30px;}
.pmovie__complaint {position: absolute; right: 0; top: 100%; white-space: nowrap; margin-top: -30px;}
.pmovie__complaint a {background-color: #eb4d4b; color: #fff; display: inline-block; padding: 5px 10px;}
.tabs-block__select span {cursor: pointer; display: inline-block;}
.tabs-block__select span {height: 40px; line-height: 40px; padding: 0 20px; 
	margin-right: 10px; background-color: var(--bg-2); color: var(--tt-3); font-weight: 500;}
.tabs-block__select span.is-active, .tabs-block__select span:hover {background: var(--accent); color: #fff;}
.pmovie__rating-likes {position: static; margin-top: 20px;}
.pmovie__rating-likes > * {display: flex; align-items: center; height: 30px; border-radius: 15px; 
	background-color: #6ab04c; color: #fff; box-shadow: var(--bsh-2); padding: 0 15px 0 10px; 
	font-weight: 500; margin-right: 10px;}
.pmovie__rating-likes > * .fal {font-size: 16px; margin-right: 10px;}
.pmovie__rating-likes > * + * {background-color: #eb4d4b;}
.pmovie__rating-likes > a:hover {background-color: var(--accent); color: #fff;}

.not-loaded {overflow: hidden; position: relative; text-align: center;}
.not-loaded::after {content: 'Загрузка...'; display: inline-block; position: relative; z-index: 1;}
.not-loaded::before {background: repeating-linear-gradient(45deg,#111,#111 10px,#222 10px,#222 20px); 
	animation: move 10s infinite linear; animation-direction: alternate; content: ''; width: 200%; height: 20px; 
	position: absolute; left: 0; top: 50%; margin-top: -10px;}
@keyframes move {
	from {transform: translateX(-50%);}
	to {transform: translateX(0%);}
}

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {line-height: 1.7; font-size: 15px; word-wrap: break-word;}
.full-text a {text-decoration: underline; color: #5278b1;}
.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, .page__title {margin-bottom: 20px;}
.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: 5px; 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: -2px; 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: -2px; 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 table tr td {padding:10px; border:2px solid #fff;}
.full-text table tr:nth-child(2n+1) {background-color:#f2f6f9;} 
.full-text table tr:nth-child(1) {background-color:#cee0ed;}
.full-text table img:not(.emoji) {margin:0; max-width:350px}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 60%; 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;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}


/* COMMENTS
----------------------------------------------- */
.page__comments {margin: 0; margin-top: 40px;}
.page__comments-title {font-size: 22px; font-weight: 500; margin-bottom: 20px;}
.page__comments-info {font-size: 14px; margin-bottom: 15px; margin-top: -15px; 
	color: var(--tt-3); line-height: 1.5;}
.page__comments-info .fal {color: #eb4d4b; margin-right: 6px;}
.page__comments-list {padding: 0;}
.page__comments-list--not-comments {padding: 0; border: 0;}
.add-comments-form.form {padding: 0; margin-bottom: 20px;}
.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea, 
.mass_comments_action select {box-shadow: inset 0 0 0 1px #111; border-radius: 0;}
.add-comments-form__input {margin-left: 20px;}
.add-comments-form .d-none, .comments_subscribe + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px; white-space: nowrap; margin-bottom: 20px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

.comment-item__title {font-weight: 500; font-size: 18px; margin-bottom: 20px;}
.comment-item {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 500; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author {font-weight: 500; font-size: 14px;}
.comment-item__date {color: var(--tt-3); margin-top: 4px; font-size: 12px;}
.comment-item__main {margin: 8px 0 6px 0; font-size: 15px;}
.comment-item__rating {white-space: nowrap; font-size: 14px;}
.comment-item__rating a {margin-left: 6px;}
.comment-item__rating a > span:first-child {color: #6ab04c; margin-right: 2px;}
.comment-item__rating a:last-child > span:first-child {color: #eb4d4b;}
.comment-item__reply a {font-size: 12px; margin-right: 20px; color: var(--tt-2);}
.comment-item__reply a .fal {margin-left: 5px;}
.comment-item__reply + .comment-item__reply a .fal {margin-left: 0; margin-right: 5px;}
.comment-item__controls {text-align: right; font-size: 12px; margin-right: -15px;}
.comment-item__controls li {display: inline-block; vertical-align: middle; margin: 0 0 0 10px; height: 16px; line-height: 16px;}
.comment-item__controls a:not(:hover) {color: var(--tt-2);}
.comment-item__footer a:hover {text-decoration: underline;}
.comment-item__rating a:hover > span:first-child {text-decoration: none;}
.comment-item__controls .checkbox {transform: scale(0.8,0.8); margin-left: 5px;}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: var(--ui-bg); border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
.login__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
.login__title {font-size: 17px; font-weight: 500; padding: 1px 0; text-transform: capitalize;}
.login__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
.login__title a {border-bottom: 1px dotted var(--tt-3); margin-left: 10px; font-weight: 400; color: var(--tt-3);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-3);}
.login__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
.login__input input {padding-left: 40px;}
.login__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%;}
.login__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
.login__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}
.login__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 13px;}
.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}


/**
 * 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; left: 0; right: 0; top: 40%;}
 .owl-prev, .owl-next {display: flex; cursor: pointer; box-shadow: none; width: 40px; height: 30px; 
	background: none; color: var(--tt-2); position: absolute; top: 0; font-size: 28px; margin-top: -15px;}
 .owl-prev {left: -50px;}
 .owl-next {right: -50px;}
 .owl-prev:hover, .owl-next:hover {background: none; color: var(--accent);}
 .owl-dots {text-align: center; position: absolute; left: 0; right: 0; bottom: -37px;}
 .owl-dot {display: inline-block; width: 16px; height: 16px; border-radius: 50%; 
	cursor: pointer; background: var(--bg); margin: 0 5px; box-shadow: var(--bsh-2);}
.owl-dot.active, .owl-dot:hover {background: var(--accent);}


/* 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;
	padding: 10px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s; 
	background: var(--gradient); color: #fff;}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
	background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu .header__menu, .mobile-menu .side-block__menu-hidden {margin: 0; padding: 10px 20px; display: block; background: var(--bg-3); 
	width: calc(100% + 40px); margin: -10px -20px 25px -20px; max-width: none;}
.mobile-menu .header__menu > li {width: 100%; margin: 0; padding: 0;}
.mobile-menu .header__menu > li > a {height: 40px; color: #fff;}
.mobile-menu .side-block__menu-hidden {background-color: var(--bg); position: static; 
	opacity: 1; visibility: visible; transform: none; border: 0; margin-top: 30px; padding-top: 20px;}

@media screen and (max-width: 1220px) {
	body {background-image: none;}
	.wrappers {padding: 0; background-image: none; overflow: hidden;}
	.wrapper-container {max-width:1000px;}
	.header__menu, .col-side .js-this-in-mobile-menu11, .pagination__pages-btn {display: none;}
	.header__btn {background-color: var(--bg-2); color: var(--tt-2);}
	.header__btn-menu {cursor: pointer; width: 40px; height: 40px; border-radius: 50%; line-height: 40px; 
		text-align: center; box-shadow: var(--bsh-2); background: var(--gradient); color: #fff; 
		display: block; margin-left: 10px; font-size: 18px;}
	.header__search {flex: 1 1 0; margin: 0 20px; max-width: 100%; min-width: 50px;}
	.header {margin-bottom: 0; position: static; padding: 0 var(--indent);}
	.carou {padding: 20px; padding-bottom: 60px;}
	.d-grid, #m-cont {grid-gap: 20px 20px; grid-template-columns: repeat(auto-fill,minmax(140px,1fr));}
	.col-main {padding-top: 30px;}
	.col-side {width: 220px; padding: 30px 20px 100px 20px; order: 10;}
	.side-block + .side-block {padding: 30px 20px 0 20px; margin-left: -20px; margin-right: -20px;}
	#scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}
	.logo__title, .logo__caption {color: var(--tt);}
	.logo {width: auto; margin: 0;}

	.page__subcols {padding-top: 20px; padding-bottom: 20px;}
	.page__subcol-side {margin-right: 20px;}
	.page__subcol-side2, .page__col-side {width: 100%; margin: 0; margin-top: 20px;}
	.pmovie__header-list li + li {margin-top: 5px;}
	.pmovie__player {margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	.tabs-block__select span {margin: 0;}
	.pmovie__rating-likes {position: static; margin-top: 20px; padding-left: 20px;}
	.pmovie__complaint {margin-top: -30px; padding-right:20px;}
}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
	.carou__content > .top {width: calc((100% - 60px)/5);}
	.col-side {display: none;}
	.col-side .js-this-in-mobile-menu {display: none;}
	.footer {justify-content: center; text-align: center; background-image: none; padding: 20px;}
	.footer__text {min-width: 100%; margin: 0 0 20px 0;}
}

@media screen and (max-width: 760px) {
	.wrapper-container {max-width:640px;}
	.carou__content > .top {width: calc((100% - 30px)/3);}
	.header__search {order: 10; min-width: 100%; margin: 0;}
	.header {height: auto; padding-bottom: 20px; margin-top: 10px;}
	.logo {flex: 1 1 0; min-width: 50px; max-width: 100%; margin-right: 20px;}

	.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;}
	
	.add-comments-form__input {min-width: 100%; margin: 0 0 10px 0;}
	.add-comments-form__btn {width: 100%; order: 10;}
	.add-comments-form .form__row--protect .form__caption {width: 100%; margin: 0 0 10px 0;}
	.mass_comments_action, .comment-item__controls, .comment-item__rating-caption {display: none;}
}

@media screen and (max-width: 590px) {
	.wrapper-container22 {max-width:480px;}
	.login {max-width: 90%; max-height: 90%; overflow-x: hidden; overflow-y: auto;}
	.login__header, .login__content, .login__social, .pages-bg {padding-left: 20px; padding-right: 20px;}
	.carou__content > .top {width: calc((100% - 30px)/3);}
	.footer .btn {width: 100%; margin: 0; margin-bottom: 20px;}

	.page__subcols {display: block; position: relative;}
	.page__subcol-side {width: 120px; float: left; margin-right: 10px;}
	.pmovie__poster {width: 120px; height: 180px;}
	.page__subcol-main h1 {font-size: 18px;}
	.page__subcol-main {display: inline;}
	.pmovie__ratings {margin: 0; justify-content: space-between;}
	.pmovie__ratings-caption {display: none;}
	.pmovie__rating {margin: 0;}
	.pmovie__rating--site {margin-right: 0px;}
	.pmovie__ratings {width: 100%; padding-top: 5px;}
	.pmovie__ratings::before {content: ""; display: table; clear: both; width: 100%;}
	.pmovie__subinfo {justify-content: space-between; margin: 0; margin-top: 20px; margin-bottom:20px;}
	.pmovie__share {min-width: 100%; text-align: center;}
	.tabs-block__select span {flex: 1 1 0; min-width: auto; max-width: 100%; white-space: nowrap; text-align: center;}
}

@media screen and (max-width: 470px) {
	.wrapper-container22 {max-width:360px;}
	.carou__content > .top {width: calc((100% - 20px)/3); margin-right: 10px;}
	.top__desc {padding: 10px; font-size: 13px;}
	.header__logo > * {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
}

.filter-block {margin-bottom: 30px;}
.filter-block__form {display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); grid-gap: 10px 10px;}
/*.filter-block__cell {margin-left: 10px;}*/
.filter-block__cell--full-width {grid-column: 1 / -1;}
.filter-block__cell-caption {margin-bottom: 10px;}
.filter-block__cell-content > * {width: 100%; display: block;}
.filter-block__cell-content--two-columns {display: flex; justify-content: space-between;}
.filter-block__cell-content--two-columns > * {width: calc((100% - 10px)/2) !important;}
.filter-block__cell-content select, .filter-block__cell-content input[type="text"], 
.filter-block__cell-content--check-group {height: 40px; line-height: 36px; background-position: right 14px top 54%;
	background-color: var(--bg); color: var(--tt); border: 2px solid var(--bdc); border-radius: 20px; 
	box-shadow: none; font-size: 14px;  padding: 0 15px; background-size: 10px; display: inline-block;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: auto; box-sizing: border-box;}
.filter-block__cell-content select {padding: 0 30px 0 10px;}
.filter-block__cell-content input[type="text"]::placeholder {opacity: 1; color: var(--tt); font-size: 14px;}
.filter-block__cell-content input[type="text"]:focus::placeholder {opacity: 0;}
.filter-block__cell-content--inp-year input {width: 80px !important;}
[data-dlefilter="reset"] {width: 40px; background-color: var(--bg-2); color: var(--tt-2); 
	padding: 0; font-size: 18px; border: 1px solid var(--bdc);}
	
.filter-block__cell-content select[multiple] {
    height: auto;
    min-height: 120px;
    width: 100%;
    padding: 10px;
    background-position: unset;
    white-space: normal;
    overflow-y: auto;
    display: block;
    border-radius: 10px;
}



/*
@media screen and (max-width: 1220px) {
	.filter-block {width: 100%; margin-bottom: -10px; margin-top: 20px;}
	.filter-block__cell {margin: 0 10px 10px 0;}
}
@media screen and (max-width: 470px) {
	.filter-block__form {justify-content: space-between;}
	.filter-block__cell {margin-right: 0; width: 100%;}
	.filter-block__cell:first-child {width: calc(100% - 50px); order: 10;}
	.filter-block__cell-content > * {width: 100% !important;}
	.filter-block__cell-content--inp-year input {width: 100% !important;}
	.filter-block__cell--btns {width: 40px; order: 11;}
}
*/
	
/* FLEX FALLBACK FOR SMART TV
----------------------------------------------- */
/*
@media screen and (min-width: 1800px) {
    #m-cont, .d-grid {display: flex; justify-content: space-between; flex-wrap: wrap; grid-gap: 0 0;}
    #m-cont > *:not(.grid-item), #m-cont {width: 100%;}
    .poster {width: 23%; margin-bottom: 30px;}
	.pagination {margin-top: -10px;}
	.page__comments {margin-top: -30px;}
}
*/

.age {
    display: inline-block;
    padding: 3px 12px;  /* Еще меньше вертикальные отступы */
    margin-right: 10px;
    font-weight: bold;
    text-transform: uppercase; /* Заглавные буквы */
    border-radius: 4px; /* Чуть менее округлые углы */
    line-height: 1; /* Уменьшаем высоту строки */
}

@media (min-width: 1221px) {
  .pmovie__btn {
    display: none;
  }
}

.page__text {
    position: relative;
    padding-bottom: 40px; /* Место для кнопки */
    
}

.text-container {
    max-height: 150px; /* Ограничение высоты для длинного текста */
    overflow: hidden;
    position: relative;
    line-height: 1.6;
    transition: max-height 0.3s ease; /* Плавное разворачивание */
}

.text-container.blur::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Высота размытого слоя */
    background: linear-gradient(to bottom, rgba(44, 45, 51, 0) 40%, rgba(44, 45, 51, 0.8) 80%, #2c2d33 100%);
    pointer-events: none;
    z-index: 1; /* Размытие выше текста */
}

.page__text.expanded .text-container {
    max-height: none; /* Убираем ограничение высоты */
    overflow: visible; /* Показываем весь текст */
}

.page__text.expanded .text-container.blur::after {
    display: none; /* Скрываем размытие при разворачивании */
}

.toggle-button {
  text-transform: none;
  position: absolute; /* Для расположения справа */
  right: 0; /* Чуть смещаем левее */
  /*bottom: -30px;*/ /* Расположение у нижнего края контейнера */
  color: #D84B40; /* Зеленый цвет текста */
  border: none;
  background: none; /* Убираем фон */
  cursor: pointer;
  font-size: 15px; /* Увеличиваем размер текста кнопки */
  padding: 5px; /* Добавляем немного внутреннего отступа для лучшей видимости */
  outline: none; /* Убираем подсветку при фокусе */
  text-decoration: none; /* Без подчеркивания по умолчанию */
  z-index: 2; /* Кнопка выше текста и размытия */
}

.toggle-button:hover {
  text-decoration: underline; /* Подчеркивание текста при наведении */
  color: #D84B40; /* Оставляем текст зелёным при наведении */
  background: none; /* Убираем фон при наведении */
}

.toggle-button:focus {
  outline: none; /* Убираем обводку при фокусе */
  text-decoration: underline; /* Подчеркивание при фокусе */
  color: #D84B40; /* Оставляем текст зелёным при фокусе */
  background: none; /* Убираем фон при фокусе */
}


/*--- SEARCH SUGGESTIONS---*/
#searchsuggestions {z-index: 99998; word-wrap: break-word; max-height: 60vh; overflow-x: hidden; overflow-y: auto; border-radius: var(--ui-bdrs);
	background: var(--ui-bg); box-shadow: 0 10px 20px rgba(0,0,0,0.3); width: var(--searchWidth,300px);}
#searchsuggestions span {display: block; font-size: 14px;}
#searchsuggestions span.notfound {padding: 20px; border-bottom: 1px solid var(--ui-bdc); text-align: center;}
#searchsuggestions span.seperator a {padding: 20px; text-align: center; background-color: var(--ui-bg-darker); display: block;}
.fs-result {padding: 10px; border-bottom: 1px solid var(--ui-bdc); display: flex !important; align-items: center;}
.fs-result__img {width: 40px; height: 60px; margin-right: 10px; border-radius: var(--ui-bdrs);}
.fs-result__title {font-weight: var(--ui-fw-bolder); font-size: 14px;}
.fs-result__meta {margin-top: 6px; color: #b0b0af; font-size: 12px; gap: 10px;}
.fs-result__rating {border-radius: var(--ui-bdrs); padding: 3px 6px; font-weight: var(--ui-fw-bolder); background: var(--ui-green); color: #fff;}


@media (min-width: 950px) {
    .footer {
        flex-direction: row-reverse;
    }
}

.otmena a {all: unset;}


.sorter {position: relative; cursor: pointer; height: 40px; display: flex; align-items: center; gap: 10px; min-width: 162px;}
.sorter form {display: none; background-color: var(--bg); padding: 0px; 
	box-shadow: var(--bsh); position: absolute; right: 0; top: 100%; 
	width: 100%; z-index: 99; border-radius: 10px;}


.modal {
  position: fixed;
  z-index: 1000; /* На переднем плане */
  left: 0;
  top: 0;
  width: 100%; /* Полный экран */
  height: 100%; /* Полный экран */
  overflow: auto; /* Прокрутка, если нужно */
  background-color: rgba(0, 0, 0, 0.8); /* Полупрозрачный фон */
  display: flex; /* Используем flexbox для выравнивания */
  justify-content: center; /* Выравнивание по центру по горизонтали */
  align-items: center; /* Выравнивание по центру по вертикали */
  visibility: hidden; /* Изначально скрыто */
  opacity: 0; /* Изначально непрозрачно */
  transition: visibility 0s, opacity 0.3s ease; /* Плавное изменение */
}

.modal.show {
  visibility: visible; /* Показываем при добавлении класса .show */
  opacity: 1; /* Делаем видимым */
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 100%; /* Ограничиваем ширину по экрану */
  max-height: 100%; /* Ограничиваем высоту по экрану */
  object-fit: contain; /* Изображение сохраняет пропорции */
}

.modal:hover {
  cursor: pointer;
}

