/* ============================================================
   Bluewater Cruising — Podcast section  (MOBILE-FIRST)
   Brand-aligned per 01_shared_knowledge/marketing/drafts/brand_guide.md
   Font: Montserrat. Palette: brand blues + CTA yellow.
   GENERATED PAGES use this file — edit here, then run the build.
   ============================================================ */

:root {
	--navy: #03172f;
	--ocean: #0063a3;
	--deep: #445c90;
	--mid: #6598c8;
	--pale: #c2d1e9;
	--cta: #f3c125;
	--cta-dk: #d9a90f;
	--ink: #16293d;
	--muted: #51606f;
	--tint: #eef3f9;
	--line: #e1e8ef;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 18px 44px rgba(3, 23, 47, 0.14);
	--maxw: 1180px;
}

.podcast {
	/* Break out of the 1200px .page column so the hero and bands run edge to edge.
	   No transform: the transcript button is position: fixed and needs none above it. */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	font-family:
		"Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.podcast *,
.podcast *::before,
.podcast *::after {
	box-sizing: border-box;
}
:where(.podcast) h1,
:where(.podcast) h2,
:where(.podcast) h3 {
	font-family: "Montserrat", sans-serif;
	line-height: 1.14;
	margin: 0 0 0.5em;
	color: var(--navy);
}
:where(.podcast) h1 {
	font-size: clamp(1.85rem, 6vw, 2.9rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.005em;
}
:where(.podcast) h2 {
	font-size: clamp(1.45rem, 4.6vw, 2.1rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.005em;
}
:where(.podcast) h3 {
	font-size: 1.1rem;
	font-weight: 700;
}
:where(.podcast) p {
	margin: 0 0 1rem;
}
:where(.podcast) img {
	max-width: 100%;
	height: auto;
	display: block;
}
:where(.podcast) a {
	color: var(--ocean);
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 22px;
}
.container.narrow {
	max-width: 760px;
}
.tint {
	background: var(--tint);
}
.section {
	padding: clamp(54px, 7vw, 84px) 0;
}
.center {
	text-align: center;
}
.lead {
	font-size: 1.08rem;
	color: var(--muted);
}
.center .lead {
	margin-left: auto;
	margin-right: auto;
	max-width: 60ch;
}

.kicker {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 0.76rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ocean);
	margin: 0 0 0.8rem;
}

/* ---------- Buttons ---------- */
.btn-outline {
	display: inline-block;
	border: 2px solid var(--ocean);
	color: var(--ocean);
	font-family: "Montserrat", sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 1rem;
	padding: 14px 30px;
	border-radius: 999px;
	transition:
		background 0.15s ease,
		color 0.15s ease;
}
.btn-outline:hover {
	background: var(--ocean);
	color: #fff;
}

/* ---------- Hero (dark) ---------- */
.hero {
	position: relative;
	background:
		linear-gradient(rgba(3, 23, 47, 0.84), rgba(3, 23, 47, 0.92)),
		url("hero-bg-dark-1920x1080.webp");
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: clamp(28px, 6vw, 48px) 0 clamp(36px, 6vw, 60px);
}
.hero-inner {
	width: 100%;
}
.hero .kicker {
	color: var(--cta);
}
.podcast .hero h1 {
	color: #fff;
	margin-top: 20px;
}

/* hero layout: single column on mobile, video + text side-by-side on desktop */
.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
}
.hero-media {
	min-width: 0;
}
.hero-text {
	min-width: 0;
}
@media (min-width: 880px) {
	.hero-grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 40px;
		align-items: center;
	}
	.podcast .hero-text h1 {
		margin-top: 0;
	}
}
.hero .sub {
	font-size: 1.1rem;
	font-weight: 500;
	color: #eaf1f8;
	margin: 0;
	max-width: 64ch;
}
.latest-banner {
	width: 100%;
	background: var(--cta);
	color: #fff;
	font-weight: 800;
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	padding: 9px 14px;
	border-radius: 8px;
	margin: 0 0 14px;
}

/* episode meta line */
.ep-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
	color: var(--mid);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 18px 0 0.4rem;
}
.ep-meta .pipe {
	color: rgba(255, 255, 255, 0.3);
}
.latest-banner .pipe {
	color: rgba(3, 23, 47, 0.35);
}

/* ---------- Responsive YouTube video ---------- */
.video-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--navy);
	margin: 4px 0 8px;
}
.video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Follow guest pill ---------- */
.follow-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 11px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	transition: background 0.15s ease;
}
.follow-pill:hover {
	background: rgba(255, 255, 255, 0.18);
}
.follow-pill svg {
	color: #ff0000;
	flex-shrink: 0;
}

