/* =====================================================================
   Podcasts Hub page template
   Uses the theme's default Open Sans — no font-family declared here.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Page wrapper + hero header
   --------------------------------------------------------------------- */
.podcasts-hub {
	position: relative;
	margin-top: 60px;            /* breathing room between site nav and gradient */
	padding: 0 0 110px;
	background:
		radial-gradient(ellipse at 10% -10%, rgba(30, 146, 214, 0.14), transparent 55%),
		radial-gradient(ellipse at 90% 10%, rgba(22, 161, 153, 0.12), transparent 55%),
		#fafcfe;
	overflow: hidden;
}

.podcasts-hub__header {
	position: relative;
	max-width: 820px;
	margin: 0 auto 70px;
	padding: 140px 20px 20px;
	text-align: center;
}
.podcasts-hub__header::before {
	content: '';
	display: block;
	width: 54px;
	height: 4px;
	margin: 0 auto 22px;
	background: linear-gradient(90deg, #1e92d6, #16a199);
	border-radius: 2px;
}
.podcasts-hub__heading {
	margin: 0 0 18px;
	font-size: 52px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #0f2030;
}
.podcasts-hub__intro {
	font-size: 18px;
	line-height: 1.6;
	color: #4a5562;
}
.podcasts-hub__intro p { margin: 0 0 1em; }
.podcasts-hub__intro p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Show list — alternating image positions for visual rhythm
   --------------------------------------------------------------------- */
.podcasts-hub__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.podcasts-hub__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	align-items: center;
}
@media (min-width: 820px) {
	.podcasts-hub__item {
		grid-template-columns: minmax(320px, 420px) 1fr;
		gap: 64px;
	}
	/* Flip every other row: image right, copy left. */
	.podcasts-hub__item:nth-child(even) {
		grid-template-columns: 1fr minmax(320px, 420px);
	}
	.podcasts-hub__item:nth-child(even) .podcasts-hub__cover-wrap { order: 2; }
	.podcasts-hub__item:nth-child(even) .podcasts-hub__body       { order: 1; }
}

/* ---------------------------------------------------------------------
   Cover art — square, on a decorative tinted backdrop
   --------------------------------------------------------------------- */
.podcasts-hub__cover-wrap {
	position: relative;
	padding: 28px;
}
/* Soft colored tile behind the cover (rotated slightly for a dynamic feel). */
.podcasts-hub__cover-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	margin: 14px;
	background: linear-gradient(135deg, #1e92d6, #16a199);
	border-radius: 18px;
	transform: rotate(-3deg);
	opacity: 0.92;
	z-index: 0;
}
/* Alternate accent colors on even rows. */
.podcasts-hub__item:nth-child(even) .podcasts-hub__cover-wrap::before {
	background: linear-gradient(135deg, #2f6d3a, #16a199);
	transform: rotate(3deg);
}

.podcasts-hub__cover-link {
	position: relative;
	z-index: 1;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 24px 50px rgba(8, 30, 48, 0.22);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.podcasts-hub__cover-link:hover,
.podcasts-hub__cover-link:focus {
	transform: translateY(-4px);
	box-shadow: 0 32px 60px rgba(8, 30, 48, 0.28);
}

.podcasts-hub__cover {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;     /* square cover art */
	background-color: #0b5a82;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
@supports not (aspect-ratio: 1) {
	.podcasts-hub__cover { height: 0; padding-top: 100%; }
}

/* ---------------------------------------------------------------------
   Copy column
   --------------------------------------------------------------------- */
.podcasts-hub__body { min-width: 0; }

.podcasts-hub__host {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1e92d6;
	background: rgba(30, 146, 214, 0.1);
	border-radius: 999px;
}
.podcasts-hub__item:nth-child(even) .podcasts-hub__host {
	color: #2f6d3a;
	background: rgba(47, 109, 58, 0.1);
}

.podcasts-hub__name {
	margin: 0 0 18px;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #0f2030;
}
.podcasts-hub__name a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(transparent 70%, rgba(30, 146, 214, 0.22) 70%);
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition: background-size 0.4s ease;
}
.podcasts-hub__name a:hover,
.podcasts-hub__name a:focus {
	color: inherit;
	text-decoration: none;
	background-size: 100% 100%;
}

.podcasts-hub__description {
	font-size: 17px;
	line-height: 1.65;
	color: #455361;
}
.podcasts-hub__description p { margin: 0 0 1em; }
.podcasts-hub__description p:last-child { margin-bottom: 0; }

.podcasts-hub__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
	padding: 14px 28px;
	background: #0f2030;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, gap 0.2s ease;
}
.podcasts-hub__cta span {
	transition: transform 0.2s ease;
}
.podcasts-hub__cta:hover,
.podcasts-hub__cta:focus {
	background: #1e92d6;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}
.podcasts-hub__cta:hover span,
.podcasts-hub__cta:focus span {
	transform: translateX(4px);
}
.podcasts-hub__item:nth-child(even) .podcasts-hub__cta:hover,
.podcasts-hub__item:nth-child(even) .podcasts-hub__cta:focus {
	background: #2f6d3a;
}

.podcasts-hub__empty {
	text-align: center;
	padding: 80px 0;
	color: #888;
}

/* ---------------------------------------------------------------------
   Mobile tweaks
   --------------------------------------------------------------------- */
@media (max-width: 820px) {
	.podcasts-hub { margin-top: 40px; }
	.podcasts-hub__header { padding-top: 70px; margin-bottom: 50px; }
	.podcasts-hub__heading { font-size: 38px; }
	.podcasts-hub__intro { font-size: 16px; }
	.podcasts-hub__list { gap: 60px; }
	.podcasts-hub__cover-wrap { padding: 18px; max-width: 420px; margin: 0 auto; }
	.podcasts-hub__name { font-size: 28px; }
	.podcasts-hub__description { font-size: 16px; }
}
@media (max-width: 480px) {
	.podcasts-hub__heading { font-size: 30px; }
	.podcasts-hub__name { font-size: 24px; }
}
