/* ─────────────────────────────────────────────────────────────
   Montessori Bulgaria — theme.css
   Стилове за секциите на началната страница + хедър/футър +
   стандартни компоненти (btn, card, chip, read-more, и т.н.)

   Дизайн tokens (цветове, типография, shadows) идват от tokens.css.
   ───────────────────────────────────────────────────────────── */

/* ===== Layout ===== */
.container {
	width: 100%;
	max-width: 1600px;
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 128px);
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
}

.site-main {
	flex: 1 0 auto;
}

.section {
	padding-block: clamp(48px, 6vw, 88px);
}

.section--white    { background: var(--white); }
.section--surface  { background: var(--surface); }
.section--navy     { background: var(--navy-900); color: var(--fg-on-dark); }
.section--spacer   { padding-block: clamp(32px, 4vw, 72px); }

.section__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.section__header--wide {
	align-items: flex-end;
}

.section__header--actions {
	gap: 24px;
}

.section__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: clamp(28px, 3.5vw, 40px);
	line-height: 1.08;
	color: var(--brand);
	letter-spacing: -0.01em;
	margin: 14px 0 0;
	max-width: 820px;
}

.section__title--light { color: var(--white); }

.section__lead {
	color: var(--fg-2);
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.65;
	margin: 0;
	max-width: 640px;
}

.section__lead--light {
	color: rgba(255, 255, 255, 0.85);
}

.section__link {
	color: var(--brand);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.section__link:hover { color: var(--action); }

.section__header-actions {
	display: flex;
	gap: 16px;
}

/* ===== Typography helpers ===== */
.eyebrow {
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand);
}
.eyebrow--light { color: var(--white); }
.eyebrow--pink  { color: var(--pink-500); }
.eyebrow--sun   { color: var(--sun-300); }
.eyebrow--green { color: var(--green-500); }

.ms-sun { vertical-align: middle; flex-shrink: 0; }

/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	border: 0;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
	            transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
	text-decoration: none;
	white-space: nowrap;
}

.btn--primary       { background: var(--action); color: var(--white); }
.btn--primary:hover,
.btn--primary:focus,
a.btn--primary:hover,
a.btn--primary:focus { background: var(--action-hover); color: var(--white); }
.btn--primary:active { transform: translateY(1px); }

.btn--secondary       { background: var(--white); color: var(--brand); border: 1.5px solid var(--brand); }
.btn--secondary:hover,
.btn--secondary:focus,
a.btn--secondary:hover,
a.btn--secondary:focus { background: var(--surface); color: var(--brand); }

.btn--ghost       { background: transparent; color: var(--brand); padding: 0; }
.btn--ghost:hover,
.btn--ghost:focus,
a.btn--ghost:hover,
a.btn--ghost:focus { color: var(--action); }

.btn--ghost-light       { background: rgba(255, 255, 255, 0.14); color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover,
.btn--ghost-light:focus,
a.btn--ghost-light:hover,
a.btn--ghost-light:focus { background: rgba(255, 255, 255, 0.24); color: var(--white); }

.btn--lg { padding: 16px 32px; font-size: 17px; }

.btn__icon { flex-shrink: 0; }

/* Предпазване: глобалното a:hover в tokens.css боядисва всеки линк в зелено.
   Експлицитно казваме на бутоните да пазят цвета си при всички състояния.
   Същото важи за .btn__icon SVG-то вътре — да не наследява color: green от <a>. */
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited { text-decoration: none; }
a.btn .btn__icon { color: inherit; stroke: currentColor; }

/* ===== Links ===== */
a { color: var(--link); text-decoration: none; font-weight: 700; }
a:hover { color: var(--action-hover); }

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--green-500);
	font-weight: 800;
	font-size: 15px;
	font-family: var(--font-body);
	cursor: pointer;
	text-decoration: none;
	transition: transform var(--dur-fast) var(--ease);
}
.read-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.read-more:hover .read-more__arrow { transform: translateX(3px); }
.read-more__arrow { transition: transform var(--dur-fast) var(--ease); font-weight: 900; }
.read-more--light { color: var(--white); }

/* ===== Chips ===== */
.chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	width: fit-content;
	max-width: 100%;
	color: var(--white);
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 4px;
}
.chip--news         { background: var(--green-500); }
.chip--event        { background: var(--sun-400);  }
.chip--announcement { background: var(--pink-500); }

/* ===== Image cards ===== */
.image-card {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--surface);
}
.image-card > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-card--4-3      > img { aspect-ratio: 4/3; }
.image-card--portrait > img { aspect-ratio: 4/5; }

/* ===== Topbar ===== */
.topbar {
	background: var(--navy-900);
	color: var(--white);
	font-size: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-block: 10px;
}
.topbar__center {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	font-weight: 600;
}
.topbar__right {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	margin-left: auto; /* бута групата в най-дясно, независимо от броя елементи вляво */
}
.topbar__left {
	display: inline-flex;
	gap: 14px;
	align-items: center;
}
.topbar__social {
	color: var(--white);
	opacity: 0.85;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity var(--dur-fast);
}
.topbar__social:hover { opacity: 1; color: var(--sun-300); }
.topbar__social-sep { opacity: 0.35; }
.topbar__contact {
	color: var(--white);
	opacity: 0.9;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
}
.topbar__contact:hover { color: var(--sun-300); opacity: 1; }
.topbar__sep { opacity: 0.35; }

.lang-switch {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 2px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13px;
}
.lang-switch__item a,
.lang-switch__link {
	color: var(--white);
	opacity: 0.55;
	padding: 0 6px;
}
.lang-switch__item.is-current a,
.lang-switch__item.is-current .lang-switch__link,
.lang-switch__item a:hover { opacity: 1; }
.lang-switch--disabled {
	cursor: not-allowed;
	opacity: 0.72;
}
.lang-switch--disabled .lang-switch__link {
	cursor: not-allowed;
	pointer-events: none;
	text-decoration: none;
}
.lang-switch__item:not(:last-child)::after {
	content: "|";
	color: var(--white);
	opacity: 0.3;
	margin-left: 4px;
}

.socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 10px;
}
.socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	color: var(--pink-500);
	background: transparent;
	transition: color var(--dur-fast), background var(--dur-fast);
}
.socials--topbar .socials__link { width: 22px; height: 22px; color: var(--white); opacity: 0.85; }
.socials--topbar .socials__link:hover { color: var(--pink-500); opacity: 1; }
.socials--footer .socials__link { background: rgba(255, 255, 255, 0.08); width: 36px; height: 36px; color: var(--pink-500); }
.socials--footer .socials__link:hover { background: rgba(255, 255, 255, 0.16); }

/* ===== Header ===== */
.site-header {
	background: var(--white);
	box-shadow: 0 1px 0 rgba(8, 18, 25, 0.06);
	position: sticky;
	top: 0;
	z-index: 50;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 18px;
	gap: 24px;
}
.site-logo img { height: 90px; width: auto; }
@media (max-width: 768px) {
	.site-logo img { height: 64px; }
}
.site-logo { flex-shrink: 0; }

/* ===== Primary nav ===== */
.primary-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}
.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav__list a.menu-link {
	color: var(--brand);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-block: 22px;
	transition: color var(--dur-fast);
}
.primary-nav__list a.menu-link:hover,
.primary-nav__list a.menu-link.is-current {
	color: var(--action);
}
.menu-caret { font-size: 10px; opacity: 0.6; }

.primary-nav__list .menu-item-has-children { position: relative; }
.primary-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -12px;
	min-width: 200px;
	background: var(--white);
	border-radius: 12px;
	padding: 10px 6px;
	box-shadow: 0 18px 48px rgba(45, 62, 129, 0.18);
	list-style: none;
	margin: 0;
	display: none;
	z-index: 20;
}
.primary-nav__list .menu-item-has-children:hover > .sub-menu,
.primary-nav__list .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}
.primary-nav__list .sub-menu a.menu-link {
	display: block;
	padding: 8px 16px;
	color: var(--brand);
	font-weight: 600;
	font-size: 14px;
	border-radius: 6px;
}
.primary-nav__list .sub-menu a.menu-link:hover { background: var(--surface); }

.primary-nav__cta { flex-shrink: 0; }

.primary-nav__toggle {
	display: none;
	position: relative;
	z-index: 60; /* над .primary-nav__list (z-index 49) — винаги достъпен */
	border: 0;
	background: transparent;
	padding: 10px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}
.primary-nav__toggle-bar {
	width: 22px;
	height: 2px;
	background: var(--brand);
	border-radius: 2px;
	transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
	transform-origin: center;
}
/* Burger → X анимация при отворено меню */
.primary-nav.is-open .primary-nav__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.primary-nav.is-open .primary-nav__toggle-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.primary-nav.is-open .primary-nav__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile primary nav */
@media (max-width: 1024px) {
	.primary-nav__toggle { display: flex; }
	.primary-nav__list {
		position: fixed;
		inset: 0;
		background: var(--white);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 32px 24px 24px;
		gap: 4px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform var(--dur-base) var(--ease);
		z-index: 49;
	}
	/* Позиционира X бутона горе-дясно, независимо от header-а */
	.primary-nav.is-open .primary-nav__toggle {
		position: fixed;
		top: 16px;
		right: 16px;
		z-index: 60;
	}
	.primary-nav.is-open .primary-nav__list { transform: translateX(0); }
	.primary-nav__list .menu-top > a.menu-link {
		padding: 14px 0;
		font-size: 20px;
		border-bottom: 1px solid rgba(45, 62, 129, 0.08);
	}
	.primary-nav__list .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		padding: 0 0 16px 16px;
	}
	.primary-nav__cta { display: none; }
}

/* ===== Hero ===== */
.hero {
	position: relative;
	height: min(720px, 78vh);
	min-height: 520px;
	overflow: hidden;
	background: #000;
	color: var(--white);
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.hero {
		height: auto;
		min-height: 460px;
		max-height: 70vh;
	}
	.hero__content {
		padding-block: 32px;
		padding-inline: 16px;
		box-sizing: border-box;
		gap: 14px;
	}
	.hero__title {
		font-size: clamp(22px, 6.5vw, 32px);
		max-width: 100%;
		line-height: 1.15;
	}
	.hero__subtitle {
		font-size: 14px;
		line-height: 1.55;
		max-width: 100%;
	}
	.hero__actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.hero__actions .btn {
		width: 100%;
		justify-content: center;
		max-width: 320px;
		margin: 0 auto;
	}
}
.hero__media { position: absolute; inset: 0; }
.hero__fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero__video-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 1;
}
.hero__video-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: radial-gradient(
		ellipse at center,
		rgba(45, 62, 129, 0.92) 0%,
		rgba(45, 62, 129, 0.82) 18%,
		rgba(45, 62, 129, 0.38) 38%,
		rgba(45, 62, 129, 0) 58%
	);
}
.hero__video {
	position: absolute;
	top: 50%;
	left: 50%;
	/* Размерите се задават от JS (theme.js → initHeroVideoCover). Това е
	   единственият 100% надежден начин да гарантираме 16:9 iframe, който
	   винаги покрива hero-то при всяко aspect ratio (пейзаж/портрет/квадрат). */
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	border: 0;
}

