
/* QA (мобилни): бутонът „Запитване за корпоративно обучение“ в hero — на един ред. */
@media (max-width: 430px) {
	.elementor-37 [data-id="188ade36"] {
		padding-inline: 14px !important;
		white-space: nowrap;
	}
}

@media (max-width: 360px) {
	.elementor-37 [data-id="188ade36"] {
		font-size: 14px !important;
	}
}

/* QA: „Вижте снимки и отзиви“ на един ред и на най-тесните екрани (344px). */
@media (max-width: 380px) {
	.hts-past-card .hts-btn-light {
		padding-inline: 10px !important;
		font-size: 15px !important;
		white-space: nowrap;
	}
}

/* Телефон (Figma „for mobile“ 2357:5466): текстът горе на светъл фон, снимката отдолу —
   застъпва леко бутоните и избледнява към тях. */
@media (max-width: 767px) {
	.elementor-37 [data-id="ecc9de5"] {
		background: #f7f9fb !important;
		min-height: 0 !important;
		padding: 110px 0 0 !important;
	}

	.elementor-37 [data-id="ecc9de5"] > .e-con-inner {
		gap: 22px !important;
		padding: 0 !important;
	}

	.elementor-37 [data-id="ecc9de5"] > .e-con-inner > * {
		position: relative;
		z-index: 1;
		margin: 0 !important;
		padding-inline: 16px;
	}

	.elementor-37 [data-id="ecc9de5"] .elementor-heading-title {
		font-size: 28px !important;
		line-height: 1.15 !important;
	}

	.elementor-37 [data-id="ecc9de5"] > .e-con-inner::after {
		content: "";
		display: block;
		position: relative;
		z-index: 0;
		width: 100%;
		aspect-ratio: 786 / 948;
		margin-top: -86px;
		background: url(../../img/hero-m/koga.jpg) center / cover no-repeat;
	}
}

/* Телефон: CTA „Интересувате се от корпоративно обучение?“ — снимката изместена към Деси (вляво
   в кадъра), с тъмен слой за четимост на белия текст. */
@media (max-width: 767px) {
	.elementor-37 [data-id="7692b27"] {
		position: relative;
		background-position: 24% 50% !important;
	}

	.elementor-37 [data-id="7692b27"]::before {
		content: "" !important;
		position: absolute;
		inset: 0;
		z-index: 0;
		pointer-events: none;
		background: linear-gradient(180deg, rgba(1, 22, 38, .35) 0%, rgba(1, 22, 38, .62) 45%, rgba(1, 22, 38, .62) 70%, rgba(1, 22, 38, .4) 100%) !important;
		opacity: 1 !important;
	}

	.elementor-37 [data-id="7692b27"] > * {
		position: relative;
		z-index: 1;
	}
}

/* Тесни телефони: заглавието в CTA без пренасяне по средата на думата („обуче-ние“). */
@media (max-width: 400px) {
	.elementor-37 [data-id="4ec33ec"],
	.elementor-37 [data-id="4ec33ec"] h2 {
		font-size: 26px !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
		hyphens: none !important;
	}
}
