/* ==========================================================================
   v0.3.18 Video / YouTube post (single-video.php). Source: batch6
   hireua-youtube-post-template-v1.html. Buttons darken their own colour.
   ========================================================================== */
.hu-tpl-video { background: var(--hu-white); color: var(--hu-ink); }
.hu-video-wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.hu-video-kicker, .hu-video-eyebrow { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; color: var(--hu-blue); }

/* Hero */
.hu-video-hero { padding: 58px 0 70px; background: linear-gradient(135deg, var(--hu-navy) 0%, var(--hu-navy-mid) 100%); color: var(--hu-white); }
.hu-video-eyebrow { color: var(--hu-yellow); }
.hu-video-title { max-width: 1100px; margin: 13px 0 20px; color: var(--hu-white); font-size: clamp(40px, 4.6vw, 66px); font-weight: 800; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.hu-video-title.is-long { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.02; }
.hu-video-dek { max-width: 760px; margin: 0 0 22px; color: var(--hu-on-dark); font-size: 17px; line-height: 1.62; }
.hu-video-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hu-video-meta li { padding: 7px 10px; border: 1px solid rgba(var(--hu-white-rgb), .14); border-radius: 999px; color: #C4D0DF; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hu-video-shell { margin-top: 34px; overflow: hidden; border: 1px solid rgba(var(--hu-white-rgb), .12); border-radius: 11px; background: #020713; box-shadow: 0 25px 70px rgba(0, 0, 0, .25); }
.hu-video-frame { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 70% 35%, rgba(var(--hu-yellow-rgb), .14), transparent 28%), linear-gradient(135deg, rgba(var(--hu-blue-rgb), .25), transparent), var(--hu-navy-hover); }
.hu-video-frame iframe, .hu-video-frame img, .hu-video-facade { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.hu-video-frame img { object-fit: cover; }
.hu-video-facade { cursor: pointer; }
.hu-video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--hu-navy-rgb), 0) 55%, rgba(var(--hu-navy-rgb), .35)); }
.hu-video-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 88px; height: 88px; border-radius: 999px; background: var(--hu-yellow); box-shadow: 0 15px 40px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); transition: background-color .16s ease, transform .16s ease; }
.hu-video-play::before { content: ""; position: absolute; top: 50%; left: 54%; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--hu-navy); transform: translate(-50%, -50%); }
.hu-video-facade:is(:hover, :focus-visible) .hu-video-play { background: var(--hu-yellow-hover); transform: translate(-50%, -50%) scale(1.04); }
.hu-video-facade:focus-visible { outline: 3px solid var(--hu-yellow); outline-offset: -3px; }
.hu-video-frame.is-empty { display: grid; place-items: center; }
.hu-video-missing { position: relative; z-index: 2; max-width: 80%; text-align: center; }

/* Summary + sticky CTA */
.hu-video-body { padding: 76px 0 86px; }
.hu-video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.hu-video-summary { max-width: 760px; min-width: 0; }
.hu-video-summary h2 { margin: 8px 0 18px; color: var(--hu-navy); font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.hu-video-summary > p:not(.hu-video-kicker) { margin: 0 0 17px; color: var(--hu-text-body); font-size: 17px; line-height: 1.72; }
.hu-video-summary > p a { color: var(--hu-blue); }
.hu-video-summary > p a:hover { color: var(--hu-blue-dark); }
.hu-video-points { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: hu-pt; }
.hu-video-points li { position: relative; padding: 17px 18px 17px 56px; border: 1px solid var(--hu-line); border-radius: 7px; background: var(--hu-white); color: var(--hu-ink); font-size: 15px; font-weight: 700; line-height: 1.45; counter-increment: hu-pt; }
.hu-video-points li::before { content: counter(hu-pt, decimal-leading-zero); position: absolute; top: 16px; left: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--hu-navy); color: var(--hu-white); font-size: 10px; font-weight: 900; }
.hu-video-side { position: sticky; top: 112px; }
.admin-bar .hu-video-side { top: 144px; }
.hu-video-cta { padding: 24px; border-radius: 9px; background: var(--hu-yellow); color: var(--hu-navy); }
.hu-video-cta .hu-video-kicker { color: var(--hu-navy); }
.hu-video-cta h3 { margin: 10px 0; color: var(--hu-navy); font-size: 25px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.hu-video-cta p:not(.hu-video-kicker) { margin: 0 0 18px; color: var(--hu-on-yellow); font-size: 13px; line-height: 1.55; }
.hu-video-cta-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 16px; border-radius: 5px; background: var(--hu-navy); color: var(--hu-white) !important; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background-color .16s ease; }
.hu-video-cta-btn:is(:hover, :focus-visible, :active) { background: var(--hu-navy-hover); }