/* ---------- In this episode + resource (light, 2-col on desktop) ---------- */
.ep-detail {
	background: #fff;
}
.detail-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	align-items: start;
}
.detail-notes h2 {
	margin-bottom: 1.1rem;
}
.notes {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
}
.notes li {
	position: relative;
	padding-left: 34px;
	font-size: 1.06rem;
	color: var(--ink);
}
.notes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ocean);
	-webkit-mask:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>")
		center / 15px no-repeat;
	mask:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>")
		center / 15px no-repeat;
}

/* ---------- Podcast library / archive ---------- */
.archive {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-top: 28px;
}
.ep-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(3, 23, 47, 0.06);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
	color: var(--ink);
}
.ep-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(3, 23, 47, 0.16);
}
.ep-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--navy) center / cover no-repeat;
}
.ep-thumb .ep-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(243, 193, 37, 0.94);
	color: var(--navy);
	display: grid;
	place-items: center;
	font-size: 1rem;
}
.ep-card-body {
	padding: 16px 18px 20px;
}
.ep-tag {
	display: block;
	color: var(--ocean);
	font-weight: 700;
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.ep-card h3 {
	color: var(--navy);
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.25;
}
/* Latest episode on the hub: the video plays in place, beside the text from tablet width up.
   The 16:9 wrapper reserves the video's height before the iframe loads, so nothing shifts. */
.latest-wrap {
	margin-top: 28px;
}
.latest-ep {
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(3, 23, 47, 0.06);
	color: var(--ink);
}
.latest-ep .video-wrap {
	margin: 0;
	border-radius: 0;
	box-shadow: none;
}
.latest-ep h3 {
	color: var(--navy);
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.25;
}
@media (min-width: 760px) {
	.latest-ep {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: center;
	}
	.latest-ep .ep-card-body {
		padding: 28px 32px;
	}
	.latest-ep h3 {
		font-size: 1.4rem;
	}
}
.lib-cta {
	text-align: center;
	margin-top: 30px;
}

/* ---------- Per-episode resource callout (right column) ---------- */
.resource-card {
	background: var(--tint);
	border-left: 4px solid var(--ocean);
	border-radius: 0;
	padding: 22px 26px;
}
.resource-card p {
	color: var(--ink);
	margin: 0 0 16px;
}
.resource-card .btn-outline {
	font-size: 0.92rem;
	padding: 11px 24px;
}

/* ---------- Transcript dropdown (full width, merges with "In this episode") ---------- */
.transcript {
	background: #fff;
	padding-top: 1.4rem;
}
.ep-detail:has(+ .transcript) {
	padding-bottom: 0;
}
.transcript-box {
	border-top: 1px solid var(--line);
}
.transcript-box summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--navy);
	padding: 20px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.transcript-box summary::-webkit-details-marker {
	display: none;
}
.transcript-box summary::after {
	content: "+";
	color: var(--ocean);
	font-size: 1.5rem;
	font-weight: 700;
}
.transcript-box[open] summary::after {
	content: "\2013";
}
.transcript-body {
	padding: 4px 0 8px;
	color: var(--muted);
}
.transcript-body p {
	margin: 0 0 1rem;
}
.transcript-close {
	display: block;
	margin: 28px auto 4px;
}
.transcript-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 60;
	background: var(--navy);
	color: #fff;
	border: none;
	font-family: "Montserrat", sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.78rem;
	padding: 12px 20px;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(3, 23, 47, 0.32);
}
.transcript-float:hover {
	background: var(--ocean);
}
.transcript-float[hidden] {
	display: none;
}

/* ---------- Compass Call CTA band (calendar only, no button) ---------- */
.cc-cta {
	background: var(--ocean);
	color: #eaf3fb;
}
.cc-cta .kicker {
	color: var(--cta);
}
.cc-cta h2 {
	color: #fff;
}
.cc-cta .lead {
	color: #eaf3fb;
}
.cc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	align-items: start;
}
.cal-card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 12px;
}
.cal-card .cal-head {
	padding: 10px 12px 4px;
}
.cal-card .cal-head strong {
	color: var(--navy);
	font-size: 1.05rem;
}
.cal-card .cal-head span {
	display: block;
	color: var(--muted);
	font-size: 0.86rem;
	font-weight: 600;
}

/* ============================================================
   DESKTOP / TABLET adaptation (mobile-first base above)
   ============================================================ */
@media (min-width: 880px) {
	.cc-grid {
		grid-template-columns: 1fr 1fr;
		gap: 44px;
	}
	.archive {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
	.detail-grid.two-col {
		grid-template-columns: 1.6fr 1fr;
		gap: 44px;
	}
}

/* Hide the duration on small screens so the meta line stays on one row */
@media (max-width: 560px) {
	.meta-dur {
		display: none;
	}
}

/* shared.css turns every link grey-blue on hover; keep these on their own colors. */
.podcast .btn-outline:hover,
.podcast .follow-pill:hover {
	color: #fff;
}
.podcast .ep-card:hover {
	color: var(--ink);
}

/* Footer social links: icon-only in the site footer, so give each a text name for screen readers. */
.site-footer .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
