/* HWG Podcast — D1 landing page + single episode.
   Fonts and base colors intentionally inherit from the active theme
   (YOOtheme: Poppins body / Cambon headings). Brand accents below come
   from the site's own palette: terracotta #be7154, deep green #213a2d,
   sand #f3e9dc. */

.hwg-page,
.hwg-browse,
.hwg-episode-single {
	--hwg-terracotta: #be7154;
	--hwg-terracotta-dark: #a35a3f;
	--hwg-cream: #faf6ef;
	--hwg-sand: #f3e9dc;
	--hwg-green: #213a2d;
	--hwg-ink: #2c2620;
	color: var(--hwg-ink);
}

/* Buttons + brand icons */

.hwg-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--hwg-terracotta);
	color: #fff !important;
	padding: 12px 26px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.15s ease;
}

.hwg-btn:hover { background: var(--hwg-terracotta-dark); }

.hwg-btn--ghost {
	background: transparent;
	color: inherit !important;
	border: 1.5px solid currentColor;
}

.hwg-btn--ghost:hover { background: rgba(0, 0, 0, 0.05); }

.hwg-btn--light { background: #fff; color: var(--hwg-terracotta-dark) !important; }
.hwg-btn--light:hover { background: var(--hwg-cream); }

.hwg-icon { width: 20px; height: 20px; flex: none; }
.hwg-btn--ghost .hwg-icon-spotify { color: #1db954; }

/* Full-width layout: drop the YOOtheme sidebar column on the podcast page */
.hwg-fullwidth .uk-width-1-4\@m { display: none; }
.hwg-fullwidth .uk-width-3-4\@m { width: 100%; }

/* Remove the theme's page-title hero banner on the podcast page —
   target only the inner hero section (uk-section-large), NOT the outer
   wrapper section, which also contains the page content. */
.hwg-fullwidth .uk-section-large:has(.el-title) { display: none; }

/* About section */

.hwg-about {
	display: grid;
	grid-template-columns: minmax(260px, 400px) 1fr;
	gap: 56px;
	align-items: center;
	padding: 48px 0;
}

.hwg-about__art img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(44, 38, 32, 0.14);
	display: block;
}

.hwg-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.78rem;
	color: var(--hwg-terracotta-dark);
	font-weight: 600;
}

.hwg-about__title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 10px 0 16px;
}

.hwg-about__copy p { opacity: 0.85; margin-bottom: 14px; }

.hwg-subscribe { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }

/* Apply band */

.hwg-apply {
	background: var(--hwg-terracotta);
	color: #fff;
	border-radius: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	padding: 44px 52px;
	margin: 32px 0 72px;
}

.hwg-apply__title { font-size: 1.8rem; margin: 0; }
.hwg-apply p { opacity: 0.92; margin: 6px 0 0; max-width: 480px; }
.hwg-apply .hwg-btn { white-space: nowrap; }

/* Browse section */

.hwg-section-title { font-size: 2rem; margin-bottom: 6px; }
.hwg-section-sub { opacity: 0.7; margin: 0 0 32px; }
.hwg-browse-section { margin-bottom: 48px; }

