/**
 * How to Speak — Core: фронтенд стилове.
 * Всички цветове минават през CSS променливи, за да се пренастройват от Elementor.
 */

:root {
	--htp-accent: #0e7c7b;
	--htp-accent-dark: #0a5c5b;
	--htp-accent-soft: #e6f2f2;
	--htp-alert: #f2b8b5;
	--htp-alert-text: #8c2f2b;
	--htp-text: #16302f;
	--htp-muted: #5c7271;
	--htp-line: #dfe7e6;
	--htp-surface: #ffffff;
	--htp-bg: #f7faf9;
	--htp-radius: 10px;
	--htp-columns: 3;
}

.htp-events,
.htp-testimonials,
.htp-stack,
.htp-ticket-wrap,
.htp-speakers,
.htp-media-grid,
.htp-logos,
.htp-stats,
.htp-feedback,
.htp-faq,
.htp-gallery {
	color: var(--htp-text);
	font-feature-settings: "kern";
}

/* --------------------------------------------------- Общи елементи */

.htp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.htp-btn--primary {
	background: var(--htp-accent);
	color: #fff;
}

.htp-btn--primary:hover,
.htp-btn--primary:focus-visible {
	background: var(--htp-accent-dark);
	color: #fff;
}

.htp-btn--outline {
	background: transparent;
	border-color: var(--htp-accent);
	color: var(--htp-accent);
}

.htp-btn--outline:hover,
.htp-btn--outline:focus-visible {
	background: var(--htp-accent-soft);
}

.htp-btn--light {
	background: #fff;
	color: var(--htp-accent-dark);
}

.htp-btn--light:hover {
	background: var(--htp-accent-soft);
}

.htp-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 4px;
	background: var(--htp-accent-soft);
	color: var(--htp-accent-dark);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.htp-badge--alert {
	background: var(--htp-alert);
	color: var(--htp-alert-text);
}

.htp-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--htp-accent);
	font-weight: 500;
	text-decoration: none;
}

.htp-link:hover {
	text-decoration: underline;
}

.htp-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.htp-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--htp-muted);
	font-size: 15px;
}

.htp-empty {
	padding: 32px 0;
	color: var(--htp-muted);
	text-align: center;
}

/* --------------------------------------------------- Редове със събития */

.htp-event-row {
	display: grid;
	grid-template-columns: 220px 1fr auto;
	gap: 32px;
	align-items: center;
	padding: 28px 0;
	border-bottom: 1px solid var(--htp-line);
}

.htp-event-row:first-child {
	border-top: 1px solid var(--htp-line);
}

.htp-event-row__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--htp-accent);
}

.htp-event-row__days {
	font-size: 20px;
	font-weight: 700;
}

.htp-event-row__month {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.htp-event-row__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.htp-event-row__title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.3;
}

.htp-event-row__title a {
	color: inherit;
	text-decoration: none;
}

.htp-event-row__title a:hover {
	color: var(--htp-accent);
}

.htp-event-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.htp-event-row__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 240px;
}

.htp-event-row--past {
	opacity: .75;
}

/* --------------------------------------------------- Карти със събития */

.htp-events__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 32px;
}

.htp-chip {
	padding: 10px 18px;
	border: 1px solid var(--htp-line);
	border-radius: 999px;
	background: transparent;
	color: var(--htp-muted);
	font-size: 15px;
	cursor: pointer;
	transition: all .18s ease;
}

.htp-chip.is-active,
.htp-chip:hover {
	border-color: var(--htp-accent);
	background: var(--htp-accent-soft);
	color: var(--htp-accent-dark);
}

.htp-events__grid {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 3), minmax(0, 1fr));
	gap: 24px;
}

.htp-events__grid.is-loading {
	opacity: .45;
	pointer-events: none;
}

.htp-event-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--htp-radius);
	background: var(--htp-surface);
}

.htp-event-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--htp-accent-soft);
}

.htp-event-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htp-event-card__media .htp-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: rgba(255, 255, 255, .92);
}

.htp-event-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px 4px 0;
}

.htp-event-card__date {
	color: var(--htp-accent);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.htp-event-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.35;
}

.htp-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.htp-events__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.htp-page-btn {
	width: 56px;
	height: 56px;
	border: 1px solid var(--htp-line);
	border-radius: 6px;
	background: transparent;
	color: var(--htp-text);
	font-size: 18px;
	cursor: pointer;
}

.htp-page-btn:disabled {
	opacity: .35;
	cursor: default;
}

/* --------------------------------------------------- Stacking cards */

.htp-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.htp-stack__card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	padding: 40px;
	border-radius: var(--htp-radius);
	background: var(--htp-surface);
	box-shadow: 0 12px 32px rgba(22, 48, 47, .07);
}

.htp-stack__card:has(.htp-stack__media) {
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
}

.htp-stack--sticky .htp-stack__card {
	position: sticky;
	top: calc(90px + var(--htp-stack-index) * 18px);
}

.htp-stack__number {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--htp-accent);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.htp-stack__title {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.25;
}

.htp-stack__text {
	color: var(--htp-muted);
	line-height: 1.7;
}

.htp-stack__media img {
	width: 100%;
	border-radius: 8px;
	object-fit: cover;
}

/* --------------------------------------------------- Билет */

.htp-ticket__heading {
	margin-bottom: 24px;
	font-size: 26px;
	text-align: center;
}

.htp-ticket__heading strong {
	color: var(--htp-accent);
}

.htp-ticket {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 150px;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(120deg, var(--htp-accent-dark), var(--htp-accent));
	color: #fff;
}

.htp-ticket__main {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 36px 40px;
}

.htp-ticket__fee-label {
	display: block;
	font-size: 15px;
	opacity: .85;
}

.htp-ticket__fee-value {
	display: block;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
}

.htp-ticket__fee-note {
	font-size: 14px;
	opacity: .8;
}

.htp-ticket__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.htp-ticket__meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.htp-ticket__meta-item em {
	display: block;
	font-size: 11px;
	font-style: normal;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .75;
}

.htp-ticket__soldout {
	align-self: flex-start;
	padding: 10px 18px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .18);
	font-weight: 600;
}

.htp-ticket__stub {
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 2px dashed rgba(255, 255, 255, .45);
}

.htp-ticket__stub span {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .04em;
	writing-mode: vertical-rl;
}

.htp-ticket .htp-btn {
	align-self: flex-start;
}

.htp-rsvp {
	display: grid;
	gap: 10px;
	max-width: 420px;
	padding: 18px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .14);
}

.htp-rsvp label {
	display: grid;
	gap: 4px;
	font-size: 13px;
}

.htp-rsvp input {
	padding: 10px 12px;
	border: 0;
	border-radius: 6px;
	font-size: 15px;
}

.htp-rsvp__message {
	margin: 0;
	font-size: 14px;
}

/* --------------------------------------------------- Отзиви */

.htp-testimonials {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 3), minmax(0, 1fr));
	gap: 32px;
}

.htp-testimonial {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.htp-testimonial__mark {
	color: var(--htp-accent);
	opacity: .35;
}

.htp-testimonial__mark .htp-icon {
	width: 36px;
	height: 36px;
}

.htp-testimonial__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--htp-accent);
	font-weight: 700;
}

.htp-testimonial__quote {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
}

.htp-testimonial__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.htp-testimonial__avatar img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.htp-testimonial__author-info {
	display: flex;
	flex-direction: column;
	color: var(--htp-muted);
	font-size: 14px;
}

.htp-testimonial__author-info strong {
	color: var(--htp-text);
	font-size: 16px;
}

/* --------------------------------------------------- Лектори */

.htp-speakers {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 3), minmax(0, 1fr));
	gap: 28px;
}

.htp-speaker__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--htp-radius);
	object-fit: cover;
}

.htp-speaker__name {
	margin: 16px 0 4px;
	font-size: 19px;
}

.htp-speaker__role,
.htp-speaker__topic {
	margin: 0;
	color: var(--htp-muted);
	font-size: 15px;
}

.htp-speaker__topic {
	margin-top: 6px;
	color: var(--htp-accent);
}

/* --------------------------------------------------- Медии */

.htp-media-grid {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 3), minmax(0, 1fr));
	gap: 28px;
}

.htp-media-card__image {
	position: relative;
	overflow: hidden;
	border-radius: var(--htp-radius);
	aspect-ratio: 3 / 2;
	background: var(--htp-accent-soft);
}

.htp-media-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.htp-media-card__logo {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: grid;
	place-items: center;
	padding: 6px 10px;
	border-radius: 6px;
	background: #fff;
}

.htp-media-card__logo img {
	width: auto;
	max-height: 24px;
}

.htp-media-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 18px;
}

.htp-media-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--htp-muted);
	font-size: 14px;
}

.htp-media-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.35;
}

.htp-media-card__excerpt {
	margin: 0;
	color: var(--htp-muted);
	line-height: 1.6;
}

/* --------------------------------------------------- Лога */

.htp-logos--grid .htp-logos__track {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 6), minmax(0, 1fr));
	gap: 24px;
	align-items: center;
}

.htp-logos__item img {
	width: 100%;
	max-height: 56px;
	object-fit: contain;
	opacity: .7;
	transition: opacity .2s ease, filter .2s ease;
}

.htp-logos__item:hover img {
	filter: none !important;
	opacity: 1;
}

.htp-logos--marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.htp-logos--marquee .htp-logos__track {
	display: flex;
	gap: 56px;
	align-items: center;
	width: max-content;
	animation: htp-marquee 38s linear infinite;
}

.htp-logos--marquee .htp-logos__item {
	flex: 0 0 auto;
	width: 150px;
}

@keyframes htp-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.htp-logos--marquee .htp-logos__track {
		animation: none;
	}
}

/* --------------------------------------------------- Числа и обратна връзка */

.htp-stats {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 4), minmax(0, 1fr));
	gap: 32px;
}

.htp-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.htp-stat__value {
	color: var(--htp-accent);
	font-size: 46px;
	font-weight: 700;
	line-height: 1.05;
}

