/* =========================================================================
   IdeiPRO — стили главной страницы (high-tech). Namespace: .ip-
   Не наследует старую вёрстку. Все селекторы под .ip-front / .ip-*
   ========================================================================= */

.ip-front {
	--ip-bg: #060a12;
	--ip-bg-2: #0a1120;
	--ip-panel: #0e1626;
	--ip-line: rgba(120, 160, 220, 0.14);
	--ip-text: #e7eefc;
	--ip-muted: #93a4c4;
	--ip-accent: #22d3ee;
	--ip-accent-2: #3b82f6;
	--ip-edge: 15px;

	background: var(--ip-bg);
	color: var(--ip-text);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	overflow-x: hidden;
}

.ip-front *,
.ip-front *::before,
.ip-front *::after {
	box-sizing: border-box;
}

.ip-wrap {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding-left: var(--ip-edge);
	padding-right: var(--ip-edge);
}

.ip-front h1,
.ip-front h2,
.ip-front h3 {
	font-family: "Orbitron", sans-serif;
	line-height: 1.15;
	margin: 0;
}

/* ---------- кнопки ---------- */
.ip-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border-radius: 10px;
	font-family: "Orbitron", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.ip-btn--primary {
	background: linear-gradient(135deg, var(--ip-accent-2), var(--ip-accent));
	color: #04111c;
	box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
}
.ip-btn--ghost {
	background: transparent;
	color: var(--ip-text);
	border-color: var(--ip-line);
}
@media (hover: hover) {
	.ip-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34, 211, 238, 0.4); }
	.ip-btn--ghost:hover { border-color: var(--ip-accent); color: var(--ip-accent); }
}

/* ---------- общий заголовок секции ---------- */
.ip-sec-head { margin-bottom: 28px; }
.ip-sec-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.ip-eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ip-accent);
	margin-bottom: 10px;
}
.ip-eyebrow--lg {
	font-family: "Orbitron", sans-serif;
	font-size: clamp(1.1rem, 2.6vw, 1.6rem);
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 0;
}
.ip-sec-title {
	font-size: clamp(1.5rem, 4vw, 2.4rem);
	color: var(--ip-text);
}
.ip-sec-sub {
	margin: 12px 0 0;
	max-width: 720px;
	color: var(--ip-muted);
	line-height: 1.7;
	font-size: 15px;
}

/* =========================================================================
   ЭКРАН 1: HERO
   ========================================================================= */
.ip-hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	background:
		radial-gradient(1200px 600px at 70% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
		radial-gradient(900px 500px at 10% 110%, rgba(34, 211, 238, 0.12), transparent 60%),
		var(--ip-bg);
	overflow: hidden;
}
/* Фон с нейронными связями — почти во весь экран, приглушённый под текст */
.ip-hero__bg {
	position: absolute;
	inset: 0;
	background-image: url("../assets/hero-neural-bg.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.55;
	z-index: 0;
	pointer-events: none;
}
/* Затемнение поверх картинки, чтобы текст всегда читался */
.ip-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1100px 620px at 50% 42%, rgba(6, 10, 18, 0.25), rgba(6, 10, 18, 0.78) 80%),
		linear-gradient(180deg, rgba(6, 10, 18, 0.55), rgba(6, 10, 18, 0.85));
}
/* В светлой теме фон hero остаётся тёмным (картинка тёмная),
   поэтому текст внутри hero держим светлым для читаемости. */
html[data-theme="light"] .ip-hero {
	--ip-text: #f3f7ff;
	--ip-muted: #b8c6e0;
	--ip-panel: rgba(13, 22, 40, 0.6);
	--ip-line: rgba(150, 180, 220, 0.22);
	background:
		radial-gradient(1200px 600px at 70% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
		radial-gradient(900px 500px at 10% 110%, rgba(34, 211, 238, 0.12), transparent 60%),
		#0a1018;
}
.ip-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--ip-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--ip-line) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
	opacity: 0.6;
}
.ip-hero__glow {
	position: absolute;
	top: -20%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 65%);
	filter: blur(20px);
	pointer-events: none;
}
.ip-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: 96px;
	padding-bottom: 96px;
	text-align: center;
}
.ip-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 16px;
	border: 1px solid var(--ip-line);
	border-radius: 999px;
	background: rgba(14, 22, 38, 0.6);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ip-muted);
}
.ip-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ip-accent);
	box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
	animation: ip-pulse 2s infinite;
}
@keyframes ip-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.ip-hero__glow--2 {
	top: auto;
	bottom: -20%;
	right: auto;
	left: -12%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 65%);
}
.ip-hero__accent {
	background: linear-gradient(135deg, var(--ip-accent), var(--ip-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* ---------- аккордеон-герой ---------- */
.ip-acc {
	width: 100%;
	max-width: 920px;
	margin: 28px auto 0;
	text-align: left;
	border: 1px solid var(--ip-line);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(14, 22, 38, 0.85), rgba(10, 17, 32, 0.7));
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(6px);
	overflow: hidden;
}
.ip-acc__head { margin: 0; }
.ip-acc__btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: clamp(20px, 3vw, 32px);
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	color: var(--ip-text);
	font-family: "Orbitron", sans-serif;
}
.ip-acc__title {
	flex: 1;
	font-size: clamp(1.25rem, 3.4vw, 2.1rem);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.005em;
}
.ip-acc__icon {
	flex-shrink: 0;
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--ip-line);
	background: rgba(34, 211, 238, 0.08);
}
.ip-acc__icon span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: var(--ip-accent);
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.ip-acc__icon span:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.ip-acc__btn[aria-expanded="true"] .ip-acc__icon span:last-child { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
@media (hover: hover) {
	.ip-acc__btn:hover .ip-acc__icon { border-color: var(--ip-accent); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12); }
}
.ip-acc__panel {
	border-top: 1px solid var(--ip-line);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}
