/* Health Hero Network - Watch page only (loaded by functions.php only where needed). */
/* ---------- Watch page ---------- */
.hhn-watch-hero > .kt-row-column-wrap { grid-template-columns: minmax(0, 1fr) 680px !important; column-gap: 64px; align-items: center !important; }
@media (max-width: 1024px) { .hhn-watch-hero > .kt-row-column-wrap { grid-template-columns: 1fr !important; row-gap: 40px; } }
.entry-content .hhn-watch-hero .hhn-kicker { margin: 0 0 18px; }
.entry-content .hhn-beond { margin: 14px 0 0; font-weight: 900; font-size: 96px; line-height: 1; letter-spacing: -.04em; color: var(--hhn-ivory); }
.hhn-beond .hhn-orange-text, .hhn-beond span { color: var(--hhn-orange); }
@media (max-width: 1024px) { .entry-content .hhn-beond { font-size: 80px; } }
@media (max-width: 767px) { .entry-content .hhn-beond { font-size: 58px; } }
.entry-content .hhn-watch-hero .hhn-intro { margin: 24px 0 0; max-width: 540px; }
.hhn-watch-hero .hhn-btns { margin-top: 30px; }
.hhn-device-note { margin: 36px 0 0 !important; max-width: 540px; display: flex; align-items: center; gap: 24px; background: rgba(23, 28, 35, .8); border: 1px solid rgba(245, 241, 234, .14); border-radius: 10px; padding: 20px 24px; }
.hhn-device-note::before { content: ""; flex: 0 0 96px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 64' fill='none' stroke='%23F95920' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='18' width='18' height='34' rx='3'/%3E%3Crect x='26' y='12' width='22' height='40' rx='3'/%3E%3Crect x='54' y='8' width='38' height='32' rx='3'/%3E%3Cpath d='M50 52h46M62 40v12'/%3E%3C/svg%3E") no-repeat center / contain; }
.hhn-device-note > .wp-block-group__inner-container { flex: 1 1 auto; }
.entry-content .hhn-device-note p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--hhn-text-muted); }
@media (max-width: 480px) { .hhn-device-note { flex-direction: column; align-items: flex-start; gap: 16px; } .hhn-device-note::before { flex-basis: 64px; width: 96px; } }

/* Live player panel */
.hhn-player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: 0 !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
	background: radial-gradient(520px 340px at 88% 8%, rgba(184, 74, 31, .6), rgba(184, 74, 31, 0) 62%), radial-gradient(520px 380px at 0% 100%, rgba(91, 74, 107, .65), rgba(91, 74, 107, 0) 62%), radial-gradient(420px 300px at 60% 110%, rgba(44, 74, 110, .6), rgba(44, 74, 110, 0) 62%), #14171C; }
.hhn-player::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2%; height: 87px; opacity: .95; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6425 -30 13700 844' fill='none' stroke='%23F95920' stroke-width='50' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-6425 495 H175 C230 495 255 560 272 592 C282 612 296 610 303 575 L358 45 L362 685 C385 560 420 335 495 335 C545 335 565 430 580 560 C586 610 600 612 620 575 C645 520 665 495 700 495 H7275'/%3E%3C/svg%3E") no-repeat 50% 0 / 1451px 89px; }
.hhn-player > .wp-block-group__inner-container { position: absolute; inset: 0; }
.entry-content .hhn-live { position: absolute; left: 18px; top: 18px; margin: 0; display: inline-flex; align-items: center; gap: 8px; background: rgba(15, 19, 24, .88); padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--hhn-ivory); z-index: 1; }
.hhn-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--hhn-orange); }
.hhn-player__logo { position: absolute !important; left: 50%; top: 40%; transform: translate(-50%, -50%); height: 36%; margin: 0 !important; }
.hhn-player__logo figure, .hhn-player__logo .wp-block-kadence-image, .hhn-player__logo .kb-image-is-ratio-size { height: 100%; margin: 0; }
.hhn-player__logo img { height: 100% !important; width: auto !important; display: block; }
.entry-content .hhn-player__tag { position: absolute; left: 0; right: 0; top: 66%; margin: 0; text-align: center; font-weight: 900; font-size: clamp(18px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.02em; color: var(--hhn-ivory); }
.hhn-player__tag sup { font-size: .45em; }
.hhn-live-btn { margin-top: 22px; }
.hhn-live-btn .kt-btn-inner-text::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--hhn-orange); margin-right: 12px; vertical-align: 1px; }

