/* ==========================================================================
   Career Forum — НУ «Запорізька політехніка»
   Спільна таблиця стилів для всіх лендингів Career Forum.
   Мобільна адаптивність: плавна типографіка (clamp), єдиний gutter,
   safe-area, без горизонтального скролу, без важких blur-фільтрів.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol, fieldset, legend {
	margin: 0;
	padding: 0;
}

ul, ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

input, button, textarea, select {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	cursor: pointer;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --------------------------------------------------------------------------
   2. Токени
   -------------------------------------------------------------------------- */
:root {
	/* Палітра (імена збережені для сумісності з global-elements.css) */
	--color-black: #464646;
	--color-black--rgb: 51, 51, 51;
	--color-white: #ffffff;
	--color-white--rgb: 255, 255, 255;
	--color-grey-010: #f8f8f8;
	--color-grey-020: #a0a0a0;
	--color-grey-050: #d9d9d9;
	--color-grey-100: #a4acc1;
	--color-grey-300: #626570;
	--color-grey-400: #464646;
	--color-grey-500: #1d1d1f;
	--color-blue-010: #b3d4fc;
	--color-blue-050: #347ce9;
	--color-blue-100: #265aa6;
	--color-blue-100--rgb: 38, 90, 166;
	--color-blue-200: #16295b;
	--color-green-020: #00df66;

	--color-blue: #1b4ffd;
	--color-blue--rgb: 27, 79, 253;
	--color-green: var(--color-green-020);
	--color-grey: var(--color-grey-300);

	/* Семантика */
	--color-bg-primary: #ffffff;
	--color-bg-secondary: #f8f8f8;
	--color-bg-tertiary: #f0f0f0;
	--color-text-primary: #000000;
	--color-text-secondary: #626570;
	--color-text-muted: #a0a0a0;
	--color-link: #265aa6;
	--color-link-hover: #347ce9;
	--color-border: #d9d9d9;
	--color-surface-card: #ffffff;
	--color-surface-overlay: rgba(0, 0, 0, 0.5);

	/* Типографіка */
	--cf-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	/* Ритм і сітка: один горизонтальний відступ на всю сторінку */
	--cf-gutter: clamp(16px, 5vw, 160px);
	--cf-section-gap: clamp(56px, 9vw, 100px);
	--cf-block-gap: clamp(28px, 5vw, 50px);

	/* Висота шапки рахується з тих самих clamp, що й логотип, —
	   жодного стрибка макета до виконання JS */
	--cf-logo-h: clamp(40px, 5.5vw, 68px);
	--cf-header-pad: clamp(6px, 2vw, 24px);
	--cf-header-h: calc(var(--cf-header-pad) + 24px + var(--cf-logo-h));
}

html[data-theme="dark"] {
	--color-bg-primary: #0f0f0f;
	--color-bg-secondary: #272727;
	--color-bg-tertiary: #3f3f3f;
	--color-text-primary: #f1f1f1;
	--color-text-secondary: #aaaaaa;
	--color-text-muted: #717171;
	--color-link: #3ea6ff;
	--color-link-hover: #65b8ff;
	--color-border: #3f3f3f;
	--color-surface-card: #272727;
	--color-surface-overlay: rgba(0, 0, 0, 0.6);
	--color-black--rgb: 241, 241, 241;
	--color-white--rgb: 15, 15, 15;
	--color-grey-010: #272727;
	--color-grey-050: #3f3f3f;
	--color-grey: #aaaaaa;
	--color-black: #f1f1f1;
}

/* --------------------------------------------------------------------------
   3. База
   -------------------------------------------------------------------------- */
html,
body {
	overflow-x: clip;
}

body {
	font-family: var(--cf-font);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-text-primary);
	background-color: var(--color-bg-primary);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

body._lock {
	overflow: hidden;
}

::selection {
	background: var(--color-blue-010);
	color: #000;
}

::-webkit-scrollbar {
	width: 4px;
}

::-webkit-scrollbar-track {
	background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
	background: var(--color-blue-100);
}

:focus-visible {
	outline: 2px solid var(--color-blue);
	outline-offset: 2px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   4. Контейнер і секції
   -------------------------------------------------------------------------- */
.career-forum_container {
	padding-inline: max(var(--cf-gutter), env(safe-area-inset-left));
}

.career-forum-section,
.career-forum-location {
	margin-top: var(--cf-section-gap);
}

[id^="career-forum-"] {
	scroll-margin-top: calc(var(--cf-header-h) + 24px);
}

/* --------------------------------------------------------------------------
   5. Шапка та меню
   -------------------------------------------------------------------------- */
.career-forum-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 990;
	background-color: var(--color-bg-primary);
	padding-top: var(--cf-header-pad);
}

