/**
 * Homepage sections: category circles, product rail panels, promo banners.
 */

/* ---------- Category circles ---------- */

.hs-cats {
	position: relative;
	margin-top: 26px;
	margin-bottom: 30px;
}

.hs-cats__track {
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-block: 4px;
}

.hs-cats__item {
	width: calc((100% - 10 * 12px) / 11);
	min-width: 104px;
}

.hs-cats__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.hs-cats__thumb {
	display: block;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: var(--k-sand-soft);
	box-shadow: 0 0 0 1px var(--k-line), 0 4px 12px rgba(31, 48, 40, 0.08);
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.hs-cats__link:hover .hs-cats__thumb,
.hs-cats__link:focus-visible .hs-cats__thumb {
	box-shadow: 0 0 0 2px var(--k-sand), 0 8px 18px rgba(31, 48, 40, 0.14);
	transform: translateY(-2px);
}

.hs-cats__link:hover .hs-cats__img {
	transform: scale(1.06);
}

.hs-cats__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 36px;
	font-weight: 700;
	color: var(--k-forest);
	background: radial-gradient(circle at 50% 35%, var(--k-cream), var(--k-sand-soft));
}

.hs-cats__label {
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--k-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hs-cats__link:hover .hs-cats__label {
	color: var(--k-forest);
}

.hs-cats > .hs-carousel__arrow {
	top: 56px;
	width: 34px;
	height: 34px;
}

.hs-cats > .hs-carousel__arrow--prev {
	inset-inline-start: -16px;
}

.hs-cats > .hs-carousel__arrow--next {
	inset-inline-end: -16px;
}

/* ---------- Product rails (panel) ---------- */

.hs-rail {
	position: relative;
	padding: 22px 26px 26px;
	background: var(--k-panel);
	border: 1px solid var(--k-line);
	border-radius: var(--hs-radius-lg);
}

.hs-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.hs-section-head__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--k-text);
}

.hs-section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--k-forest);
	transition: color 0.2s ease;
}

.hs-section-head__more:hover {
	color: var(--k-sand-dark);
}

.hs-rail__track {
	align-items: stretch;
	padding: 2px;
	margin: -2px;
}

.hs-rail__slide {
	/* Cards per view: Kleft › Homepage › Product rails (default 5). */
	width: calc((100% - (var(--rail-cols, 5) - 1) * var(--hs-card-gap)) / var(--rail-cols, 5));
}

.hs-rail .hs-carousel > .hs-carousel__arrow--prev {
	inset-inline-start: -46px;
}

.hs-rail .hs-carousel > .hs-carousel__arrow--next {
	inset-inline-end: -46px;
}

/* ---------- Promo banners ---------- */

.hs-promos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.hs-promos--1 {
	grid-template-columns: minmax(0, 1fr);
}

.hs-promo {
	position: relative;
	aspect-ratio: 2.55 / 1;
	border-radius: var(--hs-radius-md);
	overflow: hidden;
	background: var(--k-forest-dark);
	isolation: isolate;
}

.hs-promo__media,
.hs-promo__media picture {
	position: absolute;
	inset: 0;
	display: block;
}

.hs-promo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.hs-promo:hover .hs-promo__img {
	transform: scale(1.04);
}

.hs-promo__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(40, 28, 18, 0.78) 0%, rgba(40, 28, 18, 0.5) 36%, rgba(40, 28, 18, 0) 66%);
}

[dir="ltr"] .hs-promo__media::after {
	background: linear-gradient(to right, rgba(40, 28, 18, 0.86) 0%, rgba(40, 28, 18, 0.6) 40%, rgba(40, 28, 18, 0) 72%);
}