.hwg-browse__bar {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.hwg-chip {
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 999px;
	border: 1.5px solid rgba(44, 38, 32, 0.25);
	background: transparent;
	color: var(--hwg-ink);
	transition: all 0.15s ease;
}

.hwg-chip:hover { border-color: var(--hwg-terracotta); color: var(--hwg-terracotta-dark); }
.hwg-chip.is-active { background: var(--hwg-green); border-color: var(--hwg-green); color: #fff; }

.hwg-browse__count { font-size: 0.85rem; opacity: 0.6; margin: 0 0 32px; }

.hwg-browse__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

/* Text-only episode card with ghost episode number */

.hwg-card {
	background: #fff;
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(44, 38, 32, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hwg-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(44, 38, 32, 0.1); }

.hwg-card::after {
	content: attr(data-ghost);
	position: absolute;
	right: 14px;
	bottom: -18px;
	font-size: 5.5rem;
	font-weight: 700;
	color: var(--hwg-terracotta);
	opacity: 0.08;
	pointer-events: none;
	line-height: 1;
}

.hwg-card__link { text-decoration: none; color: inherit; display: block; height: 100%; }

.hwg-card__body {
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
}

.hwg-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.hwg-card__num {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hwg-terracotta);
}

.hwg-card__topic {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hwg-green);
	opacity: 0.7;
	text-align: right;
}

.hwg-card__title { font-size: 1.12rem; line-height: 1.35; margin: 0; }

.hwg-card__meta { font-size: 0.82rem; opacity: 0.6; }

.hwg-card__excerpt { font-size: 0.9rem; opacity: 0.8; flex: 1; margin: 0; }

.hwg-card__listen { font-weight: 600; font-size: 0.9rem; color: var(--hwg-terracotta-dark); }

@media (max-width: 960px) {
	.hwg-browse__grid { grid-template-columns: repeat(2, 1fr); }
	.hwg-about { grid-template-columns: 1fr; gap: 28px; }
	.hwg-apply { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 600px) {
	.hwg-browse__grid { grid-template-columns: 1fr; }
}

/* Single episode */

/* Replace the theme's blog sidebar with the podcast rail on episode pages */
.single-episode .uk-width-1-4\@m { display: none; }
.single-episode .uk-width-3-4\@m { width: 100%; }

.hwg-episode-single {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.hwg-episode-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: start;
}

/* Podcast rail (siloed sidebar) */

.hwg-rail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }

.hwg-rail__box {
	background: #fff;
	border-radius: 16px;
	padding: 22px 24px 24px;
	box-shadow: 0 2px 10px rgba(44, 38, 32, 0.06);
}

.hwg-rail__box--sand { background: var(--hwg-sand); }
.hwg-rail__box--cta { background: var(--hwg-terracotta); color: #fff; }
.hwg-rail__box--cta p { font-size: 0.88rem; opacity: 0.92; margin: 4px 0 14px; }

.hwg-rail__title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 12px;
	letter-spacing: 0.02em;
}

.hwg-rail__list { list-style: none; margin: 0; padding: 0; }

.hwg-rail__list li + li { border-top: 1px solid rgba(44, 38, 32, 0.08); }

.hwg-rail__list a {
	display: block;
	padding: 10px 0;
	text-decoration: none;
	color: inherit;
}

.hwg-rail__list a:hover .hwg-rail__name { color: var(--hwg-terracotta-dark); }

.hwg-rail__num {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hwg-terracotta);
}

.hwg-rail__name { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.35; }

.hwg-rail__dur { display: block; font-size: 0.78rem; opacity: 0.6; }

.hwg-rail__all {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.hwg-rail__subs { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hwg-rail__subs .hwg-btn { font-size: 0.88rem; padding: 10px 20px; }
.hwg-rail__subs .hwg-btn--ghost { color: var(--hwg-ink) !important; }

.hwg-episode-single__header {
	margin-bottom: 1.5rem;
}

.hwg-episode-single__number {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	font-weight: 600;
	opacity: 0.65;
	margin: 0 0 0.25rem;
}

.hwg-episode-single__meta { opacity: 0.65; margin: 0; }

.hwg-episode-single__player { margin: 1.5rem 0; }
.hwg-episode-single__player audio { width: 100%; }

.hwg-episode-single__transcript {
	margin-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 1.5rem;
}

.hwg-episode-single__transcript summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1.1rem;
}

.hwg-episode-single__transcript-body {
	margin-top: 1rem;
	font-size: 0.95rem;
	line-height: 1.7;
	opacity: 0.9;
}

@media (max-width: 900px) {
	.hwg-episode-layout { grid-template-columns: 1fr; }
	.hwg-rail { position: static; }
}
@media (max-width: 600px) {
	.hwg-episode-single__header { flex-direction: column; align-items: flex-start; }
}

/* Screener */

.hwg-screener {
	max-width: 820px;
	margin: 0 auto;
	padding: 24px 0 48px;
	--hwg-terracotta: #be7154;
	--hwg-terracotta-dark: #a35a3f;
	--hwg-sand: #f3e9dc;
	--hwg-green: #213a2d;
	--hwg-ink: #2c2620;
	color: var(--hwg-ink);
}

.hwg-screener h3 { margin: 0 0 12px; }
.hwg-screener h4 { margin: 24px 0 8px; }

.hwg-screener__step,
.hwg-screener__audience,
.hwg-screener__gates,
.hwg-screener__checklist,
.hwg-screener__result,
.hwg-screener__redflags {
	background: #fff;
	border-radius: 16px;
	padding: 28px 32px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(44, 38, 32, 0.06);
}

.hwg-screener__ack {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 16px 0 20px;
	font-weight: 600;
	cursor: pointer;
}

.hwg-screener button[disabled] { opacity: 0.5; cursor: not-allowed; }

.hwg-screener__audience label,
.hwg-screener__gate label {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin: 6px 20px 6px 0;
	cursor: pointer;
}

.hwg-screener__gate { padding: 14px 0; }
.hwg-screener__gate + .hwg-screener__gate { border-top: 1px solid rgba(44, 38, 32, 0.08); }
.hwg-screener__gate p { margin: 0 0 8px; }

.hwg-screener__gate-note {
	background: var(--hwg-sand);
	border-left: 3px solid var(--hwg-terracotta);
	border-radius: 0 10px 10px 0;
	padding: 12px 16px;
	font-size: 0.9rem;
	margin-top: 12px !important;
}

.hwg-screener__hint { opacity: 0.75; font-size: 0.92rem; margin: 0 0 8px; }

.hwg-screener__group {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--hwg-terracotta-dark);
}

