/* Marcellus = headings (same as the home page headings) */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");

/* =========================================================================
   Gallery > Video Gallery
   Navy + blue base with orange / green / purple accents.
   Same structure as the other redesigned pages. Scoped under .video-page
   (class names use the vg- prefix).

   Typography matches the home page (colours unchanged):
     main headings = Marcellus, capitals, weight 400, underline
     card names    = Cormorant Garamond (var(--font-head)), bold
     paragraphs    = var(--font-body), weight 400 + 0.15px stroke
   ========================================================================= */

.video-page {
  --vg-navy: #0B2F5B;
  --vg-blue: #1667B0;
  --vg-orange: #E8790E;
  --vg-green: #1F8A5B;
  --vg-purple: #7B3FA0;
  --vg-gold: #FFC400;
  --vg-red: #D32F2F;
  --vg-soft: var(--ink-soft, #555);
  background: #fff;
}

/* ---------- Banner placeholder (1920 x 600) ---------- */
.video-page .vg-hero {
  position: relative;
  width: 100%;
  height: clamp(260px, 31.25vw, 600px);
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0B2F5B 0%, #1667B0 100%);
}
.vg-hero-img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.vg-hero-ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center; color: #fff;
}
.vg-hero-ph i { font-size: 3.8rem; color: var(--vg-gold); }
.vg-hero-ph b { font-size: 1.6rem; }
.vg-hero-ph span { font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); }
.vg-hero-ph code {
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 10px; border-radius: 6px; font-size: 0.92rem;
}

/* ---------- Intro: breadcrumb on its own line, title below ---------- */
.video-page .vg-intro { padding: 56px 0 48px; text-align: center; }
.vg-crumbs {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
  color: var(--vg-soft);
  margin-bottom: 20px;
}
.vg-crumbs a:hover { color: var(--vg-blue); }
.vg-crumbs i { font-size: 0.65rem; }
.vg-crumbs span { color: var(--vg-red); }

/* Title: same font / size / weight as the home-page headings, with underline */
.vg-title {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400; line-height: 1.15; letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--vg-navy);
  padding-bottom: 4px;
  border-bottom: 3px solid var(--vg-navy);   /* underline = text width */
}
.vg-tagline {
  margin: 26px auto 0; max-width: 800px;
  font-family: var(--font-body);
  font-size: 1.22rem; font-weight: 400; line-height: 1.9;
  -webkit-text-stroke: 0.15px currentColor;
  color: var(--vg-blue);
}

/* ---------- Video grid ---------- */
.video-page .vg-grid-section { padding: 80px 0 100px; background: #F4F8FD; }
.video-page .vg-head { max-width: 840px; margin: 0 auto 48px; text-align: center; }
.video-page .vg-head h2 {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400; line-height: 1.15; letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--vg-navy);
  margin: 0; padding: 0 0 4px;
  border: 0;
  border-bottom: 3px solid var(--vg-navy);   /* underline = text width */
}

.vg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vg-card {
  --c: var(--vg-red);                         /* one colour (red) for every card */
  display: block; overflow: hidden;
  background: #fff;
  border-radius: 22px;                       /* coloured bottom line removed */
  box-shadow: 0 18px 40px -30px rgba(18, 18, 18, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit; text-decoration: none;
}
.vg-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -28px rgba(11, 47, 91, 0.55); }

.vg-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #EAF3FB, #FFF3C4);
}
.vg-thumb img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.vg-card:hover .vg-thumb img { transform: scale(1.08); }
.vg-thumb-ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: var(--c); opacity: 0.5;
}
.vg-play {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c); color: #fff; font-size: 1.3rem;
  border: 4px solid #fff;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}
.vg-play i { margin-left: 4px; }
.vg-card:hover .vg-play { transform: scale(1.12); }
.vg-duration {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(11, 47, 91, 0.9); color: #fff;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
}

.vg-body { padding: 20px 22px 26px; }
.vg-cat {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--c); color: #fff;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 12px;
}
/* label alone (no name under it) -> no extra gap */
.vg-body .vg-cat:only-child { margin-bottom: 0; }
/* Video names: same as the home-page card names */
.vg-body h4 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700; line-height: 1.25; letter-spacing: 0.01em;
  -webkit-text-stroke: 0.3px currentColor;
  color: var(--vg-navy);
}

.vg-empty {
  grid-column: 1 / -1; text-align: center; margin: 0;
  padding: 50px 20px; border: 2px dashed #9DBDDD; border-radius: 22px;
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700; color: var(--vg-navy);
}
.vg-empty i { display: block; font-size: 2.4rem; margin-bottom: 10px; color: var(--vg-blue); opacity: 0.7; }

/* ---------- "Search on YouTube" note under the video grid ---------- */
.vg-search {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 18px;
  max-width: 860px; margin: 44px auto 0; padding: 18px 26px;
  background: #fff; border: 2px dashed #9DBDDD; border-radius: 18px;
}
.vg-search-icon { font-size: 2.2rem; line-height: 1; color: #E11D1D; }
.vg-search p { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--vg-navy); text-align: center; }
.vg-search p b { -webkit-text-stroke: 0.2px currentColor; }
.vg-search-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--vg-navy); color: #fff; text-decoration: none;
  font-size: 1rem; font-weight: 700; transition: background 0.2s ease, transform 0.2s ease;
}
.vg-search-btn:hover { background: var(--vg-orange); transform: translateY(-2px); }
@media (max-width: 600px) {
  .vg-search { padding: 16px 18px; margin-top: 30px; }
  .vg-search p { font-size: 1.05rem; }
}

/* ---------- Photo gallery link band ---------- */
.video-page .vg-cta {
  position: relative; overflow: hidden;
  padding: 70px 0;
  background: linear-gradient(135deg, #0B2F5B 0%, #0F4C8A 100%);
}
.vg-cta::before {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  width: 320px; height: 320px; top: -130px; right: -80px;
  border: 28px solid rgba(255, 196, 0, 0.22);
}
.vg-cta .container { position: relative; z-index: 2; }
.vg-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Small label = the main heading (gold, Marcellus, underline), same idea as the home page */
.vg-cta-eyebrow {
  display: inline-block;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400; line-height: 1.15; letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--vg-gold);
  padding: 0 0 4px; margin: 0 0 22px;
  border-bottom: 3px solid var(--vg-gold);   /* underline = text width */
}
.vg-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.005em;
  color: #fff; margin: 0; border: 0; padding: 0;
}
.vg-cta .btn { font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .vg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .video-page .vg-intro { padding: 40px 0 36px; }
  .video-page .vg-grid-section { padding: 56px 0 70px; }
  .video-page .vg-head { margin-bottom: 32px; }
  .video-page .vg-cta { padding: 52px 0; }
  .vg-tagline { font-size: 1.05rem; }
}
@media (max-width: 600px) {
  .vg-grid { grid-template-columns: 1fr; }
  .vg-cta-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Pop-up player ---------- */
.vg-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5, 12, 28, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.vg-modal[hidden] { display: none; }
.vg-modal-box { width: min(94vw, 1100px); }
.vg-modal-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.vg-modal-player iframe, .vg-modal-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vg-modal-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: #111; font-size: 1.2rem; cursor: pointer;
}