[dir="ltr"] .hs-promo__title,
[dir="ltr"] .hs-promo__text {
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hs-promo__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hs-promo__copy {
	position: absolute;
	z-index: 2;
	inset-block: 0;
	inset-inline-start: 0;
	width: min(58%, 380px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	padding-inline: 34px 12px;
	color: var(--k-white);
	pointer-events: none;
}

.hs-promo__copy > * {
	pointer-events: auto;
}

.hs-promo__title {
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.25;
}

.hs-promo__text {
	font-size: 15.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.hs-promo__btn {
	margin-top: 12px;
	min-height: 40px;
	padding-inline: 22px;
	font-size: 14.5px;
	font-weight: 600;
}

/* ---------- Floating buttons ---------- */

.hs-floating {
	position: fixed;
	inset-inline-end: 24px;
	bottom: 24px;
	z-index: 40;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hs-floating__btn {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hs-floating__btn svg {
	display: block;
}

.hs-floating__btn--assistant {
	background: var(--hs-white);
	color: var(--k-forest);
	box-shadow: 0 4px 18px rgba(31, 48, 40, 0.25);
}

.hs-floating__btn--brand {
	background: var(--k-forest);
	color: var(--k-white);
	box-shadow: 0 4px 14px rgba(31, 48, 40, 0.3);
}

.hs-floating__btn--brand:hover {
	background: var(--k-forest-dark);
}

/* ======================================================================
 * Kleft 1.2 additions: category groups, wide banner, service highlights.
 * Same panel, card, radius and button language as the 1.1 sections.
 * ==================================================================== */

/* ---------- Section heading with a subtitle ---------- */

.hs-section-head__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.hs-section-head__sub {
	font-size: 15px;
	line-height: 1.5;
	color: var(--k-muted);
}

/* ---------- Category groups ---------- */

.hs-group {
	position: relative;
	padding: 22px 26px 26px;
	background: var(--k-panel);
	border: 1px solid var(--k-line);
	border-radius: var(--hs-radius-lg);
}

.hs-group__body {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 16px;
	align-items: stretch;
}

.hs-group--end .hs-group__feature {
	order: 2;
}

.hs-group--no-feature .hs-group__body {
	grid-template-columns: minmax(0, 1fr);
}

.hs-group__feature {
	position: relative;
	display: block;
	min-height: 420px;
	border-radius: var(--hs-radius-md);
	overflow: hidden;
	background: var(--k-forest-dark);
	color: var(--k-white);
	isolation: isolate;
}

.hs-group__media,
.hs-group__media picture {
	position: absolute;
	inset: 0;
	display: block;
}

.hs-group__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.hs-group__feature:hover .hs-group__img {
	transform: scale(1.04);
}

.hs-group__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(40, 28, 18, 0.8) 0%, rgba(40, 28, 18, 0.4) 38%, rgba(40, 28, 18, 0) 66%);
}

.hs-group__copy {
	position: absolute;
	z-index: 1;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 24px 26px;
}

.hs-group__title {
	font-size: clamp(22px, 1.9vw, 28px);
	font-weight: 700;
	line-height: 1.25;
}

.hs-group__text {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.hs-group__btn {
	margin-top: 10px;
	min-height: 40px;
	padding-inline: 22px;
	font-size: 14.5px;
	font-weight: 600;
}

.hs-group__feature:hover .hs-group__btn,
.hs-group__feature:focus-visible .hs-group__btn {
	background: var(--k-sand);
}

.hs-group__tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.hs-tile {
	min-width: 0;
}

.hs-tile__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--hs-white);
	border: 1px solid var(--k-line);
	border-radius: var(--hs-radius-md);
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hs-tile__link:hover,
.hs-tile__link:focus-visible {
	border-color: var(--k-line-strong);
	box-shadow: var(--hs-shadow-card);
	transform: translateY(-2px);
}

.hs-tile__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--k-sand-soft);
	overflow: hidden;
}

.hs-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.hs-tile__link:hover .hs-tile__img {
	transform: scale(1.05);
}

.hs-tile__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 34px;
	font-weight: 700;
	color: var(--k-forest);
	background: radial-gradient(circle at 50% 35%, var(--k-cream), var(--k-sand-soft));
}

.hs-tile__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px 12px;
	padding-inline-end: 44px;
}

.hs-tile__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--k-text);
}

.hs-tile__count {
	font-size: 13px;
	color: var(--k-muted);
}

.hs-tile__go {
	position: absolute;
	inset-inline-end: 12px;
	bottom: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--k-cream);
	color: var(--k-forest);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hs-tile__go svg {
	width: 14px;
	height: 14px;
}

.hs-tile__link:hover .hs-tile__go,
.hs-tile__link:focus-visible .hs-tile__go {
	background: var(--k-forest);
	color: var(--k-white);
}

/* ---------- Wide single banner ---------- */

.hs-promos--1 .hs-promo {
	aspect-ratio: 3.2 / 1;
}

.hs-promos--1 .hs-promo__copy {
	width: min(48%, 480px);
	padding-inline: 48px 12px;
}

.hs-promos--1 .hs-promo__title {
	font-size: clamp(24px, 2.4vw, 36px);
}

/* ---------- Service highlights ---------- */

.hs-features__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--k-line);
	border: 1px solid var(--k-line);
	border-radius: var(--hs-radius-lg);
	overflow: hidden;
}

