.site-main--podcast {
	display: grid;
	gap: clamp(var(--hut-space-lg), 4vw, var(--hut-space-2xl));
}

.site-main--podcast > section {
	position: relative;
	overflow: hidden;
	border: 1px solid rgb(223 210 191 / 68%);
	border-radius: var(--hut-radius-lg);
	background:
		linear-gradient(135deg, rgb(255 253 248 / 88%), rgb(250 244 232 / 72%)),
		var(--hut-color-surface-raised);
	box-shadow: var(--hut-shadow-warm-sm);
}

.podcast-hero {
	display: grid;
	min-height: clamp(28rem, 48vw, 38rem);
	background: var(--hut-color-ink-900);
	color: var(--hut-color-paper-000);
}

.podcast-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgb(13 27 42 / 96%) 0%, rgb(13 27 42 / 80%) 45%, rgb(13 27 42 / 28%) 72%, rgb(13 27 42 / 0%) 100%),
		linear-gradient(0deg, rgb(13 27 42 / 70%) 0%, rgb(13 27 42 / 0%) 54%);
	pointer-events: none;
}

.podcast-hero__content {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: center;
	max-width: 48rem;
	padding: clamp(var(--hut-space-xl), 6vw, var(--hut-space-3xl));
}

.podcast-hero h1 {
	max-width: 13ch;
	margin-block: var(--hut-space-xs) var(--hut-space-md);
	color: var(--hut-color-paper-000);
	font-size: clamp(3rem, 7vw, 6rem);
	line-height: 0.94;
	text-wrap: balance;
}

.podcast-hero__description {
	max-width: 42rem;
	color: rgb(255 253 248 / 86%);
	font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.podcast-hero__media {
	position: absolute;
	inset: 0;
	margin: 0;
}

.podcast-hero__media picture,
.podcast-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
}

.podcast-hero__media img {
	object-fit: cover;
	object-position: center;
}

.podcast-listen,
.podcast-store-cta,
.podcast-featured,
.podcast-archive {
	padding: clamp(var(--hut-space-xl), 5vw, var(--hut-space-3xl));
}

.podcast-listen {
	display: grid;
	gap: var(--hut-space-lg);
}

.podcast-listen h2 {
	max-width: 17ch;
	margin-block-start: var(--hut-space-xs);
	font-size: clamp(var(--hut-font-size-2xl), 5vw, 4.25rem);
	line-height: 0.98;
	text-wrap: balance;
}

.podcast-listen__reassurance {
	max-width: 42rem;
	margin-block: var(--hut-space-sm) 0;
	color: var(--hut-color-text-muted);
	font-size: clamp(var(--hut-font-size-md), 2vw, var(--hut-font-size-lg));
}

.podcast-platform-groups {
	display: grid;
	gap: clamp(var(--hut-space-lg), 4vw, var(--hut-space-xl));
}

.podcast-platform-group {
	display: grid;
	gap: var(--hut-space-sm);
}

.podcast-platform-group h3 {
	margin: 0;
	color: var(--hut-color-text);
	font-size: var(--hut-font-size-md);
	font-weight: 900;
}

.podcast-platforms {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: var(--hut-space-sm);
}

.podcast-platforms--featured {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.podcast-platform {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 3.35rem;
	gap: var(--hut-space-xs);
	padding: 0.78rem 1rem;
	border: 1px solid rgb(143 74 40 / 18%);
	border-radius: var(--hut-radius-sm);
	background: rgb(255 253 248 / 78%);
	color: var(--hut-color-text);
	font-weight: 900;
	text-decoration: none;
	transition:
		border-color var(--hut-transition-duration) var(--hut-transition-timing),
		background var(--hut-transition-duration) var(--hut-transition-timing),
		color var(--hut-transition-duration) var(--hut-transition-timing),
		transform var(--hut-transition-duration) var(--hut-transition-timing);
}

.podcast-platform--featured {
	min-height: 4.15rem;
	padding: 1rem 1.15rem;
	font-size: var(--hut-font-size-md);
}

.podcast-platform--secondary {
	min-height: 3rem;
	padding: 0.68rem 0.86rem;
	font-size: var(--hut-font-size-sm);
}

.podcast-platform:hover,
.podcast-platform:focus-visible {
	border-color: rgb(143 74 40 / 34%);
	background: var(--hut-color-paper-000);
	color: var(--hut-color-link-hover);
	transform: translateY(-0.08rem);
}

.podcast-platform__icon {
	display: inline-grid;
	place-items: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 999px;
	background: rgb(13 27 42 / 8%);
	color: var(--hut-color-link-hover);
	font-size: 0.95rem;
	line-height: 1;
}

.podcast-platform--featured .podcast-platform__icon {
	width: 2rem;
	height: 2rem;
}

.podcast-platform__icon img {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	object-fit: contain;
}

.podcast-platform--featured .podcast-platform__icon img {
	width: 1.35rem;
	height: 1.35rem;
}

.podcast-platform--spotify .podcast-platform__icon {
	background: rgb(30 215 96 / 16%);
	color: #1db954;
}

.podcast-platform--youtube_music .podcast-platform__icon {
	background: rgb(255 0 0 / 12%);
	color: #c4302b;
}

.podcast-platform--iheart .podcast-platform__icon {
	background: rgb(197 0 0 / 12%);
	color: #c50000;
}

.podcast-store-cta {
	display: grid;
	gap: var(--hut-space-lg);
	align-items: center;
}

.podcast-store-cta h2 {
	max-width: 18ch;
	margin-block: var(--hut-space-xs) var(--hut-space-sm);
	font-size: clamp(var(--hut-font-size-xl), 3vw, var(--hut-font-size-2xl));
	line-height: 1.02;
	text-wrap: balance;
}

.podcast-store-cta p:not(.eyebrow) {
	max-width: 42rem;
	margin: 0;
	color: var(--hut-color-text-muted);
	font-size: var(--hut-font-size-md);
}

.podcast-featured .content-card {
	margin-block-start: var(--hut-space-lg);
}

.podcast-archive__grid {
	margin-block-start: clamp(var(--hut-space-lg), 4vw, var(--hut-space-2xl));
	gap: clamp(var(--hut-space-md), 3vw, var(--hut-space-xl));
}

@media (max-width: 47.99rem) {
	.podcast-hero {
		min-height: 36rem;
	}

	.podcast-hero::before {
		background:
			linear-gradient(0deg, rgb(13 27 42 / 95%) 0%, rgb(13 27 42 / 78%) 58%, rgb(13 27 42 / 26%) 100%);
	}
}

@media (min-width: 48rem) {
	.podcast-store-cta {
		grid-template-columns: minmax(0, 1fr) auto;
	}
}