/* Hero height variable — използва се от iframe calc-а горе */
.hero { --hero-height: 78vh; }
@media (max-width: 1100px) {
	.hero { --hero-height: 70vh; }
}
@media (max-width: 768px) {
	.hero { --hero-height: 460px; }
	.hero__fallback {
		object-fit: cover !important;
		object-position: center center;
	}
}
.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(45, 62, 129, 0.55) 0%, rgba(45, 62, 129, 0.35) 40%, rgba(45, 62, 129, 0.75) 100%);
}
@media (max-width: 768px) {
	.hero__overlay {
		/* По-слаб overlay — на mobile само fallback снимката показва и искаме
		   да се вижда по-ясно; text contrast е подсигурен от self-shadow на title. */
		background: linear-gradient(180deg, rgba(45, 62, 129, 0.4) 0%, rgba(45, 62, 129, 0.45) 50%, rgba(45, 62, 129, 0.65) 100%);
	}
	.hero__title { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
	.hero__subtitle { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
}
.hero__content {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 20px;
	padding-block: 48px;
}
.hero__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.08;
	max-width: 900px;
	margin: 0;
	letter-spacing: -0.015em;
	color: var(--white);
}
.hero__subtitle {
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.6;
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}
.hero__scroll-hint {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 700;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.hero__scroll-line {
	width: 2px;
	height: 28px;
	background: rgba(255, 255, 255, 0.5);
	animation: scroll-hint 1.6s infinite;
}
@keyframes scroll-hint {
	0%      { transform: scaleY(0); transform-origin: top; }
	50%     { transform: scaleY(1); transform-origin: top; }
	50.01%  { transform-origin: bottom; }
	100%    { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Section § 2 — Distinguishes ===== */
.distinguishes__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.distinguishes .section__title {
	font-size: clamp(28px, 3.6vw, 44px);
}
@media (max-width: 900px) {
	.distinguishes__grid { grid-template-columns: 1fr; }
}

/* ===== Section § 3 — Quote band ===== */
.section.quote-band { padding-block: 80px; }
.quote-band__inner {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
	position: relative;
}
.quote-band__mark {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 140px;
	line-height: 1;
	color: var(--pink-500);
	opacity: 0.18;
	position: absolute;
	left: 50%;
	top: -20px;
	transform: translateX(-50%);
	user-select: none;
}
.quote-band__quote {
	font-family: var(--font-body);
	font-weight: 600;
	font-style: italic;
	font-size: clamp(22px, 2.5vw, 30px);
	line-height: 1.4;
	color: var(--brand);
	margin: 0;
	position: relative;
	z-index: 1;
}
.quote-band__author {
	margin-top: 28px;
	display: inline-flex;
	gap: 14px;
	align-items: center;
	text-align: left;
}
.quote-band__author strong {
	font-family: var(--font-body);
	font-weight: 800;
	color: var(--brand);
	font-size: 16px;
	display: block;
}
.quote-band__author em {
	font-size: 13px;
	color: var(--muted-300);
	font-style: normal;
	font-family: var(--font-body);
	display: block;
}
.quote-band__rule {
	width: 48px;
	height: 2px;
	background: var(--pink-500);
	display: inline-block;
}

/* ===== Section § 4 — Cards slider ===== */
.cards-slider__track-wrap { overflow: hidden; }
.cards-slider__track {
	display: flex;
	gap: 24px;
	transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cards-slider__nav {
	display: flex;
	gap: 12px;
}
.cards-slider__arrow {
	width: 52px;
	height: 52px;
	border-radius: 999px;
	background: var(--white);
	color: var(--brand);
	border: 1.5px solid var(--brand);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background var(--dur-fast), color var(--dur-fast);
}
.cards-slider__arrow:hover:not(:disabled) { background: var(--brand); color: var(--white); }
.cards-slider__arrow:disabled { opacity: 0.4; cursor: not-allowed; border-color: var(--border); color: var(--border); }

.cards-slider__dots {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 28px;
}
.cards-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(45, 62, 129, 0.2);
	border: 0;
	cursor: pointer;
	transition: all 240ms;
}
.cards-slider__dot.is-active {
	width: 28px;
	background: var(--pink-500);
}

/* ===== Cards (generic) ===== */
.card {
	background: var(--white);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(45, 62, 129, 0.12);
	display: flex;
	flex-direction: column;
	transition: border-color var(--dur-base);
	position: relative; /* якор за stretched-link overlay */
}
.card:hover {
	border-color: rgba(45, 62, 129, 0.25);
}
/* Slider карти — без lift (translateY конфликтва с track-ното translateX). */
.card--slider { flex: 0 0 calc((100% / 3) - 16px); }
.card--slider:hover { transform: none; }

/* Stretched-link — цялата карта става кликаема чрез ::after overlay на .read-more.
   Overlay-ът покрива целия .card (най-близкият positioned ancestor). */
.card--slider .read-more::after,
.camps__card .read-more::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}
/* Cursor-ът на hover показва че цялата карта е кликаема. */
.card--slider:has(.read-more),
.camps__card:has(.read-more) {
	cursor: pointer;
}
/* Tag badge е визуален — не блокира клика върху картата. */
.camps__card .card__tag { pointer-events: none; }

@media (max-width: 1024px) { .card--slider { flex-basis: calc(50% - 12px); } }
@media (max-width: 640px)  { .card--slider { flex-basis: 100%; } }

.card__media {
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
	margin: 0;
}
.card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms; }
.card:hover .card__media > img { transform: scale(1.04); }

.card__body {
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}
.card__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 22px;
	line-height: 1.2;
	color: var(--brand);
	margin: 0;
}
.card__desc {
	color: var(--fg-2);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	flex: 1;
}
.card--long .card__desc { font-size: 14px; }
.card__badge {
	font-size: 12px;
	color: var(--pink-500);
	font-family: var(--font-body);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.card__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--white);
	color: var(--brand);
	padding: 5px 12px;
	border-radius: 4px;
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ===== Section § 5 — Personalized (LIGHT-STACK variant) ===== */
.personalized--light.section { padding-block: 80px; }

.personalized__intro {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: end;
	margin-bottom: 48px;
}
@media (max-width: 900px) { .personalized__intro { grid-template-columns: 1fr; gap: 24px; } }

/* No-stage modifier (полза за About → Програма секция: само заглавие + grid). */
.personalized--no-stage .personalized__intro { margin-bottom: 32px; }

.personalized__intro-title .section__title {
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.08;
	color: var(--brand);
	margin-top: 14px;
}
.personalized__intro-lead {
	font-size: clamp(16px, 1.4vw, 18px);
	line-height: 1.65;
	color: var(--fg-2);
	margin: 0;
	max-width: 640px;
}

.personalized__stage {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 21/9;
	box-shadow: 0 28px 60px rgba(7, 24, 90, 0.22);
	margin-bottom: 56px;
	background: var(--navy-900);
}
.personalized__stage > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.personalized__stage-vignette {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
	pointer-events: none;
}
.personalized__stage-caption {
	position: absolute;
	right: 32px;
	top: 32px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	padding: 10px 16px;
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	color: var(--brand);
	letter-spacing: 0.04em;
}

/* 360° sticker — base + bottom-left positioning for the LIGHT stage */
.sticker-360 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--brand);
	padding: 10px 20px 10px 14px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 15px;
	box-shadow: 0 8px 20px rgba(8, 18, 25, 0.18);
	transition: box-shadow var(--dur-base), transform var(--dur-base);
	text-decoration: none;
}
.sticker-360:hover {
	box-shadow: 0 14px 28px rgba(8, 18, 25, 0.28);
	transform: translateY(-2px);
}
.sticker-360--stage-bl {
	position: absolute;
	left: 32px;
	bottom: 32px;
}
.sticker-360--stage-center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}
.sticker-360--stage-center:hover {
	transform: translate(-50%, calc(-50% - 2px));
}
.sticker-360--placeholder {
	cursor: default;
}
.sticker-360__play {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: var(--brand);
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.personalized__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 28px;
}
@media (max-width: 1100px) { .personalized__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .personalized__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px)  { .personalized__grid { grid-template-columns: 1fr; } }

.personalized__item {
	border-top: 3px solid var(--brand);
	padding-top: 20px;
}
.personalized__item-num {
	display: block;
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 13px;
	color: var(--sun-500);
	letter-spacing: 0.14em;
	margin-bottom: 12px;
}
.personalized__item-title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 17px;
	line-height: 1.25;
	color: var(--brand);
	margin: 0 0 10px;
}
.personalized__item-desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--fg-2);
	margin: 0;
}

/* No-numbers modifier — за страници, където други секции вече ползват 01..N
 * номера (напр. „За нас" → Ценности секцията). Тук маркираме точките с
 * pink dot пред заглавието вместо номер; auto-fit grid за чисто layout. */
.personalized--no-numbers .personalized__grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}
.personalized--no-numbers .personalized__item {
	border-top: 0;
	padding-top: 0;
	padding-left: 22px;
	position: relative;
}
.personalized--no-numbers .personalized__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: var(--pink-500, #EA6697);
	box-shadow: 0 0 0 4px rgba(234, 103, 151, 0.18);
}
.personalized--no-numbers .personalized__item-title {
	margin-top: 0;
	font-size: 18px;
}

.personalized__cta {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

/* ===== Section § 6 — Community ===== */
.community__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 900px)  { .community__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .community__grid { grid-template-columns: 1fr; } }

.community__tile {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 4/5;
	display: block;
	text-decoration: none;
	color: var(--white);
	background: var(--navy-900);
}
.community__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
}
.community__media > img {
	position: absolute;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover !important;
	object-position: var(--community-image-position, center center) !important;
	transition: transform 420ms;
}
.community__tile:hover .community__media > img { transform: scale(1.04); }
.community__tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
}
.community__body {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 22px;
	z-index: 1;
}
.community__eyebrow {
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sun-300);
	display: block;
	margin-bottom: 6px;
}
.community__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 12px;
	color: var(--white);
}

/* ===== Section § 7 — Camps ===== */
.camps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 900px)  { .camps__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .camps__grid { grid-template-columns: 1fr; } }

.camps__card .card__media { aspect-ratio: 5/3; }
.camps__card .card__body { padding: 22px 24px 24px; }

/* ===== Section § 8 — Partners ===== */
.partners__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 1024px) { .partners__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .partners__grid { grid-template-columns: 1fr; } }

.partners__card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 240px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.partners__card:hover { box-shadow: 0 18px 48px rgba(45, 62, 129, 0.12); transform: translateY(-4px); }
.partners__badge {
	width: 72px;
	height: 72px;
	border-radius: 16px;
	background: var(--brand);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-align: center;
	padding: 6px;
}
.partners__badge img { max-width: 100%; max-height: 100%; }
.partners__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 19px;
	line-height: 1.2;
	color: var(--brand);
	margin: 0;
}
.partners__desc {
	color: var(--fg-2);
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

/* ===== Section § 9 — CTA banner ===== */
.cta-banner {
	position: relative;
	overflow: hidden;
	background: var(--navy-900);
	border-radius: 28px;
	padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 88px);
	color: var(--white);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: center;
}
@media (max-width: 900px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner__symbol,
.cta-banner__sun {
	position: absolute;
	right: -34px;
	top: -56px;
	width: clamp(180px, 20vw, 270px);
	aspect-ratio: 347.84 / 402.14;
	background-image: url("../images/logo-symbol-white.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.16;
	pointer-events: none;
}
.cta-banner__quote {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(22px, 2.8vw, 32px);
	line-height: 1.3;
	font-style: italic;
	margin: 14px 0 24px;
	max-width: 820px;
}
.cta-banner__author {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
	font-style: normal;
}
.cta-banner__copy { position: relative; z-index: 1; }
.cta-banner__action { position: relative; z-index: 1; }

/* ===== Section § 10 — News & Events ===== */
.news-events__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
}
@media (max-width: 900px) { .news-events__grid { grid-template-columns: 1fr; } }

.news-events__col-title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 16px;
}
.news-events__col-title--pink  { color: var(--pink-500); }
.news-events__col-title--green { color: var(--green-500); }

