/* Hero Slider CSS Variables */
:root {
	--hero-mobile-dot-inactive: #2D2F3D;
	--hero-mobile-dot-active: #3EF2D1;
	--hero-mobile-dot-active-shadow: rgba(62, 242, 209, 0.8);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	.hero-slide-content {
		background: linear-gradient(135deg, rgba(26, 29, 41, 0.98), rgba(104, 26, 230, 0.15));
	}
}

/* High contrast mode */
@media (prefers-contrast: high) {
	.hero-slide-content {
		border: 3px solid #2CD8B9;
		background: rgba(0, 0, 0, 0.95);
	}
	
	.hero-slide-button {
		border: 3px solid #ffffff;
	}
	
	.hero-slider-nav {
		border: 3px solid #ffffff;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.hero-slide {
		transition: opacity 0.3s ease;
	}
	
	.hero-slide-subtitle,
	.hero-slide-title,
	.hero-slide-description,
	.hero-slide-button {
		animation: none;
		opacity: 1;
		transform: none;
	}
	
	.hero-slider-nav,
	.hero-slide-button {
		transition: none;
	}
	
	.wp-block-wp-new-hero-slider {
		animation: none;
	}
}

.hero-slider-controls {
    display: none;
}

.slide-content {
    max-width: 400px;
    margin-left: 70px;
	z-index: 10; /* Высокий z-index чтобы быть поверх псевдоэлемента */
}
.slide-description {
    color: #ffffff !important;
    position: relative;
    margin-bottom: 40px;
}

/* Разделитель после описания для slide-description */
.slide-description::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 487px;
    height: 1px;
    background-color: #E7EAF1;
}
.slide-button {
    width: 243px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tcm-accent, #681AE6);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Clash Display Variable',serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
    /* Создаем скошенную форму через transform */
    transform: skewX(-10deg);
    box-shadow: 0 4px 15px rgba(104, 26, 230, 0.4);
}

/* Возвращаем текст в нормальное положение */
.slide-button * {
    transform: skewX(10deg);
    display: block;
}

.slide-button a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 18px;
	font-family: 'Clash Display', sans-serif;
}

/* Создаем рамку через box-shadow и псевдоэлемент */
.slide-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    /* background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1)); */
    border-radius: 15px;
    z-index: -1;
    transform: skewX(0deg);
    transition: all 0.3s ease;
}

/* Внутренний светящийся эффект */
.slide-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
    transform: skewX(0deg);
}

.slide-button:hover {
    transform: skewX(-10deg) translateY(-3px) scale(1.02);
    color: #ffffff;
    text-decoration: none;
}