.career-forum-header::before {
	content: "";
	position: absolute;
	top: -30px;
	left: 40px;
	width: 380px;
	height: 100px;
	background-image: url("data:image/svg+xml,%3Csvg width='380' height='100' viewBox='0 0 881 137' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M861.091 -80.6328L57.2621 86.2914C52.8826 87.2008 49.0837 83.1711 50.2495 78.8528L142.813 -264' stroke='%230047FF' stroke-width='78'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	z-index: -1;
	pointer-events: none;
}

.career-forum-header__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
}

.career-forum-header__logo a {
	display: block;
}

.career-forum-header__logo img {
	height: var(--cf-logo-h);
	width: auto;
	max-width: min(200px, 46vw);
	object-fit: contain;
	object-position: left center;
}

.career-forum-menu {
	display: flex;
	align-items: center;
}

.career-forum-menu__list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.career-forum-menu__item {
	display: inline-flex;
	align-items: center;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--color-text-primary);
	transition: color 0.2s ease;
}

.career-forum-menu__item:hover {
	color: var(--color-blue);
}

.career-forum-menu__item--home {
	gap: 6px;
	color: var(--color-grey);
}

.career-forum-menu__list li:first-child {
	position: relative;
	margin-right: 15px;
}

.career-forum-menu__list li:first-child::after {
	content: "";
	position: absolute;
	right: -22px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 20px;
	background-color: var(--color-grey);
	opacity: 0.3;
}

.career-forum-menu__toggle {
	display: none;
}

/* Бургер + off-canvas */
@media (max-width: 1200px) {
	.career-forum-menu__toggle {
		display: block;
		position: relative;
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		z-index: 1000;
		cursor: pointer;
	}

	.career-forum-menu__toggle span,
	.career-forum-menu__toggle::before,
	.career-forum-menu__toggle::after {
		content: "";
		position: absolute;
		left: 7px;
		width: 30px;
		height: 2px;
		background: var(--color-text-primary);
		transition: transform 0.3s ease, opacity 0.2s ease;
	}

	.career-forum-menu__toggle::before { top: 13px; }
	.career-forum-menu__toggle span    { top: 21px; }
	.career-forum-menu__toggle::after  { top: 29px; }

	.career-forum-menu__toggle._active-menu::before { transform: translateY(8px) rotate(45deg); }
	.career-forum-menu__toggle._active-menu span    { opacity: 0; }
	.career-forum-menu__toggle._active-menu::after  { transform: translateY(-8px) rotate(-45deg); }

	.career-forum-menu__box {
		position: fixed;
		top: 0;
		right: 0;
		width: min(82%, 320px);
		height: 100vh;
		height: 100dvh;
		padding: 88px 20px calc(24px + env(safe-area-inset-bottom));
		background: var(--color-bg-primary);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.12);
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
		overflow-y: auto;
		overscroll-behavior: contain;
		z-index: 999;
	}

	.career-forum-menu__box._active-menu {
		transform: translateX(0);
	}

	.career-forum-menu__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.career-forum-menu__list li {
		margin: 0;
		border-bottom: 1px solid var(--color-grey-050);
	}

	.career-forum-menu__list li:first-child {
		margin-right: 0;
		border-bottom: 2px solid rgba(var(--color-blue--rgb), 0.15);
	}

	.career-forum-menu__list li:first-child::after {
		display: none;
	}

	.career-forum-menu__item {
		display: flex;
		width: 100%;
		min-height: 48px;
		padding: 12px 0;
		font-size: 1.0625rem;
	}
}

@media (max-width: 1024px) {
	.career-forum-header::before {
		width: 240px;
		height: 62px;
		top: -14px;
		left: -30px;
	}
}

