/**
 * Homepage — light/dark mockup layout.
 */

:root {
	--shf-home-bg: #f6f3eb;
	--shf-home-bg-glow-1: rgba(196, 165, 116, 0.18);
	--shf-home-bg-glow-2: rgba(135, 160, 120, 0.16);
	--shf-home-bg-glow-3: rgba(231, 111, 81, 0.08);
	--shf-glass: rgba(255, 252, 246, 0.82);
	--shf-glass-strong: rgba(255, 255, 255, 0.92);
	--shf-glass-border: rgba(45, 62, 51, 0.08);
	--shf-hero-bg: linear-gradient(135deg, #f4f1e8 0%, #ebe6da 48%, #f0ebe1 100%);
	--shf-hero-ink: #2a342c;
	--shf-hero-muted: #5f675f;
	--shf-hero-wave: linear-gradient(180deg, rgba(95, 115, 88, 0.55), rgba(196, 165, 116, 0.4));
	--shf-radius-lg: 1.85rem;
	--shf-container: 1180px;
}

html[data-theme="dark"] {
	--shf-home-bg: #121412;
	--shf-home-bg-glow-1: rgba(196, 165, 116, 0.12);
	--shf-home-bg-glow-2: rgba(95, 115, 88, 0.14);
	--shf-home-bg-glow-3: rgba(231, 111, 81, 0.08);
	--shf-glass: rgba(30, 34, 28, 0.88);
	--shf-glass-strong: rgba(36, 40, 34, 0.95);
	--shf-glass-border: rgba(212, 175, 110, 0.14);
	--shf-hero-bg: linear-gradient(235deg, #1a1e18 0%, #232820 42%, #2a2e24 100%);
	--shf-hero-ink: #f4efe4;
	--shf-hero-muted: rgba(244, 239, 228, 0.72);
	--shf-hero-wave: linear-gradient(180deg, rgba(245, 220, 170, 0.85), rgba(231, 111, 81, 0.45));
}

body.home,
body.front-page {
	--shf-bg: var(--shf-home-bg);
	--shf-surface: var(--shf-glass-strong);
	--shf-ink: #2a342c;
	--shf-muted: #6b7368;
	--shf-primary: #5f7358;
	--shf-primary-deep: #3d4f3a;
	--shf-accent: #e76f51;
	--shf-line: rgba(45, 62, 51, 0.1);
	--shf-radius: 1.5rem;
	--shf-container: 1180px;
	background:
		radial-gradient(900px 520px at 12% 18%, var(--shf-home-bg-glow-1), transparent 58%),
		radial-gradient(800px 480px at 88% 8%, var(--shf-home-bg-glow-2), transparent 55%),
		radial-gradient(700px 420px at 70% 88%, var(--shf-home-bg-glow-3), transparent 60%),
		linear-gradient(180deg, var(--shf-home-bg) 0%, var(--shf-home-bg) 100%);
}

html[data-theme="dark"] body.home,
html[data-theme="dark"] body.front-page {
	--shf-ink: #f0ebe3;
	--shf-muted: #a8aea2;
	--shf-primary: #8fa887;
	--shf-primary-deep: #c4a574;
	--shf-accent: #f08466;
	--shf-line: rgba(212, 175, 110, 0.14);
}

body.home .shf-main,
body.front-page .shf-main {
	overflow: clip;
}

.shf-home {
	position: relative;
	padding-bottom: 2rem;
}

.shf-home__glow {
	pointer-events: none;
	position: absolute;
	inset: 0;
	background:
		radial-gradient(520px 280px at 20% 40%, rgba(255, 255, 255, 0.28), transparent 70%),
		radial-gradient(480px 260px at 80% 55%, rgba(255, 248, 230, 0.28), transparent 70%);
	z-index: 0;
}

html[data-theme="dark"] .shf-home__glow {
	background:
		radial-gradient(520px 280px at 20% 40%, rgba(196, 165, 116, 0.08), transparent 70%),
		radial-gradient(480px 260px at 80% 55%, rgba(95, 115, 88, 0.1), transparent 70%);
}

.shf-home > * {
	position: relative;
	z-index: 1;
}

/* —— Hero only —— */
.shf-home-hero {
	padding: 1.15rem 0 0.75rem;
}

.shf-home-hero__card {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.5rem, 3.2vw, 2.6rem) clamp(1.4rem, 3vw, 2.4rem);
	border-radius: calc(var(--shf-radius-lg) + 0.15rem);
	background: var(--shf-hero-bg);
	color: var(--shf-hero-ink);
	border: 1px solid var(--shf-glass-border);
	box-shadow: 0 22px 48px rgba(45, 62, 51, 0.08);
	overflow: hidden;
	position: relative;
	min-height: clamp(280px, 36vw, 380px);
}

html[data-theme="dark"] .shf-home-hero__card {
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
	border-color: rgba(212, 175, 110, 0.18);
}

.shf-home-hero__copy {
	position: relative;
	z-index: 2;
	max-width: 36rem;
}

.shf-home-hero__copy h1 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.55rem, 3.2vw, 2.35rem);
	line-height: 1.4;
	font-weight: 700;
	color: var(--shf-hero-ink);
	letter-spacing: -0.02em;
}