.ip-acc__inner {
	padding: clamp(20px, 3vw, 30px);
	font-family: "JetBrains Mono", ui-monospace, monospace;
}
.ip-acc__inner p {
	margin: 0 0 16px;
	color: var(--ip-muted);
	font-size: clamp(14px, 1.8vw, 16px);
	line-height: 1.8;
}
.ip-acc__cta-line {
	color: var(--ip-accent) !important;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.ip-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 22px;
}
.ip-scroll {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}
.ip-scroll__mouse {
	display: block;
	width: 26px;
	height: 42px;
	border: 2px solid var(--ip-line);
	border-radius: 14px;
	position: relative;
}
.ip-scroll__mouse span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--ip-accent);
	animation: ip-scroll 1.8s infinite;
}
@keyframes ip-scroll {
	0% { opacity: 0; transform: translateY(0); }
	40% { opacity: 1; }
	100% { opacity: 0; transform: translateY(14px); }
}

/* =========================================================================
   ЭКРАН 2: КАК РАБОТАЕТ ИИ
   ========================================================================= */
.ip-how {
	position: relative;
	padding: clamp(64px, 9vw, 110px) 0;
	background:
		radial-gradient(900px 480px at 85% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
		radial-gradient(800px 460px at 0% 100%, rgba(59, 130, 246, 0.12), transparent 60%),
		linear-gradient(180deg, var(--ip-bg), var(--ip-bg-2));
	border-top: 1px solid var(--ip-line);
	overflow: hidden;
}
.ip-how__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--ip-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--ip-line) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 72%);
	-webkit-mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 72%);
	opacity: 0.4;
	pointer-events: none;
}
.ip-how__inner { position: relative; z-index: 1; }
.ip-how__head { text-align: center; margin-bottom: clamp(34px, 5vw, 56px); }
.ip-how__head .ip-eyebrow,
.ip-how__head .ip-sec-title { }
.ip-how__lead {
	margin: 16px auto 0;
	max-width: 760px;
	color: var(--ip-muted);
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.8;
}

.ip-how__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}
.ip-hcard {
	position: relative;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid var(--ip-line);
	border-radius: 18px;
	background: linear-gradient(180deg, var(--ip-panel), rgba(10, 17, 32, 0.8));
	overflow: hidden;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ip-hcard::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--ip-accent), var(--ip-accent-2));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
@media (hover: hover) {
	.ip-hcard:hover {
		transform: translateY(-5px);
		border-color: rgba(34, 211, 238, 0.4);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
	}
	.ip-hcard:hover::before { transform: scaleX(1); }
}
.ip-hcard__num {
	position: absolute;
	top: 16px;
	right: 20px;
	font-family: "Orbitron", sans-serif;
	font-size: 34px;
	font-weight: 900;
	color: rgba(34, 211, 238, 0.16);
}
.ip-hcard__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	border: 1px solid var(--ip-line);
	background: rgba(34, 211, 238, 0.08);
	color: var(--ip-accent);
	margin-bottom: 16px;
}
.ip-hcard__icon svg { width: 26px; height: 26px; }
.ip-hcard__title {
	font-size: clamp(16px, 2vw, 19px);
	margin: 0 0 10px;
	color: var(--ip-text);
}
.ip-hcard__text {
	margin: 0;
	color: var(--ip-muted);
	font-size: 14px;
	line-height: 1.75;
}

/* =========================================================================
   СЛАЙДЕР-ОБЗОР
   ========================================================================= */
