:root { --video-blue:#063a70; --video-navy:#061b33; --video-orange:#f47a22; }
body.video-center-page { background:#f4f8fb; color:#17364f; }
body.video-center-page main { padding-top:0!important; }
/* Match the site-wide header interaction on this page as well. */
body.video-center-page #header .navbar-nav .nav-link:hover,body.video-center-page #header .navbar-nav .nav-link:focus-visible { color:#ed6c00!important; }
/* Follow the same compact inner-page banner rhythm used by products and solutions. */
.video-center-hero { min-height:300px; padding:124px max(24px,calc((100vw - 1240px)/2)) 52px; overflow:hidden; background-color:#063a70!important; background-image:linear-gradient(100deg,rgba(4,35,71,.58),rgba(6,59,107,.22)),url('/assets/refined/video-center-banner.webp')!important; background-position:center!important; background-size:cover!important; background-repeat:no-repeat!important; color:#fff; }
/* The video page deliberately reuses the exact shared site header; no page-specific header rules. */
.video-center-hero span { display:block; margin-bottom:12px; color:#f49a54; font-size:12px; letter-spacing:.16em; font-weight:700; }
.video-center-hero h1 { margin:0; font-size:clamp(34px,4.2vw,54px); font-weight:700; letter-spacing:.02em; }
.video-center-hero p { max-width:620px; margin:13px 0 0; font-size:16px; line-height:1.75; color:rgba(255,255,255,.84); }
.video-center-main { max-width:1240px; margin:0 auto; padding:66px 24px 92px; }
.video-center-lead { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.video-center-lead h2 { margin:0; color:var(--video-blue); font-size:clamp(28px,4vw,44px); font-weight:700; }
.video-center-lead p { max-width:470px; margin:8px 0 0; color:#60788c; line-height:1.75; }
.video-filter { display:flex; flex-wrap:wrap; gap:10px; }
.video-filter button { min-width:104px; padding:10px 16px; border:1px solid #cbd7e1; background:#fff; color:#395b73; font-family:inherit; font-size:14px; cursor:pointer; transition:.2s ease; }
.video-filter button:hover,.video-filter button.active { color:#fff; background:var(--video-blue); border-color:var(--video-blue); }
.video-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.video-card { overflow:hidden; background:#fff; box-shadow:0 12px 28px rgba(19,58,87,.08); transition:transform .25s ease,box-shadow .25s ease; }
.video-card:hover { transform:translateY(-5px); box-shadow:0 18px 36px rgba(19,58,87,.15); }
.video-card[hidden] { display:none; }
/* Cards crop to a full-bleed cover. Full playback uses the complete source in the lightbox. */
.video-preview { position:relative; display:block; width:100%; padding:0; overflow:hidden; border:0; background:#071b33; cursor:pointer; }
.video-preview img { display:block; width:100%; aspect-ratio:9/16; background:#071b33; object-fit:cover; transition:transform .45s ease; }
.video-preview:hover img { transform:scale(1.045); }
.video-preview::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 46%,rgba(4,23,44,.42)); pointer-events:none; }
.video-preview-play { position:absolute; z-index:1; top:50%; left:50%; width:54px; height:54px; border:1px solid rgba(255,255,255,.78); border-radius:50%; background:rgba(4,34,67,.36); transform:translate(-50%,-50%); transition:.2s ease; }
.video-preview-play::after { content:""; position:absolute; top:17px; left:21px; border-top:10px solid transparent; border-bottom:10px solid transparent; border-left:14px solid #fff; }
.video-preview:hover .video-preview-play { background:#f47a22; border-color:#f47a22; transform:translate(-50%,-50%) scale(1.08); }
.video-preview-hint { position:absolute; z-index:1; right:14px; bottom:12px; color:#fff; font-size:12px; letter-spacing:.06em; }
body.video-lightbox-open { overflow:hidden; }
.video-lightbox[hidden] { display:none; }
.video-lightbox { position:fixed; z-index:10000; inset:0; display:grid; place-items:center; overflow:hidden; background:#020a13; }
.video-lightbox-bg,.video-lightbox-shade { display:none; }
.video-lightbox-panel { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:100vw; height:100vh; background:#000; }
.video-lightbox-media { display:block; width:auto; height:100%; max-width:100%; max-height:100%; background:#000; object-fit:contain; }
.video-lightbox-close { position:fixed; z-index:2; top:20px; right:20px; width:42px; height:42px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; font:300 32px/38px Arial,sans-serif; cursor:pointer; }
.video-lightbox-close:hover { background:rgba(255,255,255,.28); }
.video-card-copy { min-height:119px; padding:17px 18px 19px; }
.video-card-copy small { color:#ee7a24; font-size:11px; font-weight:700; letter-spacing:.11em; }
.video-card-copy h2 { margin:8px 0 5px; color:var(--video-blue); font-size:19px; font-weight:700; }
.video-card-copy p { margin:0; color:#657d90; font-size:13px; line-height:1.55; }
.video-card-copy a { display:inline-block; margin-top:10px; color:var(--video-blue); font-size:13px; font-weight:700; text-decoration:none; }
@media(max-width:991px){
  .video-center-hero{min-height:255px;padding:108px 24px 38px}
  .video-center-main{padding-top:40px}
  .video-center-lead{display:block}
  .video-filter{margin-top:20px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
  .video-filter button{min-width:0;padding:9px 7px}
  .video-grid{grid-template-columns:1fr;gap:16px}
  .video-card{display:block}
  .video-preview{height:auto;aspect-ratio:4/3}
  .video-preview img{width:100%;height:100%;min-height:0;aspect-ratio:auto}
  .video-card-copy{display:block;min-height:0;padding:16px 16px 17px}
  .video-card-copy h2{font-size:18px;line-height:1.38}
  .video-card-copy p{font-size:13px;line-height:1.65}
  .video-card-copy a{margin-top:12px}
  .video-preview-play{width:48px;height:48px}
  .video-preview-play::after{top:15px;left:19px;border-top-width:9px;border-bottom-width:9px;border-left-width:12px}
  .video-lightbox-close{top:max(14px,env(safe-area-inset-top));right:14px;width:38px;height:38px;background:rgba(255,255,255,.2);font-size:28px;line-height:34px}
}
@media(max-width:520px){
  .video-center-hero{min-height:230px;padding:96px 18px 30px}
  .video-center-hero h1{font-size:36px}
  .video-center-hero p{font-size:14px;line-height:1.65}
  .video-center-main{padding:32px 16px 60px}
  .video-center-lead h2{font-size:32px}
  .video-filter{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 0}
  .video-filter button{min-width:0;padding:9px 7px;font-size:13px}
  .video-grid{gap:14px}
  .video-card{display:block}
  .video-preview{aspect-ratio:4/3}
  .video-preview img{width:100%;height:100%;min-height:0;aspect-ratio:auto}
  .video-card-copy{display:block;padding:15px 16px 16px}
  .video-card-copy small{font-size:10px}
  .video-card-copy h2{margin:7px 0 5px;font-size:17px}
  .video-card-copy p{display:block!important;max-height:none!important;overflow:visible!important;margin:0!important;font-size:13px;line-height:1.65;color:#657d90!important}
  .video-card-copy a{display:inline-block!important;margin-top:11px}
  .video-lightbox-panel{padding:0;background:#000}
  .video-lightbox-media{width:auto;height:auto;max-width:100vw;max-height:100svh}
}
