/**
 * Podcast category archive styles
 * Stacked show sections with horizontal scrollers.
 */

.podcast-archive__container {
	gap: 1.75rem;
	padding: 2rem 0 3rem;
	color: #e8edff;
}

.podcast-archive__header {
	gap: 0.35rem;
	align-items: flex-start;
}

.podcast-archive__title {
	margin: 0;
	color: #f8fbff;
}

.podcast-archive__description {
	max-width: 780px;
	color: #c5d1ff;
	font-size: 1rem;
}

.oms-podcast-show-stack {
	display: flex;
	flex-direction: column;
	gap: 2.25rem;
}

.oms-podcast-show-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem 1.35rem 1.5rem;
	border: 1px solid #1f2e56;
	border-radius: 14px;
	background: #0f1c3b;
	box-shadow: 0 18px 38px rgba(4, 8, 30, 0.38);
}

.oms-podcast-show-section__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.oms-podcast-show-title {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	line-height: 1.2;
	color: #f8fbff;
}

.oms-podcast-show-controls {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.oms-podcast-show-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #0f172a;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.oms-podcast-show-nav:hover,
.oms-podcast-show-nav:focus-visible {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
	outline: none;
}

.oms-podcast-show-scroller {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	scroll-padding: 0.5rem;
	padding: 0.35rem 0.5rem 0.55rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	border: 1px solid #24345e;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
}

.oms-podcast-show-scroller::-webkit-scrollbar {
	height: 8px;
}

.oms-podcast-show-scroller::-webkit-scrollbar-thumb {
	background: #cbd5e1;
}

.oms-podcast-show-card {
	flex: 0 0 auto;
	width: min(380px, 86vw);
	scroll-snap-align: start;
}

.oms-podcast-archive-fallback {
	gap: 1.25rem;
}

.oms-podcast-archive-empty {
	margin: 0;
	color: var(--muted);
}

@media (min-width: 900px) {
	.oms-podcast-show-card {
		width: min(420px, 32vw);
	}
}

@media (max-width: 640px) {
	.podcast-archive__container {
		padding: 1.5rem 0 2.5rem;
	}

	.oms-podcast-show-controls {
		width: 100%;
		justify-content: flex-end;
	}
}
