/* Health Hero Network - FAQs page only (loaded by functions.php when this page is shown). */

/* Questions on the left, "Watch on BEONDTV+" panel on the right */
.hhn-faq-row > .kt-row-column-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) !important; column-gap: 48px !important; row-gap: 28px !important; align-items: start !important; }
@media (max-width: 1024px) { .hhn-faq-row > .kt-row-column-wrap { grid-template-columns: 1fr !important; } }

/* Questions: native details/summary (core Details block), numbered automatically */
.hhn-faq-list > .wp-block-group__inner-container, .hhn-faq-list.is-layout-flow { display: flex; flex-direction: column; gap: 14px; counter-reset: faq; }
.entry-content .hhn-faq-list .wp-block-details { counter-increment: faq; margin: 0; background: var(--hhn-ink-2); border: 1px solid rgba(245, 241, 234, .14); border-radius: 10px; transition: border-color .25s ease; }
.hhn-faq-list .wp-block-details[open] { border-color: rgba(249, 89, 32, .6); }
.hhn-faq-list .wp-block-details summary { display: flex; align-items: center; gap: 18px; padding: 24px 26px; list-style: none; cursor: pointer; font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; color: var(--hhn-ivory); }
.hhn-faq-list .wp-block-details summary::-webkit-details-marker { display: none; }
.hhn-faq-list .wp-block-details summary::before { content: counter(faq, decimal-leading-zero); flex: 0 0 34px; font-weight: 900; font-size: 15px; letter-spacing: .1em; color: var(--hhn-orange); }
.hhn-faq-list .wp-block-details summary::after {
	content: "";
	flex: 0 0 40px;
	height: 40px;
	margin-left: auto;
	border: 1px solid rgba(245, 241, 234, .45);
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23F5F1EA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
	transition: transform .25s ease, background-color .25s ease;
}
.hhn-faq-list .wp-block-details[open] summary::after {
	transform: rotate(45deg);
	border-color: var(--hhn-orange);
	background: var(--hhn-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%230F1318' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
}
.hhn-faq-list .wp-block-details summary:focus-visible { outline: 2px solid var(--hhn-orange); outline-offset: 2px; border-radius: 10px; }
.entry-content .hhn-faq-list .wp-block-details > :not(summary) { margin: 0; padding: 0 26px 26px 78px; font-size: 17px; line-height: 1.7; color: var(--hhn-text-soft); }
@media (max-width: 1024px) {
	.hhn-faq-list .wp-block-details summary { gap: 14px; padding: 20px 18px; font-size: 19px; }
	.entry-content .hhn-faq-list .wp-block-details > :not(summary) { padding: 0 18px 26px; }
}
@media (prefers-reduced-motion: reduce) { .hhn-faq-list .wp-block-details summary::after { transition: none; } }

/* Orange "Watch on BEONDTV+" panel */
.hhn-watch-aside { position: sticky; top: 24px; overflow: hidden; background: var(--hhn-orange); color: var(--hhn-ink); border-radius: 12px; }
.hhn-watch-aside::before, .hhn-watch-aside::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(15, 19, 24, .25); pointer-events: none; }
.hhn-watch-aside::before { right: -40px; bottom: -40px; width: 220px; height: 220px; }
.hhn-watch-aside::after { right: 10px; bottom: 10px; width: 120px; height: 120px; }
.hhn-watch-aside > .kt-inside-inner-col { position: relative; z-index: 1; padding: 40px 36px !important; }
@media (max-width: 1024px) { .hhn-watch-aside { position: relative; top: 0; } .hhn-watch-aside > .kt-inside-inner-col { padding: 30px 24px !important; } }
.entry-content .hhn-watch-aside .hhn-watch-aside__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hhn-ink); }
.entry-content .hhn-watch-aside .hhn-watch-aside__text { margin: 14px 0 26px; font-size: 17px; line-height: 1.55; color: var(--hhn-ink); }

/* ---- Design match (1.0.12) ---- */
.entry-content .hhn-watch-aside__label { line-height: normal !important; }
/* design: FAQ section bottom 24px plus the band's own top margin */
.entry-content > .hhn-faq-sec.hhn-faq-sec:has(+ .hhn-band) > .kt-row-column-wrap { padding-bottom: 96px !important; }
@media (max-width: 1024px) {
	.entry-content > .hhn-faq-sec.hhn-faq-sec:has(+ .hhn-band) > .kt-row-column-wrap { padding-bottom: 72px !important; }
	/* "Where to watch" card sits above the questions, nudged 24px down like the design */
	.hhn-faq-sec .hhn-watch-aside.hhn-watch-aside { order: -1; position: relative !important; top: 24px !important; }
	.hhn-faq-sec .kt-row-column-wrap.kt-has-2-columns { row-gap: 28px !important; }
}

/* Nov 18: the Where to watch box is now a "Watch now" link to the Watch page */
.hhn-watch-aside.kb-section-has-link { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.hhn-watch-aside.kb-section-has-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hhn-watch-aside h2.wp-block-kadence-advancedheading::after { content: "\2192"; display: inline-block; margin-left: .3em; transition: transform .2s ease; }
.hhn-watch-aside.kb-section-has-link:hover h2.wp-block-kadence-advancedheading::after { transform: translateX(6px); }