@media (max-width: 768px) {
	.career-forum-header::before {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   6. Рухомий рядок (marquee)
   -------------------------------------------------------------------------- */
.career-forum-header__marquee {
	position: relative;
	z-index: 1;
	margin-top: var(--cf-header-h);
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: clamp(250px, 42vw, 500px);
	overflow: hidden;
}

.career-forum-marquee {
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
}

.career-forum-marquee__inner {
	display: flex;
	width: max-content;
	animation: cf-marquee 45s linear infinite;
}

.career-forum-marquee-1 {
	background: var(--color-green);
	color: #000;
	transform: rotate(-7deg) scale(1.12);
}

.career-forum-marquee-2 {
	background: var(--color-blue);
	color: var(--color-white);
	transform: rotate(-5deg) scale(1.12) translateY(clamp(22px, 5vw, 44px));
}

.career-forum-marquee-2 .career-forum-marquee__inner {
	animation-duration: 55s;
}

.career-forum-marquee__part {
	flex: 0 0 auto;
	font-size: clamp(1.375rem, 4.2vw, 2.375rem);
	line-height: 1.2;
	padding: 0.45em clamp(24px, 5vw, 75px);
}

@keyframes cf-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes cf-marquee-reverse {
	from { transform: translate3d(-50%, 0, 0); }
	to   { transform: translate3d(0, 0, 0); }
}

/* --------------------------------------------------------------------------
   7. Заголовок блоку
   -------------------------------------------------------------------------- */
.block-title {
	display: flex;
	align-items: center;
	gap: clamp(15px, 3vw, 50px);
	padding-inline: max(var(--cf-gutter), env(safe-area-inset-left));
}

.block-title h2 {
	margin: 0;
	color: var(--color-blue);
	font-size: clamp(1.75rem, 5.5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.block-title span {
	flex: 1 1 auto;
	min-width: 20px;
	height: 2px;
	background-color: var(--color-blue);
}

/* --------------------------------------------------------------------------
   8. Про форум
   -------------------------------------------------------------------------- */
#career-forum-about {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: var(--color-bg-primary);
}

/* Декор без filter:blur() — радіальні градієнти майже безкоштовні для GPU */
#career-forum-about::before,
#career-forum-about::after {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(var(--color-blue--rgb), 0.16), rgba(var(--color-blue--rgb), 0) 100%);
}

#career-forum-about::before {
	width: clamp(260px, 40vw, 520px);
	aspect-ratio: 1;
	bottom: 35%;
	left: 45%;
}

#career-forum-about::after {
	width: clamp(360px, 60vw, 820px);
	aspect-ratio: 1;
	bottom: 5%;
	right: -15%;
}

.about__wrapper {
	position: relative;
	z-index: 2;
}

.about__wrapper > * + * {
	margin-top: var(--cf-block-gap);
}

/* Банер */
.about-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	height: clamp(280px, 62vw, 760px);
	overflow: hidden;
	background-color: var(--color-grey-500);
	color: var(--color-white);
}

.about-banner__video {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.about-banner__video video,
.about-banner__video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.7);
}

.about-banner__bottom {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: clamp(12px, 2vw, 20px);
	padding: clamp(16px, 3vw, 40px);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.about-banner__title {
	font-size: clamp(1.375rem, 4.5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.1;
	max-width: 800px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.about-banner-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: clamp(8px, 1.4vw, 15px) clamp(14px, 2.4vw, 30px);
	background-color: var(--color-blue);
	border: 2px solid var(--color-blue);
	color: var(--color-white);
	font-size: clamp(0.875rem, 1.6vw, 1.2rem);
	font-weight: 500;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-banner-button::before {
	content: "";
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 12px solid currentColor;
}

.about-banner-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(var(--color-blue--rgb), 0.3);
}

/* Текст + галерея */
.about__info {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--cf-block-gap);
	padding-inline: max(var(--cf-gutter), env(safe-area-inset-left));
}

@media (min-width: 900px) {
	.about__info {
		grid-template-columns: 1.15fr 1fr;
		gap: clamp(40px, 6vw, 100px);
		align-items: start;
	}

	.about__info--single {
		grid-template-columns: minmax(0, 900px);
	}
}

.about__text h3,
.about-gallery__title {
	margin: 0 0 clamp(16px, 3vw, 40px);
	color: var(--color-blue);
	font-size: clamp(1.5rem, 3.6vw, 2.5rem);
	font-weight: 500;
	line-height: 1.15;
}

.about__text {
	color: var(--color-grey);
}

.about__text p {
	margin-top: clamp(16px, 2.4vw, 30px);
	font-size: clamp(1rem, 1.15vw, 1.1rem);
	line-height: 1.65;
}

.about__text p:first-of-type {
	margin-top: 0;
}

.about__text ul {
	margin-top: clamp(16px, 2.4vw, 24px);
	font-size: clamp(1rem, 1.15vw, 1.1rem);
	line-height: 1.65;
}

.about__text li {
	padding-left: 18px;
	position: relative;
}

.about__text li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--color-blue);
}

.about__text .text-lead {
	margin-bottom: 25px;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	color: var(--color-text-primary);
}

.about__text .text-lead strong {
	color: var(--color-blue);
	font-weight: 700;
}

.about__text .text-marker {
	font-weight: 500;
	color: var(--color-text-primary);
	box-shadow: inset 0 -0.35em 0 rgba(var(--color-blue--rgb), 0.14);
}

.about__text .text-highlight-box {
	margin: clamp(20px, 3vw, 28px) 0;
	padding: clamp(16px, 2.6vw, 30px);
	background-color: var(--color-bg-secondary);
	border-left: 4px solid var(--color-blue);
}

.about__text .text-highlight-box p {
	margin: 0;
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	font-weight: 500;
	color: var(--color-text-primary);
	line-height: 1.55;
}