/* Full notes (long posts) */
.hu-video-notes { margin-top: 30px; border: 1px solid var(--hu-line); border-radius: 9px; background: var(--hu-surface); }
.hu-video-notes > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: var(--hu-navy); font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; border-radius: 9px; transition: background-color .16s ease; }
.hu-video-notes > summary::-webkit-details-marker { display: none; }
.hu-video-notes > summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--hu-navy); color: var(--hu-white); font-size: 18px; line-height: 1; }
.hu-video-notes[open] > summary::after { content: "–"; }
.hu-video-notes > summary:hover { background: var(--hu-surface-2); }
.hu-video-notes > summary small { margin-left: auto; color: var(--hu-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hu-video-notes-body { padding: 4px 22px 24px; background: var(--hu-white); border-top: 1px solid var(--hu-line); border-radius: 0 0 9px 9px; color: var(--hu-text-body); font-size: 16px; line-height: 1.72; overflow-wrap: anywhere; }
.hu-video-notes-body > * { max-width: 100%; }
.hu-video-notes-body :is(h2, h3, h4) { margin: 30px 0 10px; color: var(--hu-navy); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.hu-video-notes-body h2 { font-size: 27px; }
.hu-video-notes-body h3 { font-size: 21px; }
.hu-video-notes-body p, .hu-video-notes-body ul, .hu-video-notes-body ol { margin: 0 0 16px; }
.hu-video-notes-body a { color: var(--hu-blue); }
.hu-video-notes-body a:hover { color: var(--hu-blue-dark); }
.hu-video-notes-body img { max-width: 100%; height: auto; border-radius: 6px; }
.hu-video-notes-body figure { margin: 20px 0; }
.hu-video-notes-body iframe { max-width: 100%; }
.hu-video-notes-body .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.hu-video-notes-body .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hu-video-notes-body .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.hu-video-notes-body .wp-block-gallery figure { flex: 1 1 30%; margin: 0; }
.hu-video-notes-body blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--hu-yellow); color: var(--hu-ink); font-weight: 600; }

/* Watch next */
.hu-video-next { padding: 76px 0 86px; border-top: 1px solid var(--hu-line); background: var(--hu-surface); }
.hu-video-next-head { margin-bottom: 28px; }
.hu-video-next-head h2 { margin: 8px 0 0; color: var(--hu-navy); font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; }
.hu-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hu-video-card { position: relative; overflow: hidden; border: 1px solid var(--hu-line); border-radius: 9px; background: var(--hu-white); transition: transform .16s ease, box-shadow .16s ease; }
.hu-video-card:hover { transform: translateY(-2px); box-shadow: 0 13px 35px rgba(var(--hu-navy-rgb), .1); }
.hu-video-card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hu-navy); }
.hu-video-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hu-video-card:hover .hu-video-card-thumb img { transform: scale(1.03); }
.hu-video-card-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(var(--hu-navy-rgb), .18); }
.hu-video-card-thumb.is-fallback { background: radial-gradient(circle at 80% 20%, rgba(var(--hu-blue-rgb), .5), transparent 55%), linear-gradient(135deg, var(--hu-navy), var(--hu-navy-2)); }
.hu-video-play--sm { width: 54px; height: 54px; }
.hu-video-play--sm::before { border-width: 10px 0 10px 16px; }
.hu-video-card:hover .hu-video-play { background: var(--hu-yellow-hover); }
.hu-video-card-body { padding: 16px 17px 18px; }
.hu-video-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; background: var(--hu-yellow); color: var(--hu-navy); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hu-video-card h3 { margin: 10px 0 0; color: var(--hu-navy); font-size: 19px; font-weight: 800; line-height: 1.16; letter-spacing: -.03em; }
.hu-video-card h3 a { color: inherit; text-decoration: none; }
.hu-video-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.hu-video-card:hover h3 { color: var(--hu-blue-dark); }

@media (max-width: 900px) {
	.hu-video-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hu-video-side { position: static; }
	.hu-video-summary { max-width: none; }
	.hu-video-grid { grid-template-columns: minmax(0, 1fr); }
	.hu-video-body, .hu-video-next { padding: 48px 0 56px; }
}
@media (max-width: 600px) {
	.hu-video-wrap { width: calc(100% - 32px); }
	.hu-video-hero { padding: 36px 0 34px; }
	.hu-video-title, .hu-video-title.is-long { margin: 10px 0 14px; font-size: clamp(32px, 9.4vw, 42px); line-height: 1.02; }
	.hu-video-dek { margin-bottom: 16px; font-size: 16px; }
	.hu-video-meta li { padding: 6px 9px; font-size: 10px; }
	.hu-video-shell { margin-top: 22px; border-radius: 9px; }
	.hu-video-play { width: 66px; height: 66px; }
	.hu-video-play::before { border-width: 12px 0 12px 19px; }
	.hu-video-summary h2 { margin-bottom: 14px; font-size: 30px; }
	.hu-video-summary > p:not(.hu-video-kicker) { font-size: 16px; }
	.hu-video-points li { padding: 15px 15px 15px 50px; font-size: 14.5px; }
	.hu-video-points li::before { left: 14px; top: 14px; }
	.hu-video-notes > summary { padding: 16px; }
	.hu-video-notes-body { padding: 2px 16px 20px; }
	.hu-video-next-head { margin-bottom: 18px; }
	.hu-video-next-head h2 { font-size: 34px; }
}
/* Buttons inside the full notes (post content): never wider than the column. */
.hu-video-notes-body .wp-block-button__link { max-width: 100%; white-space: normal !important; text-align: center; }

/* v0.3.18 Hero style (inc/hero-style.php): Default Dark; Electric Yellow / White on request. */
.hu-video-hero.is-hero-custom:is(.hu-hero--yellow, .hu-hero--white) { background: var(--hero-bg); color: var(--hero-fg); border-bottom: 1px solid var(--hero-edge); }
.hu-video-hero.is-hero-custom:is(.hu-hero--yellow, .hu-hero--white) .hu-video-eyebrow { color: var(--hero-kicker); }
.hu-video-hero.is-hero-custom:is(.hu-hero--yellow, .hu-hero--white) .hu-video-title { color: var(--hero-heading); }
.hu-video-hero.is-hero-custom:is(.hu-hero--yellow, .hu-hero--white) .hu-video-dek { color: var(--hero-soft); }
.hu-video-hero.is-hero-custom:is(.hu-hero--yellow, .hu-hero--white) .hu-video-meta li { border-color: rgba(var(--hu-navy-rgb), .2); color: var(--hu-navy); }
.hu-video-hero.is-hero-custom:is(.hu-hero--yellow, .hu-hero--white) .hu-video-shell { border-color: rgba(var(--hu-navy-rgb), .16); box-shadow: var(--hero-media-shadow); }