.news-events__news-list { display: grid; gap: 16px; }
.news-item {
	background: var(--white);
	border-radius: 16px;
	border: 1px solid rgba(45, 62, 129, 0.06);
	padding: 14px;
}
.news-item__link {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 20px;
	text-decoration: none;
	color: inherit;
	align-items: center;
}
@media (max-width: 640px) { .news-item__link { grid-template-columns: 1fr; } }
.news-item__media {
	position: relative;
	aspect-ratio: 4/3;
	border-radius: 10px;
	overflow: hidden;
	margin: 0;
}
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__body { display: flex; flex-direction: column; gap: 10px; padding: 8px 12px 8px 0; }
.news-item__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 19px;
	line-height: 1.25;
	color: var(--brand);
	margin: 0;
}
.news-item__date {
	font-size: 13px;
	color: var(--muted-300);
	font-family: var(--font-body);
}

.events-list {
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--white);
	border-radius: 16px;
	border: 1px solid rgba(45, 62, 129, 0.06);
}
.events-list__item + .events-list__item { border-top: 1px solid rgba(45, 62, 129, 0.08); }
.events-list__link {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 18px;
	align-items: center;
	padding: 18px 16px;
	text-decoration: none;
	color: inherit;
}
.events-list__date {
	color: var(--white);
	border-radius: 12px;
	padding: 8px 4px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.events-list__day  {
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
}
.events-list__month {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 10px;
	letter-spacing: 0.1em;
}
.events-list__title {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	color: var(--brand);
	display: block;
}
.events-list__sub {
	font-size: 13px;
	color: var(--muted-300);
}

/* ===== Newsletter strip ===== */
.newsletter {
	background: var(--cream);
	padding-block: 40px;
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
}
.newsletter__inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: center;
}
@media (max-width: 900px) { .newsletter__inner { grid-template-columns: 1fr; } }

.newsletter__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 24px;
	color: var(--brand);
	margin: 0 0 6px;
}
.newsletter__subtitle {
	margin: 0;
	color: var(--fg-2);
	font-size: 15px;
	line-height: 1.5;
}
.newsletter__placeholder {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.newsletter__input {
	flex: 1;
	min-width: 180px;
	padding: 12px 18px;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--navy-ink);
	background: var(--white);
	outline: none;
}
.newsletter__input:focus { border-color: var(--brand); }

/* ===== Footer ===== */
.site-footer {
	background: var(--navy-900);
	color: var(--white);
	padding-block: 56px 28px;
	font-family: var(--font-body);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
	gap: 40px;
	margin-bottom: 40px;
}
@media (max-width: 1024px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px)  { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px)  { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand img {
	filter: brightness(0) invert(1);
	height: auto;
	width: auto;
	max-width: 260px;
	max-height: 100px;
	object-fit: contain;
	display: block;
}
.site-footer__brand-text {
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	line-height: 1.6;
	margin: 20px 0;
}
.site-footer__col-title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 16px;
	color: var(--white);
}
.site-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer__list li {
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.82);
}
.site-footer__list a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
}
.site-footer__list a:hover { color: var(--sun-300); }
.site-footer__list--contacts li { margin-bottom: 4px; }
.site-footer__contact-item--address { line-height: 1.45; }
.site-footer__contact-item--hours   { color: rgba(255, 255, 255, 0.55); font-size: 13px; margin-top: 8px; }

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	gap: 16px;
	flex-wrap: wrap;
}
.site-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 24px;
	flex-wrap: wrap;
}
.site-footer__legal-list li + li {
	position: relative;
}
.site-footer__legal-list li + li::before {
	content: "·";
	position: absolute;
	left: -14px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.4);
	font-weight: 700;
}
.site-footer__legal-list a {
	color: rgba(255, 255, 255, 0.65);
	font-weight: 500;
	text-decoration: none;
}
.site-footer__legal-list a:hover { color: var(--white); text-decoration: underline; }
/* Управлявай cookies — бутонен стил, не като подчертан линк. */
.site-footer__legal-list button[data-gdpr-open],
.site-footer__legal a[data-gdpr-open] {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.85);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s ease;
	margin-left: 8px;
	text-decoration: none;
}
.site-footer__legal-list button[data-gdpr-open]:hover,
.site-footer__legal a[data-gdpr-open]:hover {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
	text-decoration: none;
}

/* ===== Scroll to top ===== */
.scroll-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--brand);
	color: var(--white);
	border: 0;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 24px rgba(8, 18, 25, 0.2);
	z-index: 40;
	transition: background var(--dur-fast);
}
.scroll-top:hover { background: var(--navy-950); }
.scroll-top.is-visible { display: inline-flex; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
	font-size: 13px;
	color: var(--fg-2);
	margin-bottom: 24px;
}
.breadcrumbs a { color: var(--fg-2); font-weight: 500; }
.breadcrumbs a:hover { color: var(--brand); }
.bc-sep { margin-inline: 6px; color: var(--border); }

/* ===== Page / single fallback ===== */
.page-header {
	background: var(--surface);
	padding-block: clamp(40px, 6vw, 80px);
}
.page-header__title {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 44px);
	color: var(--brand);
	margin: 0;
}
.entry-content > * + * { margin-top: 24px; }
.entry-content img { border-radius: 16px; }

/* ===== Empty states ===== */
.news-events__empty {
	padding: 24px;
	background: var(--white);
	border-radius: 16px;
	color: var(--muted-300);
	text-align: center;
}

/* =========================================================================
 * Contact Form (Stage 4B)
 * ========================================================================= */
.contact-form-section {
	background-color: var(--cream, #FBF6EE);
}
.contact-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 900px) {
	.contact-form--with-side {
		grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
		gap: 48px;
	}
}

