/* Product category banner hero. */
.tax-product_cat .maxtel-cat-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: none;
	min-height: clamp(180px, 23vw, 300px);
	margin: 0.55rem 0 1.5rem;
	padding: clamp(1.35rem, 3vw, 2.75rem);
	overflow: hidden;
	border: 1px solid rgba(0, 115, 183, 0.16);
	border-radius: 8px;
	background: linear-gradient(135deg, #eef7fd 0%, #ffffff 68%);
	box-shadow: 0 18px 46px rgba(15, 45, 76, 0.08);
}

.tax-product_cat .maxtel-cat-hero--banner {
	min-height: clamp(220px, 28vw, 360px);
	color: #ffffff;
	background: #0a3a5f;
}

.tax-product_cat .maxtel-cat-hero--banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(5, 25, 43, 0.9) 0%, rgba(5, 44, 78, 0.72) 45%, rgba(5, 44, 78, 0.26) 100%),
		linear-gradient(180deg, rgba(0, 115, 183, 0.08), rgba(0, 0, 0, 0.18));
}

.tax-product_cat .maxtel-cat-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: #0a3a5f;
}

.tax-product_cat .maxtel-cat-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tax-product_cat .maxtel-cat-hero__content {
	width: min(720px, 68%);
}

.tax-product_cat .maxtel-cat-hero__title {
	max-width: none;
	margin: 0 0 0.7rem;
	font-size: clamp(34px, 4.3vw, 56px);
	line-height: 1.08;
	color: #172033;
}

.tax-product_cat .maxtel-cat-hero--banner .maxtel-cat-hero__title {
	color: #ffffff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

.tax-product_cat .maxtel-cat-hero__intro {
	max-width: 680px;
	margin: 0;
	padding: 0.85rem 1rem 0.85rem 1.15rem;
	border-left: 4px solid var(--maxtel-primary);
	border-radius: 0 8px 8px 0;
	background: rgba(255, 255, 255, 0.58);
	color: #40516a;
	backdrop-filter: blur(8px);
}

.tax-product_cat .maxtel-cat-hero--banner .maxtel-cat-hero__intro {
	border-color: rgba(255, 255, 255, 0.78);
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.92);
}

.tax-product_cat .maxtel-cat-hero__intro > * {
	margin-top: 0;
}

.tax-product_cat .maxtel-cat-hero__intro > :last-child {
	margin-bottom: 0;
}

.tax-product_cat .maxtel-cat-hero__intro p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tax-product_cat .maxtel-cat-hero__intro > :not(:first-child) {
	display: none;
}

@media (max-width: 900px) {
	.tax-product_cat .maxtel-cat-hero__content {
		width: min(82%, 680px);
	}
}

@media (max-width: 640px) {
	.tax-product_cat .maxtel-cat-hero {
		align-items: flex-end;
		min-height: 156px;
		margin: 0.8rem 0 1rem;
		padding: 1rem;
	}

	.tax-product_cat .maxtel-cat-hero--banner {
		min-height: 176px;
	}

	.tax-product_cat .maxtel-cat-hero--banner::before {
		background:
			linear-gradient(180deg, rgba(5, 25, 43, 0.12) 0%, rgba(5, 25, 43, 0.82) 100%),
			linear-gradient(90deg, rgba(0, 115, 183, 0.14), rgba(0, 0, 0, 0.14));
	}

	.tax-product_cat .maxtel-cat-hero__content {
		width: 100%;
	}

	.tax-product_cat .maxtel-cat-hero__title {
		margin-bottom: 0.45rem;
		font-size: clamp(27px, 8vw, 36px);
		line-height: 1.12;
	}

	.tax-product_cat .maxtel-cat-hero__intro {
		display: block;
		max-width: none;
		padding: 0.62rem 0.75rem;
		border-left-width: 3px;
	}

	.tax-product_cat .maxtel-cat-hero__intro p {
		font-size: 13px;
		line-height: 1.55;
		-webkit-line-clamp: 2;
	}
}
