/* Адаптирован и доработан DLETM.RU */
/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper::before {content: ''; position: absolute; left: 0%; top: 0; z-index: 3;
	background: var(--gradient); width: 100%; padding-top: 100%; box-sizing: border-box;} 
.wrapper-container {max-width: var(--max-width); padding: 0 var(--indent); margin: 0 auto; position: relative; z-index: 20;}
.content {min-height: calc(100vw - 200px); padding-top: 60px; padding-bottom: 80px;}
.header__inner {padding: 30px 0; gap: 30px; border-bottom: 1px solid var(--bdc);} 
.header {position: sticky; left: 0; top: 0; z-index: 100;}
.header.sticky {transform: translateY(-150%);}
.header.is-active, .menu-is-opened .header {background-color: var(--bg); box-shadow: 0 0 15px rgba(0,0,0,0.6);}
.header.is-active .header__inner {border-color: transparent;}
.menu-is-opened .header {transform: none !important;}
.menu-is-opened .header__inner {border-color: var(--bdc) !important;}
.footer {padding-top: 30px; padding-bottom: 30px; gap: 30px; border-top: 1px solid var(--bdc);}
.blurred-bg {position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 500px; overflow: hidden; display: none;}
.blurred-bg img {width: 120%; height: 120%; object-fit: cover; filter: blur(8px) grayscale(0.6); opacity: 0.35;}
.blurred-bg::after {content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 50%; background: var(--gradient-top);}
	
#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-fader); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.5);}


/* HEADER, NAV
----------------------------------------------- */
.logo {display: block; text-transform: uppercase; font-size: 22px; letter-spacing: 5px;}
.logo span {color: var(--accent);}
.header__logo {min-width: 200px;}
.header__btn-menu {font-size: 24px; padding: 0; background: none !important; width: 24px;}

.header__search-box {position:relative; max-width: 500px;}
.header__search-box input, .header__search-box input:focus {padding: 0 60px 0 13px; border-radius: 3px; 
	background: rgba(255,255,255,0.1); box-shadow: none; color: #fff; height: 36px; line-height: 36px;}
.header__search-box input:not(:focus)::placeholder {color: var(--tt-fader); opacity: 1; font-size: 15px;} 
.header__search-box button {position:absolute; right: 0; top: 0; padding: 0; 
	background: none; color: var(--tt-fader); font-size: 18px; width: 50px; height: 36px;}

.header__login-btn--not-logged {height: 36px; padding: 0 15px;}
.header__login-pm {position: relative; font-size: 24px; margin-right: 20px;}
.header__login-pm::after {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	background-color: var(--accent); position: absolute; right: -1px; top: 3px;}
.header__login-btn--logged {padding: 0; display: block; width: 40px; height: 40px; border-radius: 50%;}
.header__login-pm:not(.header__login-pm--0)::after {animation: pmNew 1s infinite linear; animation-direction: alternate;}
@keyframes pmNew {
	from {background-color: #7ae026; box-shadow: 0 0 0 0 rgba(81, 175, 5,1);}
	to {background-color: #51af05; box-shadow: 0 0 0 10px rgba(81, 175, 5,0);}
}

.header__menu {position: absolute; left: 0; top: 100%; width: 100%; display: none;
	height: calc(100vh - 100px); background-color: var(--bg); overflow-x: hidden; overflow-y: auto;}
.header__menu-inner {padding-top: 40px; padding-bottom: 40px; display: grid; gap: 30px; 
	grid-template-columns: repeat(auto-fit,minmax(260px,1fr));}
.nav-title {font-size: 22px; font-weight: 400; margin-bottom: 20px; color: var(--tt-fader);}
.nav-menu + .nav-title {margin-top: 30px;}
.nav-menu li + li {margin-top: 10px;}
.nav-menu {column-gap: 30px; column-width: 240px; break-inside: avoid; font-size: 18px;}
.nav-menu li span {margin-left: 10px; color: var(--tt-fader-gray); font-size: 16px;}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 80px;}
.sect__header {margin-bottom: 30px;}
.sect__header--bordered {border-bottom: 1px solid var(--bdc);}
.sect__title {font-size: 1.3em; font-weight: 400;}
.sect__menu {gap: 30px; font-size: 1.3em; margin-bottom: -1px; font-weight: 400;}
.sect__menu a, .sect__menu span {display: inline-block; padding-bottom: 15px;}
.sect__menu span {box-shadow: inset 0 -2px var(--accent)}
.sect--slider, .sect--carousel .sect__content {margin: 0 110px;}
.sect--carousel .sect__content:not(.owl-carousel), .sect--slider:not(.owl-carousel) {display: flex; overflow: hidden;}
.sect__content > .item-poster--carousel {width: calc((100% - 90px)/4); flex-shrink: 0; margin-right: 30px;}
.sect--slider > .item-slide {width: 100%; flex-shrink: 0;}
.site-desc {display: grid; grid-gap: 20px; line-height: 1.7;}
.site-desc h1, .site-desc h2, .site-desc h3 {font-weight: 400; font-size: 1.3em; color: var(--tt);}
.site-desc a {text-decoration: underline; color: var(--tt);}
.site-desc ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.site-desc ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}


/* COMMON ITEM
----------------------------------------------- */
/* Измененный стиль для плашки просмотров */
.item__views {
    position: absolute;
    bottom: 15px;
    left: 15px; /* Прижмем к левому краю */
    background: rgba(15, 17, 24, 0.85); /* Глубокий темный фон (почти непрозрачный) */
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 6px; /* Чуть более строгие углы */
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 20;
    
    /* Рамка, чтобы плашка не сливалась с темными постерами */
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Эффект стекла */
    backdrop-filter: blur(8px);
    
    /* Скрыть до наведения */
    /* Чтобы плашка красиво "всплывала" снизу вверх при наведении */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); 
}