.about__text .text-cta {
	margin-top: clamp(28px, 4vw, 45px);
	font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.about__text .text-cta .text-accent {
	color: var(--color-grey);
}

.about__text .text-cta strong {
	display: block;
	margin-top: 10px;
	color: var(--color-blue);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 800;
}

.about-gallery {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
}

.about-gallery__title {
	width: 100%;
	font-size: clamp(1.25rem, 2.6vw, 2rem);
	margin-bottom: clamp(16px, 2.4vw, 30px);
}

/* Слайдер: нативний scroll-snap — плавний на дотик, без JS під час свайпу */
.cf-slider {
	position: relative;
	width: 100%;
	max-width: var(--cf-slider-max, 560px);
	min-width: 0;
}

.cf-slider__viewport {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	background-color: var(--color-bg-secondary);
}

.cf-slider__viewport::-webkit-scrollbar {
	display: none;
}

/* Перетягування мишею: на час drag вимикаємо snap і плавність,
   інакше вони «воюють» із рукою користувача */
@media (hover: hover) and (pointer: fine) {
	.cf-slider__viewport {
		cursor: grab;
	}

	.cf-slider__viewport.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
		scroll-behavior: auto;
		user-select: none;
	}

	.cf-slider__viewport.is-dragging img {
		pointer-events: none;
	}
}

.cf-slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: center;
	scroll-snap-stop: always;
	/* Задається в розмітці під орієнтацію фото конкретного лендингу:
	   горизонтальні галереї не можна втискати у вертикальну рамку. */
	aspect-ratio: var(--cf-slide-ratio, 3 / 2);
}

.cf-slide a,
.cf-slide img {
	display: block;
	width: 100%;
	height: 100%;
}

.cf-slide img {
	object-fit: cover;
}

.cf-slider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-top: 14px;
}

.cf-slider__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--color-blue);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.cf-slider__arrow:hover {
	color: var(--color-grey);
}

.cf-slider__arrow[disabled] {
	opacity: 0.3;
	cursor: default;
}

.cf-slider__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
}

.cf-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border-radius: 50%;
	background: var(--color-grey);
	opacity: 0.45;
	transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.cf-slider__dot.is-active {
	background: var(--color-blue);
	opacity: 1;
	transform: scale(1.35);
}

@media (max-width: 768px) {
	.cf-slider__arrow {
		display: none;
	}
}

/* Деталі заходу */
.about-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: clamp(8px, 2vw, 24px);
	margin-inline: max(var(--cf-gutter), env(safe-area-inset-left));
	padding: clamp(8px, 2vw, 20px) 0;
}

.about-details-item {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.6vw, 15px);
	padding: clamp(10px, 1.6vw, 20px) 0;
	transition: transform 0.3s ease;
}

.about-details-item__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-details-item__icon svg {
	width: clamp(30px, 6vw, 48px);
	height: auto;
	color: var(--color-blue);
}

.about-details-item__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.about-details-item__title {
	font-size: clamp(1.0625rem, 2vw, 1.5rem);
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-text-primary);
}

.about-details-item__text {
	font-size: clamp(0.875rem, 1.2vw, 0.95rem);
	color: var(--color-grey);
	line-height: 1.5;
}

@media (hover: hover) {
	.about-details-item:hover {
		transform: translateY(-4px);
	}
}

/* --------------------------------------------------------------------------
   9. Спікери / партнери / роботодавці (картки)
   -------------------------------------------------------------------------- */
.speakers {
	position: relative;
	z-index: 2;
}

#career-forum-speakers::before {
	content: "";
	position: absolute;
	top: -100px;
	left: -10%;
	width: clamp(260px, 40vw, 520px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(var(--color-blue--rgb), 0.16), rgba(var(--color-blue--rgb), 0) 100%);
	z-index: 0;
	pointer-events: none;
}

.speakers__list {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 360px));
	gap: clamp(20px, 3.5vw, 50px);
	margin-top: var(--cf-block-gap);
	padding-inline: max(var(--cf-gutter), env(safe-area-inset-left));
	align-items: stretch;
	justify-content: center;
}

@media (min-width: 1100px) {
	.speakers__list {
		grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
	}
}

.speakers-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: inherit;
}

.speakers-item__card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	background-color: var(--color-bg-primary);
	border: 4px solid var(--color-blue);
	box-shadow: 0 5px 20px rgba(var(--color-black--rgb), 0.07);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
	.speakers-item:hover .speakers-item__card {
		transform: translateY(-8px);
		box-shadow: 0 10px 25px rgba(var(--color-black--rgb), 0.12);
	}

	.speakers-item:hover .speakers-item__img img {
		transform: scale(1.04);
	}
}

.speakers-item__img {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.speakers__list:not(._partners) .speakers-item__img {
	flex: 0 0 auto;
	aspect-ratio: var(--cf-portrait-ratio, 5 / 6);
}

.speakers-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

.speakers-item__insta {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 24px;
	margin-bottom: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-blue);
	transition: opacity 0.3s ease;
}