/* Device cards */
.hhn-device { background: var(--hhn-ink-2); border-radius: 10px; border-top: 4px solid var(--accent, var(--hhn-orange)); transition: transform .25s ease, box-shadow .25s ease; }
.hhn-device:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hhn-device > .kt-inside-inner-col { padding: 26px 26px 30px !important; }
.entry-content .hhn-device p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--hhn-text-muted); }

/* What to watch tiles (Watch page variants) */
.hhn-tile--ink { background: var(--hhn-ink-2); }
.hhn-tile--ink img { width: 78%; }
.hhn-tile--blush { background: #FFF2EA; }
.hhn-tile--blush img { width: 92%; }
.hhn-tiles--sm .hhn-tile { margin-bottom: 14px; }
.entry-content .hhn-tiles--sm .hhn-logline { margin-top: 6px; font-size: 15px; line-height: 1.55; }
.hhn-devices > .kt-row-column-wrap, .hhn-tiles--sm > .kt-row-column-wrap { row-gap: 20px !important; }
@media (max-width: 767px) { .hhn-player::after { height: 52px; bottom: 3%; background-size: 871px 53px; } .entry-content .hhn-player__tag { top: 62%; } .hhn-player__logo { top: 36%; height: 34%; } }

/* Heartbeat line draw animation, as in the design: draws left to right, holds, repeats every 4.5s.
   Only when the visitor has not asked for reduced motion; otherwise the static line above shows. */
@media (prefers-reduced-motion: no-preference) {
	.hhn-player::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6425 -30 13700 844' fill='none' stroke='%23F95920' stroke-width='50' stroke-linecap='round' stroke-linejoin='round'%3E%3Cstyle%3Epath{stroke-dasharray:1;stroke-dashoffset:1;animation:d 4.5s ease-in-out infinite}@keyframes d{0%25{stroke-dashoffset:1}55%25,100%25{stroke-dashoffset:0}}%3C/style%3E%3Cpath pathLength='1' d='M-3251 495 H175 C230 495 255 560 272 592 C282 612 296 610 303 575 L358 45 L362 685 C385 560 420 335 495 335 C545 335 565 430 580 560 C586 610 600 612 620 575 C645 520 665 495 700 495 H4119'/%3E%3C/svg%3E"); }
}

/* ---------- Coming up: monthly schedule cards (edit the text in the page editor each month) ---------- */
.entry-content .hhn-watch-coming h2 { margin: 0 0 10px; letter-spacing: -.02em; }
.entry-content .hhn-watch-coming .hhn-coming__note { margin: 0 0 32px; font-size: 17px; line-height: 1.6; color: var(--hhn-text-muted); }
.hhn-coming__month .kt-inside-inner-col > h3 { margin: 0 0 6px; }
.hhn-coming__item { padding: 16px 0 0; margin-top: 16px; border-top: 1px solid var(--hhn-rule); }
.hhn-coming__month h3 + .hhn-coming__item { border-top: 0; margin-top: 0; padding-top: 10px; }
.entry-content .hhn-coming__item p { margin: 0; }
.entry-content .hhn-coming__item .hhn-coming__cat { margin-bottom: 6px; font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hhn-orange); }
.entry-content .hhn-coming__item .hhn-coming__title { font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--hhn-ivory); }
.entry-content .hhn-coming__item .hhn-coming__theme { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--hhn-text-muted); }
@media (max-width: 767px) {
	.entry-content .hhn-watch-coming .hhn-coming__note { margin-bottom: 24px; }
}