.shf-home-hero__copy p {
	margin: 0;
	color: var(--shf-hero-muted);
	font-size: 0.95rem;
	line-height: 1.85;
}

.shf-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.4rem;
}

.shf-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.shf-pill:hover {
	transform: translateY(-1px);
	color: inherit;
}

.shf-pill--accent {
	background: var(--shf-primary-deep);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(61, 79, 58, 0.28);
}

html[data-theme="dark"] .shf-pill--accent {
	background: linear-gradient(135deg, #f08466, var(--shf-accent));
	box-shadow: 0 12px 28px rgba(231, 111, 81, 0.35);
}

.shf-pill--ghost {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(45, 62, 51, 0.14);
	color: var(--shf-hero-ink) !important;
	backdrop-filter: blur(8px);
}

html[data-theme="dark"] .shf-pill--ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.22);
	color: #f6f1e7 !important;
}

.shf-home-hero__visual {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	min-height: 220px;
}

.shf-home-hero__visual img {
	width: min(100%, 320px);
	height: auto;
	filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.18));
	animation: shf-float 5.5s ease-in-out infinite;
}

.shf-home-hero__video {
	width: min(100%, 320px);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 1.5rem;
	background: #1f1f1f;
	filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.18));
}

.shf-home-hero__podcast {
	position: relative;
	width: min(100%, 320px);
}

.shf-home-hero__podcast img {
	width: 100%;
	display: block;
	border-radius: 1.5rem;
}

.shf-home-hero__play {
	position: absolute;
	inset-inline-start: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 64px;
	height: 64px;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--shf-accent, #e07a5f);
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.shf-home-hero__pod-title {
	position: absolute;
	inset-inline: 0.85rem 0.85rem;
	bottom: 0.85rem;
	z-index: 2;
	padding: 0.5rem 0.7rem;
	border-radius: 0.75rem;
	background: rgba(15, 23, 42, 0.62);
	color: #fff;
	font-size: 0.88rem;
	backdrop-filter: blur(8px);
}

.shf-home-hero__wave {
	position: absolute;
	inset-inline-end: 6%;
	bottom: 10%;
	display: flex;
	align-items: end;
	gap: 0.35rem;
	height: 100px;
	opacity: 0.4;
	pointer-events: none;
}

.shf-home-hero__wave span {
	display: block;
	width: 7px;
	border-radius: 999px;
	background: var(--shf-hero-wave);
	animation: shf-wave 1.5s ease-in-out infinite;
}

.shf-home-hero__wave span:nth-child(1) { height: 28%; }
.shf-home-hero__wave span:nth-child(2) { height: 52%; animation-delay: 0.08s; }
.shf-home-hero__wave span:nth-child(3) { height: 40%; animation-delay: 0.16s; }
.shf-home-hero__wave span:nth-child(4) { height: 78%; animation-delay: 0.04s; }
.shf-home-hero__wave span:nth-child(5) { height: 34%; animation-delay: 0.2s; }
.shf-home-hero__wave span:nth-child(6) { height: 62%; animation-delay: 0.12s; }
.shf-home-hero__wave span:nth-child(7) { height: 46%; animation-delay: 0.24s; }
.shf-home-hero__wave span:nth-child(8) { height: 70%; animation-delay: 0.1s; }
.shf-home-hero__wave span:nth-child(9) { height: 38%; animation-delay: 0.18s; }

@keyframes shf-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@keyframes shf-wave {
	0%, 100% { transform: scaleY(0.55); }
	50% { transform: scaleY(1); }
}

/* —— Discover: floating categories + episodes —— */
.shf-home-discover {
	padding: 1.25rem 0 0.5rem;
}

.shf-home-cats {
	margin-bottom: 1.75rem;
}

.shf-home-cats__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.shf-home-cats__head h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.shf-home-cats__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem 1rem;
}