.speakers-item__insta:hover {
	opacity: 0.7;
}

.speakers-item__insta span::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: -3px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231b4ffd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.speakers-item__insta.speakers-item__fb span::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231b4ffd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 7h-2a2 2 0 0 0-2 2v9'%3E%3C/path%3E%3Cline x1='9' y1='11' x2='15' y2='11'%3E%3C/line%3E%3C/svg%3E");
}

.speakers-item__info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: clamp(14px, 2vw, 20px);
	min-width: 0;
}

.speakers-item__name {
	margin-bottom: 6px;
	font-size: clamp(1.1875rem, 2vw, 1.6rem);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-blue);
	hyphens: auto;
}

.speakers-item__position {
	flex: 1 1 auto;
	font-size: clamp(0.9375rem, 1.2vw, 1rem);
	line-height: 1.5;
	color: var(--color-grey);
}

.speakers-item__position p {
	margin: 0;
}

/* Бейдж категорії (лендинги 2023) */
.speakers-item__badge {
	align-self: flex-start;
	margin-top: 12px;
	padding: 5px 12px;
	background-color: rgba(var(--color-blue--rgb), 0.08);
	color: var(--color-blue);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.speakers-item__theme {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: clamp(12px, 1.8vw, 16px) clamp(14px, 2vw, 25px);
	border-top: 4px solid var(--color-blue);
	background-color: var(--color-bg-primary);
}

.speakers-item__theme svg {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.speakers-item__theme p {
	margin: 0;
	font-size: clamp(0.9375rem, 1.3vw, 1.1rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-text-primary);
}

/* Партнери та роботодавці */
.speakers__list._partners {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(16px, 2.4vw, 30px);
}

@media (min-width: 1100px) {
	.speakers__list._partners {
		grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
	}
}

._partners .speakers-item__img {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(150px, 22vw, 220px);
	padding: 20px;
	background-color: #ffffff;
	border-bottom: 1px solid var(--color-grey-050);
	pointer-events: none;
}

._partners .speakers-item__img img {
	width: auto;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}

._partners .speakers-item__info {
	padding: clamp(16px, 2.2vw, 25px);
}

._partners .speakers-item__name,
._partners__name {
	margin-bottom: 12px;
	color: var(--color-text-primary);
	hyphens: auto;
}

/* Плитка тільки з логотипом (роботодавці) */
._partners .speakers-item__card > .speakers-item__img:only-child {
	height: clamp(140px, 20vw, 200px);
	border-bottom: 0;
}

/* Рівень партнерства */
.speakers-item__tier {
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 5px 14px;
	background-color: var(--color-blue);
	color: var(--color-white);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.read-more {
	align-self: flex-start;
	margin-top: 15px;
	padding: 6px 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-blue);
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.read-more:hover {
	opacity: 0.7;
}

.extra-text {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	padding-top: 0;
	border-top: 1px solid transparent;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--color-grey);
	transition: grid-template-rows 0.35s ease, margin-top 0.35s ease, padding-top 0.35s ease, border-color 0.35s ease;
}

.extra-text > * {
	overflow: hidden;
	min-height: 0;
}

.extra-text p {
	margin: 0 0 10px;
}

.extra-text p:last-child {
	margin-bottom: 0;
}

.extra-text.is-open {
	grid-template-rows: 1fr;
	margin-top: 15px;
	padding-top: 10px;
	border-top-color: var(--color-grey-050);
}

/* Рядок хештегів */
.speakers-horizontal-text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin-top: clamp(32px, 6vw, 80px);
	margin-bottom: clamp(24px, 8vw, 140px);
	padding: 20px 0;
	overflow: hidden;
	user-select: none;
}

.horizontal-track {
	display: flex;
	width: max-content;
	white-space: nowrap;
	animation: cf-marquee 50s linear infinite;
}

.horizontal-track.track-reverse {
	animation-name: cf-marquee-reverse;
}

.horizontal-track span {
	margin-right: clamp(15px, 3vw, 40px);
	font-size: clamp(1.5rem, 4.5vw, 3rem);
	font-weight: 500;
	line-height: 1.1;
	text-transform: lowercase;
}

.horizontal-track span:nth-child(odd) {
	color: var(--color-blue);
}

.horizontal-track span:nth-child(even) {
	color: transparent;
	-webkit-text-stroke: 1px var(--color-blue);
}

/* --------------------------------------------------------------------------
   10. Програма
   -------------------------------------------------------------------------- */
#career-forum-program {
	position: relative;
	z-index: 1;
}

.program__wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--cf-block-gap);
	margin-top: var(--cf-block-gap);
}

.program__text {
	margin-top: var(--cf-block-gap);
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	color: var(--color-grey);
}

