/**
 * DWoSO podcast styles — shared by archive-podcast.php and
 * single-podcast.php. Same tokens as the other dwoso-* stylesheets.
 */

.dwoso-podcast-archive,
.dwoso-podcast-single {
	--navy: var(--ast-global-color-2, #0f172a);
	--purple: var(--ast-global-color-0, #563973);
	--purple-hover: var(--ast-global-color-1, #65408b);
	--text: var(--ast-global-color-3, #888686);
	--mint: var(--ast-global-color-4, #b3eed3);
	--offwhite: var(--ast-global-color-5, #fffefe);
}

.dwoso-podcast-archive section,
.dwoso-podcast-single section {
	padding: 3rem 1.5rem;
}

.dwoso-podcast-archive .dwoso-container,
.dwoso-podcast-single .dwoso-container {
	max-width: 1200px;
	margin: 0 auto;
}

.dwoso-podcast-single .dwoso-container--narrow {
	max-width: 750px;
}

.dwoso-podcast-archive .dwoso-full-bleed,
.dwoso-podcast-single .dwoso-full-bleed {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.dwoso-podcast-archive .dwoso-eyebrow,
.dwoso-podcast-single .dwoso-project-meta-item strong {
	color: var(--mint);
}

.dwoso-podcast-archive .dwoso-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

/* ---------- Archive hero (reused .dwoso-archive-hero look) ---------- */

.dwoso-podcast-archive .dwoso-archive-hero,
.dwoso-podcast-single .dwoso-podcast-hero {
	background-color: var(--navy);
	color: var(--offwhite);
	padding: 4.5rem 1.5rem 3rem;
}

.dwoso-podcast-archive .dwoso-archive-hero h1 {
	color: var(--offwhite);
	font-size: clamp(2rem, 4vw, 2.8rem);
	margin: 0 0 0.75rem;
}

.dwoso-podcast-archive .dwoso-archive-hero p {
	color: #d7dbe4;
	max-width: 60ch;
	margin: 0;
}

.dwoso-podcast-archive .dwoso-archive-grid-section {
	background-color: var(--offwhite);
}

.dwoso-podcast-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.dwoso-podcast-card {
	background-color: #fff;
	border: 1px solid #ece7f2;
	border-radius: 12px;
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dwoso-podcast-card:hover {
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
	transform: translateY(-3px);
}

.dwoso-podcast-card-icon {
	width: 44px;
	height: 44px;
	margin-bottom: 1.1rem;
	color: var(--purple);
}

.dwoso-podcast-card-icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.dwoso-podcast-card-body h3 {
	color: var(--navy);
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
}

.dwoso-podcast-card-body p {
	color: var(--text);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 0 0.75rem;
}

.dwoso-podcast-episode-tag {
	display: inline-block;
	background-color: var(--mint);
	color: var(--navy);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	margin-bottom: 0.6rem;
}

.dwoso-podcast-guest {
	font-style: italic;
	color: var(--text);
	font-size: 0.9rem;
	margin: 0 0 0.5rem;
}

.dwoso-podcast-archive .dwoso-project-more {
	color: var(--purple);
	font-weight: 600;
	font-size: 0.88rem;
}

.dwoso-archive-empty {
	text-align: center;
	color: var(--text);
	padding: 2rem 0;
}

/* ---------- Single episode ---------- */

.dwoso-podcast-single .dwoso-podcast-hero {
	text-align: center;
}

.dwoso-podcast-hero-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	color: var(--mint);
}

.dwoso-podcast-hero-icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.dwoso-podcast-single .dwoso-podcast-hero h1 {
	color: var(--offwhite);
	font-size: clamp(1.9rem, 3.6vw, 2.6rem);
	margin: 0.5rem 0 0.75rem;
}

.dwoso-podcast-single .dwoso-podcast-guest {
	color: #d7dbe4;
	font-size: 1rem;
	margin: 0 0 1.25rem;
}

.dwoso-podcast-single .dwoso-project-meta {
	display: flex;
	justify-content: center;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.dwoso-podcast-single .dwoso-project-meta-item {
	color: #d7dbe4;
	font-size: 0.92rem;
}

.dwoso-podcast-single .dwoso-project-meta-item a {
	color: var(--mint);
	text-decoration: underline;
}

.dwoso-podcast-embed {
	margin-top: -1.5rem;
}

.dwoso-podcast-embed iframe {
	width: 100%;
	height: 232px;
	border: none;
	border-radius: 10px;
	display: block;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.dwoso-podcast-single-body {
	color: var(--text);
	font-size: 1.02rem;
	line-height: 1.75;
}

.dwoso-podcast-single-body h2 {
	color: var(--navy);
	margin: 0 0 1rem;
}

.dwoso-podcast-show-notes p {
	margin: 0 0 1.25rem;
}

.dwoso-project-single-cta {
	padding-top: 0;
}

.dwoso-podcast-single .dwoso-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.dwoso-podcast-single .dwoso-btn-outline {
	border: 2px solid var(--purple);
	color: var(--purple) !important;
}

.dwoso-podcast-single .dwoso-btn-outline:hover {
	background-color: var(--purple);
	color: #fff !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.dwoso-podcast-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.dwoso-podcast-archive section,
	.dwoso-podcast-single section {
		padding: 2.5rem 1.25rem;
	}
	.dwoso-podcast-grid {
		grid-template-columns: 1fr;
	}
}