.shf-home-cats__chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	min-width: 5.5rem;
	padding: 0.85rem 0.75rem 0.7rem;
	border-radius: 1.25rem;
	text-decoration: none;
	color: inherit;
	background: transparent;
	transition: transform 0.3s ease, color 0.2s ease;
	animation: shf-cat-float 3.8s ease-in-out infinite;
	animation-delay: var(--shf-float-delay, 0s);
}

.shf-home-cats__chip:hover {
	transform: translateY(-6px);
	color: var(--shf-primary-deep);
	animation-play-state: paused;
}

.shf-home-cats__icon {
	display: grid;
	place-items: center;
	width: 3.35rem;
	height: 3.35rem;
	border-radius: 1.1rem;
	border: 1.5px solid rgba(61, 79, 58, 0.18);
	background:
		radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.7), transparent 55%),
		rgba(255, 252, 246, 0.88);
	box-shadow: 0 12px 28px rgba(45, 62, 51, 0.08);
	position: relative;
	backdrop-filter: blur(10px);
}

html[data-theme="dark"] .shf-home-cats__icon {
	border-color: rgba(212, 175, 110, 0.22);
	background:
		radial-gradient(circle at 30% 28%, rgba(212, 175, 110, 0.14), transparent 55%),
		rgba(30, 34, 28, 0.9);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.shf-home-cats__icon::before {
	content: "";
	width: 1.35rem;
	height: 1.35rem;
	background: var(--shf-primary-deep);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c2.5 3.2 4 6.2 4 9a4 4 0 1 1-8 0c0-2.8 1.5-5.8 4-9z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c2.5 3.2 4 6.2 4 9a4 4 0 1 1-8 0c0-2.8 1.5-5.8 4-9z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-theme="dark"] .shf-home-cats__icon::before {
	background: var(--shf-gold, #c4a574);
}

.shf-home-cats__chip--leaf .shf-home-cats__icon::before { background: #5f7358; }
.shf-home-cats__chip--brain .shf-home-cats__icon::before { background: #6b7f9a; }
.shf-home-cats__chip--sport .shf-home-cats__icon::before { background: #e07a5f; }
.shf-home-cats__chip--moon .shf-home-cats__icon::before { background: #c4a574; }
.shf-home-cats__chip--heart .shf-home-cats__icon::before { background: #c45c6a; }
.shf-home-cats__chip--calm .shf-home-cats__icon::before { background: #7a9bb8; }

.shf-home-cats__label {
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}

@keyframes shf-cat-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-7px); }
}

.shf-home-eps {
	padding: 1.15rem 1.2rem 1.25rem;
	border-radius: var(--shf-radius-lg);
	background: var(--shf-glass);
	border: 1px solid var(--shf-glass-border);
	box-shadow: 0 14px 36px rgba(45, 62, 51, 0.06);
	backdrop-filter: blur(14px);
}

html[data-theme="dark"] .shf-home-eps {
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.shf-home-eps__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.15rem;
}

.shf-home-ep {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.55rem 0.65rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid transparent;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}

html[data-theme="dark"] .shf-home-ep {
	background: rgba(255, 255, 255, 0.03);
}

.shf-home-ep:hover {
	transform: translateY(-4px);
	border-color: var(--shf-glass-border);
	box-shadow: 0 12px 28px rgba(45, 62, 51, 0.08);
}

.shf-home-ep__thumb {
	width: 52px;
	height: 52px;
	border-radius: 0.75rem;
	overflow: hidden;
	background: #e5e0d4;
	flex-shrink: 0;
}

html[data-theme="dark"] .shf-home-ep__thumb {
	background: #2a3028;
}

.shf-home-ep__thumb img,
.shf-home-ep__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.shf-home-ep__ph {
	background: linear-gradient(135deg, #c8d2c0, #e8d5b8);
}

.shf-home-ep__body {
	min-width: 0;
}

.shf-home-ep__title {
	display: block;
	font-size: 0.88rem;
	font-weight: 650;
	text-decoration: none;
	line-height: 1.45;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shf-home-ep__meta {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.74rem;
	color: var(--shf-muted);
}

.shf-home-ep__play {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	border: 0;
	background: var(--shf-primary-deep);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding-inline-start: 2px;
	flex-shrink: 0;
}

html[data-theme="dark"] .shf-home-ep__play {
	background: #5f7358;
	color: #f6f1e7;
}

.shf-home-ep__play.is-disabled {
	opacity: 0.45;
}

/* —— Body grids —— */
.shf-home-body {
	padding: 0.75rem 0 2rem;
}

.shf-home-block {
	margin-bottom: 2.1rem;
}

.shf-home-block__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.15rem;
}

.shf-home-block__head h2 {
	margin: 0;
	font-size: 1.15rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.shf-home-block__icon {
	display: inline-flex;
	color: var(--shf-primary-deep);
}

.shf-media-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

.shf-media-grid--compact {
	gap: 0.85rem;
	max-width: 960px;
}

.shf-media-grid--compact .shf-media-tile {
	border-radius: 1rem;
	box-shadow: 0 10px 24px rgba(45, 62, 51, 0.05);
}

.shf-media-grid--compact .shf-media-tile__media {
	aspect-ratio: 16 / 11;
}

.shf-media-grid--compact .shf-media-tile__play {
	width: 2.25rem;
	height: 2.25rem;
}

.shf-media-grid--compact .shf-media-tile__body {
	padding: 0.55rem 0.65rem 0.7rem;
}

.shf-media-grid--compact .shf-media-tile__title {
	font-size: 0.8rem;
	margin-bottom: 0.3rem;
}

.shf-media-grid--compact .shf-media-tile__author {
	font-size: 0.7rem;
}

.shf-media-grid--compact .shf-media-tile__dur {
	font-size: 0.65rem;
	padding: 0.15rem 0.4rem;
}

.shf-media-tile {
	background: var(--shf-glass-strong);
	border: 1px solid var(--shf-glass-border);
	border-radius: 1.15rem;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(45, 62, 51, 0.06);
	backdrop-filter: blur(10px);
}

.shf-media-tile__media {
	position: relative;
	aspect-ratio: 1;
	background: #e8e2d6;
}

html[data-theme="dark"] .shf-media-tile__media {
	background: #2a3028;
}

.shf-media-tile__cover,
.shf-media-tile__ph {
	display: block;
	width: 100%;
	height: 100%;
}

.shf-media-tile__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shf-media-tile__ph {
	background: linear-gradient(145deg, #c7d2c2, #e8d7b5);
}

.shf-media-tile__dur {
	position: absolute;
	inset-block-end: 0.55rem;
	inset-inline-start: 0.55rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: rgba(20, 24, 20, 0.62);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	backdrop-filter: blur(6px);
}

.shf-media-tile__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #2a342c;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding-inline-start: 2px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease, background 0.15s ease;
}

.shf-media-tile__play:hover {
	transform: translate(-50%, -50%) scale(1.06);
	background: var(--shf-accent);
	color: #fff;
}

.shf-media-tile__body {
	padding: 0.75rem 0.8rem 0.9rem;
}

.shf-media-tile__title {
	margin: 0 0 0.45rem;
	font-size: 0.88rem;
	line-height: 1.45;
}

.shf-media-tile__title a {
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shf-media-tile__author {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: var(--shf-muted);
}

.shf-media-tile__avatar {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.65rem;
	font-weight: 700;
	background: #dfe6d8;
	color: var(--shf-primary-deep);
}

html[data-theme="dark"] .shf-media-tile__avatar {
	background: #3a4236;
}


.shf-home-split {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.8fr);
	gap: 1.35rem;
	align-items: start;
}

.shf-course-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.shf-course-card {
	background: var(--shf-glass-strong);
	border: 1px solid var(--shf-glass-border);
	border-radius: 1.15rem;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(45, 62, 51, 0.06);
}

.shf-course-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1.05;
	background: #e8e2d6;
	text-decoration: none;
}

.shf-course-card__media img,
.shf-course-card__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.shf-course-card__ph--a { background: linear-gradient(145deg, #d7e4c8, #f0d9b0); }
.shf-course-card__ph--b { background: linear-gradient(145deg, #c9d8e8, #e8cfc0); }
.shf-course-card__ph--c { background: linear-gradient(145deg, #e4d4e8, #d5e2c8); }

.shf-course-card__badge {
	position: absolute;
	inset-block-start: 0.55rem;
	inset-inline-end: 0.55rem;
	z-index: 1;
	padding: 0.22rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	color: #fff;
}

.shf-course-card__badge--bestseller { background: var(--shf-accent); }
.shf-course-card__badge--new { background: #5f7358; }

.shf-course-card__body {
	padding: 0.75rem 0.8rem 0.9rem;
}

.shf-course-card__body h3 {
	margin: 0 0 0.4rem;
	font-size: 0.86rem;
	line-height: 1.45;
}

.shf-course-card__body h3 a {
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shf-course-card__price {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--shf-primary-deep);
}

.shf-article-feature {
	display: flex;
	flex-direction: column;
	position: relative;
	background: var(--shf-glass-strong);
	border: 1px solid var(--shf-glass-border);
	border-radius: 1.25rem;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(45, 62, 51, 0.06);
	min-height: 100%;
}

.shf-article-feature__label {
	position: absolute;
	z-index: 2;
	inset-block-start: 0.85rem;
	inset-inline-start: 0.85rem;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--shf-primary-deep);
	font-size: 0.72rem;
	font-weight: 700;
	backdrop-filter: blur(6px);
}

html[data-theme="dark"] .shf-article-feature__label {
	background: rgba(30, 34, 28, 0.9);
	color: #c4a574;
}

.shf-article-feature__media {
	display: block;
	aspect-ratio: 16 / 11;
	background: #e8e2d6;
}

.shf-article-feature__media img,
.shf-article-feature__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.shf-article-feature__ph {
	background: linear-gradient(145deg, #c9d9c4, #e8cfc4);
}

.shf-article-feature__body {
	padding: 1rem 1.05rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.shf-article-feature__body h3 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.45;
}

.shf-article-feature__body h3 a {
	text-decoration: none;
}

.shf-article-feature__body p {
	margin: 0;
	color: var(--shf-muted);
	font-size: 0.9rem;
	flex: 1;
}

.shf-article-feature__body .shf-text-link {
	margin-top: auto;
}

/* —— Features —— */
.shf-home-features {
	padding: 0.5rem 0 2rem;
}

.shf-home-features__head {
	text-align: center;
	margin: 0 0 1rem;
}

.shf-home-features__head h2 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	color: var(--shf-ink);
}

.shf-home-features__head p {
	margin: 0;
	color: var(--shf-muted);
	font-size: 0.95rem;
}

.shf-home-features__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	padding: 1.35rem 1.5rem;
	border-radius: var(--shf-radius-lg);
	background: var(--shf-glass);
	border: 1px solid var(--shf-glass-border);
	box-shadow: 0 16px 40px rgba(45, 62, 51, 0.05);
	backdrop-filter: blur(12px);
}

.shf-home-features__item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.35rem 0.75rem;
}

.shf-home-features__item + .shf-home-features__item {
	border-inline-start: 1px solid var(--shf-line);
}

.shf-home-features__icon {
	flex-shrink: 0;
	color: var(--shf-primary-deep);
}

.shf-home-features__item strong {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.95rem;
}

.shf-home-features__item p {
	margin: 0;
	font-size: 0.82rem;
	color: var(--shf-muted);
	line-height: 1.6;
}

@media (max-width: 1100px) {
	.shf-media-grid,
	.shf-media-grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}

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

	.shf-home-eps__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.shf-home-hero__card {
		grid-template-columns: 1fr;
		text-align: center;
		min-height: 0;
	}

	.shf-home-hero__actions {
		justify-content: center;
	}

	.shf-home-hero__visual {
		order: -1;
		min-height: 200px;
	}

	.shf-home-hero__visual img {
		width: min(100%, 260px);
	}

	.shf-home-split,
	.shf-home-features__row {
		grid-template-columns: 1fr;
	}

	.shf-course-grid {
		grid-template-columns: 1fr 1fr;
	}

	.shf-home-features__item + .shf-home-features__item {
		border-inline-start: 0;
		border-top: 1px solid var(--shf-line);
		padding-top: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shf-home-cats__chip,
	.shf-home-hero__visual img,
	.shf-home-hero__wave span {
		animation: none !important;
	}
}