.program-section__title,
.program-section__subtitle {
	margin: clamp(16px, 3vw, 30px) 0 clamp(12px, 2vw, 20px);
	color: var(--color-link-hover);
	font-size: clamp(1.375rem, 3.4vw, 2.25rem);
	font-weight: 500;
	line-height: 1.2;
}

.program-section__list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.program-item--block {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 1400px;
	padding: clamp(10px, 1.4vw, 12px) clamp(16px, 2.4vw, 30px);
	background-color: rgba(var(--color-blue--rgb), 0.05);
	border: 3px solid var(--color-blue);
	box-shadow: 0 5px 15px rgba(var(--color-blue--rgb), 0.05);
	color: var(--color-text-primary);
}

.program-item {
	display: flex;
	align-items: flex-start;
	gap: clamp(12px, 3vw, 60px);
	padding: clamp(12px, 1.6vw, 20px) 0;
	border-bottom: 1px solid rgba(var(--color-blue--rgb), 0.2);
}

.program-item:last-child {
	border-bottom: 0;
}

.program-item__time {
	flex: 0 0 auto;
	min-width: clamp(72px, 14vw, 200px);
	color: var(--color-link-hover);
	font-size: clamp(1.0625rem, 2.4vw, 1.625rem);
	font-weight: 700;
	line-height: 1.3;
}

.program-item-info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.program-item-info__wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 20px;
}

.program-item__text p {
	margin: 0;
	font-size: clamp(1rem, 1.9vw, 1.5rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-link-hover);
	max-width: 650px;
}

.program-item__place p {
	margin: 0;
	font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
	color: var(--color-grey);
	line-height: 1.4;
}

/* Проста позиція (кава-брейк тощо) */
.program-item--simple {
	background-color: transparent;
	border-color: transparent;
	box-shadow: none;
	padding-block: 0;
}

.program-item--simple .program-item {
	padding: 10px 0;
	border-bottom: 0;
}

.program-item--simple .program-item__time,
.program-item--simple .program-item__text p {
	color: var(--color-grey);
	font-weight: 500;
}

.program-item--simple .program-item__text p {
	font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
}

/* Тег блоку. На широких екранах — вертикальна смужка ліворуч від картки:
   writing-mode замість rotate() гарантує, що вона завжди вміщається
   у горизонтальний відступ сторінки й нічого не обрізається. */
.program-item__tag {
	display: inline-block;
	width: fit-content;
	margin-bottom: 12px;
	color: transparent;
	-webkit-text-stroke: 1px var(--color-blue);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}

@media (min-width: 1200px) {
	.program-item__tag {
		position: absolute;
		top: 0;
		bottom: 0;
		right: calc(100% + 10px);
		display: flex;
		align-items: center;
		justify-content: center;
		width: 1.5em;
		margin: 0;
		font-size: clamp(1.5rem, 2.4vw, 2rem);
		font-weight: 400;
		letter-spacing: 0.06em;
	}

	.program-item__tag span {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}
}

@media (max-width: 700px) {
	.program-item {
		flex-direction: column;
		gap: 10px;
	}

	.program-item__time {
		width: 100%;
		padding-bottom: 10px;
		border-bottom: 1px solid rgba(var(--color-blue--rgb), 0.2);
	}

	.program-item--simple .program-item__time {
		border-bottom-color: rgba(98, 101, 112, 0.2);
	}

	.program-item-info__wrapper {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* --------------------------------------------------------------------------
   11. Постійні локації
   -------------------------------------------------------------------------- */
.location__wrapper {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: var(--cf-block-gap);
}

.location-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px clamp(20px, 4vw, 60px);
	padding: clamp(16px, 2.4vw, 30px) 0;
}

.location-item__title {
	flex: 1 1 260px;
	max-width: 420px;
	color: var(--color-blue);
	font-size: clamp(1.1875rem, 2.4vw, 1.8rem);
	font-weight: 500;
	line-height: 1.35;
}

.location-item__title p,
.location-item__text p {
	margin: 0;
}

.location-item__text {
	flex: 1 1 320px;
	max-width: 800px;
	font-size: clamp(0.9375rem, 1.6vw, 1.3rem);
	line-height: 1.45;
	color: var(--color-grey);
}

@media (max-width: 768px) {
	.location__wrapper {
		gap: 16px;
	}

	.location-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 16px 18px;
		background-color: var(--color-bg-secondary);
		border-left: 4px solid var(--color-blue);
	}

	.location-item__title,
	.location-item__text {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}
}

/* --------------------------------------------------------------------------
   12. Модальне вікно з відео + лайтбокс
   -------------------------------------------------------------------------- */
.career-popup,
.cf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.career-popup.is-open,
.cf-lightbox.is-open {
	visibility: visible;
	opacity: 1;
}

.popup__bg,
.cf-lightbox__bg {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
}

.career-popup__wrapper {
	position: relative;
	z-index: 2;
	width: min(94%, 1200px);
}