.hwg-screener__group small { text-transform: none; letter-spacing: 0; opacity: 0.6; font-weight: 400; }

.hwg-screener__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 16px;
	border: 1.5px solid rgba(44, 38, 32, 0.12);
	border-radius: 12px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hwg-screener__item:hover { border-color: var(--hwg-terracotta); }
.hwg-screener__item:has(:checked) { border-color: var(--hwg-terracotta); background: var(--hwg-sand); }
.hwg-screener__item--context { opacity: 0.85; }
.hwg-screener__item input { margin-top: 4px; }

.hwg-screener__resultbar {
	position: sticky;
	bottom: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: var(--hwg-green);
	color: #fff;
	border-radius: 999px;
	padding: 10px 12px 10px 24px;
	box-shadow: 0 8px 24px rgba(33, 58, 45, 0.35);
	margin-top: 20px;
}

.hwg-screener__resultbar .hwg-btn { white-space: nowrap; }

.hwg-screener__band h3 { color: var(--hwg-terracotta-dark); }

.hwg-screener__clinical {
	font-size: 0.9rem;
	opacity: 0.8;
	border-top: 1px solid rgba(44, 38, 32, 0.1);
	padding-top: 14px;
}

.hwg-screener__next { border-top: 1px solid rgba(44, 38, 32, 0.1); margin-top: 24px; padding-top: 20px; }
.hwg-screener__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0; }
.hwg-screener__pro { font-size: 0.9rem; opacity: 0.8; }

.hwg-screener__redflags {
	background: var(--hwg-sand);
	font-size: 0.88rem;
	line-height: 1.65;
}

@media (max-width: 640px) {
	.hwg-screener__step,
	.hwg-screener__audience,
	.hwg-screener__gates,
	.hwg-screener__checklist,
	.hwg-screener__result,
	.hwg-screener__redflags { padding: 20px; }
	.hwg-screener__resultbar { border-radius: 16px; flex-direction: column; padding: 16px; }
}

/* Screener hero */

.hwg-screener__hero {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: center;
	background: var(--hwg-sand);
	border-radius: 20px;
	padding: 40px 44px;
	margin-bottom: 28px;
}

.hwg-screener__hero-art img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(44, 38, 32, 0.15);
	display: block;
}

.hwg-screener__hero-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	margin: 8px 0 10px;
}

.hwg-screener__hero-copy p { opacity: 0.8; margin: 0 0 18px; }

.hwg-screener__stats { display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.85rem; opacity: 0.75; }
.hwg-screener__stats strong { color: var(--hwg-terracotta-dark); }

@media (max-width: 640px) {
	.hwg-screener__hero { grid-template-columns: 1fr; padding: 28px; text-align: center; }
	.hwg-screener__hero-art { max-width: 200px; margin: 0 auto; }
	.hwg-screener__stats { justify-content: center; }
}

/* Screener landing page */

.hwg-screener { max-width: none; padding: 0; }