.htp-stat__label {
	font-size: 17px;
	font-weight: 600;
}

.htp-stat__desc {
	color: var(--htp-muted);
	font-size: 15px;
	line-height: 1.55;
}

.htp-feedback__heading {
	margin: 0 0 28px;
	font-size: 30px;
}

.htp-feedback__items {
	display: grid;
	gap: 32px;
}

.htp-feedback__percent {
	display: block;
	color: var(--htp-accent);
	font-size: 40px;
	font-weight: 700;
}

.htp-feedback__title {
	margin: 6px 0 4px;
	font-size: 18px;
}

.htp-feedback__text {
	margin: 0;
	color: var(--htp-muted);
	line-height: 1.6;
}

/* --------------------------------------------------- FAQ */

.htp-faq {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--htp-line);
}

.htp-faq__item {
	border-bottom: 1px solid var(--htp-line);
}

.htp-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.htp-faq__question::-webkit-details-marker {
	display: none;
}

.htp-faq__item[open] .htp-faq__question .htp-icon {
	transform: rotate(180deg);
}

.htp-faq__question .htp-icon {
	color: var(--htp-accent);
	transition: transform .2s ease;
}

.htp-faq__answer {
	padding-bottom: 22px;
	color: var(--htp-muted);
	line-height: 1.7;
}

/* --------------------------------------------------- Галерия */

.htp-gallery {
	display: grid;
	grid-template-columns: repeat(var(--htp-columns, 3), minmax(0, 1fr));
	gap: 16px;
}

.htp-gallery__item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 8px;
	object-fit: cover;
	transition: transform .3s ease;
}

.htp-gallery__item:hover img {
	transform: scale(1.02);
}

/* --------------------------------------------------- Адаптив */

@media (max-width: 1024px) {
	.htp-events__grid,
	.htp-testimonials,
	.htp-speakers,
	.htp-media-grid,
	.htp-stats,
	.htp-gallery {
		--htp-columns: 2;
	}

	.htp-logos--grid .htp-logos__track {
		--htp-columns: 4;
	}

	.htp-stack__card:has(.htp-stack__media) {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.htp-events__grid,
	.htp-testimonials,
	.htp-speakers,
	.htp-media-grid,
	.htp-stats,
	.htp-gallery {
		--htp-columns: 1;
	}

	.htp-logos--grid .htp-logos__track {
		--htp-columns: 2;
	}

	.htp-event-row {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: left;
	}

	.htp-event-row__date {
		flex-direction: row;
		gap: 8px;
		align-items: baseline;
	}

	.htp-event-row__month {
		font-size: 20px;
	}

	.htp-event-row__actions {
		min-width: 0;
	}

	.htp-ticket {
		grid-template-columns: 1fr;
	}

	.htp-ticket__stub {
		border-left: 0;
		border-top: 2px dashed rgba(255, 255, 255, .45);
		padding: 18px;
	}

	.htp-ticket__stub span {
		writing-mode: horizontal-tb;
	}

	.htp-stack--sticky .htp-stack__card {
		position: static;
	}

	.htp-stack__card {
		padding: 26px;
	}
}

/* Footer inline icon lists use negative margins that push the page wider than the viewport on phones. */
.elementor-location-footer .elementor-widget-icon-list {
	overflow-x: clip;
}

/* Sticky header: fade from the header's target colour to transparent so the nav stays readable over content. */
.elementor-location-header .hts-nav-fade {
	isolation: isolate;
	z-index: 1000;
}

.elementor-location-header .hts-nav-fade::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 1;
	transition: opacity .3s ease;
}

.elementor-location-header .hts-nav-fade--dark::before,
.elementor-location-header .hts-nav-fade--light::before {
	background: #fdfdfd;
}

.elementor-location-header .hts-nav-fade--dark .e-n-menu-toggle {
	--n-menu-toggle-icon-color: #fdfdfd;
	--n-menu-toggle-icon-color-hover: #fdfdfd;
	--n-menu-toggle-icon-color-active: #fdfdfd;
	color: #fdfdfd;
}

.elementor-location-header .hts-nav-fade--dark .e-n-menu-toggle svg {
	fill: #fdfdfd;
}

/* Full-bleed review carousels: snap the first card to the content edge, not the viewport edge. */
.elementor .hts-review-track {
	scroll-padding-inline: max(20px, calc((100vw - 1440px) / 2)) !important;
}

@media (max-width: 1366px) {
	.elementor .hts-review-track { scroll-padding-inline: 40px !important; }
}

@media (max-width: 1024px) {
	.elementor .hts-review-track { scroll-padding-inline: 32px !important; }
}

@media (max-width: 767px) {
	.elementor .hts-review-track { scroll-padding-inline: 16px !important; }
}

/* Page transitions (cross-document View Transitions; unsupported browsers just navigate). */
@view-transition {
	navigation: auto;
}

.elementor-location-header {
	position: relative;
	z-index: 1000;
	view-transition-name: htp-header;
}

::view-transition-old(root) {
	animation: htp-vt-out .28s cubic-bezier(.4, 0, .2, 1) both;
}

::view-transition-new(root) {
	animation: htp-vt-in .42s cubic-bezier(.2, 0, 0, 1) both;
}

@keyframes htp-vt-out {
	to { opacity: 0; transform: translateY(-8px); }
}

@keyframes htp-vt-in {
	from { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root),
	::view-transition-new(root) {
		animation: none;
	}
}

/* Dark header (над тъмни hero секции): при скрол минава на бял фон с тъмни линкове. */
.elementor-location-header .hts-nav-fade--dark::before {
	transition: background .3s ease;
}

/* Най-горе — без фон (без фейд); след скрол — плътно бяло, плавно. */
.elementor-location-header .hts-nav-fade::before {
	opacity: 0 !important;
	transition: opacity .45s ease !important;
}

.htp-scrolled .elementor-location-header .hts-nav-fade::before {
	opacity: 1 !important;
}

/* Скриване при скрол надолу / плъзгане отгоре при скрол нагоре. */
.elementor-location-header .hts-nav-fade {
	/* Появяване: меко „спускане“. */
	transition: transform .5s cubic-bezier(.22, .61, .36, 1) !important;
	will-change: transform;
}