.ip-showcase {
	padding: 76px 0;
	background: var(--ip-bg-2);
	border-top: 1px solid var(--ip-line);
}
.ip-showcase__nav {
	display: flex;
	gap: 10px;
}
.ip-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--ip-line);
	background: var(--ip-panel);
	color: var(--ip-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.ip-arrow:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) {
	.ip-arrow:not(:disabled):hover { border-color: var(--ip-accent); color: var(--ip-accent); }
}
.ip-slider {
	margin-top: 18px;
	overflow: hidden;
}
.ip-slider__track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 8px var(--ip-edge) 24px;
	scrollbar-width: none;
}
.ip-slider__track::-webkit-scrollbar { display: none; }
.ip-slide {
	flex: 0 0 86%;
	scroll-snap-align: start;
}
.ip-slide__link {
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--ip-line);
	border-radius: 20px;
	overflow: hidden;
	background: var(--ip-panel);
	height: 100%;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) {
	.ip-slide__link:hover {
		transform: translateY(-6px);
		border-color: rgba(34, 211, 238, 0.45);
		box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
	}
	.ip-slide__link:hover .ip-slide__img { transform: scale(1.06); }
}
.ip-slide__media {
	position: relative;
	aspect-ratio: 16 / 10;
	min-height: 320px;
	background: linear-gradient(135deg, #0c1424, #0a1018);
	overflow: hidden;
}
/* затемнение снизу под текст-оверлей */
.ip-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 10, 18, 0) 35%, rgba(6, 10, 18, 0.55) 65%, rgba(6, 10, 18, 0.95) 100%);
	pointer-events: none;
}
.ip-slide__img,
.ip-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.ip-slide__ph,
.ip-card__ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Orbitron", sans-serif;
	font-weight: 900;
	letter-spacing: 0.2em;
	color: rgba(120, 160, 220, 0.25);
	font-size: 30px;
}
.ip-slide__tag,
.ip-card .ip-slide__tag {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(6, 10, 18, 0.8);
	border: 1px solid var(--ip-line);
	color: var(--ip-accent);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
/* заголовок и дата — оверлеем поверх картинки внизу */
.ip-slide__title {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 50px;
	z-index: 2;
	font-family: "Orbitron", sans-serif;
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 800;
	line-height: 1.3;
	margin: 0;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.ip-slide__date {
	position: absolute;
	left: 22px;
	bottom: 20px;
	z-index: 2;
	margin: 0;
	font-size: 13px;
	color: rgba(231, 238, 252, 0.75);
}

/* =========================================================================
   РЯДЫ РУБРИК — карточки по 4 в ряд
   ========================================================================= */
.ip-cat {
	padding: 56px 0;
	border-top: 1px solid var(--ip-line);
}
/* карточки рубрик: заголовок/дата обычным потоком (не оверлеем) */
.ip-card .ip-slide__media,
.ip-card__media { aspect-ratio: 16 / 9; min-height: 0; }
.ip-card__title {
	position: static;
	font-family: "Orbitron", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	margin: 16px 16px 8px;
	color: var(--ip-text);
	text-shadow: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ip-card__date {
	position: static;
	display: block;
	margin: 0 16px 16px;
	font-size: 12px;
	color: var(--ip-muted);
}
.ip-cat:nth-child(odd) { background: var(--ip-bg); }
.ip-cat:nth-child(even) { background: var(--ip-bg-2); }
.ip-cat__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.ip-cat__title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: clamp(1.3rem, 3.5vw, 1.9rem);
	color: var(--ip-text);
}
.ip-cat__bar {
	width: 6px;
	height: 28px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--ip-accent), var(--ip-accent-2));
}
.ip-cat__title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
}
.ip-cat__title-link:hover { color: var(--ip-accent); }
.ip-cat__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: "Orbitron", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ip-accent);
	padding: 9px 16px;
	border: 1px solid var(--ip-line);
	border-radius: 999px;
	transition: border-color 0.18s ease, background 0.18s ease;
}
@media (hover: hover) {
	.ip-cat__all:hover { border-color: var(--ip-accent); background: rgba(34, 211, 238, 0.08); }
}