.hwg-eyebrow--light { color: #e9c4a8; }

.hwg-land__hero {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 56px;
	align-items: center;
	background: var(--hwg-green);
	color: #fff;
	border-radius: 24px;
	padding: 64px 72px;
	margin-bottom: 0;
}

.hwg-land__hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 10px 0 14px; color: #fff; }
.hwg-land__hero-sub { font-size: 1.15rem; opacity: 0.85; margin: 0 0 26px; }

.hwg-land__hero-art img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
	display: block;
}

.hwg-land__stats {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	margin-top: 28px;
	font-size: 0.85rem;
	opacity: 0.85;
}
.hwg-land__stats strong { color: #e9c4a8; }

.hwg-land__ticker {
	background: var(--hwg-terracotta);
	color: #fff;
	display: flex;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
	padding: 12px 20px;
	margin: 24px 0 0;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.hwg-land__ticker i { opacity: 0.5; font-style: normal; }

.hwg-land__formsection { padding: 64px 0 24px; }

.hwg-land__section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.hwg-land__section-head h2 { font-size: 2rem; margin: 8px 0 8px; }
.hwg-land__section-head p { opacity: 0.75; }

.hwg-land__formsection .hwg-screener__card,
.hwg-land__formsection .hwg-screener__resultbar,
.hwg-land__formsection .hwg-screener__redflags {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}
.hwg-land__formsection .hwg-screener__resultbar { margin-top: 20px; }

.hwg-land__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
	padding: 72px 0;
}

.hwg-land__split--flip .hwg-land__split-media { order: 2; }

.hwg-land__split-media img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 14px 40px rgba(44, 38, 32, 0.12);
	display: block;
}

.hwg-land__split-copy h2 { font-size: 2rem; margin: 8px 0 16px; }
.hwg-land__split-copy p { opacity: 0.85; margin-bottom: 14px; }
.hwg-land__split-copy .hwg-btn { margin-top: 8px; }

.hwg-land__quote {
	background: var(--hwg-green);
	color: #fff;
	border-radius: 24px;
	text-align: center;
	padding: 64px 48px;
	margin: 24px 0;
}

.hwg-land__quote p {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	line-height: 1.45;
	margin: 0 auto;
	max-width: 820px;
	font-style: italic;
}

.hwg-land__twocol {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 48px 0;
}

.hwg-land__card {
	background: #fff;
	border-radius: 20px;
	padding: 36px 40px;
	box-shadow: 0 2px 10px rgba(44, 38, 32, 0.06);
}

.hwg-land__card--green { background: var(--hwg-green); color: #fff; }
.hwg-land__card--green li::marker { color: #e9c4a8; }

.hwg-land__card h3 { margin: 0 0 16px; font-size: 1.25rem; }
.hwg-land__card ul { margin: 0; padding-left: 20px; }
.hwg-land__card li { margin-bottom: 10px; line-height: 1.55; }
.hwg-land__card:not(.hwg-land__card--green) li::marker { color: var(--hwg-terracotta); }

.hwg-land__scoring { padding: 48px 0 24px; }

.hwg-land__bands {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.hwg-land__band {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(44, 38, 32, 0.06);
	border-top: 4px solid var(--hwg-terracotta);
}

.hwg-land__band-range {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--hwg-terracotta-dark);
}

.hwg-land__band h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.hwg-land__band p { font-size: 0.9rem; opacity: 0.8; margin: 0; }

.hwg-land__final {
	background: var(--hwg-terracotta);
	color: #fff;
	border-radius: 24px;
	text-align: center;
	padding: 64px 48px;
	margin: 48px 0 24px;
}

.hwg-land__final h2 { color: #fff; font-size: 2rem; margin: 0 0 8px; }
.hwg-land__final p { opacity: 0.9; margin: 0 0 24px; }
.hwg-land__final .hwg-screener__ctas { justify-content: center; }
.hwg-land__final .hwg-btn--ondark { color: #fff !important; border-color: rgba(255, 255, 255, 0.7); }

@media (max-width: 900px) {
	.hwg-land__hero { grid-template-columns: 1fr; padding: 40px; }
	.hwg-land__hero-art { max-width: 240px; }
	.hwg-land__split { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
	.hwg-land__split--flip .hwg-land__split-media { order: 0; }
	.hwg-land__twocol { grid-template-columns: 1fr; }
	.hwg-land__bands { grid-template-columns: 1fr; }
}
