/* Health Hero Network - Cause Celebre and Health Hero Stories pages (loaded by functions.php only where needed). */
/* Cause Celebre hero: text left, logo art panel right */
.hhn-cc-hero > .kt-row-column-wrap { grid-template-columns: minmax(0, 1fr) 640px !important; column-gap: 64px; align-items: center !important; }
.hhn-art-panel { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background-color: var(--hhn-ink-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hhn-art-panel > .kt-inside-inner-col { height: 100%; display: flex; align-items: center; justify-content: center; }
.hhn-art-panel figure, .hhn-art-panel .wp-block-kadence-image { margin: 0; width: 58%; }
.hhn-art-panel img { width: 100%; height: auto; display: block; }
@media (max-width: 1024px) { .hhn-cc-hero > .kt-row-column-wrap { grid-template-columns: 1fr !important; row-gap: 40px; } }

/* Guest cards: 4 / 2 / 1 per row */
.hhn-guests > .wp-block-group__inner-container, .hhn-guests.is-layout-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .hhn-guests > .wp-block-group__inner-container, .hhn-guests.is-layout-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hhn-guests > .wp-block-group__inner-container, .hhn-guests.is-layout-flow { grid-template-columns: 1fr; } }
.entry-content .hhn-guests .hhn-guest { margin: 0; }
.hhn-guest { background-color: var(--hhn-ink-2); border-radius: 10px; overflow: hidden; }
.hhn-guest > .kt-inside-inner-col { padding: 0 !important; }
.hhn-guest__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #14171C; margin: 0 !important; }
.hhn-guest__media > .wp-block-group__inner-container { height: 100%; }
.hhn-guest__media figure, .hhn-guest__media .wp-block-kadence-image { margin: 0; height: 100%; }
.hhn-guest__media img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 12%; display: block; }
.hhn-guest__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, rgba(15, 19, 24, .92), rgba(15, 19, 24, 0)); pointer-events: none; }
.entry-content .hhn-guest__name { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; margin: 0; font-weight: 900; font-size: 28px; line-height: 1.05; letter-spacing: -.03em; color: var(--hhn-ivory); }
.hhn-guest__body { border-top: 5px solid var(--accent, var(--hhn-orange)); padding: 22px 22px 28px; margin: 0 !important; }
.entry-content .hhn-guest__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--hhn-text-muted); }

/* Health Hero Stories hero */
.hhn-hhs-head > .kt-row-column-wrap { grid-template-columns: minmax(0, 1fr) auto !important; column-gap: 40px; align-items: start !important; }
.hhn-series-logo figure, .hhn-series-logo.wp-block-kadence-image { margin: 0 0 20px; }
.hhn-series-logo img { width: 560px; max-width: 100%; height: auto; display: block; }
.entry-content .hhn-pill { display: inline-block; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(245, 241, 234, .4); color: var(--hhn-ivory); }
.hhn-trailer { margin: 44px 0 0 !important; }
.hhn-trailer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); display: block; }
@media (max-width: 767px) { .hhn-hhs-head > .kt-row-column-wrap { grid-template-columns: 1fr !important; row-gap: 12px; } .hhn-trailer { margin-top: 28px !important; } }

