/**
 * Podcast page styles.
 *
 * @package PsychologiesV2
 */

.psy-main--podcast {
	padding: 0;
}

.psy-podcast-page {
	background: #ffffff;
}

.psy-podcast-label {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--psy-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--psy-cta);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.psy-podcast-section-head {
	margin-bottom: 1.75rem;
}

.psy-podcast-section-head h2 {
	margin: 0;
	font-family: var(--psy-font-heading);
	font-size: clamp(1.85rem, 3vw, 2.5rem);
	font-weight: 600;
	line-height: 1.15;
	color: #1a1412;
}

/* Hero */
.psy-podcast-hero {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
	background: linear-gradient(180deg, #fff7f5 0%, #ffffff 100%);
}

.psy-podcast-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

.psy-podcast-hero__title {
	margin: 0 0 1rem;
	font-family: var(--psy-font-heading);
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
	font-weight: 600;
	line-height: 1.08;
	color: #1a1412;
}

.psy-podcast-hero__intro {
	margin: 0 0 1.25rem;
	max-width: 62ch;
	font-family: var(--psy-font-body);
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #4a403c;
}

.psy-podcast-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.psy-podcast-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(205, 16, 19, 0.08);
	color: #8b1e2f;
	font-family: var(--psy-font-body);
	font-size: 0.75rem;
	font-weight: 600;
}

.psy-podcast-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.psy-podcast-tag {
	display: inline-flex;
	padding: 0.35rem 0.7rem;
	border: 1px solid #e8ddd4;
	border-radius: 999px;
	font-family: var(--psy-font-body);
	font-size: 0.75rem;
	color: #6b5e58;
	background: #ffffff;
}

.psy-podcast-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.psy-podcast-hero__actions .psy-btn {
	border-radius: 8px;
}

.psy-podcast-hero__actions .psy-btn--primary {
	background: var(--psy-cta) !important;
}

.psy-podcast-hero__actions .psy-btn--primary:hover,
.psy-podcast-hero__actions .psy-btn--primary:focus {
	background: #a50d10 !important;
}

.psy-podcast-hero__card {
	padding: 1.5rem;
	background: #ffffff;
	border: 1px solid #efe5dc;
	border-radius: var(--psy-radius-lg);
	box-shadow: var(--psy-shadow-sm);
}

.psy-podcast-hero__card-label {
	display: block;
	margin-bottom: 0.65rem;
	font-family: var(--psy-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--psy-cta);
}

.psy-podcast-hero__card h2 {
	margin: 0 0 0.75rem;
	font-family: var(--psy-font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
	color: #1a1412;
}

.psy-podcast-hero__card p {
	margin: 0 0 1rem;
	font-family: var(--psy-font-body);
	font-size: 0.875rem;
	line-height: 1.65;
	color: #4a403c;
}

.psy-podcast-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psy-podcast-keywords li {
	padding: 0.25rem 0.55rem;
	border-radius: 6px;
	background: #f7f4f2;
	font-family: var(--psy-font-body);
	font-size: 0.75rem;
	color: #6b5e58;
}

.psy-podcast-hero__credit {
	margin: 1rem 0 0;
	font-family: var(--psy-font-body);
	font-size: 0.75rem;
	color: #9a8f88;
}

/* Episodes */
.psy-podcast-episodes {
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.psy-podcast-episode-list {
	display: grid;
	gap: 1rem;
}

.psy-podcast-episode {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	padding: 1.25rem 1.35rem;
	background: #ffffff;
	border: 1px solid #f0ebe6;
	border-radius: var(--psy-radius-lg);
	box-shadow: var(--psy-shadow-sm);
	transition: transform var(--psy-transition-base), box-shadow var(--psy-transition-base), border-color var(--psy-transition-base);
}

.psy-podcast-episode:hover {
	transform: translateY(-2px);
	box-shadow: var(--psy-shadow-md);
	border-color: #e8ddd4;
}

.psy-podcast-episode__index {
	font-family: var(--psy-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
	color: rgba(205, 16, 19, 0.35);
	padding-top: 0.15rem;
}

.psy-podcast-episode__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--psy-cta);
	color: #ffffff;
	flex-shrink: 0;
}

.psy-podcast-episode__body h3 {
	margin: 0 0 0.35rem;
	font-family: var(--psy-font-heading);
	font-size: clamp(1.125rem, 1.8vw, 1.35rem);
	font-weight: 600;
	line-height: 1.25;
	color: #1a1412;
}

.psy-podcast-episode__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.35rem;
}

.psy-podcast-episode__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--psy-font-body);
	font-size: 0.8125rem;
	color: #6b5e58;
	white-space: nowrap;
}

.psy-podcast-episode__body p {
	margin: 0 0 0.75rem;
	font-family: var(--psy-font-body);
	font-size: 0.875rem;
	line-height: 1.65;
	color: #4a403c;
}

.psy-podcast-episode__link {
	font-family: var(--psy-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--psy-cta);
	text-decoration: none;
}

.psy-podcast-episode__link:hover,
.psy-podcast-episode__link:focus-visible {
	text-decoration: underline;
}

/* Other series */
.psy-podcast-series {
	padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.psy-podcast-series__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.psy-podcast-series-card {
	padding: 1.5rem;
	background: #f7f4f2;
	border: 1px solid #efe5dc;
	border-radius: var(--psy-radius-lg);
}

.psy-podcast-series-card h3 {
	margin: 0 0 0.75rem;
	font-family: var(--psy-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	color: #1a1412;
}

.psy-podcast-series-card p {
	margin: 0 0 1rem;
	font-family: var(--psy-font-body);
	font-size: 0.875rem;
	line-height: 1.65;
	color: #4a403c;
}

.psy-podcast-series-card__link {
	font-family: var(--psy-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--psy-cta);
	text-decoration: none;
}

.psy-podcast-series-card__link:hover,
.psy-podcast-series-card__link:focus-visible {
	text-decoration: underline;
}

@media (max-width: 991px) {
	.psy-podcast-hero__grid,
	.psy-podcast-series__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.psy-podcast-episode {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.psy-podcast-episode__index {
		display: none;
	}

	.psy-podcast-episode__head {
		flex-direction: column;
		align-items: flex-start;
	}
}