/* Появление при наведении */
.item:hover .item__views {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Яркий глаз - желтый или бирюзовый для контраста */
.item__views i {
    color: #ffc107; /* Благородный желтый только для иконки */
    margin-right: 6px;
    font-size: 14px;
    filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.4)); /* Легкое свечение глаза */
}



.item__play-btn {position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 5; 
	display: grid; place-items: center; background-color: rgba(0,0,0,0.5); opacity: 0;}
.item__play-btn span {font-size: 22px; width: 70px; height: 70px; border-radius: 50%; padding-left: 3px;
	display: grid; place-items: center; border: 2px solid var(--tt); color: var(--tt);}
	

/* SLIDER ITEM
----------------------------------------------- */
.item-slide .item__play-btn {background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); opacity: 1;}
.item-slide .item__play-btn span {width: 100px; height: 100px; font-size: 28px;}
.item-slide {gap: 30px;}
.item-slide__img {width: 425px; height: 255px; display: block; border-radius: 3px;}
.item-slide__title {font-size: 30px; letter-spacing: 2px;}
.item-slide__ext-rating {margin-left: 30px; font-weight: 400; font-size: 22px; color: var(--accent);}
.item-slide__ext-rating--imdb {padding-left: 38px; background: url(../images/imdb.svg) 0 center / 30px auto no-repeat;}
.item-slide__ext-rating--kp {padding-left: 26px; background: url(../images/kp.svg) 0 center / 20px auto no-repeat; 
	color: #ff6600; margin-left: 15px;}
.item-slide__meta {margin-top: 10px; opacity: 0.75; font-size: 16px;}
.item-slide__text {margin-top: 25px; -webkit-line-clamp: 5; text-align: justify;}


/* POSTER ITEM
----------------------------------------------- */
.sect--carousel .item-poster__title {font-size: 1.1em;}
.item-poster {display: block; text-align: center;}
.item-poster__img {margin-bottom: 20px; border-radius: 3px;}
.item-poster__title {font-weight: 400;}
.item-poster__meta {margin-top: 5px; font-size: 0.8em;}
.item-poster__desc-btn {font-size: 16px; cursor: pointer; position: absolute; right: 10px; top: 8px; z-index: 10; 
	display: grid; place-items: center; border: 2px solid var(--tt); color: var(--tt); 
	width: 30px; height: 30px; border-radius: 50%; opacity: 0;}

.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; z-index: 999; top: 0; height: 100vh; width: 400px; right: 0px; 
	background-color: var(--bg); padding: 30px; overflow: hidden;}
.pop-left .poster-ext {right: auto; left: 0;}
.poster-ext:not(.not-loaded):after {content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 100px; background: var(--gradient-top);}
.not-loaded {overflow: hidden; position: relative; text-align: center;}
.not-loaded::after {content: 'Загрузка...'; display: inline-block; position: relative; z-index: 1; font-size: 24px;}
.not-loaded::before {background: repeating-linear-gradient(45deg,#000,#000 10px,#111 10px,#111 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%);}
}
.poster-ext .pmovie__header-main h1 {font-size: 22px; line-height: 1.2; font-weight: 400; letter-spacing: 0;}
.poster-ext .pmovie__actors {min-width: 100%; margin: 20px 0;}
.poster-ext .not-shown-ajax, .poster-ext .pmovie__header-main h1 a {display: none !important;}
.poster-ext .pmovie__text {margin-top: 15px;}
.poster-ext .item-slide__ext-rating {font-size: 18px; margin: 0; margin-left: 15px;}
.poster-ext .pmovie__list {margin-top: 15px; gap: 5px;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__menu {gap: 20px; font-weight: 400;}

.pagination {gap: 30px; text-align: center; padding-top: 50px;}
.pagination__pages {gap: 5px;}
.pagination__pages a, .pagination__pages span, .pagination__pages-btn a, .pagination__pages-btn > span 
{display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 400;}
.pagination__pages span:not(.nav_ext) {background-color: var(--accent); color: var(--accent-text); margin: 0 5px;}
.pagination__pages-btn > span, .pagination__pages-btn a {border: 1px solid var(--bdc-lighter);}


#player-pagination .pagination__pages a, #player-pagination .pagination__pages-btn a{
    color: var(--tt) !important;
    text-decoration: none !important;
}

#player-pagination {
    margin-top: -15px;
    margin-bottom: 28px;
}