.popup__close {
	position: absolute;
	top: -52px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	z-index: 3;
	color: #fff;
	transition: transform 0.2s ease;
}

.popup__close:hover {
	transform: rotate(90deg);
}

.video-content-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.video-content-player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Лайтбокс галереї */
.cf-lightbox__figure {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(94%, 1100px);
	max-height: 84dvh;
}

.cf-lightbox__img {
	max-width: 100%;
	max-height: 84dvh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.cf-lightbox__close {
	position: fixed;
	top: max(12px, env(safe-area-inset-top));
	right: 12px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 50%;
}

.cf-lightbox__arrow {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

.cf-lightbox__arrow:hover {
	background: rgba(0, 0, 0, 0.75);
}

.cf-lightbox__arrow--prev { left: max(10px, env(safe-area-inset-left)); }
.cf-lightbox__arrow--next { right: max(10px, env(safe-area-inset-right)); }

.cf-lightbox__counter {
	position: fixed;
	bottom: max(16px, env(safe-area-inset-bottom));
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	padding: 6px 14px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
	.cf-lightbox__arrow {
		width: 44px;
		height: 44px;
	}
}

/* --------------------------------------------------------------------------
   13. Підвал
   -------------------------------------------------------------------------- */
.career-forum-footer {
	position: relative;
	margin-top: var(--cf-section-gap);
	padding: clamp(28px, 4vw, 40px) 0 calc(clamp(28px, 4vw, 40px) + env(safe-area-inset-bottom));
	background-color: var(--color-bg-secondary);
	overflow: hidden;
}

.career-forum-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: clamp(20px, 3vw, 30px);
}

.career-forum-footer__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.career-forum-footer__logo img {
	max-height: 40px;
	width: auto;
}

.career-forum-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px clamp(18px, 3vw, 30px);
}

.career-forum-footer__nav a {
	display: inline-block;
	padding: 8px 0;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.career-forum-footer__nav a:hover {
	color: var(--color-blue);
}

.career-forum-footer__divider {
	margin: clamp(20px, 3vw, 30px) 0;
	border: 0;
	height: 1px;
	background-color: var(--color-blue);
	opacity: 0.3;
}

.career-forum-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: clamp(24px, 4vw, 30px);
}

.career-forum-footer__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 3vw, 35px);
}

.career-forum-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--color-grey);
}

.career-forum-footer__contact-item svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--color-blue);
}

.career-forum-footer__contact-item span {
	display: block;
}

.career-forum-footer__contact-item div span:first-child {
	margin-bottom: 5px;
}

.career-forum-footer__socials {
	display: flex;
	align-items: center;
	gap: 6px;
}

.career-forum-footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	transition: color 0.3s ease;
}

.career-forum-footer__socials a:hover {
	color: var(--color-blue);
}

@media (max-width: 992px) {
	.career-forum-footer__top,
	.career-forum-footer__bottom {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.career-forum-footer__contacts {
		flex-direction: column;
		align-items: center;
	}

	.career-forum-footer__contact-item {
		flex-direction: column;
		align-items: center;
	}

	.career-forum-footer__contact-item svg {
		margin-top: 0;
	}
}

/* --------------------------------------------------------------------------
   14. Доступність і збереження ресурсу
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.career-forum-marquee__inner,
	.horizontal-track {
		animation: none;
		transform: none;
	}

	.cf-slider__viewport {
		scroll-behavior: auto;
	}
}

@media print {
	.career-forum-header,
	.career-forum-header__marquee,
	.speakers-horizontal-text,
	.career-popup,
	.cf-lightbox,
	.cf-slider__nav {
		display: none !important;
	}
}

/* Колаж логотипів роботодавців на всю ширину контейнера */
.employers-banner {
	margin-top: var(--cf-block-gap);
	padding: clamp(16px, 3vw, 40px);
	background-color: #ffffff;
	border: 4px solid var(--color-blue);
}

.employers-banner img {
	width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   15. Глобальні елементи сайту (індикатор прокрутки + кнопка «вгору»)
   Раніше вони приходили з /landings/careerforum/global-elements.php, але цей
   шлях недоступний на проді (nginx віддає 404 → сторінки лишалися без них).
   Розмітка і стилі тепер власні, серверних залежностей немає.
   -------------------------------------------------------------------------- */
#scrollIndicator {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 0;
	height: 5px;
	background-color: var(--color-blue-100);
	z-index: 9999;
	transition: width 0.1s linear;
	pointer-events: none;
}

@media (max-width: 480px) { #scrollIndicator { height: 3px; } }
@media (min-width: 481px) and (max-width: 1024px) { #scrollIndicator { height: 4px; } }
@media (min-width: 1921px) { #scrollIndicator { height: 6px; } }

#toTop {
	position: fixed;
	right: 10px;
	bottom: calc(15px + env(safe-area-inset-bottom));
	z-index: 9980;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: var(--color-blue-200);
	border: 1px solid #ffffff;
	color: #ffffff;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

#toTop.is-visible {
	opacity: 1;
	visibility: visible;
}

#toTop:hover {
	background: var(--color-blue-100);
}

#toTop svg {
	width: 24px;
	height: 24px;
}

@media (min-width: 769px) {
	#toTop:hover {
		transform: translateY(-3px);
		box-shadow: 0 10px 20px rgba(var(--color-blue-100--rgb), 0.15);
	}

	#toTop svg {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 768px) {
	#toTop {
		right: 8px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		width: 36px;
		height: 36px;
		padding: 6px;
	}
}