/* ---- Design match (1.0.12) ---- */
@media (max-width: 1024px) {
	.hhn-watch-hero > .kt-row-column-wrap > .hhn-player-col { order: -1; }
	.hhn-watch-hero > .kt-row-column-wrap { row-gap: 40px !important; }
}
.hhn-player-col .wp-block-kadence-advancedbtn { margin-top: 22px !important; }
@media (max-width: 1024px) {
	.entry-content .hhn-watch-hero .hhn-intro { font-size: 19px; line-height: 1.6; }
}
.entry-content .hhn-player__tag.hhn-player__tag { top: 66%; line-height: normal; }
@media (max-width: 480px) {
	.hhn-device-note.hhn-device-note { flex-direction: row; align-items: center; gap: 24px; }
	.hhn-device-note.hhn-device-note::before { flex-basis: 96px; width: auto; }
}
.hhn-watch-shows .hhn-tile.hhn-tile { margin-bottom: 14px !important; }
.entry-content .hhn-device h3 { line-height: normal !important; }
.hhn-watch-shows .hhn-section-head > .kt-row-column-wrap.kt-row-column-wrap { padding-bottom: 22px !important; }

/* ---------- Nov 18: simplified Watch page (one live panel + availability line) ---------- */
.hhn-watch-simple .wp-block-kadence-column { width: 100%; }
.hhn-watch-simple .kt-inside-inner-col { width: 100%; max-width: 1120px; margin: 0 auto; }
.hhn-watch-simple .wp-block-html, .hhn-player-link { width: 100%; }
.entry-content .hhn-watch-simple .hhn-kicker { margin: 0 0 16px; }
.hhn-player-link { display: block; color: inherit; text-decoration: none; }
.hhn-player-link .hhn-player { background-color: #14171C; }
.hhn-player__img { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); height: 36% !important; width: auto !important; margin: 0; display: block; }
.entry-content .hhn-watch-simple .hhn-player__tag { top: 66%; }
.entry-content .hhn-watch-now { margin: 28px 0 0; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; color: var(--hhn-ivory); }
.entry-content .hhn-watch-now .hhn-orange-text { color: var(--hhn-orange); }
.entry-content .hhn-watch-soon { margin: 8px 0 0; text-align: center; font-size: 16px; line-height: 1.6; color: var(--hhn-text-muted); }

/* Nov 18 (Mark's notes): availability sentence + devices line */
.entry-content .hhn-watch-simple .hhn-watch-now { max-width: 760px; margin: 28px auto 0; font-size: 22px; line-height: 1.45; }
.entry-content .hhn-watch-now a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .entry-content .hhn-watch-simple .hhn-watch-now { font-size: 19px; } }


/* Live feed player (19 Nov): video plays inside the panel; the logo cover shows until it starts */
.hhn-player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; opacity: 0; transition: opacity .4s ease; z-index: 0; }
.hhn-player--live.is-playing .hhn-player__video { opacity: 1; }
.hhn-player__img, .entry-content .hhn-player__tag { z-index: 1; }
.hhn-player--live.is-playing .hhn-player__img, .hhn-player--live.is-playing .hhn-player__tag, .hhn-player--live.is-playing .hhn-player__fallback, .hhn-player--live.is-playing::after { display: none; }
.hhn-player__fallback { position: absolute; inset: 0; z-index: 2; }
.entry-content .hhn-player--live .hhn-live { z-index: 3; pointer-events: none; }
.hhn-unmute { display: none; position: absolute; right: 18px; top: 18px; z-index: 3; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--hhn-orange); color: #fff; padding: 8px 14px; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hhn-unmute::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4V5Z'/%3E%3Cpath d='m23 9-6 6M17 9l6 6'/%3E%3C/svg%3E") no-repeat center / contain; }
.hhn-player--live.is-playing:not(.is-unmuted) .hhn-unmute { display: inline-flex; }
@media (max-width: 767px) { .entry-content .hhn-player--live .hhn-live, .hhn-unmute { top: 10px; font-size: 11px; padding: 6px 10px; } .entry-content .hhn-player--live .hhn-live { left: 10px; } .hhn-unmute { right: 10px; } }