/* INNER PAGE
----------------------------------------------- */
.pmovie__grid {display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 30px 50px; margin: -10px 0 60px 0; 
	grid-template-areas: "pleft pheader" "pleft pmain" "pleft pbottom"; align-items: start; align-content: start;}
.pmovie__header {grid-area: pheader;}
.pmovie__left {grid-area: pleft;}
.pmovie__main {grid-area: pmain;}
.pmovie__bottom {grid-area: pbottom;}

.pmovie__img {width: 230px; height: 340px; border-radius: 3px;}
.pmovie__fav {margin-top: 20px; margin-bottom: 50px; width: 100%; padding: 0;}
.pmovie__fav a {display: flex; align-items: center; justify-content: center; height: 100%; gap: 10px;}
.pmovie__subtitle {margin-bottom: 20px;}
.pmovie__devices li {text-align: center; font-size: 0.7em; text-transform: uppercase;}
.pmovie__devices [class*=fa] {display: block; height: 40px; font-size: 38px;}
.pmovie__devices li:last-child [class*=fa] {font-size: 30px; padding-top: 6px;}
.pmovie__caption {margin-top: 20px; font-size: 0.9em;}
.pmovie__rating-likes {position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 10; gap: 20px;}
.pmovie__rating-likes > * {display: flex; align-items: center; height: 40px; gap: 10px; font-weight: 400;}
.pmovie__rating-likes .fal {background-color: #5d9b42; color: #fff; display: grid; place-items: center; 
	width: 40px; height: 40px; border-radius: 50%;}
.pmovie__rating-likes > * + * .fal {background-color: #ea162a;}

.pmovie__header-main h1 {font-size: 30px; letter-spacing: 2px;}
.pmovie__header-main h1 a {margin-left: 10px; font-size: 16px;}
.pmovie__original {text-transform: uppercase; font-weight: 400; font-size: 0.8em; letter-spacing: 1px; margin-top: 10px; opacity: 0.75;}
.pmovie__actors {margin-left: 30px; gap: 6px;}
.pmovie__actors img {width: 40px; height: 40px; border-radius: 50%; object-fit: cover;}
.pmovie__list {font-weight: 400; display: grid; grid-gap: 8px; font-size: 0.9em;}
.pmovie__list li > span:first-child {color: var(--tt);}
.pmovie__text {margin: 26px 0 0 0;}

.pmovie__player {position: relative; margin-bottom: 50px;}
.tabs-block__content {background-color: #000;}
.pmovie__complaint {position: absolute; right: 0; top: 10px; white-space: nowrap;}
.pmovie__complaint a {color: #eb2121; border-bottom: 1px dotted #eb2121;}
.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-brighter); color: var(--tt-fader-gray); font-weight: 400;}
.tabs-block__select span.is-active, .tabs-block__select span:hover {color: var(--tt);}



/* Контейнер для плашек в полной новости */

/* Только расположение и размеры */
.pmovie__meta {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

/* Настраиваем только форму, цвета подтянутся из .btn шаблона */
.pmovie__meta-item.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 15px;
    border-radius: 8px; /* или 20px, если круглые как избранное */
    font-size: 13px;
    cursor: default;
}

/* Желтый глаз оставляем — это наш кастом */
.pmovie__meta-item.views span {
    color: #ffc107 !important;
}

/* Отступ для иконок */
.pmovie__meta-item.btn span {
    margin-right: 8px;
}

/* Для активных кнопок меняем курсор */
.pmovie__meta-item.share, .pmovie__meta-item.report {
    cursor: pointer;
}

/* Делаем иконку треугольника красной */
.pmovie__meta-item.report span {
    color: #ff4d4d; /* Яркий красный цвет */
    margin-right: 5px; /* Небольшой отступ от текста */
}

/* Эффект при наведении (опционально), чтобы кнопка оживала */
.pmovie__meta-item.report:hover span {
    color: #ff0000; /* Еще более насыщенный красный */
    transform: scale(1.1); /* Легкое увеличение иконки */
    transition: 0.2s;
}


/* =========================================================
   АДАПТИВНОСТЬ КНОПОК: УПЛОТНЕНИЕ ДЛЯ МОБИЛЬНЫХ
============================================================ */

@media screen and (max-width: 950px) {
    /* 1. Уменьшаем расстояние между кнопками */
    .pmovie__meta {
        gap: 6px !important; 
        justify-content: flex-start;
        margin-bottom: 20px !important;
    }

    /* 2. Делаем сами плашки компактнее */
    .pmovie__meta-item.btn {
        padding: 0 10px !important; /* Было 15px */
        font-size: 12px !important;  /* Чуть уменьшили шрифт */
        height: 32px !important;    /* Сделали чуть изящнее */
    }

    /* 3. Прижимаем иконку плотнее к тексту */
    .pmovie__meta-item.btn span {
        margin-right: 5px !important; /* Было 8px */
    }
}

/* Дополнительный "фикс" для очень узких экранов (менее 400px) */
@media screen and (max-width: 400px) {
    .pmovie__meta-item.btn {
        padding: 0 8px !important;
        letter-spacing: -0.3px; /* Слегка сужаем межбуквенный интервал */
    }
}



/* Контейнер для кнопки share и меню */
.share-wrapper {
    position: relative;
    display: inline-block;
}

/* Настройки выпадающего меню */
.share-dropdown-custom {
    display: none; /* Скрыто по умолчанию */
    position: absolute;
    top: 110%; /* Выпадает строго под кнопкой */
    left: 0;
    background: #1a1a1a; /* темный фон */
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px;
    z-index: 9999;
    flex-wrap: wrap;
    width: 250px; 
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* Состояние при клике (активное) */
.share-dropdown-custom.active {
    display: flex;
}

/* Иконки внутри меню */
.share-dropdown-custom a {
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-dropdown-custom a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}






/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {line-height: 1.6; 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: 700;
	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;}
.page__comments-list {padding: 0;}
.page__comments-list--not-comments {padding: 0; border: 0;}
.add-comments-form.form {padding: 0; margin-bottom: 40px; display: none;}
.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea, 
.mass_comments_action select {border-radius: 0; background-color: var(--ui-bg-darker);}
.add-comments-form__input {margin-left: 20px;}
.add-comments-form .d-none, .comments_subscribe + br {display: none;}
.mass_comments_action {display: none; 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;}
.show-comms > a {display: inline-block; font-weight: 400; color: var(--accent);}
.page__comments-header {margin-bottom: 30px; gap: 15px;}

.comment-item__title {font-size: 18px; margin-bottom: 20px;}
.comment-item {margin-bottom: 20px; padding-bottom: 20px; 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: 400; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author {font-weight: 400; font-size: 14px; color: var(--accent);}
.comment-item__date {font-weight: 400; color: var(--tt); margin-top: 4px; font-size: 14px;}
.comment-item__main {margin: 8px 0 6px 0; font-size: 16px; color: var(--tt-fader);}
.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-fader);}
.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-fader);}
.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;}