.hs-features__list--3,
.hs-features__list--5,
.hs-features__list--6 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-features__list--1,
.hs-features__list--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hs-features__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	background: var(--hs-white);
}

.hs-features__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--k-sand-soft);
	color: var(--k-forest);
}

.hs-features__icon svg {
	width: 24px;
	height: 24px;
}

.hs-features__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.hs-features__title {
	font-size: 15.5px;
	font-weight: 600;
	color: var(--k-text);
}

.hs-features__text {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--k-muted);
}

@media (max-width: 1180px) {
	.hs-group__feature {
		min-height: 380px;
	}

	.hs-tile__label {
		font-size: 14px;
	}

	.hs-features__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.hs-group {
		padding: 18px 16px 20px;
	}

	.hs-group__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.hs-group--end .hs-group__feature {
		order: 0;
	}

	.hs-group__feature {
		min-height: 0;
		aspect-ratio: 16 / 7;
	}

	.hs-promos--1 .hs-promo {
		aspect-ratio: 2.6 / 1;
	}

	.hs-promos--1 .hs-promo__copy {
		width: 60%;
		padding-inline: 28px 10px;
	}
}

@media (max-width: 767px) {
	/* Groups bleed to the screen edge like the product rails. */
	.hs-group {
		margin-inline: calc(-1 * var(--hs-gutter));
		padding: 16px var(--hs-gutter) 18px;
		border-radius: 0;
		border-inline: 0;
	}

	.hs-section-head__sub {
		font-size: 13.5px;
	}

	.hs-group__body {
		gap: 12px;
	}

	.hs-group__feature {
		aspect-ratio: 4 / 3;
	}

	.hs-group__copy {
		padding: 18px;
	}

	.hs-group__title {
		font-size: 22px;
	}

	.hs-group__text {
		font-size: 14px;
	}

	.hs-group__btn {
		margin-top: 6px;
	}

	/* Tiles: one swipeable row; the next tile peeks in. */
	.hs-group__tiles {
		display: flex;
		gap: var(--hs-card-gap);
		margin-inline: calc(-1 * var(--hs-gutter));
		padding: 2px var(--hs-gutter) 4px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--hs-gutter);
		scrollbar-width: none;
	}

	.hs-group__tiles::-webkit-scrollbar {
		display: none;
	}

	.hs-tile {
		flex: 0 0 42%;
		scroll-snap-align: start;
	}

	.hs-tile__link:hover,
	.hs-tile__link:focus-visible {
		transform: none;
	}

	.hs-tile__body {
		padding: 8px 10px 10px;
		padding-inline-end: 36px;
	}

	.hs-tile__label {
		font-size: 13.5px;
	}

	.hs-tile__count {
		font-size: 12px;
	}

	.hs-tile__go {
		inset-inline-end: 8px;
		bottom: 10px;
		width: 24px;
		height: 24px;
	}

	.hs-promos--1 .hs-promo {
		aspect-ratio: 10 / 7;
	}

	.hs-promos--1 .hs-promo__copy {
		width: 100%;
		padding: 18px;
	}

	.hs-promos--1 .hs-promo__title {
		font-size: 24px;
	}

	.hs-features__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hs-features__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px;
	}

	.hs-features__icon {
		width: 42px;
		height: 42px;
	}

	.hs-features__icon svg {
		width: 21px;
		height: 21px;
	}

	.hs-features__title {
		font-size: 14px;
	}

	.hs-features__text {
		font-size: 12.5px;
	}
}

@media (max-width: 380px) {
	.hs-tile {
		flex-basis: 46%;
	}
}

/* ======================================================================
 * Kleft 1.3: category-group layout variants (banner, mosaic).
 * ==================================================================== */

/* ---------- Banner: wide photo above a row of six tiles ---------- */

.hs-group--banner .hs-group__body {
	grid-template-columns: minmax(0, 1fr);
}

.hs-group--banner .hs-group__feature {
	min-height: 0;
	aspect-ratio: 3.2 / 1;
}

.hs-group--banner .hs-group__media::after {
	background: linear-gradient(to left, rgba(40, 28, 18, 0.8) 0%, rgba(40, 28, 18, 0.48) 36%, rgba(40, 28, 18, 0) 64%);
}

[dir="ltr"] .hs-group--banner .hs-group__media::after {
	background: linear-gradient(to right, rgba(40, 28, 18, 0.84) 0%, rgba(40, 28, 18, 0.55) 38%, rgba(40, 28, 18, 0) 68%);
}