.contact-form__title {
	font-family: var(--font-display, var(--font-body));
	font-weight: 800;
	font-size: clamp(28px, 3.5vw, 40px);
	color: var(--brand, #2D3E81);
	margin: 8px 0 12px;
	line-height: 1.2;
}
.contact-form__lead {
	color: var(--muted-500, #3A3D46);
	font-size: 17px;
	line-height: 1.6;
	max-width: 560px;
	margin-bottom: 24px;
}

/* ---- Card ---- */
.contact-form__card {
	position: relative;
	background: #fff;
	border-radius: 24px;
	padding: clamp(20px, 3vw, 40px);
	box-shadow: 0 20px 60px -20px rgba(45,62,129,.12), 0 2px 6px rgba(0,0,0,.03);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 600px) {
	.contact-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---- Fields ---- */
.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.contact-form__field--full {
	grid-column: 1 / -1;
}
.contact-form__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted-500, #3A3D46);
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: color .2s;
}
.contact-form__label em {
	color: var(--pink-500, #EA6697);
	font-style: normal;
	margin-left: 2px;
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--border, #E5E7EB);
	border-radius: 12px;
	font-family: inherit;
	font-size: 15px;
	color: var(--fg, #081219);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
	font-feature-settings: 'ss01';
}
.contact-form__field textarea {
	resize: vertical;
	min-height: 120px;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus,
.contact-form__field select:focus {
	outline: none;
	border-color: var(--brand, #2D3E81);
	box-shadow: 0 0 0 4px rgba(45,62,129,.12);
}
.contact-form__field.has-error input,
.contact-form__field.has-error textarea,
.contact-form__field.has-error select {
	border-color: #D63638;
}
.contact-form__field.has-error .contact-form__label {
	color: #D63638;
}

.contact-form__error {
	font-size: 13px;
	color: #D63638;
	min-height: 1em;
	display: none;
}
.contact-form__field.has-error .contact-form__error,
.contact-form__gdpr.has-error .contact-form__error {
	display: block;
}

/* ---- GDPR ---- */
.contact-form__gdpr {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted-500, #3A3D46);
	cursor: pointer;
	position: relative;
}
.contact-form__gdpr input[type="checkbox"] {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--brand, #2D3E81);
	cursor: pointer;
}
.contact-form__gdpr > span:not(.contact-form__error) {
	flex: 1 1 auto;
	min-width: 0;
}
.contact-form__gdpr a {
	color: var(--brand, #2D3E81);
	text-decoration: underline;
}
.contact-form__gdpr.has-error input[type="checkbox"] {
	outline: 2px solid #D63638;
	outline-offset: 2px;
	border-radius: 4px;
}
.contact-form__gdpr .contact-form__error {
	flex-basis: 100%;
	margin-left: 30px;
}

/* ---- Actions ---- */
.contact-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 4px;
}
.contact-form__submit {
	background: var(--brand, #2D3E81);
	color: #fff;
	border: none;
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background .2s, transform .1s;
}
.contact-form__submit:hover { filter: brightness(1.08); }
.contact-form__submit:active { transform: translateY(1px); }
.contact-form__submit[disabled] { opacity: .65; cursor: wait; }
.contact-form__submit.is-loading {
	position: relative;
}
.contact-form__submit.is-loading::after {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: mc-spin .7s linear infinite;
}
@keyframes mc-spin {
	to { transform: rotate(360deg); }
}
.contact-form__legal {
	flex: 1;
	min-width: 240px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--muted-300, #6B7280);
}
.contact-form__legal a {
	color: var(--brand, #2D3E81);
	text-decoration: underline;
}

/* ---- Status messages ---- */
.contact-form__status {
	display: none;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.5;
}
.contact-form__status.is-success {
	display: block;
	background: #E8F5E9;
	color: #1B5E20;
	border: 1px solid #A5D6A7;
}
.contact-form__status.is-error {
	display: block;
	background: #FDECEA;
	color: #7A1B1C;
	border: 1px solid #F5C2C7;
}

/* ---- Side info ---- */
.contact-form__side {
	background: #fff;
	border-radius: 24px;
	padding: clamp(20px, 2.5vw, 32px);
	box-shadow: 0 10px 30px -15px rgba(45,62,129,.10);
}
.contact-form__side-title {
	font-family: var(--font-display, var(--font-body));
	font-size: 22px;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	margin: 0 0 16px;
}
.contact-form__side-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.contact-form__side-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--muted-500, #3A3D46);
	line-height: 1.5;
	font-size: 15px;
}
.contact-form__side-list svg {
	flex-shrink: 0;
	color: var(--brand, #2D3E81);
	margin-top: 2px;
}
.contact-form__side-list a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dashed var(--border, #E5E7EB);
	transition: color .2s, border-color .2s;
}
.contact-form__side-list a:hover {
	color: var(--brand, #2D3E81);
	border-color: var(--brand, #2D3E81);
}
.contact-form__side-map {
	overflow: hidden;
	margin-top: 32px;
	border-radius: 18px;
	background: var(--surface, #F4F5F6);
	box-shadow: 0 16px 36px -24px rgba(45,62,129,.35);
}
.contact-form__side-map-frame {
	display: block;
	width: 100%;
	height: 340px;
	border: 0;
}
.contact-form__side-map--placeholder {
	padding: 22px;
	color: var(--muted-300, #6B7280);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* =========================================================================
 * Map widget (Stage 4B)
 * ========================================================================= */
.map-section {
	background: var(--white, #FFFFFF);
}
.map-embed__header {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 28px;
}
.map-embed__title {
	font-family: var(--font-display, var(--font-body));
	font-weight: 800;
	font-size: clamp(26px, 3vw, 36px);
	color: var(--brand, #2D3E81);
	margin: 0 0 10px;
}
.map-embed__subtitle {
	color: var(--muted-500, #3A3D46);
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
}
.map-embed {
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 20px 60px -25px rgba(45,62,129,.22);
	background: var(--surface, #F4F5F6);
}
.map-embed__frame {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}
.map-embed--placeholder .map-embed__placeholder {
	height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--muted-300, #6B7280);
	text-align: center;
	padding: 24px;
	gap: 12px;
}
.map-embed__actions {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

/* =========================================================================
 * GDPR Cookie Banner (Stage 4C)
 * ========================================================================= */
.gdpr-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9000;
	max-width: 560px;
	margin-inline: auto;
	background: #fff;
	color: var(--fg, #081219);
	border-radius: 20px;
	box-shadow: 0 25px 60px -15px rgba(8,18,25,.35), 0 4px 12px rgba(8,18,25,.10);
	border: 1px solid rgba(45,62,129,.08);
	transform: translateY(16px) scale(.98);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
}
.gdpr-banner.is-visible {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.gdpr-banner[hidden] {
	display: none;
}
@media (min-width: 640px) {
	.gdpr-banner {
		left: 24px;
		right: auto;
		bottom: 24px;
		margin-inline: 0;
	}
}

.gdpr-banner__inner {
	padding: 22px 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-height: calc(100vh - 64px);
	overflow-y: auto;
}

.gdpr-banner__title {
	font-family: var(--font-display, var(--font-body));
	font-size: 20px;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	margin: 0 0 6px;
}
.gdpr-banner__description {
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted-500, #3A3D46);
	margin: 0;
}
.gdpr-banner__description a {
	color: var(--brand, #2D3E81);
	text-decoration: underline;
}

/* ---- Settings (per-category checkboxes) ---- */
.gdpr-banner__settings {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
	border-top: 1px solid var(--border, #E5E7EB);
}
.gdpr-banner__category {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px;
	background: var(--surface, #F4F5F6);
	border-radius: 12px;
	cursor: pointer;
	transition: background .2s;
}
.gdpr-banner__category:hover {
	background: #EEF0F2;
}
.gdpr-banner__category.is-locked {
	cursor: not-allowed;
	background: var(--cream, #FBF6EE);
}
.gdpr-banner__category input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--brand, #2D3E81);
	cursor: pointer;
}
.gdpr-banner__category.is-locked input[type="checkbox"] {
	cursor: not-allowed;
}
.gdpr-banner__category-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}
.gdpr-banner__category-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--fg, #081219);
}
.gdpr-banner__category-required {
	font-weight: 400;
	color: var(--muted-300, #6B7280);
	margin-left: 4px;
}
.gdpr-banner__category-desc {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--muted-500, #3A3D46);
}

/* ---- Actions ---- */
.gdpr-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--border, #E5E7EB);
}
.gdpr-banner__btn {
	padding: 9px 16px;
	font-size: 13.5px;
	font-weight: 600;
	border-radius: 999px;
	cursor: pointer;
	border: 1.5px solid var(--border, #E5E7EB);
	background: #fff;
	color: var(--fg, #081219);
	transition: background .2s, border-color .2s, color .2s;
}
.gdpr-banner__btn:hover {
	border-color: var(--brand, #2D3E81);
	color: var(--brand, #2D3E81);
}
.gdpr-banner__btn--primary {
	background: var(--brand, #2D3E81);
	color: #fff;
	border-color: var(--brand, #2D3E81);
	margin-left: auto;
}
.gdpr-banner__btn--primary:hover {
	filter: brightness(1.08);
	color: #fff;
}
.gdpr-banner__btn[hidden] {
	display: none;
}

/* ---- Footer „Manage cookies" link ---- */
.site-footer__manage-cookies {
	background: none;
	border: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	opacity: .85;
	transition: opacity .2s;
}
.site-footer__manage-cookies:hover {
	opacity: 1;
}

/* =========================================================================
 * Legal pages (Privacy / Terms / Cookies)
 * ========================================================================= */
.page .entry-content h2 {
	margin-top: 36px;
	margin-bottom: 12px;
	font-size: clamp(20px, 2.4vw, 26px);
	color: var(--brand, #2D3E81);
}
.page .entry-content h3 {
	margin-top: 28px;
	margin-bottom: 8px;
	font-size: 18px;
	color: var(--fg, #081219);
}
.page .entry-content table.legal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0 24px;
	font-size: 14px;
}
.page .entry-content table.legal-table th,
.page .entry-content table.legal-table td {
	text-align: left;
	padding: 10px 12px;
	border: 1px solid var(--border, #E5E7EB);
	vertical-align: top;
}
.page .entry-content table.legal-table th {
	background: var(--surface, #F4F5F6);
	font-weight: 700;
	color: var(--brand, #2D3E81);
}
.page .entry-content table.legal-table td code {
	background: var(--cream, #FBF6EE);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12.5px;
}

/* =========================================================================
 * About page — new design (Stage redesign)
 * ========================================================================= */

/* ---- About Hero ---- */
.about-hero {
	background: var(--brand, #2D3E81);
	color: #fff;
	overflow: hidden;
}
.about-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 520px;
}
@media (min-width: 900px) {
	/* DOM редът е вече правилен (виж render()) — тук само раздаваме ширините.
	   При text-right: снимка (1fr) + текст (1.15fr).
	   При text-left:  текст (1.15fr) + снимка (1fr). */
	.about-hero--text-right .about-hero__grid {
		grid-template-columns: 1fr 1.15fr;
	}
	.about-hero--text-left .about-hero__grid {
		grid-template-columns: 1.15fr 1fr;
	}

	/* Overlay gradient flip — gradient-ът изчезва откъм страната на текста */
	.about-hero--text-right .about-hero__photo-overlay {
		background: linear-gradient(270deg, rgba(45,62,129,0.6) 0%, rgba(45,62,129,0) 40%);
	}
}
.about-hero__text {
	padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 128px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 2;
}
.about-hero__bc {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: rgba(255,255,255,0.7);
	margin-bottom: 20px;
}
.about-hero__bc a {
	color: inherit;
	text-decoration: none;
}
.about-hero__bc a:hover {
	color: #fff;
}
.about-hero__eyebrow {
	color: #FFE28A !important;
	margin-bottom: 18px;
}
.about-hero__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 24px;
	max-width: 620px;
}
.about-hero__title .ah-accent {
	color: var(--sun-300, #FFD800);
}
.about-hero__lead {
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.6;
	color: rgba(255,255,255,0.85);
	margin: 0 0 32px;
	max-width: 560px;
}
.about-hero__ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.about-hero__photo {
	position: relative;
	min-height: 320px;
	background-size: cover;
	background-position: center;
	background-color: var(--brand, #2D3E81);
}
.about-hero__photo--placeholder {
	background: linear-gradient(135deg, #EBEDF3 0%, #DFE3ED 100%);
}
.about-hero__photo-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(45,62,129,0.6) 0%, rgba(45,62,129,0) 40%);
}

.about-hero__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fff;
	border-top: 1px solid var(--border, #CCCDCE);
}
@media (min-width: 900px) {
	.about-hero__stats {
		grid-template-columns: repeat(4, 1fr);
	}
}
.about-hero__stat {
	padding: clamp(18px, 2vw, 28px) clamp(20px, 2.5vw, 32px);
	display: flex;
	align-items: baseline;
	gap: 18px;
	border-right: 1px solid var(--border, #CCCDCE);
	border-bottom: 1px solid var(--border, #CCCDCE);
}
@media (min-width: 900px) {
	.about-hero__stat { border-bottom: 0; }
	.about-hero__stat:last-child { border-right: 0; }
}
@media (max-width: 899px) {
	.about-hero__stat:nth-child(2n) { border-right: 0; }
	.about-hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
}
.about-hero__stat-number {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(28px, 3vw, 40px);
	color: var(--brand, #2D3E81);
	letter-spacing: -0.02em;
	line-height: 1;
}
.about-hero__stat-label {
	font-size: 13px;
	color: var(--muted-300, #62445C);
	line-height: 1.3;
	font-weight: 600;
}

/* ---- Mission / Vision ---- */
.mv-section { background: #fff; }
.mv-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 900px) {
	.mv-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.mv-card {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	padding: clamp(32px, 3vw, 56px);
	min-height: 340px;
}
.mv-card--dark {
	background: var(--brand, #2D3E81);
	color: #fff;
}
.mv-card--light {
	background: var(--surface, #F4F5F6);
	color: var(--navy-ink, #081219);
	border: 1px solid var(--border, #CCCDCE);
}
.mv-card__icon {
	position: absolute;
	right: 28px;
	top: 28px;
	width: 112px;
	height: 112px;
	opacity: 0.18;
	pointer-events: none;
	color: var(--sun-300, #FFD800);
}
.mv-card--light .mv-card__icon {
	opacity: 0.22;
	color: var(--pink-500, #EA6697);
}
.mv-card__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}
.mv-card__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 14px 0 18px;
	max-width: 460px;
	position: relative;
}
.mv-card--dark .mv-card__title { color: #fff; }
.mv-card--light .mv-card__title { color: var(--brand, #2D3E81); }
.mv-card__body {
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
	max-width: 460px;
	position: relative;
}
.mv-card--dark .mv-card__body { color: rgba(255,255,255,0.85); }
.mv-card--light .mv-card__body { color: var(--muted-500, #3A3D46); }

/* Eyebrow helpers used by the card */
.eyebrow--sun { color: var(--sun-300, #FFD800) !important; }
.eyebrow--pink { color: var(--pink-500, #EA6697) !important; }

/* ---- About Story (sticky intro + lateral timeline) ---- */
.about-story { background: var(--surface, #F4F5F6); }
.about-story__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 1100px) {
	.about-story__grid {
		grid-template-columns: 1fr 1.3fr;
		gap: 96px;
	}
	.about-story__intro {
		position: sticky;
		top: 32px;
	}
}
.about-story__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(28px, 3.5vw, 44px);
	line-height: 1.1;
	color: var(--brand, #2D3E81);
	margin: 14px 0 20px;
	letter-spacing: -0.01em;
}
.about-story__lead {
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted-500, #3A3D46);
	margin: 0;
	max-width: 460px;
}
.about-story__timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	display: grid;
	gap: 4px;
}
.about-story__timeline::before {
	content: '';
	position: absolute;
	left: 80px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: rgba(45,62,129,0.18);
}
.about-story__item {
	display: grid;
	grid-template-columns: 80px 1fr;
	align-items: start;
	gap: 40px;
	padding: 18px 0;
	position: relative;
}
.about-story__year {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: 22px;
	color: var(--brand, #2D3E81);
	position: relative;
	text-align: right;
	padding-right: 18px;
	letter-spacing: 0.02em;
	min-height: 24px; /* осигурява място за dot-а дори при empty year */
}
.about-story__dot {
	position: absolute;
	right: -9px;
	top: 8px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--surface, #F4F5F6);
	border: 3px solid var(--pink-500, #EA6697);
	box-shadow: 0 0 0 3px var(--surface, #F4F5F6);
	z-index: 1;
}
.about-story__content {
	padding-left: 12px;
}
.about-story__item-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: 20px;
	line-height: 1.25;
	color: var(--brand, #2D3E81);
	margin: 2px 0 6px;
}
.about-story__item-desc {
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted-500, #3A3D46);
	margin: 0;
}

/* ---- Values Grid ---- */
.values-grid-section { background: #fff; }
.values-grid__head {
	margin-bottom: 40px;
	max-width: 820px;
}
.values-grid__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.1;
	color: var(--brand, #2D3E81);
	margin: 14px 0 0;
	letter-spacing: -0.01em;
}
.values-grid {
	display: grid;
	grid-template-columns: 1fr;
	border: 1px solid var(--border, #CCCDCE);
	border-radius: 16px;
	overflow: hidden;
}
@media (min-width: 700px) {
	.values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
	.values-grid { grid-template-columns: repeat(3, 1fr); }
}
.values-grid__cell {
	padding: 32px 32px 36px;
	background: #fff;
	border-right: 1px solid var(--border, #CCCDCE);
	border-bottom: 1px solid var(--border, #CCCDCE);
	min-height: 220px;
}
@media (min-width: 1000px) {
	.values-grid__cell:nth-child(3n) { border-right: 0; }
	.values-grid__cell:nth-last-child(-n+3):nth-child(3n+1),
	.values-grid__cell:nth-last-child(-n+3):nth-child(3n+1) ~ .values-grid__cell { border-bottom: 0; }
}
.values-grid__number {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 900;
	font-size: 13px;
	color: var(--pink-500, #EA6697);
	letter-spacing: 0.14em;
	margin-bottom: 14px;
}
.values-grid__cell-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: 20px;
	line-height: 1.25;
	color: var(--brand, #2D3E81);
	margin: 0 0 10px;
}
.values-grid__cell-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted-500, #3A3D46);
	margin: 0;
}

/* Персонализирано обучение: дълги текстове се четат по-добре на пълна ширина. */
.values-grid--stacked {
	display: flex;
	flex-direction: column;
	border: 0;
	border-radius: 0;
	overflow: visible;
	gap: 18px;
	width: 100%;
}
.values-grid--stacked .values-grid__cell {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px 22px;
	padding: clamp(22px, 2.8vw, 34px);
	border: 1px solid rgba(45, 62, 129, 0.12);
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(45, 62, 129, 0.055);
	min-height: 0;
}
.values-grid--stacked .values-grid__number {
	grid-row: 1 / span 2;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(234, 102, 151, 0.10);
	margin: 0;
}
.values-grid--stacked .values-grid__cell-title {
	margin: 0;
}
.values-grid--stacked .values-grid__cell-desc {
	font-size: 15px;
	line-height: 1.72;
}
@media (max-width: 640px) {
	.values-grid--stacked .values-grid__cell {
		grid-template-columns: 1fr;
	}
	.values-grid--stacked .values-grid__number {
		grid-row: auto;
	}
}

/* ---- Credentials ---- */
.credentials {
	background: var(--brand, #2D3E81);
	color: #fff;
}
.credentials__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}
@media (min-width: 1000px) {
	.credentials__grid {
		grid-template-columns: 1fr 2fr;
		gap: 64px;
	}
}
.credentials__eyebrow { color: var(--sun-300, #FFD800) !important; }
.credentials__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.15;
	color: #fff;
	margin: 14px 0 0;
	letter-spacing: -0.01em;
}
.credentials__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 700px) {
	.credentials__cards { grid-template-columns: repeat(4, 1fr); }
}
.credentials__item {
	background: var(--brand, #2D3E81);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 180px;
}
.credentials__item-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: var(--sun-300, #FFD800);
	letter-spacing: -0.01em;
}
.credentials__item-sub {
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255,255,255,0.8);
}

/* =========================================================================
 * Team Grid — default + portrait styles
 * ========================================================================= */
.team-grid__grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
	gap: 32px;
}
.team-grid__grid[data-cols="2"] { --cols: 2; }
.team-grid__grid[data-cols="3"] { --cols: 3; }
.team-grid__grid[data-cols="4"] { --cols: 4; }
.team-grid__grid[data-cols="5"] { --cols: 5; }
@media (max-width: 900px) {
	.team-grid__grid { --cols: 2 !important; }
}
@media (max-width: 540px) {
	.team-grid__grid { --cols: 1 !important; }
}

/* Default style (archive/списък) */
.team-card--default { text-align: center; }
.team-card__avatar {
	margin: 0 auto 14px;
	overflow: hidden;
	width: var(--avatar-size, 150px);
	height: var(--avatar-size, 150px);
	background: var(--surface, #F4F5F6);
	display: flex;
	align-items: center;
	justify-content: center;
}
.team-card__avatar--round { border-radius: 999px; }
.team-card__avatar--rounded { border-radius: 20px; }
.team-card__avatar--square { border-radius: 0; }
.team-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.team-card__avatar-placeholder { color: var(--border, #CCCDCE); }

/* Shared typography */
.team-card__name {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: 18px;
	color: var(--brand, #2D3E81);
	margin: 0 0 4px;
}
.team-card__position {
	font-size: 13px;
	color: var(--pink-500, #EA6697);
	font-weight: 800;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.team-card__bio {
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted-500, #3A3D46);
	margin: 0 0 10px;
}
.team-card--default .team-card__contacts,
.team-card--default .team-card__socials {
	list-style: none;
	padding: 0;
	margin: 8px 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}
.team-card__socials a {
	font-size: 13px;
	color: var(--brand, #2D3E81);
	font-weight: 700;
}

/* Portrait style (About page — shadow cards с 4:4 снимка) */
.team-grid--style-portrait {
	background: var(--surface, #F4F5F6);
}
.team-grid--style-portrait .team-grid__grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: 28px;
}
@media (max-width: 900px) {
	.team-grid--style-portrait .team-grid__grid { --cols: 2 !important; }
}
@media (max-width: 600px) {
	.team-grid--style-portrait .team-grid__grid { --cols: 1 !important; }
}
.team-grid__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}
.team-grid__header > div {
	flex: 1;
	min-width: 0;
}
.team-grid__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--green-500, #3AB54B);
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.team-grid__more:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
	color: var(--green-600, #2FA040);
}
.team-card--portrait {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(8, 18, 25, 0.06);
	border: 1px solid rgba(45, 62, 129, 0.06);
	display: flex;
	flex-direction: column;
	text-align: left;
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card--portrait:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(8, 18, 25, 0.12);
}
.team-card__portrait {
	aspect-ratio: 1 / 1;
	margin: 0;
	overflow: hidden;
	background: linear-gradient(135deg, var(--brand, #2D3E81) 0%, #4655a0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.team-card__portrait img,
.team-card__portrait-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.team-card--portrait:hover .team-card__portrait img,
.team-card--portrait:hover .team-card__portrait-img {
	transform: scale(1.04);
}
.team-card__portrait-placeholder { color: rgba(255, 255, 255, 0.6); }
.team-card--portrait .team-card__body {
	padding: 24px 26px 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.team-card--portrait .team-card__position {
	display: inline-block;
	width: fit-content;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	background: rgba(234, 103, 151, 0.1);
	padding: 5px 12px;
	border-radius: 999px;
	margin: 0 0 4px;
	/* Преместваме pill-а ОТГОРЕ на името (като eyebrow) — по-добра визуална йерархия. */
	order: -1;
}
.team-card--portrait .team-card__name {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--brand, #2D3E81);
	margin: 0;
	letter-spacing: -0.01em;
}
.team-card--portrait .team-card__bio {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--fg-2, #5b5b5b);
	margin: 4px 0 0;
}

/* =========================================================================
 * Accordion — redesign (constrained width + polish)
 * =========================================================================
 * 3 layout варианта:
 *   - centered    — header + items центрирани, max-width 820px
 *   - two_column  — заглавие вляво, items вдясно (1fr 1.4fr)
 *   - wide        — легаси (пълна ширина, не препоръчано)
 */

/* --- Container layouts --- */
.mc-accordion-wrap {
	margin: 0 auto;
}
.mc-accordion-wrap--centered {
	max-width: 820px;
	margin: 0 auto;
}
.mc-accordion-wrap--wide {
	/* legacy — пълна ширина; пазим за обратна съвместимост */
	max-width: none;
}
.mc-accordion-wrap--two_column {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 1024px) {
	.mc-accordion-wrap--two_column {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
		gap: 72px;
	}
	.mc-accordion-wrap--two_column .mc-accordion__header {
		position: sticky;
		top: 32px;
	}
}

/* --- Header (eyebrow + title + lead) --- */
.mc-accordion__header {
	margin-bottom: 24px;
}
.mc-accordion-wrap--centered .mc-accordion__header {
	text-align: center;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 32px;
}
.mc-accordion__title-h {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.1;
	color: var(--brand, #2D3E81);
	margin: 12px 0 14px;
	letter-spacing: -0.01em;
}
.mc-accordion__lead {
	font-size: 16px;
	line-height: 1.6;
	color: var(--muted-500, #3A3D46);
	margin: 0;
}

/* --- Accordion list --- */
.mc-accordion {
	display: grid;
	gap: 12px;
}

/* --- Items --- */
.mc-accordion__item {
	background: #fff;
	border-radius: 14px;
	border: 1px solid rgba(45, 62, 129, 0.08);
	box-shadow: 0 1px 2px rgba(8, 18, 25, 0.03);
	transition: box-shadow .24s var(--ease, ease), border-color .24s var(--ease, ease), background .24s var(--ease, ease);
}
.mc-accordion__item:hover {
	border-color: rgba(45, 62, 129, 0.18);
	box-shadow: 0 6px 20px rgba(8, 18, 25, 0.06);
}
.mc-accordion__item[open] {
	background: #fff;
	border-color: rgba(45, 62, 129, 0.20);
	box-shadow: 0 10px 30px rgba(45, 62, 129, 0.08);
}

/* --- Summary (clickable header) --- */
.mc-accordion__summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	font-size: 16px;
	line-height: 1.35;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.mc-accordion__summary::-webkit-details-marker,
.mc-accordion__summary::marker {
	display: none;
	content: '';
}
.mc-accordion__title {
	flex: 1;
	min-width: 0;
}
.mc-accordion__icon {
	flex-shrink: 0;
	color: var(--pink-500, #EA6697);
	display: inline-flex;
	align-items: center;
}
.mc-accordion__icon svg,
.mc-accordion__icon i {
	width: 20px;
	height: 20px;
	font-size: 18px;
}

/* --- Toggle (chevron / plus-minus) --- */
.mc-accordion__toggle {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: var(--surface, #F4F5F6);
	color: var(--brand, #2D3E81);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 18px;
	transition: transform .24s var(--ease, ease), background .24s, color .24s;
	flex-shrink: 0;
}
.mc-accordion__item:hover .mc-accordion__toggle {
	background: var(--brand, #2D3E81);
	color: #fff;
}
.mc-accordion__item[open] .mc-accordion__toggle {
	background: var(--brand, #2D3E81);
	color: #fff;
	transform: rotate(180deg);
}
.mc-accordion__toggle-open { display: none; }
.mc-accordion__item[open] .mc-accordion__toggle-closed { display: none; }
.mc-accordion__item[open] .mc-accordion__toggle-open { display: inline; }
/* Плюс/минус не трябва да се върти (ротацията е за chevron) */
.mc-accordion[data-icon="plus_minus"] .mc-accordion__item[open] .mc-accordion__toggle {
	transform: none;
}

/* --- Content panel --- */
.mc-accordion__content {
	padding: 0 22px 20px;
	color: var(--muted-500, #3A3D46);
	font-size: 15.5px;
	line-height: 1.65;
	max-width: 680px; /* предпазва line-length при много широки елементи */
}
.mc-accordion__content > *:first-child { margin-top: 0; }
.mc-accordion__content > *:last-child { margin-bottom: 0; }
.mc-accordion__content p + p { margin-top: 12px; }
.mc-accordion__content ul,
.mc-accordion__content ol {
	padding-left: 20px;
	margin: 12px 0;
}
.mc-accordion__content li + li { margin-top: 6px; }

/* ------------------------------------------------------------------
   Stats / Counter widget (montessori_counter) — „Нашата общност" блок.
   ------------------------------------------------------------------ */
.stats {
	padding: 72px 0;
	background: var(--cream, #FBF6EE);
}
.stats__header {
	text-align: center;
	margin-bottom: 48px;
}
.stats__header .eyebrow { justify-content: center; }
.stats__header .section__lead {
	max-width: 680px;
	margin: 12px auto 0;
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}
@media (max-width: 900px) {
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.stats__item {
	padding: 8px;
}
.stats__number {
	font-family: var(--font-display, "Playball", serif);
	font-size: clamp(48px, 8vw, 72px);
	line-height: 1;
	font-weight: 400;
	letter-spacing: -0.02em;
}
.stats__suffix {
	font-size: 0.7em;
	margin-left: 2px;
}
.stats__label {
	margin-top: 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--muted-500, #3A3D46);
	letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------
   Team archive / single — /ekip/ и /ekip/{slug}/
   Дизайнът съвпада с team-card--portrait от страница „За нас".
   ------------------------------------------------------------------ */

/* Filter chips за катедра */
.team-archive__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
	justify-content: center;
}
.team-archive__chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--border, #CCCDCE);
	font-weight: 700;
	font-size: 14px;
	color: var(--muted-500, #3A3D46);
	transition: all .2s ease;
}
.team-archive__chip:hover {
	border-color: var(--brand, #2D3E81);
	color: var(--brand, #2D3E81);
}
.team-archive__chip.is-active {
	background: var(--brand, #2D3E81);
	border-color: var(--brand, #2D3E81);
	color: #fff;
}

/* Когато цялата карта е линк */
.team-card--linked {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.team-card--linked:hover {
	transform: translateY(-4px);
	text-decoration: none;
}
.team-card--linked.team-card--portrait:hover {
	box-shadow: 0 16px 40px rgba(45,62,129,0.18);
}
.team-card__more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 800;
	color: var(--green-500, #3AB54B);
	letter-spacing: .02em;
}

/* ------------------------------------------------------------------
   Single team member — /ekip/{slug}/
   ------------------------------------------------------------------ */
.team-single {
	padding: clamp(48px, 6vw, 96px) 0;
	background: var(--surface, #F4F5F6);
}
.team-single__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}
@media (min-width: 900px) {
	.team-single__grid {
		grid-template-columns: 360px 1fr;
		gap: 64px;
	}
}
.team-single__sidebar {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
@media (max-width: 900px) {
	.team-single__sidebar { position: static; }
}
.team-single__portrait {
	margin: 0;
	aspect-ratio: 4/5;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(45,62,129,0.12);
}
.team-single__portrait-img,
.team-single__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.team-single__portrait-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--border, #CCCDCE);
}

.team-single__contacts {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.team-single__contacts-heading {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	margin: 0 0 16px;
}
.team-single__contacts-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.team-single__contacts-list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.team-single__contact-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted-500, #3A3D46);
}
.team-single__contacts-list a {
	color: var(--brand, #2D3E81);
	font-weight: 700;
	word-break: break-word;
}
.team-single__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.team-single__socials a {
	font-size: 14px;
}

.team-single__body {
	padding-top: 8px;
}
.team-single__breadcrumbs {
	font-size: 13px;
	color: var(--muted-500, #3A3D46);
	margin-bottom: 16px;
}
.team-single__breadcrumbs a { color: inherit; text-decoration: none; }
.team-single__breadcrumbs a:hover { color: var(--brand, #2D3E81); }

.team-single__department {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.team-single__dept-chip {
	display: inline-block;
	padding: 4px 14px;
	background: var(--brand, #2D3E81);
	color: #fff;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
}
.team-single__dept-chip:hover { background: var(--navy-ink, #081219); color: #fff; }

.team-single__name {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	font-weight: 800;
	color: var(--brand, #2D3E81);
	margin: 0 0 8px;
	letter-spacing: -.01em;
}
.team-single__position {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	margin-bottom: 24px;
}
.team-single__lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--muted-500, #3A3D46);
	margin: 0 0 24px;
	font-weight: 500;
}
.team-single__bio {
	font-size: 16px;
	line-height: 1.75;
	color: var(--muted-500, #3A3D46);
}
.team-single__bio p { margin: 0 0 16px; }
.team-single__bio h2,
.team-single__bio h3 {
	color: var(--brand, #2D3E81);
	margin: 28px 0 12px;
}

.team-single__qualifications {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--border, #CCCDCE);
}
.team-single__qualifications-heading {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	margin: 0 0 20px;
}
.team-single__qualifications-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.team-single__qualifications-list li {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 16px;
	align-items: baseline;
}
.team-single__qual-year {
	font-weight: 800;
	color: var(--brand, #2D3E81);
}
.team-single__qual-org {
	color: var(--muted-500, #3A3D46);
	font-weight: 400;
}

.team-single__back {
	margin-top: 40px;
}

/* ------------------------------------------------------------------
   Page hero — shared styles (used by widget AND by PHP templates
   like archive-montessori_team.php). Дублира inline стиловете от
   page-hero widget-а, за да работи и извън Elementor.
   ------------------------------------------------------------------ */
.page-hero {
	position: relative;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
	background-color: var(--brand, #2D3E81);
}
.page-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.page-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(48px, 6vw, 80px);
}
.page-hero__breadcrumbs {
	font-size: 13px;
	opacity: .9;
	margin-bottom: 12px;
	color: #fff;
}
.page-hero__breadcrumbs a,
.page-hero__breadcrumbs .breadcrumbs,
.page-hero__breadcrumbs .breadcrumbs a,
.page-hero__breadcrumbs .bc-sep {
	color: #fff;
	text-decoration: none;
}
.page-hero__breadcrumbs a:hover,
.page-hero__breadcrumbs .breadcrumbs a:hover {
	color: rgba(255,255,255,.8);
	text-decoration: underline;
}
.page-hero__eyebrow {
	font-weight: 900;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: #FFE28A;
}
.page-hero__title {
	font-family: 'Nunito Sans', system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.1;
	margin: 0 0 14px;
	letter-spacing: -.01em;
	color: #fff;
}
.page-hero__lead {
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.55;
	max-width: min(1040px, 92vw);
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------------------
   Fees table & Documents list — container containment fix.
   Оригиналният widget render не обвива таблицата в .container, което
   при full-width Elementor секция я разтягаше до viewport. Даваме
   таблицата в собствен max-width, scrollable на mobile.
   ------------------------------------------------------------------ */
.mc-fees-widget,
.mc-documents,
.mc-docs-widget {
	max-width: var(--container, 1200px);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 4vw, 32px);
	padding-right: clamp(16px, 4vw, 32px);
	box-sizing: border-box;
}
.mc-fees-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.mc-fees {
	min-width: 560px;
	width: 100%;
}
.mc-docs__widget-header {
	text-align: center;
	max-width: 760px;
	margin-inline: auto;
}
.mc-docs__item--placeholder {
	cursor: default;
}
.mc-docs__item--placeholder:hover {
	transform: none;
	border-color: rgba(45,62,129,.08);
	box-shadow: 0 2px 6px rgba(8,18,25,.04);
}
.mc-docs__soon {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--surface, #F4F5F6);
	color: var(--muted-500, #3A3D46);
	font-size: 12px;
	font-weight: 800;
}

/* Documents list секция — фикс за под-заглавия, които излизаха от grid-а */
.mc-documents__header,
.mc-fees__header {
	max-width: 100%;
	box-sizing: border-box;
}

/* Newsletter GDPR checkbox */
.newsletter__gdpr {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
	flex-basis: 100%;
	font-size: 13px;
	line-height: 1.55;
	color: var(--muted-500, #3A3D46);
}
.newsletter__gdpr input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}
.newsletter__gdpr a {
	color: var(--brand, #2D3E81);
	text-decoration: underline;
}
.newsletter__gdpr a:hover { color: var(--pink-500, #EA6697); }

/* ------------------------------------------------------------------
   Process steps — container containment fix.
   Прилага max-width + padding около widget-а, за да не „избяга" до
   viewport при full-width Elementor секция.
   ------------------------------------------------------------------ */
.mc-steps-wrap {
	max-width: var(--container, 1200px);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 4vw, 32px);
	padding-right: clamp(16px, 4vw, 32px);
	box-sizing: border-box;
}
.mc-steps--num-circle .mc-steps__number,
.mc-steps--num-pill .mc-steps__number {
	color: #fff !important;
}
.mc-steps__header {
	max-width: 100%;
	margin-bottom: 32px;
}

/* ------------------------------------------------------------------
   Mobile topbar — компактен вариант.
   На малки екрани оставяме socials + language switcher.
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
	.topbar__right .topbar__contact,
	.topbar__sep {
		display: none;
	}
	.topbar__inner {
		gap: 12px;
		justify-content: space-between;
	}
}
@media (max-width: 480px) {
	.topbar__social-sep,
	.topbar__left .topbar__social + .topbar__social-sep + .topbar__social {
		display: none; /* оставяме само Facebook на много малки екрани */
	}
}

/* Mobile stats размер — намаляване на огромните числа на мобилен */
@media (max-width: 540px) {
	.stats__number {
		font-size: clamp(36px, 12vw, 56px);
	}
	.stats__label {
		font-size: 14px;
	}
}

/* Newsletter consent — вж. основна дефиниция по-горе (тъмен текст на cream фон). */

/* ------------------------------------------------------------------
   Event archive — /sabitiya/
   ------------------------------------------------------------------ */
.event-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
@media (max-width: 1024px) { .event-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .event-archive__grid { grid-template-columns: 1fr; } }

.event-card {
	height: 100%;
	background: #fff;
	border: 1px solid rgba(45, 62, 129, .08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(8, 18, 25, .06);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.event-card:hover {
	transform: translateY(-4px);
	border-color: rgba(45, 62, 129, .2);
	box-shadow: 0 20px 42px rgba(8, 18, 25, .12);
}
.event-card__link {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}
.event-card__media {
	aspect-ratio: 16 / 10;
	margin: 0;
	overflow: hidden;
	background: var(--surface, #F4F5F6);
}
.event-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .32s ease;
}
.event-card:hover .event-card__media img { transform: scale(1.04); }
.event-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px 26px 26px;
}
.event-card__date {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 166, 23, .16);
	color: var(--brand, #2D3E81);
	font-size: 13px;
	font-weight: 900;
}
.event-card__title {
	margin: 0 0 8px;
	color: var(--brand, #2D3E81);
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
}
.event-card__subtitle {
	margin: 0 0 12px;
	color: var(--pink-500, #EA6697);
	font-size: 14px;
	font-weight: 800;
}
.event-card__meta {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--fg-2, #3A3D46);
	font-size: 14px;
	line-height: 1.45;
}
.event-card__desc {
	flex: 1;
	margin: 0 0 18px;
	color: var(--fg-2, #3A3D46);
	font-size: 15px;
	line-height: 1.6;
}
.event-archive .pagination {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

/* ------------------------------------------------------------------
   Single event — /sabitiya/{slug}/
   ------------------------------------------------------------------ */
.event-hero__date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--brand, #2D3E81);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 900;
	box-shadow: 0 12px 28px rgba(8, 18, 25, .18);
}
.event-single {
	padding: clamp(40px, 5vw, 72px) 0;
	background: var(--surface, #F4F5F6);
}
.event-single__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: start;
}
@media (min-width: 900px) {
	.event-single__grid {
		grid-template-columns: 320px 1fr;
		gap: 56px;
	}
}
.event-single__meta {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 20px rgba(0,0,0,.05);
	position: sticky;
	top: 96px;
}
@media (max-width: 900px) { .event-single__meta { position: static; } }
.event-single__meta-row { margin-bottom: 20px; }
.event-single__meta-label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	margin-bottom: 4px;
}
.event-single__meta-value {
	font-size: 16px;
	color: var(--brand, #2D3E81);
	font-weight: 600;
}
.event-single__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}
.event-single__actions .btn { width: 100%; justify-content: center; }
.event-single__body {
	background: #fff;
	border-radius: 16px;
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.event-single__image {
	margin: 0 0 28px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--surface, #F4F5F6);
	box-shadow: 0 12px 30px rgba(8, 18, 25, .08);
}
.event-single__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.event-single__body .entry-content p { margin: 0 0 16px; line-height: 1.7; }
.event-single__back { margin-top: 32px; }

/* ------------------------------------------------------------------
   Single gallery — /galeriya/{slug}/
   ------------------------------------------------------------------ */
.gallery-single__video {
	max-width: 960px;
	margin: 0 auto 48px;
	aspect-ratio: 16/9;
}
.gallery-single__video iframe,
.gallery-single__video video {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 16px;
}
.gallery-single__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}
.gallery-single__item {
	display: block;
	aspect-ratio: 1/1;
	overflow: hidden;
	border-radius: 12px;
	background: #f0f0f1;
	transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-single__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.gallery-single__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-single__empty {
	background: var(--surface, #F4F5F6);
	border: 2px dashed var(--border, #CCCDCE);
	border-radius: 16px;
}

/* ------------------------------------------------------------------
   Programs catalog — единична страница /programi/ с accordion.
   ------------------------------------------------------------------ */

/* Quick-nav chips над accordion-а. */
.mc-accordion__quicknav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	max-width: 900px;
	margin: 0 auto 32px;
	padding: 16px;
	background: var(--surface, #F4F5F6);
	border-radius: 999px;
}
@media (max-width: 720px) {
	.mc-accordion__quicknav {
		border-radius: 16px;
		padding: 12px;
	}
}
.mc-accordion__chip {
	display: inline-block;
	padding: 8px 18px;
	background: #fff;
	border: 1px solid var(--border, #CCCDCE);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	text-decoration: none;
	transition: all .2s ease;
}
.mc-accordion__chip:hover {
	background: var(--brand, #2D3E81);
	border-color: var(--brand, #2D3E81);
	color: #fff;
	text-decoration: none;
}

/* Rich content вътре в всеки accordion item — intro + subtopics + apply. */
.programs-catalog__intro {
	font-size: 16px;
	color: var(--muted-500, #3A3D46);
	margin-bottom: 20px;
	font-weight: 500;
}
.programs-catalog__subtopics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px 32px;
	margin-bottom: 32px;
}
.programs-catalog__sub h3 {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-size: 16px;
	font-weight: 800;
	color: var(--brand, #2D3E81);
	margin: 0 0 6px;
	padding-left: 14px;
	border-left: 3px solid var(--pink-500, #EA6697);
}
.programs-catalog__sub p {
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted-500, #3A3D46);
	margin: 0;
	padding-left: 14px;
}

/* Кандидатстване блок под всяка разгъната програма. */
.programs-catalog__apply {
	background: linear-gradient(135deg, rgba(45,62,129,.04), rgba(234,102,151,.04));
	border: 1px solid var(--border, #CCCDCE);
	border-radius: 16px;
	padding: 20px 24px;
	margin-top: 8px;
}
.programs-catalog__apply h4 {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	margin: 0 0 12px;
}
.programs-catalog__apply-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
}
.programs-catalog__apply-list li {
	margin: 0;
}
.programs-catalog__apply-list a {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	background: #fff;
	border: 1px solid var(--brand, #2D3E81);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	text-decoration: none;
	transition: all .2s ease;
}
.programs-catalog__apply-list a:hover {
	background: var(--brand, #2D3E81);
	color: #fff;
	text-decoration: none;
}

/* ==================================================================
   Programs Catalog widget — premium /programi/ design.
   ================================================================== */

.programs-catalog {
	padding: clamp(56px, 7vw, 104px) 0;
	background: linear-gradient(180deg, #FBF6EE 0%, #FFFFFF 35%);
}
.programs-catalog__head {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}
.programs-catalog__head .eyebrow { justify-content: center; }
.programs-catalog__head .section__lead { margin-top: 12px; }

.programs-catalog__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	max-width: 960px;
	margin: 0 auto 56px;
}
.programs-catalog__chip {
	display: inline-block;
	padding: 9px 18px;
	background: #fff;
	border: 1.5px solid rgba(45, 62, 129, 0.12);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	text-decoration: none;
	transition: all .2s ease;
}
.programs-catalog__chip:hover {
	border-color: var(--brand, #2D3E81);
	background: var(--brand, #2D3E81);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(45, 62, 129, 0.18);
}
.programs-catalog__chip[data-accent="pink"]:hover  { background: var(--pink-500, #EA6697); border-color: var(--pink-500); }
.programs-catalog__chip[data-accent="green"]:hover { background: var(--green-500, #3AB54B); border-color: var(--green-500); }
.programs-catalog__chip[data-accent="sun"]:hover   { background: var(--sun-500, #FFA617); border-color: var(--sun-500); color: var(--navy-ink, #081219); }

.programs-catalog__list {
	display: flex;
	flex-direction: column;
	gap: 56px;
}
@media (min-width: 1100px) {
	.programs-catalog__list { gap: 72px; }
}

.programs-catalog__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(45, 62, 129, 0.06);
	transition: box-shadow .3s ease, transform .3s ease;
	scroll-margin-top: 120px;
	align-items: start; /* колоните не се разтягат една спрямо друга */
}
.programs-catalog__item:hover { box-shadow: 0 16px 50px rgba(45, 62, 129, 0.12); }
.programs-catalog__item.is-open {
	box-shadow: 0 20px 60px rgba(45, 62, 129, 0.16);
	border: 1px solid rgba(45, 62, 129, 0.08);
}
@media (min-width: 900px) {
	.programs-catalog__item {
		grid-template-columns: 5fr 6fr;
	}
	.programs-catalog__item--reverse { grid-template-columns: 6fr 5fr; }
	.programs-catalog__item--reverse .programs-catalog__media { order: 2; }
	.programs-catalog__item--reverse .programs-catalog__body  { order: 1; }
}

.programs-catalog__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--surface, #F4F5F6);
	/* Фиксирани пропорции — снимката не се разтяга когато body-то се разгъва */
	aspect-ratio: 4 / 3;
	width: 100%;
}
@media (min-width: 900px) {
	.programs-catalog__media {
		aspect-ratio: auto;
		height: 420px;
	}
}
.programs-catalog__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.programs-catalog__item:hover .programs-catalog__media img { transform: scale(1.04); }

.programs-catalog__number {
	position: absolute;
	left: clamp(16px, 3vw, 32px);
	bottom: clamp(16px, 3vw, 32px);
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: clamp(72px, 12vw, 140px);
	font-weight: 900;
	line-height: 0.85;
	color: #fff;
	letter-spacing: -0.04em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	opacity: 0.95;
	pointer-events: none;
	z-index: 1;
}

.programs-catalog__item[data-accent="pink"]  .programs-catalog__media::after { background: linear-gradient(135deg, rgba(234,102,151,0.25), rgba(0,0,0,0.15) 60%); }
.programs-catalog__item[data-accent="navy"]  .programs-catalog__media::after { background: linear-gradient(135deg, rgba(45,62,129,0.35),  rgba(0,0,0,0.2)  60%); }
.programs-catalog__item[data-accent="green"] .programs-catalog__media::after { background: linear-gradient(135deg, rgba(58,181,75,0.28),  rgba(0,0,0,0.15) 60%); }
.programs-catalog__item[data-accent="sun"]   .programs-catalog__media::after { background: linear-gradient(135deg, rgba(255,166,23,0.3),  rgba(0,0,0,0.15) 60%); }
.programs-catalog__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.programs-catalog__body {
	padding: clamp(28px, 4vw, 48px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
}
.programs-catalog__tag {
	display: inline-block;
	padding: 5px 14px;
	background: var(--surface, #F4F5F6);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted-500, #3A3D46);
	margin-bottom: 16px;
}
.programs-catalog__item[data-accent="pink"]  .programs-catalog__tag { background: rgba(234,102,151,0.12); color: var(--pink-500, #EA6697); }
.programs-catalog__item[data-accent="navy"]  .programs-catalog__tag { background: rgba(45,62,129,0.12);  color: var(--brand, #2D3E81); }
.programs-catalog__item[data-accent="green"] .programs-catalog__tag { background: rgba(58,181,75,0.14);  color: var(--green-600, #2FA040); }
.programs-catalog__item[data-accent="sun"]   .programs-catalog__tag { background: rgba(255,166,23,0.16); color: #B57610; }

.programs-catalog__title {
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	color: var(--brand, #2D3E81);
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}
.programs-catalog__desc {
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted-500, #3A3D46);
	margin: 0 0 24px;
}

.programs-catalog__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: var(--brand, #2D3E81);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all .2s ease;
	align-self: flex-start;
}
.programs-catalog__toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,62,129,0.25); }
.programs-catalog__item[data-accent="pink"]  .programs-catalog__toggle { background: var(--pink-500, #EA6697); }
.programs-catalog__item[data-accent="green"] .programs-catalog__toggle { background: var(--green-500, #3AB54B); }
.programs-catalog__item[data-accent="sun"]   .programs-catalog__toggle { background: var(--sun-500, #FFA617); color: var(--navy-ink, #081219); }

.programs-catalog__toggle-close { display: none; }
.programs-catalog__item.is-open .programs-catalog__toggle-open { display: none; }
.programs-catalog__item.is-open .programs-catalog__toggle-close { display: inline-flex; align-items: center; gap: 8px; }

.programs-catalog__expand {
	order: 3;
	grid-column: 1 / -1;
	margin: 0;
	padding: clamp(22px, 3.2vw, 40px);
	background:
		linear-gradient(180deg, rgba(45,62,129,0.035), rgba(255,255,255,0) 160px),
		#fff;
	border-top: 1px solid rgba(45, 62, 129, 0.1);
	animation: mcProgramsFadeIn .4s ease both;
}
@keyframes mcProgramsFadeIn {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.programs-catalog__subs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
	margin-bottom: 0;
}

.programs-catalog__sub {
	position: relative;
	padding: 18px 20px 20px;
	background: #F8F8FA;
	border: 1px solid rgba(45, 62, 129, 0.08);
	border-radius: 18px;
	border-top: 4px solid var(--pink-500, #EA6697);
	border-left: 0;
	box-shadow: 0 8px 22px rgba(45, 62, 129, 0.045);
}
.programs-catalog__item[data-accent="navy"]  .programs-catalog__sub { border-top-color: var(--brand, #2D3E81); }
.programs-catalog__item[data-accent="green"] .programs-catalog__sub { border-top-color: var(--green-500, #3AB54B); }
.programs-catalog__item[data-accent="sun"]   .programs-catalog__sub { border-top-color: var(--sun-500, #FFA617); }
.programs-catalog__sub h4 {
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15.5px;
	font-weight: 800;
	color: var(--brand, #2D3E81);
	margin: 0 0 8px;
}
.programs-catalog__sub p {
	font-size: 14px;
	line-height: 1.62;
	color: var(--muted-500, #3A3D46);
	margin: 0;
}

.programs-catalog__apply {
	padding: 24px 28px;
	background: linear-gradient(135deg, rgba(45,62,129,0.04), rgba(234,102,151,0.05));
	border: 1px solid rgba(45, 62, 129, 0.12);
	border-radius: 16px;
}
.programs-catalog__apply-eye {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pink-500, #EA6697);
	margin-bottom: 6px;
}
.programs-catalog__apply-title {
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: var(--brand, #2D3E81);
	margin-bottom: 14px;
}
.programs-catalog__apply-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.programs-catalog__apply-list a {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	background: #fff;
	border: 1.5px solid var(--brand, #2D3E81);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand, #2D3E81);
	text-decoration: none;
	transition: all .2s ease;
}
.programs-catalog__apply-list a:hover {
	background: var(--brand, #2D3E81);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Footer credit — „Уебсайт от INSYS" */
.site-footer__credit {
	display: inline-block;
	margin-left: 12px;
	padding-left: 12px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
}
.site-footer__credit a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.05em;
	transition: color 0.2s ease;
}
.site-footer__credit a:hover {
	color: #fff;
}
@media (max-width: 540px) {
	.site-footer__credit {
		display: block;
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
		margin-top: 4px;
	}
}

/* =========================================================================
 * Унификация на padding на секции (2026-04-25)
 *
 * Преди: различни widgets ползваха различен padding-block:
 *   - .section            : clamp(48px, 6vw, 88px)
 *   - .section--spacer    : clamp(32px, 4vw, 72px)   ← по-малко
 *   - .programs-catalog   : clamp(56px, 7vw, 104px)  ← по-голямо
 *   - .mc-timeline-section: 24px                      ← много малко
 *   - .mc-accordion-wrap  : 0                         ← без padding
 * След: всички използват един общ standard.
 * ========================================================================= */

/* Уеднаквяване: spacer става равен на standard section. */
.section--spacer { padding-block: clamp(48px, 6vw, 88px); }

/* Programs catalog — premium gradient остава, но padding е стандартен. */
.programs-catalog { padding: clamp(48px, 6vw, 88px) 0; }

/* Timeline — добавяме стандартен padding (преди беше 24px). */
.mc-timeline-section { padding-block: clamp(48px, 6vw, 88px) !important; }

/* =========================================================================
 * Content Blocks — expanded режим на accordion widget-а.
 *
 * Използва се за съдържателни секции, които НЕ са въпроси (напр. секциите
 * на „Чуждоезиково обучение" — Как учим / Cambridge / Резултати / Френски).
 * Рендерира всеки item като подзаглавие + параграф, без сгъване.
 * ========================================================================= */

.mc-content-blocks { background: var(--white); }

.mc-content-blocks__list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.mc-content-block {
	padding: 28px 0;
	border-top: 1px solid rgba(45, 62, 129, 0.1);
}

.mc-content-block:first-child {
	border-top: 0;
	padding-top: 8px;
}

.mc-content-block__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.2;
	color: var(--brand);
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}

.mc-content-block__body {
	color: var(--fg-2);
	font-size: clamp(15px, 1.05vw, 16.5px);
	line-height: 1.7;
}

.mc-content-block__body > *:first-child { margin-top: 0; }
.mc-content-block__body > *:last-child  { margin-bottom: 0; }

.mc-content-block__body p {
	margin: 0 0 14px;
}
.mc-content-block__body p:last-child {
	margin-bottom: 0;
}

.mc-content-block__body ul,
.mc-content-block__body ol {
	padding-left: 22px;
	margin: 12px 0;
}
.mc-content-block__body li { margin: 6px 0; }

/* Two-column режим за expanded: header вляво, блокове вдясно. */
@media (min-width: 1024px) {
	.mc-content-blocks .mc-accordion-wrap--two_column {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
		gap: 72px;
		align-items: start;
	}
	.mc-content-blocks .mc-accordion-wrap--two_column .mc-accordion__header {
		position: sticky;
		top: 32px;
	}
}

/* =========================================================================
 * News Archive (archive-montessori_news.php)
 *
 * Featured (latest) news = голяма horizontal card на първа страница.
 * Останалите = 3-колонен grid от cards.
 * ========================================================================= */

.news-archive__hero { padding-block: clamp(56px, 6vw, 96px); }
.news-archive__hero .eyebrow { margin-bottom: 12px; }
.news-archive__hero .section__lead { margin-top: 16px; }

.news-archive { padding-block: clamp(48px, 6vw, 88px); }

/* --- Featured (latest) horizontal card --- */
.news-archive__featured {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-bottom: 64px;
	background: var(--white);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(45, 62, 129, 0.08);
	box-shadow: 0 4px 24px rgba(45, 62, 129, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-archive__featured:hover {
	box-shadow: 0 8px 32px rgba(45, 62, 129, 0.12);
}

@media (min-width: 900px) {
	.news-archive__featured { grid-template-columns: 1.2fr 1fr; gap: 0; }
}

.news-archive__featured-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #2D3E81 0%, #5566aa 100%);
}

.news-archive__featured-link {
	display: block;
	width: 100%;
	height: 100%;
}

.news-archive__featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.news-archive__featured:hover .news-archive__featured-img { transform: scale(1.04); }

.news-archive__featured-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--brand) 0%, var(--pink-500) 100%);
}

.news-archive__featured-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 48px);
	gap: 16px;
}

.news-archive__featured-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.news-archive__featured-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--brand);
	margin: 0;
}

.news-archive__featured-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-archive__featured-title a:hover { color: var(--pink-500); }

.news-archive__featured-excerpt {
	color: var(--fg-2);
	font-size: clamp(15px, 1.05vw, 17px);
	line-height: 1.65;
	margin: 0;
}

/* --- Date helper (used in featured + cards) --- */
.news-archive__date {
	color: var(--fg-2);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* --- Grid of remaining news cards --- */
.news-archive__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-bottom: 48px;
}

@media (min-width: 700px)  { .news-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-archive__grid { grid-template-columns: repeat(3, 1fr); } }

.news-archive__card {
	background: var(--white);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(45, 62, 129, 0.08);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	display: flex;
	flex-direction: column;
}

.news-archive__card:hover {
	box-shadow: 0 8px 24px rgba(45, 62, 129, 0.1);
	transform: translateY(-2px);
}

.news-archive__card-media-link {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--surface) 0%, #e8eaf3 100%);
}

.news-archive__card-media {
	margin: 0;
	width: 100%;
	height: 100%;
}

.news-archive__card-media .card__media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.news-archive__card:hover .card__media-img { transform: scale(1.05); }

.news-archive__card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--brand) 0%, var(--pink-500) 100%);
}

.news-archive__card-body {
	padding: 22px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.news-archive__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.news-archive__card-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: 19px;
	line-height: 1.25;
	color: var(--brand);
	margin: 4px 0 0;
}

.news-archive__card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-archive__card-title a:hover { color: var(--pink-500); }

.news-archive__card .card__desc {
	color: var(--fg-2);
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

.news-archive__card .read-more { margin-top: 8px; }

.news-archive__only-one {
	color: var(--fg-2);
	margin-top: 16px;
	font-style: italic;
}

.news-archive__empty {
	text-align: center;
	padding: 48px 0;
	max-width: 520px;
	margin: 0 auto;
}

.news-archive__empty-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: 24px;
	color: var(--brand);
	margin: 0 0 12px;
}

.news-archive__empty p {
	color: var(--fg-2);
	margin-bottom: 24px;
}

/* =========================================================================
 * News Single (single-montessori_news.php)
 *
 * Hero с background image + overlay → meta + title + subtitle.
 * Article body с lead + content + опц. video + опц. galery.
 * Footer със share buttons + tags. Related news + prev/next nav.
 * ========================================================================= */

.news-single {
	display: block;
}

/* --- Hero --- */
.news-single__hero {
	position: relative;
	padding-block: clamp(64px, 8vw, 120px);
	background: var(--surface);
	color: var(--brand);
	overflow: hidden;
	text-align: center;
}

.news-single__hero--has-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	min-height: clamp(360px, 45vw, 520px);
	display: flex;
	align-items: center;
}

.news-single__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 22, 60, 0.35) 0%, rgba(15, 22, 60, 0.85) 100%);
	z-index: 1;
}

.news-single__hero-inner {
	position: relative;
	z-index: 2;
	max-width: 860px;
	margin: 0 auto;
	width: 100%;
}

.news-single__hero .breadcrumbs {
	justify-content: center;
}

.news-single__hero--has-bg .breadcrumbs,
.news-single__hero--has-bg .breadcrumbs a,
.news-single__hero--has-bg .breadcrumbs span {
	color: rgba(255, 255, 255, 0.9);
}

.news-single__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 18px 0 18px;
}

.news-single__date {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--fg-2);
}

.news-single__hero--has-bg .news-single__date,
.news-single__hero--has-bg .news-single__reading-time {
	color: rgba(255, 255, 255, 0.92);
}

.news-single__reading-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--fg-2);
}

.news-single__title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 900;
	font-size: clamp(30px, 4.5vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 auto 16px;
	color: var(--brand);
	max-width: 760px;
}

/* Бял цвят на заглавието/подзаглавието когато hero има background image. */
.news-single__hero--has-bg .news-single__title,
.news-single__hero--has-bg .news-single__subtitle {
	color: #fff;
}

/* Text shadow за по-добра четивност върху image background. */
.news-single__hero--has-bg .news-single__title {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.news-single__subtitle {
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.5;
	margin: 0 auto;
	max-width: 720px;
	color: var(--fg-2);
	opacity: 0.95;
}

/* --- Body section --- */
.news-single__body-section {
	padding-block: clamp(48px, 6vw, 88px);
}

.news-single__body-container {
	max-width: 820px;
}

.news-single__lead {
	font-size: clamp(18px, 1.4vw, 21px);
	line-height: 1.6;
	color: var(--brand);
	font-weight: 600;
	margin: 0 0 32px;
	padding-left: 20px;
	border-left: 4px solid var(--pink-500);
}

.news-single__featured-image {
	margin: 0 0 36px;
	border-radius: 12px;
	overflow: hidden;
}

.news-single__featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.news-single__content {
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--fg-1);
}

.news-single__content > *:first-child { margin-top: 0; }
.news-single__content > *:last-child  { margin-bottom: 0; }

.news-single__content p {
	margin: 0 0 18px;
}

.news-single__content h2,
.news-single__content h3 {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	color: var(--brand);
	margin: 32px 0 14px;
	letter-spacing: -0.01em;
}

.news-single__content h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.news-single__content h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }

.news-single__content ul,
.news-single__content ol {
	padding-left: 24px;
	margin: 12px 0 18px;
}

.news-single__content li { margin: 6px 0; }

.news-single__content blockquote {
	margin: 24px 0;
	padding: 20px 28px;
	background: var(--surface);
	border-left: 4px solid var(--pink-500);
	font-style: italic;
	color: var(--brand);
}

.news-single__content a {
	color: var(--pink-500);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 2px;
}

.news-single__content a:hover { color: var(--brand); }

/* --- Video --- */
.news-single__video {
	margin: 36px 0;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #000;
}

.news-single__video iframe,
.news-single__video video,
.news-single__video > * {
	width: 100% !important;
	height: 100% !important;
	display: block;
	border: 0;
}

/* --- Gallery --- */
.news-single__gallery {
	margin: 48px 0 0;
	padding-top: 32px;
	border-top: 1px solid rgba(45, 62, 129, 0.1);
}

.news-single__gallery-title {
	font-family: var(--font-body, 'Nunito Sans'), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 2.2vw, 26px);
	color: var(--brand);
	margin: 0 0 20px;
}

.news-single__gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

@media (min-width: 700px) { .news-single__gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.news-single__gallery-item {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 1 / 1;
}

.news-single__gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.news-single__gallery-item:hover img { transform: scale(1.06); }

/* --- Footer (share + tags) --- */
.news-single__footer {
	margin-top: 48px;
	padding: 28px 0;
	border-top: 1px solid rgba(45, 62, 129, 0.1);
	border-bottom: 1px solid rgba(45, 62, 129, 0.1);
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
	align-items: center;
}

.news-single__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.news-single__tags-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--fg-2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.news-single__tag {
	display: inline-block;
	padding: 6px 14px;
	background: var(--surface);
	color: var(--brand);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.news-single__tag:hover {
	background: var(--brand);
	color: #fff;
}

.news-single__share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.news-single__share-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--fg-2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-right: 4px;
}

.news-single__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--surface);
	color: var(--brand);
	border: 0;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.news-single__share-btn:hover {
	background: var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

.news-single__share-btn.is-copied {
	background: var(--green-500);
	color: #fff;
}

/* --- Prev / next nav --- */
.news-single__nav {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 700px) { .news-single__nav { grid-template-columns: 1fr 1fr; gap: 24px; } }

.news-single__nav-link {
	display: block;
	padding: 18px 22px;
	background: var(--surface);
	border-radius: 10px;
	text-decoration: none;
	color: var(--brand);
	transition: background 0.2s ease, transform 0.2s ease;
}

.news-single__nav-link:hover {
	background: var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

.news-single__nav-link--next { text-align: right; }

.news-single__nav-direction {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.7;
	margin-bottom: 6px;
}

.news-single__nav-title {
	display: block;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
}

/* --- Related news --- */
.news-single__related { padding-block: clamp(48px, 6vw, 88px); }

.news-single__related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-top: 8px;
}

@media (min-width: 700px)  { .news-single__related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-single__related-grid { grid-template-columns: repeat(3, 1fr); } }
