/* videos.interlockroofing.com (2026-12-01). Same palette as the portal: navy text, Interlock blue accent, square edges. */
:root { --navy: #14233C; --accent: #1356AF; --muted: #5B6573; --line: #D8E2EE; --pale: #F3F6FA; --red: #C5221F; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the overlays below set display, which would otherwise beat the hidden attribute */
body { margin: 0; font: 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--navy); background: #fff; }
a { color: var(--accent); }
.vh-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.vh-brand { font-weight: 800; font-size: 20px; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.vh-brand span { color: var(--accent); }
.vh-out { font-size: 14px; color: var(--muted); }
.vh-main { max-width: 1240px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 56px; }
.vh-foot { padding: 24px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; margin: 8px 0 8px; }
h2 { font-size: 20px; margin: 32px 0 14px; }
.vh-lede { color: var(--muted); margin: 0 0 8px; max-width: 70ch; }
.vh-crumbs { font-size: 14px; color: var(--muted); }

.vh-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vh-card a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.vh-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--pale); overflow: hidden; }
.vh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.vh-card a:hover img, .vh-card a:focus-visible img { transform: scale(1.03); }
.vh-len { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; background: rgba(20, 35, 60, .86); color: #fff; font-size: 13px; font-weight: 700; }
.vh-title { font-weight: 700; line-height: 1.35; }
.vh-sub { font-size: 14px; color: var(--muted); }

.vh-watch { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .vh-watch { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.vh-ratio { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vh-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vh-meta { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.vh-desc { margin-bottom: 20px; }
.vh-chapters h2 { margin-top: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.vh-chapters ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vh-chapters button { width: 100%; display: flex; gap: 12px; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; text-align: left; color: var(--navy); cursor: pointer; }
.vh-chapters button:hover, .vh-chapters button:focus-visible { background: var(--pale); }
.vh-chapters button span { min-width: 48px; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }

/* Overlays on the player */
.vh-ctas { position: absolute; left: 16px; bottom: 64px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 70%; pointer-events: none; }
.vh-cta { pointer-events: auto; text-decoration: none; font-weight: 700; }
.vh-cta-button { padding: 10px 18px; background: var(--accent); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.vh-cta-card { padding: 12px 16px; background: #fff; color: var(--navy); border-left: 4px solid var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.vh-cta-link { padding: 6px 10px; background: rgba(20,35,60,.8); color: #fff; text-decoration: underline; }
.vh-corner { position: absolute; top: 12px; right: 12px; width: min(320px, 46%); display: flex; gap: 10px; padding: 12px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.3); font-size: 14px; }
.vh-corner img { width: 72px; height: 72px; object-fit: cover; }
.vh-corner p { margin: 4px 0 8px; }
.vh-x { position: absolute; top: 2px; right: 6px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.vh-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(20, 35, 60, .88); overflow: auto; }
.vh-panel { width: min(440px, 100%); padding: 22px; background: #fff; color: var(--navy); }
.vh-panel img { width: 100%; max-height: 180px; object-fit: cover; margin-bottom: 10px; }
.vh-form { display: grid; gap: 12px; }
.vh-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.vh-form input { padding: 11px 12px; border: 1px solid #AEB8C4; font: inherit; }
.vh-form p { margin: 0; }
.vh-btn { display: inline-block; padding: 10px 18px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.vh-btn.vh-quiet { background: #fff; color: var(--accent); }
.vh-btn:disabled { opacity: .6; cursor: wait; }
.vh-err { color: var(--red); font-size: 14px; }
.vh-small { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .vh-ctas { bottom: 52px; left: 8px; max-width: 90%; } .vh-corner { width: 70%; } .vh-corner img { display: none; } }

/* 2026-12-02: embed page, big play button, on-player chapters menu, CTA positions and types, channel hero. */
body.vh-embed { margin: 0; background: #000; }
body.vh-embed .vh-ratio { position: fixed; inset: 0; aspect-ratio: auto; }
.vh-ratio { --vh-accent: var(--accent); }
.vh-bigplay { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border: 0; border-radius: 50%; background: var(--vh-accent); box-shadow: 0 6px 24px rgba(0,0,0,.35); cursor: pointer; z-index: 3; }
.vh-bigplay span { position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent #fff; }
.vh-bigplay:hover, .vh-bigplay:focus-visible { transform: scale(1.06); }
.vh-chmenu { position: absolute; left: 12px; top: 12px; z-index: 4; font-size: 14px; }
.vh-chbtn { padding: 6px 12px; border: 0; border-radius: 4px; background: rgba(20,35,60,.85); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vh-chmenu ol { list-style: none; margin: 6px 0 0; padding: 4px; max-height: 60vh; overflow: auto; background: rgba(20,35,60,.94); border-radius: 6px; }
.vh-chmenu ol button { display: flex; gap: 10px; width: 100%; padding: 7px 10px; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.vh-chmenu ol button:hover, .vh-chmenu ol button:focus-visible { background: rgba(255,255,255,.12); }
.vh-chmenu ol span { min-width: 42px; color: #9cc3ff; font-variant-numeric: tabular-nums; }
.vh-ctas { inset: 0; left: 0; bottom: 0; max-width: none; display: block; }
.vh-ctas > div { position: absolute; display: flex; flex-direction: column; gap: 8px; max-width: 46%; }
.vh-ctas-top-left { left: 12px; top: 52px; } .vh-ctas-top-right { right: 12px; top: 12px; align-items: flex-end; }
.vh-ctas-bottom-left { left: 12px; bottom: 64px; } .vh-ctas-bottom-right { right: 12px; bottom: 64px; align-items: flex-end; }
.vh-ctas-center { left: 50%; top: 50%; transform: translate(-50%, -50%); align-items: center; }
.vh-cta-button { background: var(--vh-accent); }
.vh-cta-image { display: grid; gap: 6px; padding: 8px; background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(0,0,0,.25); max-width: 260px; }
.vh-cta-image img { width: 100%; max-height: 140px; object-fit: cover; display: block; }
.vh-hero { display: grid; gap: 10px; margin: 18px 0 28px; color: inherit; text-decoration: none; max-width: 960px; }
.vh-hero .vh-title { font-size: 22px; }