.slide-button:hover::before {
    background: var(--tcm-accent-hover, #A64DFF);
}

/* Hero Slider Block - Frontend Styles */
.wp-block-wp-new-hero-slider {
	position: relative;
	overflow: visible;
	margin: 0 0 40px 0;
	width: 100vw;
	margin-left: calc(-41vw + 50%);
	margin-right: calc(-41vw + 50%);
	max-width: none;
	border-radius: 0;
	z-index: 1;
}

.hero-slider-container {
	position: relative;
	width: 100%;
	height: 500px;
	background: var(--tcm-theme-bg, #07080E) ;
	overflow: visible; /* Изменили на visible, чтобы кнопки были видны */
	margin-top: 20px; /* Добавляем отступ сверху */
	
}

/* Эффект затемнения по краям - растягиваем до краев экрана */
.wp-block-wp-new-hero-slider::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4%; /* Затемнение только по левому краю */
	height: 100%;
	background: linear-gradient(to right, rgba(7, 8, 14, 0.9) 0%, rgba(7, 8, 14, 0.6) 60%, transparent 100%);
	z-index: 10;
	pointer-events: none;
}

.wp-block-wp-new-hero-slider::after {
	content: '';
	position: absolute;
	top: 0;
	right: -191px;
	width: 25%; /* Затемнение только по правому краю */
	height: 100%;
	background: linear-gradient(to left, rgba(7, 8, 14, 0.9) 0%, rgba(7, 8, 14, 0.6) 60%, transparent 100%);
	z-index: 10;
	pointer-events: none;
}

.hero-slides {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slide {
	position: absolute;
	top: 0;
	width: 912px; /* Увеличили ширину основного слайда */
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1;
}

/* Активный слайд сдвинут влево от центра */
.hero-slide.active {
	left: 21%; /* Сдвигаем основной слайд влево */
	transform: translateX(-22%) scale(1);
	opacity: 1 !important; /* Принудительно полная видимость */
	z-index: 3;
}

/* Градиентное затемнение фона для активного слайда */
.hero-slide.active::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
	z-index: 0; /* Под контентом */
	pointer-events: none;
}

/* Контент должен быть поверх затемнения */
.hero-slide.active .hero-slide-content {
	position: relative;
}

/* Предыдущий слайд слева (узкая полоска видимости ~80px) */
.hero-slide.prev {
	left: -37%; /* Показываем меньше предыдущего слайда */
	transform: translateX(0) scale(0.85);
	opacity: 0.6;
	z-index: 2;
}

/* Следующий слайд справа - левый край выровнен с сайдбаром */
.hero-slide.next {
	left: var(--next-slide-left, auto);
	right: auto;
	transform: translateX(0) scale(0.9);
	transform-origin: left center;
	opacity: 0.75;
	z-index: 2;
}

/* Скрытый слайд при первой загрузке */
.hero-slide.hidden-on-load {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: none !important;
	left: 100% !important;
}

/* Скрытые слайды */
.hero-slide:not(.active):not(.prev):not(.next) {
	opacity: 0;
	left: 100%;
	z-index: 0;
}

/* Убираем эффекты затемнения для лучшей видимости боковых слайдов */

/* Enhanced Slide Content */
.hero-slide-content {
	position: relative;
	z-index: 10;
	text-align: center;
	max-width: 700px; /* Уменьшили для лучшего отображения */
	padding: 40px 30px; /* Уменьшили отступы */
	background: linear-gradient(135deg, rgba(7, 8, 14, 0.7), rgba(104, 26, 230, 0.15));
	border-radius: 20px;
	backdrop-filter: blur(20px);
	border: 2px solid rgba(44, 216, 185, 0.2);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-slide-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 40%, rgba(44, 216, 185, 0.1) 50%, transparent 60%);
	border-radius: 18px;
	pointer-events: none;
}

.hero-slide-subtitle {
	color: #2CD8B9;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	opacity: 0;
	transform: translateY(30px);
	animation: slideInUp 1s ease forwards 0.3s;
	text-shadow: 0 0 20px rgba(44, 216, 185, 0.5);
	/* Перенос текста */
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}

.hero-slide-title {
	color: #ffffff !important;
	font-size: 32px;
	font-weight: 700;
    /* font-family: 'Vela Sans', serif; */
	margin: 0 0 24px 0;
	line-height: 1.1;
	opacity: 0;
	transform: translateY(30px);
	animation: slideInUp 1s ease forwards 0.5s;
	/* Перенос текста */
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	white-space: normal;
}

.hero-slide-description {
	color: #ACACB5 !important;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 40px 0;
	opacity: 0;
	transform: translateY(30px);
	animation: slideInUp 1s ease forwards 0.7s;
	font-weight: 400;
	/* Перенос текста */
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	position: relative;
}

/* Разделитель после описания */
.hero-slide-description::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 487px;
	height: 1px;
	background-color: #E7EAF1;
	opacity: 0;
	animation: slideInUp 1s ease forwards 0.8s;
}

.hero-slide-button {
	display: inline-block;
	background: linear-gradient(135deg, #681AE6, #2CD8B9);
	color: #ffffff;
	padding: 20px 40px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 3px solid transparent;
	opacity: 0;
	transform: translateY(30px);
	animation: slideInUp 1s ease forwards 0.9s;
	position: relative;
	overflow: hidden;
	box-shadow: 0 15px 35px rgba(104, 26, 230, 0.4);
}

.hero-slide-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	transition: left 0.6s;
}