/* Episodes: text and two vertical thumbnails, alternating sides */
.hhn-ep > .kt-row-column-wrap { grid-template-columns: minmax(0, 1fr) 440px !important; column-gap: 72px; align-items: center !important; }
.hhn-ep.hhn-ep--rev > .kt-row-column-wrap { grid-template-columns: 440px minmax(0, 1fr) !important; }
.hhn-ep + .hhn-ep { border-top: 1px solid var(--hhn-rule); }
@media (max-width: 1024px) {
	.hhn-ep > .kt-row-column-wrap, .hhn-ep.hhn-ep--rev > .kt-row-column-wrap { grid-template-columns: 1fr !important; row-gap: 32px; }
	.hhn-ep .hhn-ep__media { order: 2; }
}
.entry-content .hhn-ep__num { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hhn-orange); }
.hhn-ep__num::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent, var(--hhn-orange)); }
.entry-content .hhn-ep__text { margin: 16px 0 0; max-width: 620px; font-size: 17px; line-height: 1.65; color: var(--hhn-text-muted); }
.hhn-thumbs > .wp-block-group__inner-container, .hhn-thumbs.is-layout-flow { display: flex; gap: 14px; }
.hhn-thumbs { max-width: 440px; margin: 0 auto !important; width: 100%; }
@media (max-width: 1024px) { .hhn-thumbs { max-width: 420px; } }
.hhn-thumb { position: relative; flex: 1 1 0; min-width: 0; margin: 0 !important; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #14171C; }
.hhn-thumb a { display: block; height: 100%; }
.hhn-thumb img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: opacity .2s ease; }
.hhn-thumb:hover img { opacity: .88; }
.hhn-thumb::after, .hhn-reel::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 46px;
	height: 46px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--hhn-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 2l8 5-8 5z' fill='%230F1318'/%3E%3C/svg%3E") no-repeat 56% 50% / 15px 15px;
	pointer-events: none;
}
.hhn-reel { position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 9 / 16; border-radius: 8px; border: 1.5px dashed rgba(245, 241, 234, .3); background: rgba(23, 28, 35, .7); margin: 0 !important; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; }
.hhn-reel::before { position: static; transform: none; width: 42px; height: 42px; margin-bottom: 8px; }
.hhn-reel > .wp-block-group__inner-container { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.entry-content .hhn-reel__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--hhn-orange); }
.entry-content .hhn-reel__note { margin: 0; font-size: 13px; color: var(--hhn-text-muted); }
/* ---------- Design-match pass (Cause Celebre) ---------- */
/* Cards wrap and the last row is centred, as in the design */
.hhn-guests > .wp-block-group__inner-container, .hhn-guests.is-layout-flow { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 24px; }
.hhn-guests .hhn-guest { width: calc(25% - 18px); flex: 0 0 auto; }
@media (max-width: 1024px) { .hhn-guests .hhn-guest { width: calc(50% - 12px); } }
@media (max-width: 767px) { .hhn-guests .hhn-guest { width: 100%; } }
.entry-content .hhn-cc-hero .hhn-kicker { margin-bottom: 18px; }
.hhn-cc-hero h1.wp-block-kadence-advancedheading { line-height: .98 !important; margin-bottom: 24px !important; }
.hhn-cc-guests h2.wp-block-kadence-advancedheading { line-height: 1.04 !important; margin-bottom: 36px !important; }
.entry-content .hhn-guest__name { line-height: 1 !important; }
.entry-content .hhn-guest__body p { line-height: 1.65; }
.hhn-cc-hero .hhn-btns { margin-top: 30px !important; }
.entry-content > .hhn-cc-guests.hhn-cc-guests:has(+ .hhn-band) > .kt-row-column-wrap { padding-bottom: 96px !important; }
@media (max-width: 1024px) {
	.entry-content > .hhn-cc-guests.hhn-cc-guests:has(+ .hhn-band) > .kt-row-column-wrap { padding-bottom: 72px !important; }
	.entry-content .hhn-cc-hero .hhn-intro { font-size: 18px; }
}
@media (max-width: 1024px) { .hhn-cc-guests h2.wp-block-kadence-advancedheading { margin-bottom: 28px !important; } }
/* ---------- Design-match pass (Health Hero Stories) ---------- */
.entry-content .hhn-hhs-hero .hhn-kicker { margin-bottom: 18px; }
.hhn-hhs-head > .kt-row-column-wrap, .hhn-hhs-head.kt-row-column-wrap { align-items: flex-end !important; }
.entry-content .hhn-ep__num { line-height: normal; margin-bottom: 14px; }
.entry-content .hhn-ep__text { margin-top: 20px; line-height: 1.7; }
.hhn-ep .hhn-btns { margin-top: 26px !important; }
.entry-content .hhn-hhs-hero .hhn-intro { line-height: 1.65; }
.hhn-hhs-head .hhn-pill { line-height: normal; }
.entry-content .hhn-hhs-hero .hhn-intro { margin-top: 28px !important; }
.hhn-hhs-hero figure.hhn-series-logo, .hhn-hhs-hero .hhn-series-logo { margin-bottom: 0 !important; }
.hhn-ep h2.wp-block-kadence-advancedheading { line-height: 1.02 !important; }
@media (max-width: 1024px) {
	.hhn-hhs-hero .hhn-series-logo img { width: 440px !important; max-width: 100%; }
	.entry-content .hhn-hhs-hero .hhn-intro { font-size: 18px; }
	.hhn-hhs-hero .hhn-trailer { margin-top: 32px !important; }
	.hhn-ep > .kt-row-column-wrap { grid-template-columns: minmax(0, 1fr) !important; row-gap: 32px !important; padding-top: 44px !important; padding-bottom: 44px !important; }
	.hhn-ep .hhn-thumbs { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
	.hhn-ep.hhn-ep--rev > .kt-row-column-wrap > .wp-block-kadence-column:first-child { order: 2; }
}
@media (max-width: 767px) {
	.hhn-hhs-hero .hhn-series-logo img { width: 320px !important; }
}
/* Reel placeholders: the design's 9:16 box is the content box, inside 8px padding and a 1.5px dashed border */
.hhn-reel { box-sizing: content-box !important; border-width: 1.5px !important; }
@media (max-width: 1024px) { .hhn-hhs-head > .kt-row-column-wrap { row-gap: 20px !important; } }

/* ---------- Nov 18: Health Hero Stories in the Cause Celebre layout (highlight reel cards) ---------- */
.hhn-art-panel--orange { background-color: #F95920; }
.hhn-art-panel--orange figure, .hhn-art-panel--orange .wp-block-kadence-image { width: 100%; }
.entry-content .hhn-hhs-hero2 .hhn-intro { margin: 0; max-width: 600px; font-size: 19px; line-height: 1.6; color: #D8D2C7; }
@media (max-width: 1024px) { .entry-content .hhn-hhs-hero2 .hhn-intro { font-size: 18px; } }
.hhn-reel-grid > .wp-block-group__inner-container, .hhn-reel-grid.is-layout-flow { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 24px; }
.entry-content .hhn-reel-grid .hhn-reel-card { margin: 0; width: calc((100% - 48px) / 3); flex: 0 0 auto; display: flex; }
@media (max-width: 1024px) { .entry-content .hhn-reel-grid .hhn-reel-card { width: calc((100% - 24px) / 2); } }
@media (max-width: 767px) { .entry-content .hhn-reel-grid .hhn-reel-card { width: 100%; } }
.hhn-reel-card { background-color: var(--hhn-ink-2); border-radius: 10px; overflow: hidden; }
.hhn-reel-card > .kt-inside-inner-col { padding: 0 !important; display: flex; flex-direction: column; width: 100%; }
.entry-content .hhn-reel-card__media { position: relative; aspect-ratio: 540 / 560; overflow: hidden; background: #14171C; margin: 0 !important; border-bottom: 5px solid var(--hhn-orange); box-sizing: content-box; }
.hhn-reel-card__media figure, .hhn-reel-card__media .wp-block-kadence-image { margin: 0; }
.hhn-reel-card--poster .hhn-reel-card__media img { display: block; width: 100%; height: auto !important; margin-top: -19.4%; }
.hhn-reel-card--photo .hhn-reel-card__media figure { position: absolute; inset: 0; }
.hhn-reel-card--photo .hhn-reel-card__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.hhn-reel-card--logo .hhn-reel-card__media { background: #F95920; }
.hhn-reel-card--logo .hhn-reel-card__media figure { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 18%; }
.hhn-reel-card--logo .hhn-reel-card__media img { width: 78%; height: auto; display: block; }
.hhn-reel-card__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(to top, rgba(15, 19, 24, .94), rgba(15, 19, 24, 0)); pointer-events: none; }
.entry-content .hhn-reel-card__cap { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; margin: 0; }
.entry-content .hhn-reel-card__cap p { margin: 0; }
.entry-content .hhn-reel-card__kicker { margin-bottom: 8px !important; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hhn-orange); line-height: normal; }
.entry-content .hhn-reel-card__title { font-weight: 900; font-size: 28px; letter-spacing: -.03em; line-height: 1.02; color: var(--hhn-ivory); }
.entry-content .hhn-reel-card__body { padding: 22px 22px 28px; margin: 0 !important; flex: 1 1 auto; }
.entry-content .hhn-reel-card__body p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--hhn-text-muted); }

/* Nov 18 (Mark's notes): "Premieres soon" label pinned to the bottom of each card, not clickable */
.entry-content .hhn-reel-card__body { display: flex; flex-direction: column; }
.entry-content .hhn-reel-card__body .hhn-reel-card__pill { align-self: flex-start; margin-top: auto; padding-top: 0; display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: normal; color: var(--hhn-ivory); border: 1px solid rgba(245, 241, 234, .4); border-radius: 999px; padding: 10px 16px; }
.entry-content .hhn-reel-card__body p + .hhn-reel-card__pill { margin-top: auto; }
.entry-content .hhn-reel-card__body .hhn-reel-card__spacer { flex: 1 1 auto; min-height: 20px; margin: 0; }

.hhn-reel-card > .kt-inside-inner-col { flex: 1 1 auto; }
.entry-content .hhn-reel-card__body > .wp-block-group__inner-container { display: flex; flex-direction: column; flex: 1 1 auto; }