.hs-group--banner .hs-group__copy {
	inset-block: 0;
	inset-inline-end: auto;
	width: min(50%, 480px);
	justify-content: center;
	padding: 24px 12px;
	padding-inline-start: 40px;
}

.hs-group--banner .hs-group__title {
	font-size: clamp(24px, 2.3vw, 34px);
}

.hs-group--banner .hs-group__tiles {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* ---------- Mosaic: large photo + photo-only tiles ---------- */

.hs-group--mosaic .hs-group__body {
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 12px;
}

.hs-group--mosaic .hs-group__feature {
	min-height: 0;
}

.hs-group--mosaic .hs-group__tiles {
	gap: 12px;
}

.hs-group--mosaic .hs-tile__link {
	border: 0;
	background: var(--k-forest-dark);
}

.hs-group--mosaic .hs-tile__media {
	position: relative;
	aspect-ratio: 1 / 1;
}

.hs-group--mosaic .hs-tile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(31, 24, 16, 0.72) 0%, rgba(31, 24, 16, 0.25) 38%, rgba(31, 24, 16, 0) 60%);
}

.hs-group--mosaic .hs-tile__body {
	position: absolute;
	z-index: 1;
	inset-inline: 0;
	bottom: 0;
	padding: 12px 14px;
	padding-inline-end: 46px;
}

.hs-group--mosaic .hs-tile__label {
	color: var(--k-white);
	font-size: 15.5px;
}

.hs-group--mosaic .hs-tile__count {
	color: rgba(255, 255, 255, 0.85);
}

.hs-group--mosaic .hs-tile__go {
	z-index: 2;
	background: rgba(246, 242, 234, 0.94);
}

@media (max-width: 1180px) {
	.hs-group--banner .hs-group__tiles {
		gap: 10px;
	}
}

@media (max-width: 1024px) {
	.hs-group--banner .hs-group__feature {
		aspect-ratio: 2.4 / 1;
	}

	.hs-group--banner .hs-group__copy {
		width: 62%;
		padding-inline-start: 26px;
	}

	.hs-group--banner .hs-group__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hs-group--mosaic .hs-group__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.hs-group--mosaic .hs-group__feature {
		aspect-ratio: 16 / 7;
	}
}

@media (max-width: 767px) {
	.hs-group--banner .hs-group__feature,
	.hs-group--mosaic .hs-group__feature {
		aspect-ratio: 4 / 3;
	}

	.hs-group--banner .hs-group__media::after,
	[dir="ltr"] .hs-group--banner .hs-group__media::after {
		background: linear-gradient(to top, rgba(40, 28, 18, 0.8) 0%, rgba(40, 28, 18, 0.4) 40%, rgba(40, 28, 18, 0) 68%);
	}

	.hs-group--banner .hs-group__copy {
		inset-block: auto 0;
		width: 100%;
		justify-content: flex-end;
		padding: 18px;
	}

	.hs-group--banner .hs-group__title {
		font-size: 22px;
	}

	.hs-group--mosaic .hs-tile__label {
		font-size: 13.5px;
	}

	.hs-group--mosaic .hs-tile__body {
		padding: 10px;
		padding-inline-end: 36px;
	}
}

/* ======================================================================
 * Kleft 1.4: store-style merchandising — category rows and chapters.
 * ==================================================================== */

/* ---------- Category row: short photo cards with "prices from" ---------- */

.hs-crow__heading {
	margin-bottom: 12px;
	font-size: 23px;
	font-weight: 700;
	color: var(--k-text);
}

.hs-crow__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.hs-crow--3 .hs-crow__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-crow--5 .hs-crow__list {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hs-crow--6 .hs-crow__list {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hs-crow__item {
	min-width: 0;
}

.hs-crow__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--hs-white);
	border: 1px solid var(--k-line);
	border-radius: var(--hs-radius-md);
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hs-crow__link:hover,
.hs-crow__link:focus-visible {
	border-color: var(--k-line-strong);
	box-shadow: var(--hs-shadow-card);
	transform: translateY(-2px);
}

.hs-crow__title {
	display: block;
	padding: 8px 12px;
	background: var(--k-cream-deep);
	color: var(--k-forest-dark);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hs-crow__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--k-sand-soft);
	overflow: hidden;
}

.hs-crow__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.hs-crow__link:hover .hs-crow__img {
	transform: scale(1.05);
}