/* --------------------------------------------------------------------------
   16. Telegram-віджет «Вступ»
   Позиціювання враховує правки з global-elements.css (попап розкривається
   вгору від кнопки), тому !important більше не потрібні.
   -------------------------------------------------------------------------- */
.tg-widget-wrapper {
	position: fixed;
	left: max(10px, env(safe-area-inset-left));
	bottom: calc(max(10px, env(safe-area-inset-bottom)));
	z-index: 9981;
}

@media (min-width: 601px) {
	.tg-widget-wrapper {
		left: 15px;
		bottom: 15px;
	}
}

.tg-widget-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--color-blue-200);
	border: 1px solid #ffffff;
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(42, 171, 238, 0.15);
	transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-widget-btn svg {
	width: 20px;
	height: 20px;
}

@media (min-width: 601px) {
	.tg-widget-btn {
		width: 52px;
		height: 52px;
	}

	.tg-widget-btn svg {
		width: 26px;
		height: 26px;
	}
}

@media (hover: hover) {
	.tg-widget-btn:hover {
		background: var(--color-blue-100);
		transform: translateY(-3px);
		box-shadow: 0 10px 20px rgba(22, 41, 91, 0.2);
	}

	.tg-widget-btn:hover svg {
		animation: tgPlaneTakeoff 0.6s ease-in-out forwards;
	}
}

@keyframes tgPlaneTakeoff {
	0%   { transform: translate(0, 0) scale(1); opacity: 1; }
	40%  { transform: translate(30px, -30px) scale(0.5); opacity: 0; }
	41%  { transform: translate(-30px, 30px) scale(0.5); opacity: 0; }
	100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

.tg-vstup-popup {
	position: absolute;
	bottom: 0;
	left: calc(100% + 15px);
	z-index: 9999;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 300px;
	height: 112px;
	padding: 16px 20px;
	background-color: var(--color-bg-primary);
	border: 1px solid var(--color-blue-200);
	color: var(--color-text-primary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tg-vstup-popup.is-open {
	display: flex;
	animation: tgPopupSlideUp 0.3s ease forwards;
}

@keyframes tgPopupSlideUp {
	from { opacity: 0; transform: translateY(10px) scale(0.95); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Хвостик, спрямований на кнопку */
.tg-vstup-popup::after,
.tg-vstup-popup::before {
	content: "";
	position: absolute;
	bottom: 19px;
	border-width: 7px 7px 7px 0;
	border-style: solid;
}

.tg-vstup-popup::after {
	left: -7px;
	border-color: transparent var(--color-blue-200) transparent transparent;
}

.tg-vstup-popup::before {
	left: -6px;
	z-index: 1;
	border-color: transparent var(--color-bg-primary) transparent transparent;
}

.tg-vstup-popup__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.tg-vstup-popup__title {
	margin: 0;
	padding-right: 24px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	color: var(--color-text-primary);
}

.tg-vstup-popup__title b {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-blue-200);
}

.tg-vstup-popup__button {
	display: block;
	width: 100%;
	padding: 8px 16px;
	background-color: var(--color-blue-200);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	transition: background-color 0.3s ease;
}

.tg-vstup-popup__button:hover {
	background-color: var(--color-blue-100);
	color: #ffffff;
}

.tg-vstup-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	color: #94a3b8;
	font-size: 22px;
	line-height: 1;
	transition: color 0.3s ease;
}

.tg-vstup-popup__close:hover {
	color: #ef4444;
}

@media screen and (max-width: 480px) {
	.tg-vstup-popup {
		width: 250px;
		height: 87px;
		padding: 12px 14px;
	}

	.tg-vstup-popup::after,
	.tg-vstup-popup::before {
		bottom: 14px;
	}

	.tg-vstup-popup__title { font-size: 14px; }
	.tg-vstup-popup__title b { font-size: 15px; }
	.tg-vstup-popup__button { font-size: 13px; padding: 6px 12px; }
}

html[data-theme="dark"] .tg-vstup-popup__title b,
html[data-theme="dark"] .tg-vstup-popup::after {
	color: var(--color-link);
	border-right-color: var(--color-link);
}