.htp-nav-hidden .elementor-location-header .hts-nav-fade {
	/* Скриване: по-бавно и плавно нагоре. */
	transform: translateY(-110%) !important;
	transition: transform .7s cubic-bezier(.45, 0, .25, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
	.elementor-location-header .hts-nav-fade,
	.elementor-location-header .hts-nav-fade::before {
		transition: none !important;
	}
}

.elementor-location-header .hts-nav-fade--dark .e-n-menu-title,
.elementor-location-header .hts-nav-fade--dark .e-n-menu-title-text,
.elementor-location-header .hts-nav-fade--dark .e-n-menu-dropdown-icon,
.elementor-location-header .hts-nav-fade--dark > .e-image-base,
.elementor-location-header .hts-nav-fade--dark .e-button-base {
	transition: color .3s ease, background-color .3s ease, filter .3s ease;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark .elementor-widget-n-menu {
	--n-menu-title-color-normal: #004d55;
	--n-menu-title-color-hover: #008990;
	--n-menu-title-color-active: #008990;
	--n-menu-icon-color: #004d55;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-n-menu-title,
.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-n-menu-title-text,
.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-n-menu-dropdown-icon {
	color: #004d55;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-n-menu-dropdown-icon svg {
	fill: #004d55;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark img.e-image-base {
	content: url(../img/hts-logo.svg);
	filter: none;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-button-base {
	background-color: #008990;
	color: #fdfdfd;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-n-menu-toggle {
	--n-menu-toggle-icon-color: #004d55;
	color: #004d55;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark .e-n-menu-toggle svg {
	fill: #004d55;
}

/* Съдържанието на падащите менюта е в бяла карта — линковете вътре остават тъмни. */
.elementor-location-header .e-n-menu-content .hts-dd,
.elementor-location-header .e-n-menu-content .hts-dd * {
	filter: none;
}

/* Падащо меню: само картата, без бялата кутия на мега менюто. */
.elementor-location-header .e-n-menu-content {
	background: transparent !important;
	box-shadow: none !important;
}

.elementor-location-header .e-n-menu-content > .e-con {
	--padding-top: 10px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	background: transparent !important;
}

/* ------------------------------------------------------------------
 * Мобилно меню — цял екран, тийл градиент, големи линкове.
 * ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.elementor-location-header .e-n-menu-toggle {
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
	}

	.elementor-location-header .e-n-menu-toggle svg {
		width: 26px;
		height: 26px;
	}

	.elementor-location-header .e-n-menu-wrapper {
		--n-menu-title-color-normal: #fdfdfd;
		--n-menu-title-color-hover: #69cbc4;
		--n-menu-title-color-active: #69cbc4;
		--n-menu-icon-color: #fdfdfd;
		position: fixed !important;
		inset: 0 !important;
		width: 100vw !important;
		height: 100vh;
		height: 100dvh;
		max-height: none !important;
		z-index: -1 !important;
		display: flex;
		flex-direction: column;
		gap: 32px;
		padding: 112px 24px 40px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: linear-gradient(180deg, #006d77 0%, #004249 100%) !important;
		animation: htp-menu-in .32s cubic-bezier(.2, 0, 0, 1) both;
	}

	.elementor-location-header .e-n-menu-heading {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0 !important;
		width: 100%;
		padding: 0 !important;
		margin: 0 !important;
	}

	.elementor-location-header .e-n-menu-item {
		width: 100%;
		border-bottom: 1px solid rgba(253, 253, 253, .14);
		animation: htp-menu-item .4s cubic-bezier(.2, 0, 0, 1) both;
	}

	.elementor-location-header .e-n-menu-item:nth-child(2) { animation-delay: .03s; }
	.elementor-location-header .e-n-menu-item:nth-child(3) { animation-delay: .06s; }
	.elementor-location-header .e-n-menu-item:nth-child(4) { animation-delay: .09s; }
	.elementor-location-header .e-n-menu-item:nth-child(5) { animation-delay: .12s; }
	.elementor-location-header .e-n-menu-item:nth-child(6) { animation-delay: .15s; }
	.elementor-location-header .e-n-menu-item:nth-child(7) { animation-delay: .18s; }
	.elementor-location-header .e-n-menu-item:nth-child(8) { animation-delay: .21s; }

	.elementor-location-header .e-n-menu-wrapper .e-n-menu-title {
		justify-content: space-between !important;
		width: 100% !important;
		padding: 14px 0 !important;
		background: transparent !important;
	}

	.elementor-location-header .e-n-menu-wrapper .e-n-menu-item,
	.elementor-location-header .e-n-menu-wrapper .e-n-menu-content {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		background: transparent !important;
	}

	.elementor-location-header .e-n-menu {
		justify-content: flex-end;
	}

	.elementor-location-header .e-n-menu-toggle {
		margin-inline-start: auto;
	}

	.elementor-location-header .e-n-menu-title-container {
		justify-content: flex-start !important;
	}

	.elementor-location-header .e-n-menu-wrapper .e-n-menu-title-text {
		font-family: var(--raleway), Raleway, sans-serif;
		font-size: 26px;
		font-weight: 600;
		line-height: 1.2;
		color: #fdfdfd !important;
	}

	.elementor-location-header .e-n-menu-wrapper .e-n-menu-dropdown-icon {
		min-width: 44px !important;
		height: 32px !important;
		justify-content: flex-end;
		color: #fdfdfd !important;
	}

	.elementor-location-header .e-n-menu-wrapper .e-n-menu-dropdown-icon svg {
		width: 18px;
		height: 18px;
		fill: #fdfdfd !important;
	}

	.elementor-location-header .e-n-menu-wrapper .e-n-menu-content > .e-con {
		--padding-top: 0px;
		padding-bottom: 12px !important;
	}

	.elementor-location-header .e-n-menu-wrapper .hts-dd-title {
		color: #fdfdfd !important;
		font-size: 17px;
		font-weight: 500;
	}

	.elementor-location-header .e-n-menu-wrapper .hts-dd-item:hover {
		background-color: transparent;
	}

	.elementor-location-header .e-n-menu-wrapper .hts-dd-all {
		color: #69cbc4 !important;
		border-top: 0;
		margin-block-start: 0;
	}

	/* Отворено меню: светло лого/иконка, без фейд и без CTA в лентата. */
	.elementor-location-header .hts-nav-fade:has(.e-n-menu-toggle[aria-expanded="true"])::before {
		opacity: 0;
	}

	.elementor-location-header .hts-nav-fade:has(.e-n-menu-toggle[aria-expanded="true"]) img.e-image-base {
		filter: brightness(0) invert(1) !important;
	}

	.elementor-location-header .hts-nav-fade:has(.e-n-menu-toggle[aria-expanded="true"]) .e-n-menu-toggle {
		--n-menu-toggle-icon-color: #fdfdfd;
		color: #fdfdfd;
	}

	.elementor-location-header .hts-nav-fade:has(.e-n-menu-toggle[aria-expanded="true"]) .e-n-menu-toggle svg {
		fill: #fdfdfd;
	}

	.elementor-location-header .hts-nav-fade:has(.e-n-menu-toggle[aria-expanded="true"]) a.e-button-base {
		visibility: hidden;
	}

	/* Дъно на менюто (добавя се от JS). */
	.htp-mm-footer {
		display: flex;
		flex-direction: column;
		gap: 24px;
		margin-top: auto;
		animation: htp-menu-item .45s .2s cubic-bezier(.2, 0, 0, 1) both;
	}

	.htp-mm-footer .htp-mm-cta {
		display: block;
		padding: 14px 24px;
		border-radius: 8px;
		background: #fdfdfd;
		color: #006d77;
		font-family: var(--raleway), Raleway, sans-serif;
		font-weight: 700;
		font-size: 17px;
		text-align: center;
		text-decoration: none;
	}

	.htp-mm-footer .htp-mm-social {
		display: flex;
		justify-content: center;
		gap: 22px;
	}

	.htp-mm-footer .htp-mm-social a {
		display: inline-flex;
		color: #fdfdfd;
	}

	.htp-mm-footer .htp-mm-social svg {
		width: 26px;
		height: 26px;
		fill: #fdfdfd;
	}

	html.htp-menu-open,
	html.htp-menu-open body {
		overflow: hidden;
	}
}

@media (min-width: 1025px) {
	.htp-mm-footer {
		display: none;
	}
}

@keyframes htp-menu-in {
	from { opacity: 0; transform: translateY(-16px); }
}

@keyframes htp-menu-item {
	from { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
	.elementor-location-header .e-n-menu-wrapper,
	.elementor-location-header .e-n-menu-item,
	.htp-mm-footer {
		animation: none !important;
	}
}

/* Събитие: секции само за предстоящи / само за проведени. */
body.htp-event-upcoming .hts-past-only,
body:not(.htp-event-upcoming) .hts-upcoming-only {
	display: none !important;
}

/* Карусел с отзиви: плавно плъзгане, влачене с мишка. */
.elementor .hts-review-track {
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.elementor .hts-review-track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none !important;
	user-select: none;
}

.elementor .hts-review-track.is-dragging * {
	pointer-events: none;
}

/* ------------------------------------------------------------------
 * Ховъри: навигация, падащи менюта, CTA в хедъра, футър.
 * Бутоните следват стайлгайда във Figma (Button: default/hover).
 * ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	.elementor-location-header .hts-nav-fade--light .elementor-widget-n-menu,
	.htp-scrolled .elementor-location-header .hts-nav-fade--dark .elementor-widget-n-menu {
		--n-menu-title-color-hover: #008990;
		--n-menu-title-color-active: #008990;
		--htp-nav-line: #00b0b5;
	}

	.elementor-location-header .hts-nav-fade--dark .elementor-widget-n-menu {
		--n-menu-title-color-hover: #69cbc4;
		--n-menu-title-color-active: #69cbc4;
		--htp-nav-line: #69cbc4;
	}

	.elementor-location-header .e-n-menu-title-container {
		position: relative;
	}

	.elementor-location-header .e-n-menu-title-container::after {
		content: "" !important;
		position: absolute;
		left: 0;
		right: 0;
		bottom: -4px;
		height: 2px;
		border-radius: 2px;
		background: var(--htp-nav-line, #00b0b5);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform .28s cubic-bezier(.2, 0, 0, 1);
		pointer-events: none;
	}

	.elementor-location-header .e-n-menu-title:hover .e-n-menu-title-container::after,
	.elementor-location-header .e-n-menu-title:focus-within .e-n-menu-title-container::after,
	.elementor-location-header .e-n-menu-title.e-current .e-n-menu-title-container::after {
		transform: scaleX(1);
	}

	.elementor-location-header .e-n-menu-title:hover .e-n-menu-title-text,
	.elementor-location-header .e-n-menu-title:hover .e-n-menu-dropdown-icon {
		color: var(--n-menu-title-color-hover) !important;
	}

	.elementor-location-header .e-n-menu-title:hover .e-n-menu-dropdown-icon svg {
		fill: var(--n-menu-title-color-hover) !important;
	}
}

/* Падащо меню: ясен ховър. */
.elementor .hts-dd-item {
	transition: background-color .2s ease;
}

.elementor .hts-dd-item:hover,
.elementor .hts-dd-item:focus-visible {
	background-color: #cce8e6;
}

.elementor .hts-dd-item .hts-dd-title {
	transition: color .2s ease;
}

.elementor .hts-dd-item:hover .hts-dd-title {
	color: #008990;
}

.elementor .hts-dd-all {
	transition: color .2s ease;
}

.elementor .hts-dd-all:hover {
	color: #004d55;
}

@media (max-width: 1024px) {
	.elementor-location-header .e-n-menu-wrapper .hts-dd-item:hover,
	.elementor-location-header .e-n-menu-wrapper .hts-dd-item:focus-visible {
		background-color: transparent;
	}

	.elementor-location-header .e-n-menu-wrapper .hts-dd-item:hover .hts-dd-title,
	.elementor-location-header .e-n-menu-wrapper .e-n-menu-title:hover .e-n-menu-title-text {
		color: #69cbc4 !important;
	}
}

/* CTA в хедъра: светъл хедър = primary green, тъмен = primary white. */
.elementor-location-header a.e-button-base {
	transition: background-color .25s ease, color .25s ease;
}

.elementor-location-header a.e-button-base {
	transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
}

.htp-scrolled .elementor-location-header .hts-nav-fade--dark a.e-button-base {
	border-color: #008990 !important;
}

.elementor-location-header .hts-nav-fade--light a.e-button-base:hover,
.htp-scrolled .elementor-location-header .hts-nav-fade--dark a.e-button-base:hover {
	background-color: #004d55 !important;
	border-color: #004d55 !important;
	color: #fdfdfd !important;
}

/* Бял бутон над тъмно hero: #F3F9F8 от Фигма почти не се различава от бялото — по-видим светлозелен hover. */
.elementor-location-header .hts-nav-fade--dark a.e-button-base:hover,
.elementor-location-header .hts-nav-fade--dark a.e-button-base:focus-visible {
	background-color: #cce8e6 !important;
	border-color: #cce8e6 !important;
	color: #004d55 !important;
}

/* Футър: подчертаване на линковете, иконите леко се повдигат. */
.elementor-location-footer .elementor-icon-list-item a .elementor-icon-list-text {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size .28s cubic-bezier(.2, 0, 0, 1), opacity .2s ease;
}

/* Подчертаването е само под текста (inline — и при текст на два реда, не на цялата ширина)
   и само с мишка: на телефон „залепналият“ hover след докосване оставяше линия. */
.elementor-location-footer .elementor-icon-list-item a .elementor-icon-list-text {
	display: inline !important;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

@media (hover: hover) {
	.elementor-location-footer .elementor-icon-list-item a:hover .elementor-icon-list-text {
		background-size: 100% 1px;
	}
}

.elementor-location-footer .elementor-icon-list-item a:focus-visible .elementor-icon-list-text {
	background-size: 100% 1px;
}

.elementor-location-footer .elementor-social-icon {
	transition: transform .2s ease, opacity .2s ease;
}

.elementor-location-footer .elementor-social-icon:hover {
	transform: translateY(-2px);
	opacity: .85;
}

/* ------------------------------------------------------------------
 * Анимации: hero при зареждане, секции при скрол, ховър на карти.
 * Скриват съдържание само при html.htp-js; изключени при reduced-motion.
 * ------------------------------------------------------------------ */
@keyframes htp-up {
	from { opacity: 0; transform: translate3d(0, 22px, 0); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	.htp-js .hts-hero-light-inner > *,
	.htp-js .hts-hero-light-content > *,
	.htp-js .hts-hero-cutout-section .hts-container > * {
		animation: htp-up .8s cubic-bezier(.2, 0, 0, 1) both;
	}

	.htp-js .hts-hero-light-content > :nth-child(2),
	.htp-js .hts-hero-light-inner > :nth-child(2) { animation-delay: .12s; }
	.htp-js .hts-hero-light-content > :nth-child(3),
	.htp-js .hts-hero-light-inner > :nth-child(3) { animation-delay: .24s; }
	.htp-js .hts-hero-light-content > :nth-child(4),
	.htp-js .hts-hero-light-inner > :nth-child(4) { animation-delay: .36s; }

	.htp-js .htp-reveal {
		opacity: 0;
		transform: translate3d(0, 26px, 0);
		transition: opacity .75s cubic-bezier(.2, 0, 0, 1), transform .75s cubic-bezier(.2, 0, 0, 1);
		transition-delay: var(--htp-delay, 0s);
	}

	.htp-js .htp-reveal.htp-reveal--img {
		transform: scale(1.035);
		transition-duration: 1s;
	}

	.htp-js .htp-reveal.is-in {
		opacity: 1;
		transform: none;
	}
}

/* Карти: леко повдигане и zoom на снимката. */
.elementor .hts-post-card,
.elementor .hts-course-card {
	transition: transform .35s cubic-bezier(.2, 0, 0, 1), box-shadow .35s ease;
}

.elementor .hts-course-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 45, 55, .12);
}

.elementor .hts-post-card .hts-post-img,
.elementor .hts-course-card .hts-course-card-bg {
	transition: transform .6s cubic-bezier(.2, 0, 0, 1);
}

.elementor .hts-course-card:hover .hts-course-card-bg {
	transform: scale(1.04);
}

/* Блог: цялата карта е линк към статията; hover ефект има само бутонът. */
.elementor .hts-post-card {
	overflow: hidden;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	.elementor .hts-post-card:hover,
	.elementor .hts-course-card:hover,
	.elementor .hts-post-card:hover .hts-post-img,
	.elementor .hts-course-card:hover .hts-course-card-bg {
		transform: none;
	}
}

/* Много тесни екрани (Galaxy Fold сгънат: 280–344px). */
.elementor .hts-legal-content,
.elementor .hts-post-content,
.elementor .hts-legal-content *,
.elementor .hts-post-content * {
	overflow-wrap: anywhere;
}

@media (max-width: 359px) {
	.elementor h1,
	.elementor .h1,
	.elementor .elementor-heading-title {
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.elementor h1,
	.elementor .h1 {
		font-size: 26px !important;
		line-height: 1.12 !important;
	}

	.elementor h2,
	.elementor .h2 {
		font-size: 27px !important;
		line-height: 1.15 !important;
	}
}

/* Salina е само Bold Italic файл — регистриран за всички тегла/стилове, за да не се
   синтезира „двойно“ удебеляване и наклон (Elementor го пази като normal/normal). */
@font-face {
	font-family: "Salina Bold Italic";
	src: url("/wp-content/uploads/2026/08/Salina-BoldItalic.woff2") format("woff2"),
		url("/wp-content/uploads/2026/08/Salina-BoldItalic.woff") format("woff");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Salina Bold Italic";
	src: url("/wp-content/uploads/2026/08/Salina-BoldItalic.woff2") format("woff2"),
		url("/wp-content/uploads/2026/08/Salina-BoldItalic.woff") format("woff");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* „10 стъпки“: иконите в списъците са само с контур (като на живия сайт), бутоните с line-height 24px. */
.elementor-77 svg:not(.e-font-icon-svg),
.elementor-1071 svg:not(.e-font-icon-svg) {
	fill: none !important;
}

/* Kit-ът на живия сайт е с контейнер 1280px (тук е 1440px) — за импортираните страници. */
@media (min-width: 1025px) {
	.elementor-1071 .e-con {
		--container-max-width: 1280px;
	}
}

/* „10 стъпки“ е с навигацията на сайта — съдържанието по същата мрежа (1440px, поле 20px). */
@media (min-width: 1025px) {
	.elementor-77 .e-con {
		--container-max-width: 1440px;
	}

	.elementor-77 > .e-con.e-parent {
		--padding-left: max(20px, calc((100vw - 1440px) / 2)) !important;
		--padding-right: max(20px, calc((100vw - 1440px) / 2)) !important;
	}
}

.elementor-77 .elementor-button,
.elementor-1071 .elementor-button {
	line-height: 24px;
}

/* Глобалните цветове и типография на kit-а на живия сайт — само за импортираните страници („10 стъпки“, „Speak Better 2“). */
.elementor-77,
.elementor-1071 {
	--e-global-color-14a765c: #FFFFFF;
	--e-global-color-15efb68: #83C5BE73;
	--e-global-color-2568347: #212529;
	--e-global-color-26b916c: #F5562A;
	--e-global-color-2c46606: #141618;
	--e-global-color-505c806: #0D353F;
	--e-global-color-9a63bd6: #72CDAE;
	--e-global-color-a644d85: #626262;
	--e-global-color-a7d1796: #FFFFFF8C;
	--e-global-color-ab13bbe: #212329;
	--e-global-color-accent: #83C5BE;
	--e-global-color-ae7dcd5: #151515;
	--e-global-color-baa3488: #AB2E44;
	--e-global-color-d347f8d: #141618;
	--e-global-color-dfda442: #E6DAC6;
	--e-global-color-kadence1: #006d77;
	--e-global-color-kadence2: #e29578;
	--e-global-color-kadence3: #212529;
	--e-global-color-kadence4: #2D3748;
	--e-global-color-kadence5: #4A5568;
	--e-global-color-kadence6: #212529;
	--e-global-color-kadence7: #EDF2F7;
	--e-global-color-kadence8: #F7FAFC;
	--e-global-color-kadence9: #ffffff;
	--e-global-color-primary: #006D77;
	--e-global-color-secondary: #E29578;
	--e-global-color-text: #313131;
	--e-global-typography-0d0c669-font-family: "Raleway";
	--e-global-typography-0d0c669-font-size: 60px;
	--e-global-typography-0d0c669-font-style: normal;
	--e-global-typography-0d0c669-font-weight: 800;
	--e-global-typography-0d0c669-line-height: 70px;
	--e-global-typography-1b6253a-font-family: "Raleway";
	--e-global-typography-1b6253a-font-size: 50px;
	--e-global-typography-1b6253a-font-weight: 800;
	--e-global-typography-1b6253a-line-height: 60px;
	--e-global-typography-1b6253a-text-transform: uppercase;
	--e-global-typography-3aa7d33-font-family: "Raleway";
	--e-global-typography-3aa7d33-font-size: 16px;
	--e-global-typography-3aa7d33-font-weight: 400;
	--e-global-typography-3aa7d33-line-height: 26px;
	--e-global-typography-3f955e6-font-family: "Raleway";
	--e-global-typography-3f955e6-font-size: 50px;
	--e-global-typography-3f955e6-font-weight: 800;
	--e-global-typography-3f955e6-line-height: 60px;
	--e-global-typography-7176a67-font-size: 40px;
	--e-global-typography-7176a67-font-weight: 600;
	--e-global-typography-7176a67-line-height: 50px;
	--e-global-typography-78aa067-font-family: "Raleway";
	--e-global-typography-78aa067-font-size: 35px;
	--e-global-typography-78aa067-font-style: normal;
	--e-global-typography-78aa067-font-weight: 800;
	--e-global-typography-78aa067-line-height: 45px;
	--e-global-typography-accent-font-weight: 500;
	--e-global-typography-fcb4ded-font-family: "Raleway";
	--e-global-typography-fcb4ded-font-size: 28px;
	--e-global-typography-fcb4ded-font-weight: 600;
	--e-global-typography-fcb4ded-line-height: 38px;
	--e-global-typography-fcb4ded-text-transform: none;
	--e-global-typography-primary-font-family: "Raleway";
	--e-global-typography-primary-font-size: 60px;
	--e-global-typography-primary-font-style: normal;
	--e-global-typography-primary-font-weight: 800;
	--e-global-typography-primary-line-height: 70px;
	--e-global-typography-secondary-font-family: "Raleway";
	--e-global-typography-secondary-font-size: 50px;
	--e-global-typography-secondary-font-style: normal;
	--e-global-typography-secondary-font-weight: 800;
	--e-global-typography-secondary-line-height: 60px;
	--e-global-typography-secondary-text-transform: uppercase;
	--e-global-typography-text-font-family: "Raleway";
	--e-global-typography-text-font-size: 16px;
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-text-line-height: 26px;
	--e-global-typography-accent-font-family: "Raleway";
}

/* Базова типография на живия сайт (Kadence/kit) за импортираните страници. */
body.page-id-77,
body.page-id-1071 {
	font-family: Raleway, sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #2d3748;
}

.elementor-77 .elementor-nav-menu .elementor-item,
.elementor-1071 .elementor-nav-menu .elementor-item,
.elementor-1071 .e-n-menu-title-text {
	font-weight: 400 !important;
}

/* Живият сайт не извежда „default“ шрифтовете на Elementor — заглавията без собствено тегло са 700 (темата). */
.elementor-77 .elementor-widget-heading .elementor-heading-title,
.elementor-1071 .elementor-widget-heading .elementor-heading-title {
	font-weight: 700;
}

.elementor-77 .elementor-widget-icon-list,
.elementor-1071 .elementor-widget-icon-list {
	overflow-x: clip;
}

/* Събитие: факт без стойност (напр. без продължителност) не се показва. */
.elementor .hts-ev-fact:not(:has(.hts-ev-fact-v:not(:empty))) {
	display: none;
}

/* CTA в хедъра и бутонът в hero на началната страница — еднаква ширина. */
@media (min-width: 1024px) {
	[data-elementor-type="header"] a.e-button-base,
	.home a.hts-btn-teal[data-id="24463aab"] {
		min-width: 290px;
		box-sizing: border-box;
		text-align: center;
		justify-content: center;
	}
}

/* Карусел с логата — безкрайна лента, пауза при посочване. */
.htp-logos {
	display: block !important;
	overflow: hidden !important;
	overflow: clip !important;
	max-width: 100% !important;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.htp-logos-track {
	display: flex;
	align-items: center;
	gap: 28px;
	width: max-content;
	animation: htp-logos var(--htp-logos-duration, 40s) linear infinite;
}

.htp-logos:hover .htp-logos-track {
	animation-play-state: paused;
}

.htp-logos-track > * {
	flex: 0 0 210px;
	width: 210px !important;
	margin: 0 !important;
}

.htp-logos-track > *:last-child {
	margin-right: 28px !important;
}

@keyframes htp-logos {
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 767px) {
	.htp-logos-track {
		gap: 12px;
	}

	.htp-logos-track > * {
		flex-basis: 150px;
		width: 150px !important;
	}

	.htp-logos-track > *:last-child {
		margin-right: 12px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htp-logos {
		overflow-x: auto;
	}

	.htp-logos-track {
		animation: none;
	}
}

/* Събития: празно поле (напр. без продължителност) — без самотна иконка. */
.hts-meta-item:has(> .hts-meta-text:empty) {
	display: none !important;
}

/* Отзиви: кръг с микрофон, когато няма снимка (Figma 2411:4881); картата расте с текста (без изрязване). */
.hts-avatar--mic {
	display: block;
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: url(../img/avatar-mic.svg) center / cover no-repeat;
}

.hts-review-card {
	height: auto !important;
}

/* Без иконка „i“ до оценката (по желание на клиента). */
.hts-rating-info {
	display: none !important;
}

/* Отзив без оценка — без празен ред със звезда и „i“. */
.hts-review-head:has(.hts-review-score:empty) {
	display: none !important;
}

/* Импортираните страници (77, 1071) са правени с браузърния отстъп на <p> (1em горе/долу) —
   темата тук го сменя на 0 / .9rem и редовете (напр. „Програмата“) се разместват. */
.elementor-77 p,
.elementor-1071 p {
	margin-block: 1em;
}

/* Линкове в текстовете на FAQ (напр. office@howtospeak.bg). */
.hts-faq-a a {
	color: #008990 !important;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	transition: color .2s ease;
}

.hts-faq-a a:hover {
	color: #004d55 !important;
}

/* Формите: грешка под полето (абсолютно — не размества реда). */
.hts-form .e-con:has(> .htp-field-error),
.e-form-base .e-con:has(> .htp-field-error) {
	position: relative;
}

.htp-field-error {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	display: block;
	white-space: nowrap;
	font: 500 14px/1.3 var(--raleway, 'Raleway'), sans-serif;
	color: #d64545;
}

.hts-form .htp-invalid,
.e-form-base .htp-invalid {
	border-color: #d64545 !important;
}

/* Когато има грешки — повече въздух между редовете, за да се чете съобщението. */
.hts-form.htp-has-errors .e-con:has(> .e-con > .htp-field-error),
.hts-form.htp-has-errors .e-con:has(> .e-con > .e-con > .htp-field-error) {
	row-gap: 40px !important;
}

/* Формите: падащо меню (Фигма „Input dropdown“ + „dropdown menu“). */
.htp-dd__native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.htp-dd {
	position: relative;
	align-self: stretch;
	width: 100%;
}

.htp-dd__trigger {
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: 100% !important;
	min-height: 0 !important;
	padding: 16px !important;
	border: 1px solid #d1d7e5 !important;
	border-radius: 8px !important;
	background: #fdfdfd !important;
	color: #2e384d !important;
	font: 500 16px/1.28 var(--raleway, 'Raleway'), sans-serif !important;
	justify-content: flex-start !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition: border-color .2s ease;
}

.htp-dd__trigger:hover,
.htp-dd.is-open .htp-dd__trigger,
.htp-dd__trigger:focus-visible {
	border-color: #00b0b5 !important;
	outline: none;
}

.htp-dd__value {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: left !important;
}

.htp-dd__chevron {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: url("../img/chevron-down.svg") center / 20px no-repeat;
	transition: transform .2s ease;
}

.htp-dd.is-open .htp-dd__chevron {
	transform: rotate(180deg);
}

.htp-dd__list {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 16px;
	list-style: none;
	border: 1px solid #d1d7e5;
	border-radius: 8px;
	background: #fdfdfd;
}

.htp-dd__list[hidden] {
	display: none;
}

.htp-dd__option {
	margin: 0;
	color: #2e384d;
	font: 500 16px/1.28 var(--raleway, 'Raleway'), sans-serif;
	cursor: pointer;
	transition: color .15s ease;
}

.htp-dd__option.is-selected,
.htp-dd__option.is-active {
	color: #00b0b5;
}

.htp-dd .htp-invalid + .htp-dd__trigger,
.htp-invalid.htp-dd__native ~ .htp-dd .htp-dd__trigger {
	border-color: #d64545 !important;
}

/* Формите: чекбоксът е в htp-forms.css (изцяло с CSS). */

/* Tooltip на оценката в hero на курсовете: точно 2 реда (разделени с <br>), без пренасяне. */
.elementor .hts-tooltip-box {
	white-space: nowrap !important;
	max-width: none !important;
	width: max-content !important;
}

@media (max-width: 767px) {
	.elementor .hts-tooltip-box {
		white-space: normal !important;
		width: auto !important;
		max-width: calc(100vw - 32px) !important;
	}
}

@media (max-width: 1024px) {
	.elementor .hts-rating .hts-tooltip {
		inset-inline-start: 0 !important;
		inset-inline-end: auto !important;
		align-items: flex-start !important;
	}

	.elementor .hts-rating .hts-tooltip-tail {
		margin-inline-start: 24px !important;
		margin-inline-end: 0 !important;
	}
}

@media (max-width: 767px) {
	.elementor .hts-rating .hts-tooltip {
		max-width: calc(100vw - 32px) !important;
	}
}

/* Никога хоризонтален скрол на страницата (анимации/ленти, които излизат извън екрана). */
html,
body {
	overflow-x: clip;
}

/* Отзиви: непрекъсната лента — без „щракване“ към карта (snap) и без плавен скрол, който би забавил цикъла. */
.hts-review-track.htp-marquee {
	scroll-snap-type: none !important;
	scroll-behavior: auto !important;
}

.hts-review-track.htp-marquee > * {
	scroll-snap-align: none !important;
}

/* Дубликатите нямат точка под карусела. */
.hts-review-track .htp-clone::scroll-marker {
	content: none !important;
	display: none !important;
}

/* Курсове: текстът под hero — „изписване“ при скрол (като на „10 стъпки“). */
.htp-typing .htp-ch {
	opacity: .2;
	transition: opacity .12s linear;
}

.htp-typing .htp-ch.is-on {
	opacity: 1;
}

/* CTA на курсовете: двата бутона един до друг на един ред (както на „Какво“). */
@media (min-width: 768px) {
	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-cta-content {
		flex: 0 0 auto !important;
		width: max(46%, 700px) !important;
		max-width: 100%;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-btn-row {
		flex-wrap: nowrap !important;
		gap: 16px !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-btn-row > .e-button-base {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-cta-content {
		width: max(46%, 684px) !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-btn-row > .e-button-base {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

@media (max-width: 767px) {
	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-btn-row > .e-button-base {
		padding-left: 16px !important;
		padding-right: 16px !important;
		white-space: nowrap;
	}
}

/* Курсове, „Каква е обратната връзка…“: подзаглавието на 2 реда. */
:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) [data-id="6e3166f6"] {
	max-width: 760px !important;
	width: 100% !important;
	margin-inline: auto;
}

@media (max-width: 767px) {
	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) [data-id="6e3166f6"] {
		font-size: 14px !important;
	}
}

/* Отзиви: без точки (при непрекъсната лента са десетки) — тънка линия за прогрес. */
.hts-review-track.htp-marquee::scroll-marker-group {
	display: none !important;
}

.hts-review-track.htp-marquee > *::scroll-marker {
	content: none !important;
	display: none !important;
}

.htp-marquee-progress {
	position: relative;
	width: min(320px, 60%);
	height: 4px;
	margin: 40px auto 0;
	border-radius: 99px;
	background: #cce8e6;
	overflow: hidden;
}

.htp-marquee-progress__thumb {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 99px;
	background: #00b0b5;
	will-change: transform;
}

@media (max-width: 767px) {
	.htp-marquee-progress {
		margin-top: 28px;
	}
}

/* Групови обучения: „Какви са отзивите на участниците в груповите обучения?“ — на 2 реда. */
@media (min-width: 768px) {
	.page-id-45 [data-id="385828c0"] {
		max-width: 820px;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.page-id-45 [data-id="385828c0"] {
		font-size: 24px !important;
	}
}

/* Курсове: едно затъмнение в hero по Фигма (градиентът от „Най-важният коз“) — еднакво на четирите курса.
   Собствените градиенти в Elementor (Коз, Основи) се изключват, за да не се наслагват. */
:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) [data-id="17b5590"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(9, 10, 12, 0) 20.556%),
		linear-gradient(180deg, rgba(0, 21, 37, 0) 36.946%, rgba(2, 15, 24, .32) 58.157%, rgba(3, 12, 19, .467) 70.492%, rgba(4, 8, 12, .64) 100%);
}

.page-id-59 [data-id="58386a4b"],
.page-id-61 [data-id="47a0664b"] {
	background-image: none !important;
}

:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) [data-id="17b5590"] > [data-id="6518a89"] {
	z-index: 0;
}

:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) [data-id="17b5590"] > [data-id="66caaed"] {
	position: relative;
	z-index: 2 !important;
}

/* Блог: „Прочети повече“ на едно ниво във всички карти (избутан към дъното на картата). */
.elementor .hts-post-card > .hts-read-more {
	margin-top: auto !important;
}

/* Без „висящи“ единични думи на последния ред (текстове, списъци, заглавия). */
.elementor :is(p, li, h1, h2, h3, h4, h5, h6, .e-paragraph-base, .e-heading-base),
.htp-shop :is(p, li, h1, h2, h3) {
	text-wrap: pretty;
}

/* Бели бутони (върху зелено/тъмно): hover #F3F9F8 от Фигма почти не се вижда — светлозелен фон, тъмен текст. */
.elementor :is(.hts-btn-white, .hts-btn-light, .secondary-button):is(:hover, :focus-visible) {
	background-color: #cce8e6 !important;
	border-color: #cce8e6 !important;
	color: #004d55 !important;
}

.elementor :is(.hts-btn-white, .hts-btn-light, .secondary-button) {
	transition: background-color .25s ease, border-color .25s ease, color .25s ease !important;
}

/* Отзиви: дълги длъжности/думи не излизат от карето на тесни екрани. */
.hts-author-role,
.hts-author-context,
.hts-review-text {
	overflow-wrap: anywhere;
}

/* Заглавия: балансирани редове (и когато последната дума е в <span>, напр. „…още сега“). */
.elementor :is(h1, h2, h3, .e-heading-base) {
	text-wrap: balance;
}

/* CTA с портрет (курсове и др.) на малки лаптопи/таблет: снимката по-вляво, за да не се застъпва лицето с текста. */
@media (min-width: 900px) and (max-width: 1365px) {
	.elementor [data-id="7eafd5d0"],
	.elementor .hts-cta-section > .e-image-base,
	.elementor .e-con > img.e-image-base[class*="g-49806fe"] {
		object-position: 100% center !important;
	}
}

/* Заглавия на страници на събития: на тесни телефони по-малък шрифт и пренасяне на дълги думи. */
@media (max-width: 430px) {
	.elementor .hts-page-title {
		font-size: clamp(26px, 8vw, 34px) !important;
		overflow-wrap: anywhere;
	}
}

/* „10 стъпки“: страничните полета като при навигацията на всички ширини. */
@media (min-width: 1025px) and (max-width: 1366px) {
	.elementor-77 > .e-con.e-parent {
		--padding-left: 40px !important;
		--padding-right: 40px !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-77 > .e-con.e-parent {
		--padding-left: 32px !important;
		--padding-right: 32px !important;
	}
}

@media (max-width: 767px) {
	.elementor-77 > .e-con.e-parent {
		--padding-left: 16px !important;
		--padding-right: 16px !important;
	}
}

/* Картите с курсове: заглавието никога не излиза от стъкления панел. */
.elementor .hts-course-card :is(h2, h3, .e-heading-base) {
	min-width: 0;
	max-width: 100%;
}

/* Стрелки на каруселите — един стил в целия сайт (като „Моята история“ на „Кой“):
   кръг 56px, светлозелен фон, тюркоазена стрелка, без рамка; неактивната — полупрозрачна. */
.elementor .hts-pager-btn,
.elementor .elementor-swiper-button {
	display: inline-grid !important;
	place-items: center;
	width: 56px !important;
	height: 56px !important;
	min-width: 56px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(204, 232, 230, .39) !important;
	color: #008990 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.elementor .hts-pager-btn svg path,
.elementor .elementor-swiper-button svg path {
	stroke: #008990 !important;
	fill: none !important;
}

.elementor .hts-pager-btn .hts-icon-24 {
	width: 24px !important;
	height: 24px !important;
}

.elementor .elementor-swiper-button svg {
	width: 8px !important;
	height: 14px !important;
}

.elementor .hts-pager-btn:hover:not(.e--disabled),
.elementor .hts-pager-btn:focus-visible,
.elementor .elementor-swiper-button:hover:not(.swiper-button-disabled),
.elementor .elementor-swiper-button:focus-visible {
	background: #cce8e6 !important;
	outline: none;
}

.elementor .hts-pager-btn.e--disabled,
.elementor .elementor-swiper-button.swiper-button-disabled {
	opacity: .45 !important;
	cursor: default;
	pointer-events: none;
}

@media (max-width: 767px) {
	.elementor .hts-pager-btn,
	.elementor .elementor-swiper-button {
		width: 48px !important;
		height: 48px !important;
		min-width: 48px;
	}
}

/* Elementor подравнява стрелките на карусела по долния ръб (translateY(-100%)); по-големият кръг
   се сваля с половината от разликата (56/48 спрямо 45px), за да остане центриран с точките. */
.elementor .elementor-swiper-button {
	margin-top: 5.5px;
}

@media (max-width: 767px) {
	.elementor .elementor-swiper-button {
		margin-top: 1.5px;
	}
}

/* Галериите с CSS карусел (::scroll-button — Speak Better, Най-важният коз): същата стрелка като
   останалите карусели вместо знаците ‹ ›. */
.elementor .hts-carousel::scroll-button(*) {
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: rgba(204, 232, 230, .39) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23008990' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
	color: transparent !important;
	font-size: 0 !important;
	transition: background-color .2s ease, opacity .2s ease;
}

.elementor .hts-carousel::scroll-button(left) {
	content: "" / "Назад" !important;
	transform: scaleX(-1);
}

.elementor .hts-carousel::scroll-button(right) {
	content: "" / "Напред" !important;
}

.elementor .hts-carousel::scroll-button(*):hover:not(:disabled),
.elementor .hts-carousel::scroll-button(*):focus-visible {
	background-color: #cce8e6;
	outline: none;
}

.elementor .hts-carousel::scroll-button(*):disabled {
	opacity: .45;
}

@media (max-width: 767px) {
	.elementor .hts-carousel::scroll-button(*) {
		width: 48px;
		height: 48px;
	}
}

/* Телефон: всички бутони в съдържанието са на цялата ширина (както в повечето секции) —
   едно правило за целия сайт; бутоните един до друг минават един под друг.
   Без хедъра/футъра и без стрелките/страниците (те не са e-button-base / elementor-button). */
@media (max-width: 767px) {
	main :is(a, button).e-button-base,
	.elementor:not(.elementor-location-header):not(.elementor-location-footer) :is(a, button).e-button-base {
		align-self: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
	}

	.elementor:not(.elementor-location-header):not(.elementor-location-footer) .elementor-widget-button {
		align-self: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor:not(.elementor-location-header):not(.elementor-location-footer) .elementor-widget-button .elementor-button {
		display: flex !important;
		width: 100% !important;
		justify-content: center !important;
	}

	/* Контейнер с няколко бутона в ред → колона. */
	.elementor:not(.elementor-location-header):not(.elementor-location-footer) .e-con:has(> :is(a.e-button-base, .elementor-widget-button) + :is(a.e-button-base, .elementor-widget-button)) {
		flex-direction: column !important;
		align-items: stretch !important;
	}
}

/* ------------------------------------------------------------------
 * Отзиви (Figma 2411:4881, 29.10): снимка вляво, до нея име, позиция
 * (на 2 реда — длъжност, / компания) и обучението под тях — на един ред.
 * Картите са широки като във Figma (549px на 1920), за да се събере редът с обучението.
 * ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	.elementor .hts-review-track > .hts-review-card {
		flex: 0 0 clamp(512px, 28.6vw, 549px) !important;
		width: clamp(512px, 28.6vw, 549px) !important;
		max-width: none !important;
		padding: 24px !important;
	}

	.elementor .hts-review-author .hts-author-context {
		white-space: nowrap;
	}
}

.elementor .hts-review-author {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 16px !important;
}

.elementor .hts-review-author > .hts-avatar,
.elementor .hts-review-author > :first-child:not(.hts-author-info) {
	flex: 0 0 auto;
	align-self: center;
}

.elementor .hts-review-author > .hts-author-info {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 0;
	min-width: 0;
	gap: 0 !important;
}

.elementor .hts-review-author .hts-author-role {
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: #515b70 !important;
}

.elementor .hts-review-author .hts-author-context {
	margin-top: 2px;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #515b70 !important;
}

.elementor .hts-review-author .hts-author-context:empty {
	display: none;
}

/* Лаптоп: малко по-дребно, за да остане на един ред и при най-дългите. */
@media (min-width: 1025px) and (max-width: 1599px) {
	.elementor .hts-review-author .hts-author-context {
		font-size: 12.5px !important;
	}
}

@media (max-width: 767px) {
	.elementor .hts-review-author .hts-author-role {
		font-size: 13px !important;
		line-height: 1.45 !important;
	}

	.elementor .hts-review-author .hts-author-context {
		font-size: 12px !important;
	}
}

/* Подзаглавие под заглавието на секцията с отзиви (вместо иконката „i“ в картите). */
.elementor .hts-reviews-sub {
	color: #2e384d;
}

.elementor .hts-review-author .hts-author-context:empty {
	display: none;
}

/* Стрелки до лентата на отзивите — ясно е, че може да се разглежда ръчно. */
.htp-marquee-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}

.htp-marquee-nav .htp-marquee-progress {
	flex: 0 1 320px;
	margin: 0 !important;
}

button.htp-marquee-btn {
	display: inline-grid;
	place-items: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(204, 232, 230, .39) !important;
	color: #008990 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .2s ease;
}

button.htp-marquee-btn:hover,
button.htp-marquee-btn:focus,
button.htp-marquee-btn:focus-visible {
	background: #cce8e6 !important;
	color: #008990 !important;
	outline: none;
}

.htp-marquee-btn svg {
	width: 24px;
	height: 24px;
}

.htp-marquee-btn--prev svg {
	transform: scaleX(-1);
}

@media (max-width: 767px) {
	.htp-marquee-nav {
		gap: 12px;
		margin-top: 28px;
	}

	button.htp-marquee-btn {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}
}

/* Броячи: числото не е „залепено“ за чертичката вляво — съдържанието на всяко каре
   е подравнено вляво, но самият блок е центриран в карето. */
@media (min-width: 768px) {
	.elementor .hts-stats4 > .hts-stat4,
	.elementor .hts-stats2 > .hts-stat2 {
		padding-left: clamp(24px, 3.4vw, 56px) !important;
		padding-right: 16px !important;
	}
}

/* Видео с корица и бутон ▶ (Начало, Кой, Как, Защо, Основи) — общ стил. */
video.htp-video-cover {
	cursor: pointer;
}

/* Бутон ▶ върху видео корицата. */
.htp-video-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.htp-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px !important;
	min-width: 72px !important;
	height: 72px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fdfdfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23008990'/%3E%3C/svg%3E") 55% 50% / 44px no-repeat !important;
	box-shadow: 0 6px 24px rgba(0, 45, 55, .25);
	transform: translate(-50%, -50%);
	transition: transform .2s ease, opacity .2s ease;
	cursor: pointer;
}

.htp-video-play:hover,
.htp-video-play:focus-visible {
	transform: translate(-50%, -50%) scale(1.08);
	outline: none;
}

.htp-video-wrap.is-playing .htp-video-play {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.htp-video-play {
		width: 56px !important;
		min-width: 56px !important;
		height: 56px !important;
		background-size: 34px !important;
	}
}

/* Галерия на събитие: „Вижте всички снимки“ разгъва на място (клас от JS вместо :target). */
.elementor .hts-gal-section.is-open .hts-gal-item {
	display: block !important;
}

.elementor .hts-gal-section.is-open .hts-gal-wrap::after,
.elementor .hts-gal-section.is-open .hts-gal-more {
	display: none !important;
}

/* Галериите с JS бутони: скриваме CSS ::scroll-button и маркерите (бутоните са под снимките). */
.elementor .hts-carousel.htp-gallery-js::scroll-button(*) {
	display: none !important;
	content: none !important;
}

.elementor .hts-carousel.htp-gallery-js::scroll-marker-group {
	display: none !important;
}

.elementor .hts-carousel.htp-gallery-js {
	padding-bottom: 0 !important;
	cursor: grab;
	outline: none;
}

.elementor .hts-carousel.htp-gallery-js.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none !important;
	user-select: none;
}

.elementor .hts-carousel.htp-gallery-js.is-dragging img {
	pointer-events: none;
}

.htp-gallery-nav {
	margin-top: 32px;
}

.htp-gallery-count {
	min-width: 72px;
	font-family: Raleway, sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #004d55;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

button.htp-marquee-btn:disabled {
	opacity: .4;
	cursor: default;
}

/* Галерия на събитие: при изрязване (широки и квадратни клетки) се пази горната част на кадъра —
   главите на хората не се режат. */
.elementor .hts-gal-section .hts-gal-item img {
	object-position: 50% 28% !important;
}

/* ------------------------------------------------------------ Stacking cards — дизайнът на „10 стъпки“
   (курсовете: .hts-stack-card; „Най-важният коз“: .hts-solve-card). Бяла карта с тънка рамка и лек
   зелен отблясък; всяка следваща спира малко по-ниско, а предишните леко се смаляват (виж htp-frontend.js),
   така че под последната карта се виждат ръбчетата на останалите. */
.hts-stack-list > .hts-stack-card,
.hts-solve-list > .hts-solve-card {
	--htp-stack-top: 100px;
	--htp-stack-peek: 24px;
	--htp-i: 0;
	position: sticky !important;
	top: calc(var(--htp-stack-top) + var(--htp-i) * var(--htp-stack-peek)) !important;
	border: 2px solid #b5e9e4 !important;
	border-radius: 8px !important;
	background: #fff url("/wp-content/uploads/2026/09/hts-green-glow-left.png") left top / auto 100% no-repeat !important;
	box-shadow: none !important;
	transform-origin: center top;
	will-change: transform;
}

.hts-stack-list > :nth-child(2),
.hts-solve-list > :nth-child(2) { --htp-i: 1; }
.hts-stack-list > :nth-child(3),
.hts-solve-list > :nth-child(3) { --htp-i: 2; }
.hts-stack-list > :nth-child(4),
.hts-solve-list > :nth-child(4) { --htp-i: 3; }
.hts-stack-list > :nth-child(5),
.hts-solve-list > :nth-child(5) { --htp-i: 4; }
.hts-stack-list > :nth-child(6),
.hts-solve-list > :nth-child(6) { --htp-i: 5; }

/* Място под последната карта — тестето „задържа“ за момент с видими ръбчета на предишните. */
.hts-stack-list::after,
.hts-solve-list::after {
	content: "";
	display: block;
	flex: 0 0 30vh;
	height: 30vh;
	margin-top: -28px;
}

/* „Най-важният коз“: текстът в картите — тъмнозелен върху бялото (като „10 стъпки“). */
.hts-solve-card .hts-solve-title {
	color: #004d55 !important;
}

.hts-solve-card .hts-solve-text {
	color: #515b70 !important;
}

/* Отметките в картите — иконата от „10 стъпки“ (квадратче с отметка), без фон; текстът — по-плътен и компактен. */
.hts-stack-card .hts-check-item {
	gap: 12px !important;
	align-items: flex-start !important;
}

.hts-stack-card .hts-check-marker {
	flex: 0 0 22px !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 0 !important;
	margin-top: 3px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 41 39' fill='none'%3E%3Cpath d='M13.5 17.5L19.5 23.5L39.5 3.5M27.5 1.5H11.1C7.74 1.5 6.06 1.5 4.78 2.15C3.65 2.73 2.73 3.65 2.15 4.78C1.5 6.06 1.5 7.74 1.5 11.1V27.9C1.5 31.26 1.5 32.94 2.15 34.22C2.73 35.35 3.65 36.27 4.78 36.85C6.06 37.5 7.74 37.5 11.1 37.5H27.9C31.26 37.5 32.94 37.5 34.22 36.85C35.35 36.27 36.27 35.35 36.85 34.22C37.5 32.94 37.5 31.26 37.5 27.9V19.5' stroke='%2369CBC4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.hts-stack-card .hts-check-marker > * {
	display: none !important;
}

.hts-stack-card .hts-check-text {
	font-weight: 600 !important;
	line-height: 1.3 !important;
}

@media (max-width: 1024px) {
	.hts-stack-list > .hts-stack-card,
	.hts-solve-list > .hts-solve-card {
		--htp-stack-top: 96px;
		--htp-stack-peek: 18px;
	}
}

@media (max-width: 767px) {
	.hts-stack-list > .hts-stack-card,
	.hts-solve-list > .hts-solve-card {
		--htp-stack-top: 80px;
		--htp-stack-peek: 14px;
	}

	.hts-stack-card .hts-check-marker {
		flex-basis: 20px !important;
		width: 20px !important;
		height: 20px !important;
		margin-top: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hts-solve-list > .hts-solve-card {
		position: relative !important;
		top: auto !important;
	}
}

/* ------------------------------------------------------------ Лентите с числата — като на „10 стъпки“:
   по-едро число и по-компактен текст под него (без голямото междуредие). */
.hts-stat4,
.hts-stat2 {
	gap: 0 !important;
}

.hts-stat4-num,
.hts-stat2-num {
	margin-bottom: 10px !important;
	font-size: 69px !important;
	line-height: 1 !important;
}

.hts-stat4-label,
.hts-stat4-sub,
.hts-stat2-text {
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
}

.hts-stat4-sub,
.hts-stat2-text {
	color: #515b70 !important;
}

@media (max-width: 1024px) {
	.hts-stat4-num,
	.hts-stat2-num {
		font-size: 56px !important;
	}
}

@media (max-width: 767px) {
	.hts-stat4-num,
	.hts-stat2-num {
		margin-bottom: 6px !important;
		font-size: 48px !important;
	}

	.hts-stat4-label,
	.hts-stat4-sub,
	.hts-stat2-text {
		font-size: 16px !important;
		line-height: 22px !important;
	}
}

/* ------------------------------------------------------------ Отзиви: до ~11 реда + „Прочетете още“ (виж htp-frontend.js). */
.elementor .hts-review-card .hts-review-text {
	display: block !important;
	-webkit-line-clamp: unset !important;
	line-clamp: none !important;
	max-height: none !important;
	overflow: visible !important;
}

.elementor .hts-review-card .hts-review-text.htp-clamp:not(.is-open) {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 11 !important;
	line-clamp: 11 !important;
	overflow: hidden !important;
}

button.htp-read-more,
button.htp-read-more:hover,
button.htp-read-more:focus {
	align-self: flex-start;
	display: inline-block;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-family: Raleway, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	color: #007b82 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-transform: none !important;
	cursor: pointer;
}

button.htp-read-more:hover,
button.htp-read-more:focus-visible {
	color: #004d55 !important;
}

/* Подзаглавието „… по скала от 0 до 10“ е заменено от подсказката на оценката. */
.elementor .hts-reviews-sub {
	display: none !important;
}

/* Подсказка при посочване на оценката (10/10, 5/5). */
.htp-tip {
	position: relative;
	cursor: help;
	outline: none;
}

.htp-tip::after {
	content: attr(data-htp-tip);
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	z-index: 20;
	width: max-content;
	max-width: 300px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #004d55;
	color: #fff;
	font-family: Raleway, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-align: left;
	white-space: normal;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .15s, transform .15s, visibility .15s;
	pointer-events: none;
}

.htp-tip:hover::after,
.htp-tip:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ------------------------------------------------------------ Няма свободни места (Figma 2401:13147):
   червен етикет и неактивен „Направете запитване“ (по-блед, без клик). */
.elementor .hts-badge-alert:not(:empty) {
	background: #fef3f2 !important;
	color: #f97066 !important;
}

.elementor .hts-event-row:has(.hts-badge-alert:not(:empty)) .hts-event-actions > .hts-btn-teal,
.elementor .hts-event-actions > .hts-btn-teal.is-disabled {
	opacity: .45 !important;
	pointer-events: none !important;
	cursor: default !important;
}

/* ---------------------------------------------------------------------------------------------
   Hero на телефон (Figma „for mobile“ 2073:20986): отделни мобилни снимки.
   Светлите страници — текстът горе, снимката (с вградено избледняване) отдолу на цялата ширина.
   Обученията — снимката горе, тъмен фон, оценката до надзаглавието.
   --------------------------------------------------------------------------------------------- */
@media (max-width: 767px) {
	body.page-id-31 { --hm: url(../img/hero-m/koy.jpg); --hm-ar: 786 / 668; --hm-gap: 49px; }
	body.page-id-33 { --hm: url(../img/hero-m/zashto.jpg); --hm-ar: 786 / 832; --hm-gap: 40px; }
	body.page-id-35 { --hm: url(../img/hero-m/kakvo.jpg); --hm-ar: 786 / 748; --hm-gap: 0px; }
	body.page-id-54 { --hm: url(../img/hero-m/kak.jpg); --hm-ar: 786 / 780; --hm-gap: 26px; }
	body.page-id-45 { --hm: url(../img/hero-m/grupovi.jpg); --hm-ar: 786 / 722; --hm-gap: 45px; }

	:is(.page-id-31, .page-id-33, .page-id-35, .page-id-54, .page-id-45) .elementor .hts-hero-light {
		min-height: 0 !important;
		height: auto !important;
		justify-content: flex-start !important;
		padding-bottom: 0 !important;
		background: #f7f9fb !important;
	}

	:is(.page-id-31, .page-id-33, .page-id-35, .page-id-54, .page-id-45) .hts-hero-light > :is(.hts-hero-baked-bg, .hts-shade-mobile, .hts-hero-light-bg, .hts-hero-light-shade) {
		display: none !important;
	}

	:is(.page-id-31, .page-id-33, .page-id-35, .page-id-54, .page-id-45) .hts-hero-light::after {
		content: "";
		display: block;
		flex: 0 0 auto;
		align-self: stretch;
		aspect-ratio: var(--hm-ar);
		margin: var(--hm-gap) -16px 0;
		background: var(--hm) center / cover no-repeat;
	}

	body.page-id-51 { --hm: url(../img/hero-m/prezentiray.jpg); --hm-top: 91.6vw; }
	body.page-id-57 { --hm: url(../img/hero-m/mediyno.jpg); --hm-top: 91.6vw; }
	body.page-id-59 { --hm: url(../img/hero-m/koz.jpg); --hm-top: 99.75vw; }
	body.page-id-61 { --hm: url(../img/hero-m/osnovi.jpg); --hm-top: 91.35vw; }

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .elementor .hts-hero {
		min-height: 0 !important;
		height: auto !important;
		justify-content: flex-start !important;
		padding: var(--hm-top) 16px 16px !important;
		background: var(--hm) center top / 100% auto no-repeat, linear-gradient(180deg, #041320 83.5%, #041422 100%) !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero > .hts-hero-bg {
		display: none !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero-inner {
		position: relative !important;
		gap: 0 !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero-content {
		gap: 32px !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero-head {
		gap: 8px !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-eyebrow {
		display: flex !important;
		align-items: center;
		min-height: 44px;
		margin: 0 !important;
		padding-right: 150px !important;
		color: #efefef !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero h1 {
		font-size: 28px !important;
		line-height: 1.15 !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-text-light {
		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 1.5 !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-btn-teal {
		width: 100% !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-rating {
		position: absolute !important;
		top: 0;
		right: 0;
		width: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 10px !important;
		border-radius: 8px !important;
		background: rgba(253, 253, 253, .2) !important;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-rating-body {
		gap: 0 !important;
		padding: 0 !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-rating-value {
		gap: 8px !important;
		align-items: center !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-rating-number {
		font-size: 16px !important;
		font-weight: 700 !important;
		line-height: 1.5 !important;
		color: #fdfdfd !important;
		white-space: nowrap;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-rating-star,
	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero .hts-rating-star svg {
		width: 20px !important;
		height: 18px !important;
	}

	:is(.page-id-51, .page-id-57, .page-id-59, .page-id-61) .hts-hero :is(.hts-rating-caption, .hts-rating-info, .hts-tooltip) {
		display: none !important;
	}
}

/* Оценката в hero: без иконка „i“, но с пояснение при посочване на оценката (обратна връзка 04.11.2026). */
.elementor .hts-rating .hts-rating-info {
	display: none !important;
}

.elementor .hts-rating {
	position: relative;
}

.elementor .hts-rating .hts-rating-value {
	cursor: help;
}

.elementor .hts-rating .hts-tooltip {
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity .15s, visibility .15s;
	pointer-events: none;
}

.elementor .hts-rating:hover .hts-tooltip,
.elementor .hts-rating:focus-within .hts-tooltip {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Падащите менюта в навигацията: шевронът от каруселите вместо caret-а на Elementor. */
.elementor-location-header .e-n-menu-dropdown-icon > span {
	display: inline-flex;
	background-color: currentColor;
	-webkit-mask: var(--htp-chev) center / 100% 100% no-repeat;
	mask: var(--htp-chev) center / 100% 100% no-repeat;
}

.elementor-location-header .e-n-menu-dropdown-icon-closed {
	--htp-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.elementor-location-header .e-n-menu-dropdown-icon-opened {
	--htp-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 15l6-6 6 6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.elementor-location-header .e-n-menu-dropdown-icon svg path {
	opacity: 0;
}

@media (max-width: 1024px) {
	.elementor-location-header .e-n-menu-wrapper .e-n-menu-dropdown-icon svg {
		width: 22px !important;
		height: 22px !important;
	}
}

/* Мобилно: заглавията в хиро секциите — еднакви и по-малки на всички страници (десктопът не се променя). */
@media (max-width: 767px) {
	body h1,
	body h1.elementor-heading-title {
		font-size: 28px !important;
		line-height: 1.15 !important;
	}
}

/* ------------------------------------------------------------ „10 стъпки“ (класическа страница): оценка в hero
   като при курсовете — тъмна полупрозрачна плочка, пояснение при посочване. */
.htp-hero-rating {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px 24px;
	border-radius: 16px;
	background: rgba(46, 56, 77, .55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fdfdfd;
	font-family: Raleway, sans-serif;
	cursor: help;
	outline: none;
}

.htp-hero-rating__v {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.htp-hero-rating__c {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.htp-hero-rating__tip {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	width: max-content;
	max-width: min(420px, calc(100vw - 32px));
	padding: 10px 14px;
	border-radius: 4px;
	background: #fdfdfd;
	color: #004d55;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s, visibility .15s;
	pointer-events: none;
}

.htp-hero-rating:hover .htp-hero-rating__tip,
.htp-hero-rating:focus-visible .htp-hero-rating__tip {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 767px) {
	.htp-hero-rating {
		padding: 12px 16px;
	}

	.htp-hero-rating__v {
		font-size: 20px;
	}

	.htp-hero-rating__c {
		font-size: 16px;
	}

	.htp-hero-rating__tip {
		right: auto;
		left: 0;
	}
}

/* Галерия (Elementor Pro) с „Вижте всички снимки“: първо 12 снимки; главите не се режат. */
.htp-gal-more .e-gallery-image {
	background-position: 50% 28% !important;
}

.htp-gal-more:not(.is-open) .e-gallery-item:nth-child(n+13) {
	display: none !important;
}

.htp-gal-more-btn {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.htp-gal-more-btn button,
.htp-gal-more-btn button:hover,
.htp-gal-more-btn button:focus {
	padding: 12px 32px !important;
	border: 2px solid #006d77 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #006d77 !important;
	font-family: Raleway, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	cursor: pointer;
}

.htp-gal-more-btn button:hover {
	background: #ecf7f6 !important;
}

.elementor-widget-html:has(> .elementor-widget-container > .htp-hero-rating),
.elementor-widget-html:has(> .htp-hero-rating) {
	flex-shrink: 0;
	align-self: flex-end;
	width: auto !important;
}

.htp-hero-rating__v,
.htp-hero-rating__c,
.htp-hero-rating__tip {
	white-space: nowrap;
}

@media (min-width: 768px) {
	.htp-hero-rating__tip {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.htp-hero-rating__tip {
		white-space: normal;
	}
}

/* „10 стъпки“: тъмен преход отдолу-вляво — заглавието се чете върху снимката от залата. */
.elementor-77 .elementor-element-27a3c779 {
	position: relative;
}

.elementor-77 .elementor-element-27a3c779::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(15deg, rgba(0, 25, 30, .82) 0%, rgba(0, 25, 30, .45) 42%, rgba(0, 25, 30, .1) 70%);
	pointer-events: none;
}

.elementor-77 .elementor-element-27a3c779 > * {
	position: relative;
	z-index: 1;
}

/* Навигация: първият ред в „Какво“ / „Как“ води към общата страница — само по-плътен шрифт, без черта
   (чертата + заоблените ъгли на реда изглеждаха като странно заоблено подчертаване). */

.elementor-location-header .htp-nav-all .e-paragraph-base {
	font-weight: 700 !important;
}

/* Подсказката на оценката в отзивите — както в hero (бяла, тюркоазен текст, центрирана, 2 реда). */
.htp-tip::after {
	max-width: min(340px, calc(100vw - 32px));
	border-radius: 4px;
	background: #fdfdfd;
	color: #004d55;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	white-space: pre-line;
}

/* Отзиви: името + позицията са линк към профила (вижте htp-frontend.js). */
.hts-author-link {
	display: flex;
	flex-direction: column;
	gap: inherit;
	color: inherit;
	text-decoration: none;
}

.hts-author-link:hover .hts-author-name,
.hts-author-link:focus-visible .hts-author-name {
	color: #008990 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hts-author-link:focus-visible {
	outline: 2px solid #008990;
	outline-offset: 3px;
	border-radius: 2px;
}