.ip-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
.ip-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--ip-line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--ip-panel);
	height: 100%;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
	.ip-card__link:hover {
		transform: translateY(-4px);
		border-color: rgba(34, 211, 238, 0.4);
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	}
}
.ip-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #0c1424, #0a1018);
	overflow: hidden;
}
.ip-card__body { padding: 14px 14px 16px; }
.ip-card__title {
	font-size: 14px;
	line-height: 1.45;
	margin: 0 0 8px;
	color: var(--ip-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ip-card__date {
	margin: 0;
	font-size: 12px;
	color: var(--ip-muted);
}

/* =========================================================================
   АДАПТИВ
   ========================================================================= */
@media (min-width: 560px) {
	.ip-cards { grid-template-columns: repeat(2, 1fr); }
	.ip-slide { flex-basis: 46%; }
}
@media (min-width: 768px) {
	.ip-wrap { --ip-edge: 15px; }
	.ip-how__cards { grid-template-columns: repeat(3, 1fr); }
	.ip-slide { flex-basis: 32%; }
}
@media (min-width: 1024px) {
	.ip-cards { grid-template-columns: repeat(4, 1fr); }
	.ip-slide { flex-basis: 24%; }
}

@media (prefers-reduced-motion: reduce) {
	.ip-front *,
	.ip-front *::before,
	.ip-front *::after {
		animation: none !important;
		transition: none !important;
	}
	.ip-slider__track { scroll-behavior: auto; }
}

/* =========================================================================
   ЭКРАН 3: ПОЛНОЭКРАННЫЙ СЛАЙДЕР (fade) — .ip-hero-slider
   ========================================================================= */
.ip-hero-slider {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 560px;
	overflow: hidden;
	background: var(--ip-bg);
	border-top: 1px solid var(--ip-line);
}
.ip-fs__viewport {
	position: absolute;
	inset: 0;
}
.ip-fs__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background-color: #0a1018;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0.7s ease;
	z-index: 1;
}
.ip-fs__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}
.ip-fs__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6, 10, 18, 0.35) 0%, rgba(6, 10, 18, 0.2) 40%, rgba(6, 10, 18, 0.85) 100%),
		linear-gradient(90deg, rgba(6, 10, 18, 0.75) 0%, rgba(6, 10, 18, 0.1) 60%);
}
.ip-fs__content {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(72px, 12vh, 130px);
	padding-top: 80px;
	max-width: 900px;
}
.ip-fs__tag {
	display: inline-block;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(34, 211, 238, 0.14);
	border: 1px solid rgba(34, 211, 238, 0.5);
	color: var(--ip-accent);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ip-fs__title {
	font-family: "Orbitron", sans-serif;
	font-size: clamp(1.7rem, 5vw, 3.4rem);
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 18px;
	background-image: linear-gradient(135deg, #ffffff 8%, #b9f2ff 52%, #22d3ee 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}
.ip-fs__excerpt {
	font-size: clamp(14px, 2vw, 18px);
	line-height: 1.7;
	color: rgba(231, 238, 252, 0.88);
	margin: 0 0 22px;
	max-width: 640px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ip-fs__top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 18px;
}
.ip-fs__date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: rgba(231, 238, 252, 0.82);
}
.ip-fs__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ip-fs__actions {
	position: relative;
	z-index: 6;
}

.ip-fs__tts {
	position: relative;
	z-index: 7;
	pointer-events: auto;
	opacity: 1 !important;
	visibility: visible !important;
	display: inline-flex !important;
	-webkit-appearance: none;
	appearance: none;
	min-height: 42px;
}

.ip-fs__tts span,
.ip-fs__tts svg {
	display: inline-block !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.ip-fs__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}
.ip-fs__tts {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 999px;
	border: 1px solid var(--ip-line);
	background: rgba(6, 10, 18, 0.5);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	touch-action: manipulation;
	backdrop-filter: blur(6px);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ip-fs__tts:hover,
.ip-fs__tts.is-playing {
	background: rgba(34, 211, 238, 0.18);
	border-color: var(--ip-accent);
	color: var(--ip-accent);
}

/* стрелки */
.ip-fs__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--ip-line);
	background: rgba(6, 10, 18, 0.55);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background 0.2s ease, border-color 0.2s ease;
}
.ip-fs__arrow--prev { left: 16px; }
.ip-fs__arrow--next { right: 16px; }
@media (hover: hover) {
	.ip-fs__arrow:hover { background: rgba(34, 211, 238, 0.2); border-color: var(--ip-accent); }
}

/* точки */
.ip-fs__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 5;
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 16px;
}
.ip-fs__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(231, 238, 252, 0.35);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ip-fs__dot.is-active {
	background: var(--ip-accent);
	transform: scale(1.3);
}

@media (max-width: 600px) {
	.ip-fs__arrow { width: 42px; height: 42px; }
	.ip-fs__arrow--prev { left: 8px; }
	.ip-fs__arrow--next { right: 8px; }
}


@media (max-width: 600px) {
	.ip-fs__content {
		max-width: calc(100vw - (var(--ip-edge) * 2));
	}

	.ip-fs__title {
		display: block;
		-webkit-line-clamp: unset;
		-webkit-box-orient: initial;
		overflow: visible;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
		font-size: clamp(1.2rem, 6.2vw, 1.7rem);
		line-height: 1.22;
		max-width: 100%;
	}

	.ip-fs__actions {
		gap: 10px;
	}

	.ip-fs__tts {
		padding: 10px 14px;
		font-size: 13px;
	}
}