@media screen and (min-width: 1220px) {
	.comment-item {padding-left: 55px; position: relative;}
	.comment-item__img {margin: 0; position: absolute; left: 0; top: 0;}
	.comment-item__meta {display: flex; gap: 10px;}
	.comment-item__date {margin: 0; font-size: 14px; opacity: 0.6;}
	.wrapper::before {animation: blink 20s infinite ease-in-out; animation-direction: normal; will-change: transform;
		--gradient: radial-gradient(circle closest-side at center, #50536b 0%, transparent 100%);}
	@keyframes blink {
		0% {transform: translateX(0%); opacity: 1;}
		25% {transform: translateX(-75%); opacity: 0;}
		50% {transform: translateX(0%); opacity: 1;}
		75% {transform: translateX(75%); opacity: 0;}
		0% {transform: translateX(0%); opacity: 1;}
	}
}


/* 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: 18px; font-weight: 400; 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-fader); margin-left: 10px; font-weight: 400; color: var(--tt-fader);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 16px; color: var(--tt-fader);}
.login__caption {font-size: 16px; 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: 15px;}
.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}

/*--- Подсветка исходного кода ---*/
.hljs-comment, .hljs-quote {
  color: #a0a1a7;
  font-style: italic;
}

.hljs-doctag, .hljs-keyword, .hljs-formula {
  color: #a626a4;
}

.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {
  color: #e45649;
}

.hljs-literal {
  color: #0184bb;
}

.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {
  color: #50a14f;
}

.hljs-built_in, .hljs-class .hljs-title {
  color: #c18401;
}

.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr,
.hljs-selector-pseudo, .hljs-number {
  color: #986801;
}

.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {
  color: #4078f2;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-link {
  text-decoration: underline;
}

figure {
    margin: 0;
}

figure.align-left {
    float: left;
}

figure.align-right {
    float: right;
}

figure.image.align-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

figure.image figcaption {
	padding: 1rem;
    background-color: #fafafa;
    font-size: .8rem;
    caption-side: bottom;
    word-break: break-word;
    text-align: center;
}

figure.image.align-center figcaption {
	display: table-caption;
}

.comments-image-gallery {
  margin: 0;
  padding: 0;  
  list-style: none;
  clear: both;
}

.comments-image-gallery li{
	list-style: none;
	margin: 0;
	padding: 0;  
}

.comments-image-gallery li img{
  float: left;
  margin-right: 5px;
  border: 5px solid #fff;
  width: 100px;
  height: 100px;
  transition: box-shadow 0.5s ease;
}

.comments-image-gallery li img:hover {
  box-shadow: 0px 0px 7px rgba(0,0,0,0.4);
}

.mce-toc {
  border: 1px solid #dbdada;
  margin: 0 0 .7rem 0;
}

.mce-toc h2 {
  margin: 4px;
}

.mce-toc ul {
  padding-left: 20px;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.mce-toc ul ul {
  padding-left: 20px;
  margin-block-start: 0;
  margin-block-end: 0;
}

.mce-toc li {
  list-style-type: none;
}

.image-bordered {
	border: 1px solid #ddd;
}

.image-shadows {
	box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px;
}

.image-padded {
	padding: 0.5rem;
}

.comments-user-profile {
  font-weight: bold;
  cursor: pointer;
  color: #3394e6;
}


.title_spoiler svg{
	vertical-align: middle;
	margin-top: -4px;
	margin-right: 7px;
	height: 16px;
	width: 16px;
}


/**
 * 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 {position: relative; z-index: 1; user-select: none;}
 .owl-stage-outer {position: relative; overflow: hidden;}
 .owl-stage {display:flex; justify-content:flex-start; will-change: transform;}
 .owl-nav.disabled, .owl-dots.disabled {display: none;}
 .owl-carousel .animated {animation-duration: 0.6s; animation-fill-mode: both; position: relative;}
 .owl-animated-in {z-index: 0;}
 .owl-animated-out {z-index: 1;}
 .owl-carousel .fadeOut {animation-name: fadeOut;}
 @keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
 .owl-carousel .fadeIn {animation-name: fadeIn;}
 @keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
 
 .owl-nav {position: absolute; left: 0; right: 0; top: 50%;}
 .owl-prev, .owl-next {display: flex; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; margin-top: -25px; 
	border: 1px solid var(--bdc-lighter); color: var(--tt); position: absolute; top: 0; font-size: 24px;}
 .owl-prev {left: -110px; padding-right: 5px;}
 .owl-next {right: -110px; padding-left: 5px;}
 .owl-prev:hover, .owl-next:hover, .sect--slider .owl-next {border-color: var(--accent); color: var(--accent); background: none;}
 .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;}
.owl-dot.active, .owl-dot:hover {background: var(--accent);}
	
.sect--carousel .owl-nav button {margin-top: -45px;}
.sect--carousel .owl-stage-outer {overflow: visible;}
.sect--carousel .owl-item:not(.active) {opacity: 0.25; filter: grayscale(0.6); pointer-events: none;}
.sect--carousel .owl-item {transition: opacity .3s linear;}


/* 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(--bg-3); 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 .header__menu-hidden {background-color: var(--bg); position: static; width: calc(100% + 40px);
	opacity: 1; visibility: visible; transform: none; border: 0; margin: 10px -20px; padding: 20px;}

@media screen and (max-width: 1220px) {
	body {background-image: none;}
	.wrapper-container {max-width:1000px;}
	.header__logo {min-width: auto;}
	.header__search-box {max-width: 100%;}
	.item-slide__img {width: 255px;}
	.sect__content > .item-poster--carousel {width: calc((100% - 45px)/4); margin-right: 15px;}
	.sect__menu {font-size: 1em; gap: 20px;}
	.grid-items, #dle-content {grid-gap: 30px 15px; grid-template-columns: repeat(auto-fill,minmax(160px,1fr));}
	.menu-is-opened {overflow: hidden;}
	.content {overflow: hidden; padding-left: var(--indent); padding-right: var(--indent); 
		margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	
	.pmovie__grid {gap: 30px 20px;}
	.pmovie__header-main h1 {min-width: 100%;}
	.pmovie__header-main .item-slide__ext-rating {margin: 0;}
	.pmovie__header-main .item-slide__ext-rating--imdb {margin-right: 20px;}
	.pmovie__header-main .item-slide__ext-rating--kp {flex-grow: 1;}

}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
	.item-slide__img {display: none;}
	.sect__content > .item-poster--carousel {width: calc((100% - 30px)/3);}
	
	.pmovie__grid {grid-template-areas: "pleft pheader" "pleft pmain" "pbottom pbottom";}
	.pmovie__devices, .pmovie__left .pmovie__subtitle {display: none;}
	.pmovie__caption {margin: 0;}
	.pmovie__fav {margin: 15px 0;}
}

@media screen and (max-width: 760px) {
	.wrapper-container {max-width:640px;}
	.header__inner {padding-top: 15px; padding-bottom: 15px; gap: 15px;}
	.header__search {min-width: calc(100% - 100px); width: calc(100% - 100px); max-width: calc(100% - 100px);order: 10;}
	.theme-toggle {order: 11; margin: 0; margin-left: 10px;}
	.header__logo {flex: 1 1 0; max-width: 100%; min-width: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.sect--slider, .sect--carousel .sect__content {margin: 0 70px;}
	.owl-prev {left: -70px;}
	.owl-next {right: -70px;}
	.item-slide__title {font-size: 22px; white-space: normal;}
	.item-slide__ext-rating {font-size: 18px;}
	.sect--carousel .item-poster__title {font-size: 1em;}
	.sect__menu {min-width: 100%;}
	.sect__menu li {flex-grow: 1; white-space: nowrap; text-align: center; min-width: auto;}
	.pagination__pages-btn {display: none;}
	.pagination__pages {justify-content: center;}
	.footer {justify-content: center;}
	.footer__menu {min-width: 100%; justify-content: center;}
	#scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}

	.header__menu {height: calc(100vh - 121px);}
	.header__menu-inner {padding: 20px 20px;}
	.nav-title {font-size: 18px; margin-bottom: 5px;}
	.nav-menu + .nav-title {margin-top: 10px;}
	.nav-menu li + li {margin-top: 6px;}
	.nav-menu {font-size: 16px;}
	.nav-menu li span {font-size: 14px;}

	.pmovie__grid {grid-template-areas: "pheader" "pleft" "pmain" "pbottom"; grid-template-columns: minmax(0,1fr);}
	.pmovie__img {margin: 0 auto;}
	.pmovie__header-main {justify-content: center;}
	.pmovie__header-main .item-slide__ext-rating--kp {flex-grow: 0;}
	.pmovie__header-main h1, .pmovie__caption, .pmovie__original {text-align: center;}
	.pmovie__player {margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	.tabs-block__select span {margin: 0;}
	.tabs-block__select {gap: 5px;}
	.pmovie__complaint, .pmovie__actors {display: none;}
	.tabs-block__select span {flex: 1 1 0; min-width: auto; max-width: 100%; white-space: nowrap; text-align: center;}

	.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-container {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;}
	.item-slide__title {min-width: 100%;}
	.item-slide__ext-rating {margin: 0;}
	.item-slide__ext-rating--imdb {margin-right: 20px;}
	.item-slide__text {font-size: 0.9em; margin-top: 15px;}
	.sect__content > .item-poster--carousel {width: calc((100% - 15px)/2);}
}

@media screen and (max-width: 470px) {
	.wrapper-container123 {max-width:360px;}
	.sect--slider {margin-left: 0;}
	.sect--slider .owl-prev {display: none;}
	.item-slide__title {white-space: nowrap;}
	.sect__content > .item-poster--carousel {width: 100%;}
	.grid-items, #dle-content {grid-template-columns: repeat(auto-fill,minmax(140px,1fr));}
	.blurred-bg {height: 300px;}
	.blurred-bg img {filter: blur(5px) grayscale(0.6); opacity: 0.5;}
	.content {padding-top: 30px;}

	.pmovie__related .item-poster:nth-child(5n), .page__comments .sect__title {display: none;}
}

.filter-block {margin-top: -35px; flex-grow: 1; min-height: 53px;}
.filter-block__form {display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 60px;}
.filter-block__cell-caption {font-size: 0.8em; position: relative; padding-right: 23px; 
	margin-bottom: 1px; display: inline-block; font-weight: 400;}
.filter-block__cell-caption::before {content:"\f078"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	position: absolute; right: 0; top: 0px; font-size: 16px;}
.filter-block__cell {position: relative;}
.filter-block__cell-content select {height: 20px; display: none;}

.nice-select{cursor:pointer; position:relative; white-space:nowrap; z-index: 50;}
.nice-select::before {content: ''; position: absolute; left: 0; bottom: 0; right: 0; height: 53px;}
.nice-select .current {font-size: 1.3em; font-weight: 400; display: inline-block;}
.nice-select .list {position: absolute; left: 0; top: 100%; display: none; padding: 9px 0;
	background-color: rgba(0,0,0,0.5); box-shadow: 0 0 15px 0 rgba(0,0,0,0.3); backdrop-filter: blur(10px);}
.nice-select.open .list {display: block; max-height: 300px; overflow-x: hidden; overflow-y: auto;}
.nice-select .list li {padding: 3px 15px; cursor: pointer;}
.nice-select .selected, .nice-select .list li:hover, .nice-select:hover .current {color: var(--accent);}


@media screen and (max-width: 1220px) {
	.filter-block__form {gap: 20px;}
	.nice-select .current {font-size: 1em;}
	.filter-block {min-height: 46px;}
}
@media screen and (max-width: 760px) {
	.filter-block {display: none;}
	.sect__title[style] {padding-bottom: 0;}
}

.mce-accordion summary {
	cursor: pointer;
}

.self_delete_link {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	padding: 12px 27px;
	border-radius: 10px;
	outline: none;
	background-color: #f44336;
	color: #fff;
	text-shadow: 0 1px #333;
	text-decoration: none !important;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
	box-sizing: border-box;
	transition: all ease .1s; transition: all ease .1s;
}
.DLEPush {
	z-index: 2001;
	position: fixed;
	right: 20px;
	top: 20px
}

@keyframes DLEPush-show {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.DLEPush-notification.wrapper {
	animation-name: DLEPush-show;
	animation-duration: 1s;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
	background-color: #fff;
	border-radius: 10px
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 45px;
	height: 100%;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
	scale: .8;
}

.DLEPush-notification .DLEPush-header {
	font-weight: 500;
	grid-column: 2;
	grid-row: 1;
	font-size: 1rem;
	margin-left: 1rem;
	margin-top: .5rem;
}
.DLEPush-notification .DLEPush-header:empty {
	margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
	grid-column: 2;
	grid-row: 2;
	font-size: .875rem;
	margin: 1rem;
}

.DLEPush-notification .DLEPush-message li, .DLEPush-notification .DLEPush-message ul {
	list-style-type: none;
	padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
	position: absolute;
	top: 8px;
	right: 10px;
	font-weight: 300;
	background: none;
	border: 0;
	font-size: 1.15rem;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	color: inherit;
	outline: 0;
	opacity: 0.75;
}

@media only screen and (min-width: 601px) {
	.DLEPush-notification.wrapper {
		min-width: 400px;
	}
}

.DLEPush-notification .DLEPush-close:hover {
	opacity: 1;
}

.DLEPush-notification.wrapper.push-success {
	background-color: #e0f2f1;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background-color: #00897b;
}

.DLEPush-notification.wrapper.push-warning {
	background-color: #FFF3E0;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
	background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
	background-color: #FBE9E7;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background-color: #FF5722;
}

input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: 10px;
}
.ui-dialog-buttonset button.ui-button-delete {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.ui-dialog-buttonset button.ui-button-delete:hover {
    background-color: #db3a2f;
    border-color: #db3a2f;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.form-check-label {
    cursor: pointer;
}
.form-check-input {
    color: #0c5f7eed;
    flex-shrink: 0;
    width: 1.12rem;
    height: 1.12rem;
    margin: -0.188rem 0.625rem 0 0;
    appearance: none;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #0c5f7eed;
    vertical-align: middle;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230c5f7eed' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%230c5f7eed'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox] {
    border-radius: .25rem;
}

.form-check-input[type=radio] {
    border-radius: 50%;
}    



/* ИСПРАВЛЕНИЕ СЛАЙДЕРА ДЛЯ МАСШТАБА 150% (1280px) */

@media screen and (max-width: 1300px) {
    /* 1. Уменьшаем боковые поля (оставляем как было) */
    .sect--slider, .sect--carousel .sect__content {
        margin: 0 60px !important;
    }
    .owl-prev { left: -60px !important; }
    .owl-next { right: -60px !important; }

    /* 2. ИСПРАВЛЕНИЕ ПОСТЕРА: делаем его компактнее */
    .item-slide__img {
        width: 300px !important; /* Уменьшаем ширину (было 425) */
        height: 180px !important; /* Уменьшаем высоту (было 255) */
        object-fit: cover; /* Чтобы картинка не искажалась при сжатии */
    }

    /* 3. Центрируем контент, чтобы при переносе строк всё было ровно */
    .item-slide {
        display: flex;
        align-items: flex-start; /* Прижимаем текст к верху постера */
        gap: 25px !important;
    }

    /* 4. Заголовок (оставляем гибким, но чуть компактнее шрифт) */
    .item-slide__title {
        font-size: 22px !important; 
        white-space: normal !important;
        line-height: 1.2 !important;
        margin-bottom: 10px;
        display: block !important;
    }

        /* 5. Убираем лишние отступы у рейтингов только в СЛАЙДЕРЕ */
    .item-slide__header {
        flex-wrap: wrap;
        gap: 10px;
    }
    .sect--slider .item-slide__ext-rating {
        margin-left: 0 !important;
    }


    /* 6. Исправление отступа для блока Top Rated из-за уменьшения слайдера */
    .sect--carousel {
        margin-top: 40px !important;
    }
}
/* --- END --- */



/* --- Subscription & Section Styles --- */

.section {
    padding: 50px 0;
    position: relative;
    background-color: transparent !important; /* Основной фон секции */
}

.section--border { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.section--first { margin-top: 40px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.price-grid {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.price-column {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .price-column { flex: 0 0 50%; max-width: 50%; }
}


@media (min-width: 1000px) { /* Снизили порог, чтобы 100% масштаб подхватил это */
    .price-grid {
        display: flex !important;
        flex-wrap: nowrap !important; /* Жестко в один ряд */
        justify-content: space-between;
    }

    .price-column, .price-column--full {
        flex: 0 0 24% !important; /* 24% чтобы был микро-зазор */
        max-width: 24% !important;
        padding: 0 5px !important;
        margin-top: 0 !important; /* Убираем отступ, который был у нижней карточки */
    }

    .price {
        padding: 20px 15px !important;
        min-height: 350px; /* Фиксируем небольшую высоту, чтобы все были вровень */
    }

    .price__item--first span:last-child {
        font-size: 24px !important;
    }
}




/* --- Заголовки --- */
.section__title {
    color: #fff;
    font-weight: 400;
    font-size: 30px;
    line-height: 130%;
    margin-bottom: 15px;
}

.section__title b { font-weight: 600; color: #fff; }

.section__text {
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* --- Карточки Тарифов --- */
.price {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-top: 30px;
    position: relative;
    transition: 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price:hover { transform: translateY(-5px); }

.price--premium:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    display: block;
    background-color: #f9ab00;
    border-radius: 6px 6px 0 0;
}

.price__item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-size: 16px;
    color: #fff;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price__item--first {
    font-size: 24px;
    margin-top: 0;
    padding-top: 0;
    border: none;
    justify-content: space-between;
}

.price__item--first span:last-child {
    font-weight: 400;
    color: #29b474; /* Зелёный для обычных */
    font-size: 32px;
}

.price--premium .price__item--first span:last-child {
    color: #f9ab00; /* Золотой для Премиум */
}

/* Иконки Font Awesome Pro (fal) */
.price__item i {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300; 
    font-size: 18px;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.price__item .fa-check { color: #29b474; }
.price__item .fa-times { color: #eb5757; }

.price__item--none { opacity: 0.4; }

/* Кнопка */
.price__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    width: 100%;
    border-radius: 6px;
    background-color: transparent;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    border: 2px solid #29b474;
    margin-top: 30px;
    transition: 0.4s ease;
    text-decoration: none;
    font-weight: 600;
}

.price__btn:hover { background-color: rgba(41, 180, 116, 0.05); color: #29b474; }

.price--premium .price__btn { border-color: #f9ab00; }
.price--premium .price__btn:hover { background-color: rgba(249, 171, 0, 0.05); color: #f9ab00; }


/* --- END --- */





/* ---  Videojs_Player --- */



/* safe fix dle player
----------------------------------------------- */
.mejs-container, .dimensions-2sub {max-width:100% !important;}



/* FONTELLO */

@font-face {
    font-family: 'fontello';
    src: url('../fontello/fontello.eot?58543395');
    src: url('../fontello/fontello.eot?58543395#iefix') format('embedded-opentype'),
         url('../fontello/fontello.woff2?58543395') format('woff2'),
         url('../fontello/fontello.woff?58543395') format('woff'),
         url('../fontello/fontello.ttf?58543395') format('truetype'),
         url('../fontello/fontello.svg?58543395#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
  /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
  /*
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
      font-family: 'fontello';
      src: url('../fontello/fontello.svg?58543395#fontello') format('svg');
    }
  }
  */

   [class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  }

  .icon-forward:before { content: '\e800'; } /* '' */
  .icon-backward:before { content: '\e801'; } /* '' */
  .icon-forward2:before { content: '\e802'; } /* '' */
  .icon-backward2:before { content: '\e803'; } /* '' */



.gotovip {
      width: 100%;
    height: 100%;
    text-align: center;
    background: #666;
    font-size: 19px;
    padding: 120px 22px;
    line-height: 34px;
}

.gotovip a {
color: #fff;
font-weight: bold;
}



/*  Advert_player start  */
.av-playing .vjs-text-track-display div div {
font-size: 0px !important;
}


.av-playing .vjs-loading-spinner, .av-playing .vjs-play-control, .av-playing .vjs-progress-control, .av-playing .vjs-remaining-time, .av-playing .vjs-playback-rate, .av-playing .vjs-subs-caps-button, .av-playing .vjs-menu-button {
display: none !important;
}

/* .av-playing .vjs-control-bar *:not(.vjs-volume-panel *):not(.vjs-fullscreen-control *):not(.ad_info) {
  display: none;

} */
.av-playing .ad_info * {
display: block !important;
}
.av-playing .vjs-control-bar{
display: block !important;
opacity: 1 !important;

}
.av-playing .vjs-fullscreen-control{
float: right;
margin-top: 5px;
height: 30px;
}

.av-playing .vjs-volume-panel {
float:left;
margin-top: 5px;
}

.av-playing .vjs-control-bar{
height: 40px;
}

.fl {
    float: left;
}

.link_ad {
    font-size: 14px;
    color: #fff !important;
    text-decoration: none !important;
margin-top: 4px;
}

.fr {
float: right;
}

.ad_info {
    width: 60%;
    position: absolute;
    left: 56%;
    transform: translate(-50%, -50%);
    top: 50%;
}



a.link_ad:hover {
    color: #C9C9C9 !important;
}

.link_ad {
    font-size: 14px;
    color: #fff !important;
    text-decoration: none !important;
    margin-top: 4px;
}

.secondstoend {
    float: left;
    font-size: 20px;
    margin-right: 7px;
    width: 24px;
    text-align: center;
    margin-top: 1px;
}
.texttoend {
    float: right;
    width: 122px;
    margin-top: 5px;
    font-size: 11px;
}

.ad_overlay {
    position: absolute;
    width: 100%;
    height: calc(100% - 40px);
}

.av-playing::-webkit-media-text-track-display {
font-size: 0px !important;
}

.av-playing::cue {
font-size: 0px !important;
}


/*  Advert_player end  */



.instagram-media, .twitter-tweet {display: inline-block !important;}



/*  Translates  */
.vjs-text-track-display {
    pointer-events: auto !important;
}

.trackspan {
    padding: .1em;
    font-size: 1.3em;
    color: #e9ff91;
}

.trackspan:hover, .trackspan.active {
    background: #000;
    font-weight: bold;
    outline: 2px solid #e6f36c;
    cursor: default;
}

.html-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}


/* Videojs control bar style start */



.vjs-control-bar {
    font-size: 1.3em !important;
}

.vjs-control-bar .fb-button {
    max-width:2.6em;
    font-size: 1.3em;
}

.clearfix { clear: both; }



@media screen and (max-width: 600px) {
    .vjs-control-bar {
        font-size: 0.7em !important;
    }
    
    .ad_info {
        width: 100%;
    }
    }

.vjs-user-active .vjs-text-track-cue{
   top: initial !important;
    bottom: 1.5em !important;

}



/* Videojs control bar style end */


/* --- END Videojs_Player --- */