.hs-crow__price {
	position: absolute;
	inset-inline: 10px;
	bottom: 10px;
	padding: 5px 12px;
	border-radius: var(--hs-radius-pill);
	background: var(--k-forest);
	color: var(--k-on-dark);
	font-size: 13.5px;
	line-height: 1.35;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 3px 10px rgba(26, 41, 34, 0.25);
}

.hs-crow__price strong {
	color: var(--k-sand);
	font-weight: 700;
}

/* ---------- Chapter: centred title + slim photo banner ---------- */

.hs-chapter {
	margin-top: 30px;
}

.hs-chapter__head {
	margin-bottom: 14px;
	text-align: center;
}

.hs-chapter__title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--k-forest-dark);
}

.hs-chapter__sub {
	margin-top: 4px;
	font-size: 15px;
	color: var(--k-muted);
}

.hs-chapter__banner {
	position: relative;
	display: block;
	aspect-ratio: 6 / 1;
	border-radius: var(--hs-radius-lg);
	overflow: hidden;
	background: var(--k-forest-dark);
	color: var(--k-white);
	isolation: isolate;
}

.hs-chapter__media,
.hs-chapter__media picture {
	position: absolute;
	inset: 0;
	display: block;
}

.hs-chapter__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.hs-chapter__banner:hover .hs-chapter__img {
	transform: scale(1.03);
}

.hs-chapter__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(40, 28, 18, 0.8) 0%, rgba(40, 28, 18, 0.48) 36%, rgba(40, 28, 18, 0) 64%);
}

[dir="ltr"] .hs-chapter__media::after {
	background: linear-gradient(to right, rgba(40, 28, 18, 0.84) 0%, rgba(40, 28, 18, 0.55) 38%, rgba(40, 28, 18, 0) 68%);
}

.hs-chapter__copy {
	position: absolute;
	z-index: 1;
	inset-block: 0;
	inset-inline-start: 0;
	width: min(52%, 520px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	padding: 14px 12px;
	padding-inline-start: 36px;
}

.hs-chapter__banner-title {
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 700;
	line-height: 1.25;
}

.hs-chapter__banner-text {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.92);
}

.hs-chapter__btn {
	margin-top: 8px;
	min-height: 36px;
	padding-inline: 18px;
	font-size: 14px;
	font-weight: 600;
}

.hs-chapter__banner:hover .hs-chapter__btn,
.hs-chapter__banner:focus-visible .hs-chapter__btn {
	background: var(--k-sand);
}

@media (max-width: 1024px) {
	.hs-chapter__banner {
		aspect-ratio: 4 / 1;
	}

	.hs-chapter__copy {
		width: 62%;
		padding-inline-start: 24px;
	}
}

@media (max-width: 900px) {
	.hs-crow__list,
	.hs-crow--3 .hs-crow__list,
	.hs-crow--5 .hs-crow__list,
	.hs-crow--6 .hs-crow__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.hs-crow__heading {
		font-size: 20px;
	}

	/* One swipeable row; the next card peeks in. */
	.hs-crow__list,
	.hs-crow--3 .hs-crow__list,
	.hs-crow--5 .hs-crow__list,
	.hs-crow--6 .hs-crow__list {
		display: flex;
		gap: var(--hs-card-gap);
		margin-inline: calc(-1 * var(--hs-gutter));
		padding: 2px var(--hs-gutter) 4px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--hs-gutter);
		scrollbar-width: none;
	}

	.hs-crow__list::-webkit-scrollbar {
		display: none;
	}

	.hs-crow__item {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}

	.hs-crow__link:hover,
	.hs-crow__link:focus-visible {
		transform: none;
	}

	.hs-crow__title {
		font-size: 14.5px;
	}

	.hs-crow__price {
		font-size: 12.5px;
	}

	.hs-chapter {
		margin-top: 22px;
	}

	.hs-chapter__title {
		font-size: 23px;
	}

	.hs-chapter__sub {
		font-size: 13.5px;
	}

	.hs-chapter__banner {
		aspect-ratio: 16 / 9;
		border-radius: var(--hs-radius-md);
	}

	.hs-chapter__media::after,
	[dir="ltr"] .hs-chapter__media::after {
		background: linear-gradient(to top, rgba(40, 28, 18, 0.8) 0%, rgba(40, 28, 18, 0.4) 42%, rgba(40, 28, 18, 0) 70%);
	}

	.hs-chapter__copy {
		inset-block: auto 0;
		width: 100%;
		justify-content: flex-end;
		padding: 16px;
	}

	.hs-chapter__banner-title {
		font-size: 21px;
	}
}
