/* /video/ hub page — hero + category nav + per-category rows + latest grid. */

/* Hero --------------------------------------------------------------------- */
.vh-hero { background: #000; color: #fff; padding: 56px 60px; border-bottom: 4px solid var(--c-green); }
.vh-hero__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.vh-hero__title { margin-top: 20px; font-family: var(--font-hero); font-size: clamp(56px, 8vw, 112px); line-height: 0.9; letter-spacing: -1.5px; text-transform: uppercase; }
.vh-hero__lede { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--c-text-on-dark-2); max-width: 520px; }

.vh-hero__feature {
    position: relative;
    border: var(--border-w) solid #fff;
    box-shadow: 8px 8px 0 0 var(--c-green);
    display: flex; flex-direction: column;
    background: #0a0a0a; color: #fff;
    overflow: hidden;
}
.vh-hero__feature-photo { aspect-ratio: 16 / 10; border: 0; position: relative; }
.vh-hero__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 84px; height: 84px;
    background: var(--c-green); color: #000;
    border: var(--border-w) solid #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 900; font-size: 32px;
    box-shadow: 4px 4px 0 0 #000;
}
.vh-hero__feature footer { padding: 22px 26px; border-top: var(--border-w) solid #fff; background: #000; }
.vh-hero__feature-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-green); }
.vh-hero__feature-title { margin-top: 8px; font-family: var(--font-hero); font-size: clamp(24px, 2.5vw, 36px); line-height: 1; text-transform: uppercase; letter-spacing: -0.5px; }

/* Category nav (pills) ----------------------------------------------------- */
.vh-catnav {
    background: var(--c-paper); color: #000;
    padding: 18px 60px;
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    border-bottom: var(--border-w) solid #000;
    position: sticky; top: 0;
    z-index: 30;
}
.vh-catnav__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #666; margin-right: 8px; }
.vh-catnav__pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: #fff; color: #000;
    border: var(--border-w) solid #000;
    font-family: var(--font-body); font-weight: 700; font-size: 12px;
    letter-spacing: 1.5px; text-transform: uppercase;
    transition: transform 80ms ease, box-shadow 80ms ease;
}
.vh-catnav__pill:hover { background: #000; color: #fff; box-shadow: 3px 3px 0 0 var(--c-green); }
.vh-catnav__count { font-family: var(--font-mono); font-size: 10px; opacity: 0.7; }

/* Category section --------------------------------------------------------- */
.vh-cat { background: #fff; padding: 72px 60px; border-bottom: var(--border-w) solid #000; }
.vh-cat.is-alt { background: var(--c-paper); }
.vh-cat__head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.vh-cat__title { margin-top: 18px; font-family: var(--font-hero); font-size: clamp(36px, 5vw, 56px); line-height: 0.95; letter-spacing: -0.5px; text-transform: uppercase; }
.vh-cat__lede  { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #444; max-width: 540px; }
.vh-cat__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}

/* Video tile --------------------------------------------------------------- */
.vh-vtile {
    background: #fff; color: #000;
    border: var(--border-w) solid #000;
    box-shadow: var(--shadow-4);
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: transform 100ms ease, box-shadow 100ms ease;
}
.vh-vtile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 #000; }
.vh-vtile__photo { aspect-ratio: 16 / 10; border: 0; position: relative; }
.vh-vtile__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    background: var(--c-green); color: #000;
    border: var(--border-w) solid #000; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 900; font-size: 18px;
    box-shadow: 3px 3px 0 0 #000;
}
.vh-vtile__body { padding: 16px 18px; border-top: var(--border-w) solid #000; }
.vh-vtile__title {
    font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vh-vtile__date  { margin-top: 8px; display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #666; }

/* Single video page -------------------------------------------------------- */
.vs { background: #fff; padding: 56px 60px 80px; max-width: 1100px; margin: 0 auto; }
.vs__head { margin-bottom: 28px; }
.vs__back { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #666; }
.vs__back:hover { color: #000; }
.vs__crumbs { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vs__crumb  { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-green-deep); text-decoration: underline; }
.vs__title  {
    margin-top: 16px;
    font-family: var(--font-hero);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.vs__player {
    position: relative;
    margin: 28px 0 40px;
    background: #000;
    border: var(--border-w) solid #000;
    box-shadow: var(--shadow-6);
    padding: 0;
    color: #fff;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
/* Clappr renders into <div id="player"> — make it fill the framed box.
   The Clappr-generated wrapper, poster, video, and media-control layers all
   absolute-position inside the .vs__player container so the play button lands
   on the visual center of the frame. */
.vs__player > * { display: block; width: 100%; height: 100%; }
.vs__player #player,
.vs__player .clappr-container,
.vs__player [data-player] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #000;
}
.vs__player video,
.vs__player iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    background: #000;
}
/* Center Clappr's poster + play button regardless of its inline sizing */
.vs__player .player-poster,
.vs__player .player-poster-background {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.vs__player .player-poster-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}
.vs__related { margin-top: 48px; padding-top: 32px; border-top: var(--border-w) solid #000; }
.vs__related header { margin-bottom: 20px; }

/* Latest section ----------------------------------------------------------- */
.vh-latest { background: #000; color: #fff; padding: 72px 60px; }
.vh-latest__head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.vh-latest__title { margin-top: 18px; font-family: var(--font-hero); font-size: clamp(36px, 5vw, 56px); line-height: 0.95; letter-spacing: -0.5px; text-transform: uppercase; }
.vh-latest .vh-vtile { background: #0a0a0a; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 0 #fff; }
.vh-latest .vh-vtile:hover { box-shadow: 6px 6px 0 0 var(--c-green); }
.vh-latest .vh-vtile__body { border-top-color: #fff; }
.vh-latest .vh-vtile__date { color: var(--c-text-on-dark-2); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1180px) {
    .vh-hero, .vh-cat, .vh-latest { padding-left: 36px; padding-right: 36px; }
    .vh-catnav { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 1100px) {
    .vh-hero__row { grid-template-columns: 1fr; gap: 32px; }
    .vh-cat__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .vh-hero, .vh-cat, .vh-latest { padding: 56px 24px; }
    .vh-catnav { padding: 14px 24px; gap: 8px; position: static; }
    .vh-cat__grid { grid-template-columns: repeat(2, 1fr); }
    .vh-catnav__pill { padding: 6px 10px; font-size: 11px; letter-spacing: 1px; }
    .vh-hero__title  { font-size: clamp(48px, 9vw, 80px); }
    .vh-hero__play   { width: 64px; height: 64px; font-size: 24px; }
}
@media (max-width: 640px) {
    .vh-hero, .vh-cat, .vh-latest { padding: 48px 18px; }
    .vh-catnav { padding: 12px 18px; }
    .vh-cat__grid { grid-template-columns: 1fr; gap: 14px; }
    .vh-cat__head, .vh-latest__head { flex-direction: column; align-items: flex-start; }
    .vh-cat__head > .cg3-btn { width: 100%; justify-content: center; }
}