.hero-slide-button:hover {
	background: linear-gradient(135deg, #2CD8B9, #681AE6);
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 25px 50px rgba(44, 216, 185, 0.6);
	color: #ffffff;
	text-decoration: none;
	border-color: rgba(255, 255, 255, 0.3);
}

.hero-slide-button:hover::before {
	left: 100%;
}

/* Enhanced Navigation Controls */
.hero-slider-nav {
            width: 33px;
            height: 46px;
            background: var(--tcm-accent, #681AE6);
            border: 2px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            /* Скос с помощью transform */
            transform: skewX(-10deg) !important;
			z-index: 1000;
}

/* Псевдоэлемент-накладка поверх кнопки */
/* .hero-slider-nav::before {
            content: '';
            position: absolute;
            top: -1px;
            left: -1px;
            right: -1px;
            bottom: -1px;
            border-radius: 16px;
            background: linear-gradient(135deg, transparent, rgba(44, 216, 185, 0.3), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 9999;
} */
.hero-slider-nav:hover::before {
            opacity: 1;
        }

/* Иконка должна быть выше накладки и компенсировать скос */
.hero-slider-nav > * {
	position: relative;
	z-index: 1001;
	transform: skewX(10deg); /* Компенсируем скос кнопки */
}

.hero-slider-nav:hover {
            border-color: #E9ECFC;
            background: #E9ECFC;
            transform: skewX(-10deg) scale(1.05);
}

.hero-slider-nav.prev {
	/* Позиция задаётся через JavaScript */
	top: 50%;
	transform: translateY(-50%) skewX(-10deg);
	position: absolute;
}

.hero-slider-nav.next {
	/* Позиция задаётся через JavaScript */
	top: 50%;
	transform: translateY(-50%) skewX(-10deg);
	position: absolute;
}

.hero-slider-nav svg {
	width: 20px;
	height: 20px;
	fill: var(--tcm-nav-hover, #2CD8B9); /* Яркий цвет стрелки как на изображении */
	transition: all 0.3s ease;
	display: block;
	opacity: 1;
}

.hero-slider-nav:hover svg {
	fill: #1E202A; /* При hover стрелка становится белой */
	transform: scale(1.1);
}

/* Mobile dots navigation - скрыто на десктопе */
.mobile-dots-nav {
	display: none;
}

/* Правила для больших экранов (десктоп) */
@media (min-width: 769px) {
	.hero-slide.active {
		opacity: 1 !important;
		z-index: 3 !important;
	}
	
	.hero-slide.prev {
		opacity: 0.6 !important;
		z-index: 2 !important;
	}
	
	.hero-slide.next {
		opacity: 0.75 !important;
		z-index: 2 !important;
	}
}

/* Медиазапрос для средних экранов 1200px - 1400px */
@media (max-width: 1400px) and (min-width: 1200px) {
	.hero-slider-container {
		height: 380px; /* Значительно уменьшаем высоту */
	}
	
	.hero-slide {
		width: 700px; /* Уменьшаем ширину основного слайда */
	}
	
	.hero-slide.active {
		left: 30%; /* Корректируем позицию активного слайда */
	}
	
	.hero-slide.prev {
		left: -466px; /* Корректируем позицию предыдущего слайда */
	}
	
	.hero-slide.next {
		right: calc(100% - 125%); /* Корректируем позицию следующего слайда */
	}
	
	.hero-slide-content {
		max-width: 600px; /* Уменьшаем максимальную ширину контента */
		padding: 35px 25px; /* Немного уменьшаем отступы */
	}
	
	.hero-slide-title {
		font-size: 28px; /* Немного уменьшаем заголовок */
		margin-bottom: 20px;
	}
	
	.hero-slide-subtitle {
		font-size: 18px; /* Уменьшаем подзаголовок */
		margin-bottom: 18px;
	}
	
	.hero-slide-description {
		font-size: 15px; /* Немного уменьшаем описание */
		margin-bottom: 35px;
	}
	
	.hero-slide-description::after {
		width: 400px; /* Уменьшаем ширину разделителя */
	}
	
	.hero-slide-button {
		padding: 18px 35px; /* Немного уменьшаем кнопку */
		font-size: 16px;
	}
	
	/* Позиции кнопок навигации управляются через JavaScript */
}

/* Медиазапрос для больших планшетов 1024px - 1199px */
@media (max-width: 1199px) and (min-width: 1024px) {
	.hero-slider-container {
		height: 340px; /* Еще больше уменьшаем высоту */
	}
	
	.hero-slide {
		width: 600px; /* Значительно уменьшаем ширину */
	}
	
	/* .hero-slide.prev {
		left: -480px; 
	} */
	
	.hero-slide-content {
		max-width: 550px;
		padding: 30px 20px;
	}
	
	.hero-slide-title {
		font-size: 26px;
		margin-bottom: 18px;
	}
	
	.hero-slide-subtitle {
		font-size: 17px;
		margin-bottom: 16px;
	}
	
	.hero-slide-description {
		font-size: 14px;
		margin-bottom: 30px;
	}
	
	.hero-slide-description::after {
		width: 350px;
	}
	
	.hero-slide-button {
		padding: 16px 30px;
		font-size: 15px;
	}
	
	/* Позиции кнопок навигации управляются через JavaScript */
}

/* Mobile Responsive */
@media (max-width: 768px) {
	/* Show mobile dots navigation */
	.mobile-dots-nav {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		transform: none !important;
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		gap: 0 !important;
		z-index: 20 !important;
	}
	
	.mobile-dot {
		flex: 1 !important; /* Каждая точка занимает равную ширину */
		max-width: 150px !important; /* Максимальная ширина */
		height: 6px !important;
		background: var(--hero-mobile-dot-inactive, #2D2F3D) !important; /* Неактивный цвет */
		border: none !important;
		border-radius: 0 !important;
		transform: skewX(-10deg) !important;
		-webkit-transform: skewX(-10deg) !important;
		-moz-transform: skewX(-10deg) !important;
		-ms-transform: skewX(-10deg) !important;
		transition: all 0.3s ease !important;
		cursor: pointer !important;
		position: relative !important;
		display: block !important;
	}
	
	.mobile-dot.active {
		background: var(--hero-mobile-dot-active, #3EF2D1) !important; /* Активный цвет */
		box-shadow: 0 0 12px var(--hero-mobile-dot-active-shadow, rgba(62, 242, 209, 0.8)) !important;
	}
	
	.mobile-dot:hover {
		background: var(--hero-mobile-dot-active, #3EF2D1) !important;
		opacity: 0.8 !important;
	}

	.wp-block-wp-new-hero-slider {
		margin-bottom: 20px; /* Уменьшаем отступ снизу на мобильных */
	}
	
	.hero-slider-container {
		height: 400px; /* Уменьшенная высота для мобильных */
		margin-top: 0; /* Убираем отступ сверху на мобильных */
	}
	
	/* На мобильных показываем только активный слайд */
	.hero-slide {
		border-radius: 0; /* Убираем скругления на мобильных */
		width: 100%;
		left: 0 !important;
		right: auto !important;
		opacity: 0 !important;
		padding: 0 15px; /* Добавляем отступы по бокам */
		visibility: hidden;
		pointer-events: none;
		transform: translateX(0) scale(1) !important;
		/* Плавный переход только для opacity на мобильных */
		transition: opacity 0.4s ease, visibility 0.4s ease !important;
		/* Мобильные изображения растягиваются на весь экран без обрезки */
		/* Фоновое изображение устанавливается через JavaScript в script.js (updateSlideBackgrounds) */
		/* На мобильных устройствах (≤768px) используется mobileBackgroundImage, если оно загружено */
		background-size: cover !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
	}
	
	.hero-slide.active {
		opacity: 1 !important;
		transform: translateX(0) scale(1) !important;
		visibility: visible !important;
		pointer-events: auto !important;
		z-index: 3 !important;
	}
	
	.hero-slide.prev,
	.hero-slide.next {
		opacity: 0 !important;
		left: 0 !important;
		right: auto !important;
		visibility: hidden !important;
		pointer-events: none !important;
		z-index: 0 !important;
	}
	
	/* Все неактивные слайды полностью скрываем */
	.hero-slide:not(.active) {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		z-index: 0 !important;
	}
	
	/* Убираем затемнение по бокам на мобильных */
	.wp-block-wp-new-hero-slider::before,
	.wp-block-wp-new-hero-slider::after {
		display: none;
	}
	
	.hero-slide-content {
		padding: 40px 20px;
		max-width: 100%;
		border-radius: 20px;
		margin: 0 auto;
		backdrop-filter: blur(10px);
		background: linear-gradient(135deg, rgba(26, 29, 41, 0.92), rgba(104, 26, 230, 0.18));
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	}
	
	.hero-slide-title {
		font-size: 32px;
		margin-bottom: 16px;
		line-height: 1.2;
		text-align: left;
	}
	
	.hero-slide-subtitle {
		font-size: 16px;
		margin-bottom: 16px;
		letter-spacing: 1px;
		text-align: center;
		opacity: 0.9;
	}
	
	.hero-slide-description {
		font-size: 16px;
		margin-bottom: 30px;
		line-height: 1.6;
		text-align: center;
		opacity: 0.95;
	}
	
	/* Добавляем разделитель на мобильных */
	.hero-slide-description::after {
		content: '';
		display: block;
		width: 80px;
		height: 1px;
		background: #E7EAF1;
		margin: 20px auto 0;
	}
	
	.hero-slide-button {
		padding: 18px 36px;
		font-size: 16px;
		letter-spacing: 1px;
		margin: 0 auto;
		display: block;
		width: fit-content;
		border-radius: 12px;
		font-weight: 600;
		text-transform: uppercase;
		transition: all 0.3s ease;
	}
	
	.hero-slide-button:hover {
		transform: translateY(-2px);
		box-shadow: 0 8px 25px rgba(104, 26, 230, 0.4);
	}
	
	.hero-slider-nav {
		width: 45px;
		height: 45px;
		background: linear-gradient(135deg, rgba(26, 29, 41, 0.95), rgba(104, 26, 230, 0.3));
		backdrop-filter: blur(10px);
		border: 1px solid rgba(233, 236, 252, 0.2);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}
	
	/* Позиции кнопок навигации управляются через JavaScript */
	
	.hero-slider-nav svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 480px) {
	.hero-slider-container {
		height: 350px; /* Еще меньше для телефонов */
	}

	.slide-content {
		border-radius: 0;
		margin-left: 20px;
	}
	
	.hero-slide {
		border-radius: 0;
		left: 0 !important;
		right: auto !important;
		width: 100% !important;
	}
	
	/* Усиливаем скрытие для маленьких экранов */
	.hero-slide:not(.active) {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		z-index: 0 !important;
		display: none; /* Полностью удаляем из DOM для уверенности */
	}
	
	.hero-slide.active {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		z-index: 3 !important;
		display: flex !important;
	}
	
	.hero-slide-content {
		padding: 25px 15px;
		border-radius: 15px;
	}
	
	.hero-slider-nav  {
		display: none; /* Скрываем навигационные кнопки на очень маленьких экранах */
	}
	
	.hero-slide-title {
		font-size: 24px;
		margin-bottom: 12px;
		line-height: 1.3;
	}
	
	.hero-slide-subtitle {
		font-size: 14px;
		margin-bottom: 12px;
	}
	
	.hero-slide-description {
		font-size: 14px;
		margin-bottom: 20px;
		line-height: 1.5;
	}
	
	/* Разделитель для телефонов */
	.slide-description::after {
		width: 352px !important;
		margin: 15px auto 0;
	}
	
	.hero-slide-button {
		padding: 14px 28px;
		font-size: 14px;
		border-radius: 10px;
	}
	
	.hero-slider-nav {
		width: 40px;
		height: 40px;
	}
	
	/* Позиции кнопок навигации управляются через JavaScript */
	
	.hero-slider-nav svg {
		width: 16px;
		height: 16px;
	}
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
	.hero-slider-container {
		height: 300px; /* Меньше в горизонтальной ориентации */
	}
	
	.hero-slide-content {
		padding: 20px 15px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	.hero-slide-title {
		font-size: 20px;
		margin-bottom: 8px;
	}
	
	.hero-slide-subtitle {
		font-size: 12px;
		margin-bottom: 8px;
	}
	
	.hero-slide-description {
		font-size: 13px;
		margin-bottom: 15px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	
	.hero-slide-description::after {
		display: none; /* Убираем разделитель в ландшафте */
	}
	
	.hero-slide-button {
		padding: 10px 20px;
		font-size: 12px;
	}
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
	.hero-slider-nav:hover {
		transform: translateY(-50%);
		background: linear-gradient(135deg, rgba(26, 29, 41, 0.9), rgba(104, 26, 230, 0.2));
	}
	
	.hero-slide-button:hover {
		transform: none;
		background: linear-gradient(135deg, #681AE6, #2CD8B9);
	}
	
	.wp-block-wp-new-hero-slider {
		animation: none;
	}
	
	/* Убираем конфликтующий псевдоэлемент для мобильных */
	.hero-slider-container::after {
		display: none !important;
	}
	
	@keyframes fadeInOut {
		0%, 100% { opacity: 0; }
		50% { opacity: 1; }
	}
}


