/**
 * Hero Banner Block Styles
 */

/* ─── Block wrapper ───────────────────────────────────────────────────────── */

.ct-hero-banner {
	position: relative;
	height: 695px;
	padding: 60px 0 0;
	box-sizing: border-box;
	overflow: hidden;
}

/* ─── Background picture ──────────────────────────────────────────────────── */

.ct-hero-banner__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.ct-hero-banner__bg-img {
	position: absolute;
	right: 0;
	bottom: 0;
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
}

/* ─── Container: flex column filling block height ─────────────────────────── */

.ct-hero-banner > .container {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* ─── Text content area ───────────────────────────────────────────────────── */

.ct-hero-banner__content {
	flex: 1;
	max-width: 787px;
}

/* ─── Subtitle (purple, under h1) ─────────────────────────────────────────── */

.ct-hero-banner__subtitle {
	margin: 0 0 40px;
	font-weight: 700;
	font-size: 36px;
	line-height: 100%;
	text-transform: uppercase;
	color: var(--color-purple-deep);
}

/* ─── ProDoctors block ────────────────────────────────────────────────────── */

.ct-hero-banner__prodoc {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.ct-hero-banner__prodoc-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 16px;
	line-height: 140%;
	color: var(--color-bg-deepest);
}

.ct-hero-banner__prodoc-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

/* ─── Description text ────────────────────────────────────────────────────── */

.ct-hero-banner__text {
	margin: 0 0 52px;
	font-weight: 500;
	font-size: 18px;
	line-height: 140%;
	color: var(--color-bg-deepest);
}

/* ─── Pills (full-width row at bottom of block) ───────────────────────────── */

.ct-hero-banner__pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
	padding-bottom: 32px;
}

.ct-hero-banner__pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 26px;
	background: var(--color-white);
	border-radius: 30px;
	font-weight: 500;
	font-size: 18px;
	line-height: 140%;
	color: var(--color-purple-deep);
	white-space: nowrap;
}

.ct-hero-banner__pill::before {
	content: "•";
	margin-right: 4px;
	line-height: 1;
	flex-shrink: 0;
}

/* ─── Mobile (≤ 768px) ────────────────────────────────────────────────────── */

@media (max-width: 768px) {

	.ct-hero-banner {
		height: calc(100svh - 12px - var(--ct-header-height, 64px));
		padding: 40px 0 0;
	}

	.ct-hero-banner > .container {
		height: 100%;
	}

	.ct-hero-banner__content {
		flex: 1;
		max-width: 100%;
		display: flex;
		flex-direction: column;
	}

	.ct-hero-banner__btn-wrap {
		margin-top: auto;
		margin-bottom: 32px;
	}

	.ct-hero-banner__subtitle {
		margin-bottom: 28px;
		font-size: 20px;
	}

	.ct-hero-banner__text {
		font-size: 16px;
	}

	.ct-hero-banner__pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 10px;
		scrollbar-width: none;
		-ms-overflow-style: none;
		margin-left: calc(-1 * var(--container-px-mobile));
		margin-right: calc(-1 * var(--container-px-mobile));
		padding-left: var(--container-px-mobile);
		padding-right: var(--container-px-mobile);
	}

	.ct-hero-banner__pills::-webkit-scrollbar {
		display: none;
	}

	.ct-hero-banner__pill {
		font-size: 16px;
		padding: 8px 24px;
	}

	/* Picture shrinks from bottom — gradient ::after lands at image bottom */
	.ct-hero-banner__bg {
		bottom: 134px;
	}

	.ct-hero-banner__bg-img {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		height: 100%;
		width: auto;
		max-height: 430px;
	}

	/* Gradient overlay fading the image into the page background */
	.ct-hero-banner__bg::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		z-index: 1;
		width: 100%;
		height: 207px;
		background: linear-gradient(180deg, rgba(243, 242, 245, 0) 0%, rgba(243, 242, 245, 0.233283) 21.55%, rgba(243, 242, 245, 0.890305) 72.53%, #F3F2F5 100%);
		pointer-events: none;
	}

}
