/* ==========================================================================
   PLESCO — Sports & Cultural Organization
   Official Brand Design System
   Exact Reference: PLESCO Foundation Logo Identity
   Primary Action / Base: Royal Blue (#0058BC), Hover Darker Royal Blue (#004699)
   Secondary Actions: Teal (#16A08C) & Sky Blue (#139BD8)
   Selective Highlights: Yellow (#FAC123) with dark text (#1a1917)
   Supporting Category Accents: Red (#E31E24), Green (#7DBA28), Magenta (#B82384)
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,300,400,500,600,700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/clash-display@5.0.0/index.min.css');

:root {
  /* ========================================================================
     PLESCO FOUNDATION OFFICIAL BRAND PALETTE
     ======================================================================== */
  /* Primary Foundation Action Color (Logo Foundation Bar) */
  --plesco-blue: #0058BC;              /* Royal Blue */
  --plesco-blue-hover: #004699;        /* Darker Royal Blue for hover */
  --plesco-blue-active: #00377a;       /* Active state */
  --plesco-blue-light: rgba(0, 88, 188, 0.08);
  --plesco-blue-glow: rgba(0, 88, 188, 0.28);

  /* Secondary Button & Action Colors */
  --plesco-teal: #16A08C;              /* Teal - "S" letter */
  --plesco-teal-hover: #128271;
  --plesco-teal-light: rgba(22, 160, 140, 0.10);
  --plesco-teal-glow: rgba(22, 160, 140, 0.28);

  --plesco-skyblue: #139BD8;           /* Sky Blue - "C" letter */
  --plesco-skyblue-hover: #0f7fb1;
  --plesco-skyblue-light: rgba(19, 155, 216, 0.10);
  --plesco-skyblue-glow: rgba(19, 155, 216, 0.28);

  /* Selective Highlights (Yellow - "L" letter) */
  --plesco-yellow: #FAC123;            /* Warm Golden Yellow - Dark text only */
  --plesco-yellow-hover: #e5b01c;
  --plesco-yellow-light: rgba(250, 193, 35, 0.18);
  --plesco-yellow-glow: rgba(250, 193, 35, 0.35);

  /* Supporting Category Accent Colors */
  --plesco-red: #E31E24;               /* Red - "P" letter (Sports & Khel Kabaddi) */
  --plesco-red-hover: #c4151a;
  --plesco-red-light: rgba(227, 30, 36, 0.08);
  --plesco-red-glow: rgba(227, 30, 36, 0.28);

  --plesco-green: #7DBA28;             /* Green - "E" letter (Civic Action & Health) */
  --plesco-green-dark: #4d7c0f;        /* High-contrast accessible text green */
  --plesco-green-light: rgba(125, 186, 40, 0.12);
  --plesco-green-glow: rgba(125, 186, 40, 0.28);

  --plesco-magenta: #B82384;           /* Magenta - "O" letter (Women Empowerment & Dandiya) */
  --plesco-magenta-hover: #9c1b6f;
  --plesco-magenta-light: rgba(184, 35, 132, 0.10);
  --plesco-magenta-glow: rgba(184, 35, 132, 0.28);

  /* Neutrals & Surfaces */
  --plesco-charcoal: #1a1917;
  --plesco-charcoal-light: rgba(26, 25, 23, 0.05);
  --plesco-bg: #f8f7f4;
  --plesco-bg-alt: #f1ede6;
  --plesco-surface: #ffffff;
  --plesco-border: rgba(26, 25, 23, 0.10);
  --plesco-border-subtle: rgba(26, 25, 23, 0.06);

  /* Text Colors */
  --plesco-text: #1a1917;
  --plesco-text-muted: #575551;
  --plesco-text-light: #65635D;        /* High-contrast accessible muted text (5.5:1 on bg, WCAG AA) */
  --plesco-yellow-text: #8F5E08;       /* High-contrast amber/yellow text (5.6:1 on white, WCAG AA) */
  --plesco-text-inv: #ffffff;

  /* Typography — Clash Display Universal */
  --font-family: 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout & Spacing */
  --header-height: 76px;
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(26, 25, 23, 0.06), 0 2px 6px -1px rgba(26, 25, 23, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(26, 25, 23, 0.09), 0 4px 12px -2px rgba(26, 25, 23, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--plesco-bg);
  color: var(--plesco-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Editorial Grain */
.paper-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.024;
  background-image: radial-gradient(#000 0.75px, transparent 0.75px);
  background-size: 12px 12px;
}

/* Container */
.plesco-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--plesco-text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--plesco-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* ==========================================================================
   BUTTONS SYSTEM
   Primary CTA Buttons: Royal Blue (#0058BC) with white text
   Hover: Darker Royal Blue (#004699)
   Secondary: Teal (#16A08C) or Sky Blue (#139BD8)
   Registration: Royal Blue (#0058BC) with white text
   Yellow: Selective highlights with dark text (#1a1917)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}

/* Primary CTA Buttons: Royal Blue (#0058BC) with white text */
.btn-primary {
  background-color: var(--plesco-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--plesco-blue-glow);
}
.btn-primary:hover {
  background-color: var(--plesco-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 88, 188, 0.35);
}
.btn-primary:active {
  background-color: var(--plesco-blue-active);
  transform: translateY(0);
}

/* Secondary Buttons: Sky Blue (#139BD8) with white text */
.btn-secondary {
  background-color: var(--plesco-skyblue);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--plesco-skyblue-glow);
}
.btn-secondary:hover {
  background-color: var(--plesco-skyblue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19, 155, 216, 0.35);
}
.btn-secondary:active {
  transform: translateY(0);
}

/* Secondary Variant: Teal (#16A08C) */
.btn-teal,
.btn-secondary-teal {
  background-color: var(--plesco-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--plesco-teal-glow);
}
.btn-teal:hover,
.btn-secondary-teal:hover {
  background-color: var(--plesco-teal-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 160, 140, 0.35);
}

/* Secondary Variant: Sky Blue (#139BD8) */
.btn-skyblue,
.btn-secondary-skyblue {
  background-color: var(--plesco-skyblue);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--plesco-skyblue-glow);
}
.btn-skyblue:hover,
.btn-secondary-skyblue:hover {
  background-color: var(--plesco-skyblue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19, 155, 216, 0.35);
}

/* Outlined Secondary Button Variants */
.btn-outline-blue {
  background-color: transparent;
  color: var(--plesco-blue);
  border: 1.5px solid var(--plesco-blue);
}
.btn-outline-blue:hover {
  background-color: var(--plesco-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--plesco-blue-glow);
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--plesco-teal);
  border: 1.5px solid var(--plesco-teal);
}
.btn-outline-teal:hover {
  background-color: var(--plesco-teal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--plesco-teal-glow);
}

.btn-outline-skyblue {
  background-color: transparent;
  color: var(--plesco-skyblue);
  border: 1.5px solid var(--plesco-skyblue);
}
.btn-outline-skyblue:hover {
  background-color: var(--plesco-skyblue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--plesco-skyblue-glow);
}

/* Registration Buttons: Royal Blue (#0058BC) with white text */
.btn-accent-red,
.btn-register {
  background-color: var(--plesco-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--plesco-blue-glow);
}
.btn-accent-red:hover,
.btn-register:hover {
  background-color: var(--plesco-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 88, 188, 0.35);
}

/* Yellow (#FAC123) Highlight Buttons — Dark Text */
.btn-yellow {
  background-color: var(--plesco-yellow);
  color: #1a1917;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--plesco-yellow-glow);
}
.btn-yellow:hover {
  background-color: var(--plesco-yellow-hover);
  color: #1a1917;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 193, 35, 0.45);
}

/* WhatsApp Channel Button: Official WhatsApp Green #25D366 */
.btn-whatsapp-channel {
  background-color: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}
.btn-whatsapp-channel:hover {
  background-color: #1EBE5D;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp-channel svg {
  fill: currentColor;
  flex-shrink: 0;
}

/* Selective Yellow Highlight Tag */
.highlight-yellow {
  background-color: var(--plesco-yellow);
  color: #1a1917;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px var(--plesco-yellow-glow);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.plesco-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--plesco-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.plesco-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.plesco-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plesco-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.plesco-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.plesco-brand-text {
  display: flex;
  flex-direction: column;
}

.plesco-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--plesco-text);
  line-height: 1.1;
}

.plesco-subtitle {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--plesco-text-muted);
}

/* Ecosystem badge */
.ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 25, 23, 0.05);
  border: 1px solid var(--plesco-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--plesco-text-muted);
  transition: all 0.2s ease;
}
.ecosystem-badge:hover {
  background: rgba(26, 25, 23, 0.1);
  color: var(--plesco-text);
}
.ecosystem-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--plesco-red);
}

/* Navigation Links */
.plesco-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: nowrap;
}

.plesco-nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--plesco-text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.plesco-nav-link:hover,
.plesco-nav-link.active {
  color: var(--plesco-blue);
}
.plesco-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--plesco-blue);
  transition: width 0.2s ease;
}
.plesco-nav-link:hover::after,
.plesco-nav-link.active::after {
  width: 100%;
}

/* Dropdown Navigation for Initiatives Sub-pages */
.plesco-nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.plesco-nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

.plesco-nav-item.has-dropdown:hover .dropdown-chevron,
.plesco-nav-item.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.plesco-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  background: #ffffff;
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.plesco-nav-item.has-dropdown:hover .plesco-dropdown-menu,
.plesco-nav-item.has-dropdown:focus-within .plesco-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-item {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--plesco-surface);
}

.dropdown-item.active {
  background: var(--plesco-blue-light);
}
.dropdown-item:hover {
  background: var(--plesco-blue-light);
}

.dropdown-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--plesco-text);
  line-height: 1.25;
}

.dropdown-item.active .dropdown-item-title {
  color: var(--plesco-blue);
}
.dropdown-item:hover .dropdown-item-title {
  color: var(--plesco-blue);
}

.dropdown-item-desc {
  font-size: 0.72rem;
  color: var(--plesco-text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.dropdown-divider {
  height: 1px;
  background: var(--plesco-border);
  margin: 4px 6px;
}

/* Mobile drawer sub-links */
.drawer-subnav {
  padding-left: 14px;
  margin: 4px 0 8px 12px;
  border-left: 2px solid var(--plesco-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-subnav-link {
  font-size: 0.8125rem;
  color: var(--plesco-text-light);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.drawer-subnav-link:hover,
.drawer-subnav-link.active {
  color: var(--plesco-blue);
  font-weight: 700;
  background: var(--plesco-surface);
}

.plesco-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.plesco-header-reg-btn {
  font-weight: 800 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.04em !important;
  padding: 8px 18px !important;
  background: var(--plesco-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--plesco-blue-glow) !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-radius: var(--radius-full) !important;
}

.plesco-header-reg-btn:hover {
  background: var(--plesco-blue-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 88, 188, 0.38) !important;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 110;
}
.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--plesco-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.plesco-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 86vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 22px 20px 24px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.plesco-mobile-drawer.is-open {
  right: 0;
}
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--plesco-border);
  margin-bottom: 18px;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-nav-link {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--plesco-text);
  padding: 10px 8px;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--plesco-border-subtle);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.drawer-nav-link:hover,
.drawer-nav-link.active {
  color: var(--plesco-blue);
  background: var(--plesco-surface-alt, #f8f9fa);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--plesco-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   HERO SECTION — INTERACTIVE CALLIGRAPHIC SPLINE CANVAS
   ========================================================================== */
.plesco-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--plesco-bg);
  overflow: hidden;
}

/* Ambient Loop Video Background */
.plesco-hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.plesco-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.15) brightness(1.02);
  pointer-events: none;
}

.plesco-hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(250, 248, 245, 0.6) 0%, rgba(250, 248, 245, 0.82) 65%, rgba(250, 248, 245, 0.96) 100%),
    linear-gradient(180deg, rgba(250, 248, 245, 0.5) 0%, rgba(250, 248, 245, 0.25) 30%, rgba(250, 248, 245, 0.75) 75%, var(--plesco-bg) 100%);
  pointer-events: none;
}

.plesco-hero .plesco-container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .plesco-hero-video {
    display: none;
  }
}

/* Top Physics Controls Pill Bar */
.hero-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.5rem;
  z-index: 20;
}

.hero-org-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plesco-text-muted);
}
.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--plesco-blue);
  box-shadow: 0 0 0 3px var(--plesco-blue-light);
}

.physics-control-pill {
  position: relative;
}

.pill-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--plesco-text);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.pill-btn:hover {
  background: rgba(26, 25, 23, 0.08);
}
.pill-divider {
  width: 1px;
  height: 14px;
  background-color: var(--plesco-border);
}

/* Physics Settings Dropdown Panel */
.settings-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.settings-panel.hidden {
  display: none;
}
.settings-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--plesco-border);
  font-weight: 700;
  color: var(--plesco-text);
}
.settings-reset-btn {
  font-size: 0.6875rem;
  color: var(--plesco-text-muted);
  text-decoration: underline;
  cursor: pointer;
}
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slider-label-row {
  display: flex;
  justify-content: space-between;
  color: var(--plesco-text-muted);
}
.slider-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--plesco-text);
}

/* Custom Range Slider Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: #e2e0d8;
  height: 4px;
  border-radius: 999px;
  outline: none;
  width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--plesco-charcoal);
  cursor: pointer;
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Canvas Wrapper */
.canvas-wrapper {
  position: relative;
  width: 100%;
  height: clamp(230px, 44vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  margin: 0 auto;
}
.canvas-wrapper:active {
  cursor: grabbing;
}
canvas#plescoCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Canvas Sub-caption Bar */
.canvas-subcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--plesco-text-light);
  padding: 6px 8px 18px;
  border-bottom: 1px solid var(--plesco-border-subtle);
  margin-bottom: 2rem;
}

/* Hero Typography & CTA Block */
.hero-body-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--plesco-text);
  margin-bottom: 1rem;
}
.hero-headline .highlight-red,
.hero-headline .highlight-blue {
  color: var(--plesco-blue);
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--plesco-text-muted);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.hero-ctas-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Metrics Strip */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.metric-item {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}
.metric-item:hover {
  transform: translateY(-2px);
}
.metric-number {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--plesco-text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  will-change: transform, contents;
}
.metric-number.red { color: var(--plesco-red); }
.metric-number.green { color: var(--plesco-green-dark); }
.metric-number.cobalt { color: var(--plesco-blue); }
.metric-number.yellow { color: var(--plesco-yellow-text); }
.metric-number.teal { color: var(--plesco-teal); }
.metric-number.charcoal { color: var(--plesco-charcoal); }

@keyframes metricPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15)); }
  100% { transform: scale(1); filter: none; }
}

.metric-number.metric-settled {
  animation: metricPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--plesco-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   SECTION COMMON STYLING
   ========================================================================== */
.plesco-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}
.plesco-section-alt {
  background-color: var(--plesco-bg-alt);
}
.plesco-section-surface {
  background-color: var(--plesco-surface);
  border-top: 1px solid var(--plesco-border);
  border-bottom: 1px solid var(--plesco-border);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--plesco-blue);
  margin-bottom: 0.75rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.section-title {
  font-size: clamp(1.875rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--plesco-text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--plesco-text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-header-center {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   ABOUT PLESCO & BRAND ARCHITECTURE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lead-p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--plesco-text);
  line-height: 1.65;
}

.body-p {
  color: var(--plesco-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.values-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1rem;
}
.value-pillar {
  padding: 16px;
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-md);
}
.value-pillar-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--plesco-text);
  margin-bottom: 4px;
}
.value-pillar-desc {
  font-size: 0.8125rem;
  color: var(--plesco-text-muted);
  line-height: 1.5;
}

/* Founder / Ecosystem Card */
.ecosystem-card {
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.ecosystem-hierarchy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--plesco-border-subtle);
  margin-bottom: 20px;
}
.hierarchy-node {
  display: flex;
  flex-direction: column;
}
.node-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--plesco-text);
}
.node-desc {
  font-size: 0.75rem;
  color: var(--plesco-text-muted);
}
.hierarchy-arrow {
  color: var(--plesco-blue);
  font-weight: 700;
  font-size: 1.125rem;
}

.founder-quote-block {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.founder-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background-color: #ffffff;
  border: 2px solid var(--plesco-border);
  flex-shrink: 0;
}
.founder-quote-text {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--plesco-text);
  line-height: 1.6;
  margin-bottom: 8px;
}
.founder-quote-author {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--plesco-text);
}
.founder-quote-role {
  font-size: 0.75rem;
  color: var(--plesco-text-muted);
}

/* ==========================================================================
   INITIATIVES & CATEGORIES (THE 6 PILLARS)
   ========================================================================== */
.initiatives-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.initiative-item {
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.initiative-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 25, 23, 0.2);
}

.initiative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.initiative-item.reversed .initiative-grid {
  grid-template-columns: 1fr 1fr;
}
.initiative-item.reversed .initiative-image-col {
  order: 2;
}
.initiative-item.reversed .initiative-content-col {
  order: 1;
}

.initiative-content-col {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.initiative-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}
/* Category Badges — Supporting Event Categories */
.badge-sports,
.badge-kabaddi,
.badge-red,
.cat-sports,
.cat-kabaddi {
  background: var(--plesco-red-light);
  color: var(--plesco-red);
  border: 1px solid rgba(227, 30, 36, 0.22);
}

.badge-civic,
.badge-health,
.badge-green,
.cat-civic,
.cat-health {
  background: var(--plesco-green-light);
  color: var(--plesco-green-dark);
  border: 1px solid rgba(125, 186, 40, 0.28);
}

.badge-women,
.badge-dandiya,
.badge-magenta,
.cat-women,
.cat-dandiya {
  background: var(--plesco-magenta-light);
  color: var(--plesco-magenta);
  border: 1px solid rgba(184, 35, 132, 0.22);
}

.badge-talent,
.badge-skyblue,
.cat-talent {
  background: var(--plesco-skyblue-light);
  color: #0b6f9f;
  border: 1px solid rgba(19, 155, 216, 0.25);
}

.badge-fest,
.badge-teal,
.cat-fest {
  background: var(--plesco-teal-light);
  color: var(--plesco-teal);
  border: 1px solid rgba(22, 160, 140, 0.25);
}

.highlight-yellow,
.badge-highlight {
  background: var(--plesco-yellow);
  color: #1a1917;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.initiative-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--plesco-text);
  line-height: 1.15;
}

.initiative-partner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--plesco-text-muted);
  font-weight: 600;
}
.partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.initiative-desc {
  font-size: 0.9375rem;
  color: var(--plesco-text-muted);
  line-height: 1.65;
}

.initiative-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--plesco-text);
}
.initiative-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.check-icon {
  color: var(--plesco-green-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

.initiative-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.initiative-image-col {
  height: 100%;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.initiative-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.initiative-item:hover .initiative-img {
  transform: scale(1.03);
}

/* ==========================================================================
   EVENTS & CONTENT MANAGEMENT
   ========================================================================== */
.events-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--plesco-text-muted);
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  transition: all 0.2s ease;
  cursor: pointer;
}
.filter-pill:hover {
  background: rgba(26, 25, 23, 0.05);
  color: var(--plesco-text);
}
.filter-pill.active {
  background: var(--plesco-blue);
  color: #ffffff;
  border-color: var(--plesco-blue);
  box-shadow: 0 4px 12px var(--plesco-blue-glow);
}
.filter-pill:hover:not(.active) {
  background: var(--plesco-blue-light);
  color: var(--plesco-blue);
  border-color: rgba(0, 88, 188, 0.25);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.event-card:hover .event-card-media img {
  transform: scale(1.04);
}

.event-status-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-upcoming {
  background: var(--plesco-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--plesco-blue-glow);
}
.status-ongoing {
  background: var(--plesco-yellow);
  color: #1a1917;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--plesco-yellow-glow);
}
.status-completed {
  background: rgba(26, 25, 23, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
}

.event-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--plesco-text-light);
  margin-bottom: 8px;
}
.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.event-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--plesco-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-card-desc {
  font-size: 0.875rem;
  color: var(--plesco-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--plesco-border-subtle);
}
.event-metric {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--plesco-blue);
}

/* ==========================================================================
   GALLERY SHOWCASE & LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: var(--plesco-charcoal-light);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f3f3f3;
  margin-bottom: 4px;
}
.gallery-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* Lightbox Modal */
.plesco-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 24px;
}
.plesco-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: #f1ede6;
  font-size: 0.9375rem;
  margin-top: 14px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   COMMUNITY REGISTRATION & PARTICIPATION HUB
   ========================================================================== */
.registration-hub {
  background: var(--plesco-surface);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-md);
}

.reg-tabs-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--plesco-border);
  padding-bottom: 14px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.reg-tab-btn {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--plesco-text-muted);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.reg-tab-btn.active {
  background: var(--plesco-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--plesco-blue-glow);
}
.reg-tab-btn:hover:not(.active) {
  background: var(--plesco-blue-light);
  color: var(--plesco-blue);
}

.reg-pane {
  display: none;
}
.reg-pane.active {
  display: block;
}

.reg-pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--plesco-text);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--plesco-border);
  background: #fdfdfc;
  font-family: inherit;
  font-size: 16px; /* 16px to prevent iOS auto-zoom on mobile */
  min-height: 44px; /* Accessible 44px touch target */
  color: var(--plesco-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--plesco-blue);
  box-shadow: 0 0 0 3px var(--plesco-blue-light);
}

.form-success-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--plesco-green-light);
  border: 1px solid rgba(125, 186, 40, 0.35);
  color: var(--plesco-green-dark);
  font-size: 0.875rem;
  display: none;
}
.form-success-alert.show {
  display: block;
}

/* ==========================================================================
   DEDICATED PLESCO FOOTER
   ========================================================================== */
.plesco-footer {
  background-color: #141312;
  color: #a3a19b;
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}
.footer-org-name {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.footer-statement {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}
.footer-links-list a {
  color: #a3a19b;
}
.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-privacy-link {
  color: var(--plesco-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-privacy-link:hover {
  color: var(--plesco-text);
}

.footer-ecosystem-link {
  color: #d4450f;
  font-weight: 600;
}
.footer-ecosystem-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .initiative-grid,
  .initiative-item.reversed .initiative-grid {
    grid-template-columns: 1fr;
  }
  .initiative-item.reversed .initiative-image-col {
    order: 1;
  }
  .initiative-item.reversed .initiative-content-col {
    order: 2;
  }
  .initiative-image-col {
    min-height: 280px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reg-pane-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .plesco-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .plesco-header-actions .plesco-header-reg-btn {
    display: none !important;
  }
  .plesco-header-inner {
    padding: 0 18px;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-metrics-strip {
    grid-template-columns: 1fr;
  }
  .hero-ctas-row {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas-row .btn {
    width: 100%;
  }
  .values-pillars-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-badge {
    display: none;
  }
}

@media (max-width: 360px) {
  .plesco-header-inner {
    padding: 0 12px;
  }
  .plesco-logo-img {
    height: 38px !important;
  }
  .hamburger-btn {
    width: 40px;
    height: 40px;
  }
  .hero-metrics-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PLESCO INITIATIVES LOGO MARQUEE / SLIDER (Below plesco-hero)
   ========================================================================== */
.logo-marquee-section {
  position: relative;
  width: 100%;
  padding: 2.25rem 0 2.5rem;
  background-color: var(--plesco-bg, #f8f7f4);
  border-top: 1px solid var(--plesco-border, rgba(26, 25, 23, 0.10));
  border-bottom: 1px solid var(--plesco-border, rgba(26, 25, 23, 0.10));
  overflow: hidden;
}

.logo-marquee-header {
  max-width: 1200px;
  margin: 0 auto 1.35rem;
  padding: 0 1.5rem;
  text-align: center;
}

.logo-marquee-title {
  font-family: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--plesco-text-muted, #55534e);
  margin: 0;
}

.logo-marquee-title span {
  color: var(--plesco-blue, #0058BC);
  font-weight: 800;
}

.logo-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 8%,
    rgba(0, 0, 0, 1) 92%,
    rgba(0, 0, 0, 0) 100%
  );
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: logoMarqueeInfinite 36s linear infinite;
  will-change: transform;
}

.logo-marquee-container:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

.logo-marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 68px;
  min-width: 150px;
  padding: 10px 22px;
  background: var(--plesco-surface, #ffffff);
  border: 1px solid var(--plesco-border, rgba(26, 25, 23, 0.12));
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(26, 25, 23, 0.04);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.22s ease;
}

.logo-marquee-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--plesco-blue, #0058BC);
  box-shadow: 0 8px 20px rgba(0, 88, 188, 0.12);
}

.logo-marquee-item img {
  max-height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(10%) opacity(0.92);
  transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  user-select: none;
  pointer-events: none;
}

.logo-marquee-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.04);
}

@keyframes logoMarqueeInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-marquee-section {
    padding: 1.75rem 0 2rem;
  }
  .logo-marquee-header {
    margin-bottom: 1rem;
  }
  .logo-marquee-title {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .logo-marquee-group {
    gap: 16px;
    padding-right: 16px;
  }
  .logo-marquee-item {
    height: 56px;
    min-width: 120px;
    padding: 8px 16px;
    border-radius: 10px;
  }
  .logo-marquee-item img {
    max-height: 32px;
    max-width: 110px;
  }
  .logo-marquee-track {
    animation-duration: 28s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ==========================================================================
   RESPONSIVE VIDEO & MEDIA CENTER UTILITIES
   ========================================================================== */
.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0b0f14;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}


/* ==========================================================================
   OFFICIAL VIDEO GALLERY & BROADCASTS (119 CHRONICLES)
   ========================================================================== */
.plesco-video-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.plesco-video-search-wrap {
  position: relative;
  max-width: 600px;
  width: 100%;
}
.plesco-video-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  font-size: 0.9375rem;
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-md);
  background: var(--plesco-card-bg);
  color: var(--plesco-text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.plesco-video-search-input:focus {
  outline: none;
  border-color: var(--plesco-blue);
  box-shadow: 0 0 0 3px rgba(0, 88, 188, 0.15);
}
.plesco-video-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--plesco-text-muted);
  pointer-events: none;
}
.plesco-video-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plesco-video-filter-btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--plesco-border);
  background: var(--plesco-card-bg);
  color: var(--plesco-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.plesco-video-filter-btn:hover {
  border-color: var(--plesco-blue);
  color: var(--plesco-blue);
}
.plesco-video-filter-btn.active {
  background: var(--plesco-blue);
  color: #ffffff;
  border-color: var(--plesco-blue);
  box-shadow: 0 4px 12px rgba(0, 88, 188, 0.25);
}

.plesco-video-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--plesco-text-muted);
  font-weight: 600;
}

.plesco-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.plesco-video-card {
  background: var(--plesco-card-bg);
  border: 1px solid var(--plesco-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plesco-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 88, 188, 0.3);
}

.plesco-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--plesco-bg-alt, #f1ede6);
  overflow: hidden;
  cursor: pointer;
}
.plesco-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.plesco-video-thumb:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.plesco-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.2s ease;
  pointer-events: none;
}
.plesco-video-thumb:hover .plesco-video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #e50914;
}

.plesco-video-badge-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #f1ede6;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}

.plesco-video-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plesco-video-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--plesco-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.plesco-video-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--plesco-text);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.plesco-video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--plesco-border);
  gap: 12px;
}
.btn-play-trigger {
  background: none;
  border: none;
  padding: 0;
  color: var(--plesco-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.btn-play-trigger:hover {
  color: var(--plesco-gold);
}
.plesco-yt-link {
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.plesco-yt-link:hover {
  transform: scale(1.15);
  opacity: 0.9;
}

/* Video Modal (100% Lite Version) */
.plesco-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.plesco-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.plesco-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}
.plesco-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  color: #1e293b;
  gap: 12px;
}
.plesco-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  padding-right: 12px;
  flex: 1;
}
.plesco-modal-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #e63946;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plesco-modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.3;
}
.plesco-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.plesco-modal-fs-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.plesco-modal-fs-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.plesco-modal-close {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.plesco-modal-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* 16:9 Video Viewport (Strict 16:9, No duplicate paddings or letterboxing) */
.plesco-modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}
@supports not (aspect-ratio: 16 / 9) {
  .plesco-modal-video-wrap {
    height: 0;
    padding-bottom: 56.25%;
  }
}
.plesco-modal-video-wrap iframe,
.plesco-modal-video-wrap #yt-modal-player,
.plesco-modal-video-wrap #plescoVideoIframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.plesco-modal-video-wrap.is-primary iframe {
  pointer-events: none;
}
.plesco-modal-video-wrap.is-external iframe {
  pointer-events: auto;
}

/* Progress bar */
.plesco-modal-progress-wrap {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  cursor: pointer;
  position: relative;
  transition: height 0.15s ease;
}
.plesco-modal-progress-wrap:hover {
  height: 10px;
}
.plesco-modal-progress-bar {
  height: 100%;
  background: #e63946;
  width: 0%;
  pointer-events: none;
  position: relative;
  transition: width 0.1s linear;
}
.plesco-modal-progress-bar::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: #e63946;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.plesco-modal-progress-wrap:hover .plesco-modal-progress-bar::after {
  transform: translateY(-50%) scale(1);
}

/* Custom Controls Panel */
.plesco-modal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}
.plesco-modal-controls button {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s ease;
}
.plesco-modal-controls .btn-modal-play {
  background: #e63946;
  border: 1px solid #e63946;
  color: #ffffff;
  min-width: 100px;
}
.plesco-modal-controls .btn-modal-play:hover {
  background: #cf2230;
  border-color: #cf2230;
}
.plesco-modal-controls .btn-modal-mute,
.plesco-modal-controls .btn-modal-fs {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  min-width: 95px;
}
.plesco-modal-controls .btn-modal-mute:hover,
.plesco-modal-controls .btn-modal-fs:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.plesco-modal-controls .btn-modal-yt {
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  padding: 7px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.plesco-modal-controls .btn-modal-yt:hover {
  color: #e63946;
}

/* ==========================================================================
   RESPONSIVE VIDEO & MEDIA CENTER UTILITIES
   ========================================================================== */
.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0b0f14;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ==========================================================================
   OFFICIAL BROADCASTS & MEDIA SECTION (PLESCO PORTAL)
   ========================================================================== */
.media-spotlight {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  background-color: var(--plesco-card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--plesco-border);
  padding: clamp(20px, 3.5vw, 36px);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .media-spotlight {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.media-spotlight-video {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  background-color: #0b0f14;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--plesco-border);
}

.media-spotlight-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-spotlight-video:hover img {
  transform: scale(1.03);
}

.spotlight-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.media-spotlight-video:hover .spotlight-play-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.spotlight-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #e50914;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.media-spotlight-video:hover .spotlight-play-icon {
  transform: scale(1.12);
  background-color: #ff0000;
}

.spotlight-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.media-spotlight-text .section-eyebrow {
  margin-bottom: 8px;
}

.media-spotlight-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--plesco-text);
  margin-bottom: 12px;
}

.media-spotlight-desc {
  font-size: 0.9375rem;
  color: var(--plesco-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

.media-card {
  background-color: var(--plesco-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--plesco-border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--plesco-blue);
}

.media-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #0b0f14;
}

.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover .media-card-thumb img {
  transform: scale(1.05);
}

.media-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(229, 9, 20, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.media-card:hover .media-card-play {
  transform: translate(-50%, -50%) scale(1.12);
  background-color: #ff0000;
}

.media-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.media-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--plesco-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.media-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--plesco-text);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   PLESCO Custom YouTube Gallery & Player
   ========================================================================== */
:root {
  --plesco-theme-color: #e63946; 
  --plesco-player-bg: #ffffff;
}

/* ==========================================================================
   PLESCO Custom YouTube Gallery & Player (Redesigned Lite Theme Cinema Container)
   ========================================================================== */
.plesco-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: var(--plesco-surface, #ffffff);
  border: 1px solid var(--plesco-border, #dee2e6);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px -8px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.plesco-video-wrapper:hover {
  box-shadow: 0 18px 48px -10px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  width: 100%;
  overflow: hidden;
  background: #000000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Block default YouTube clicks for primary channel */
  pointer-events: none; 
}

/* Fallback for external channels: enable default YouTube clicks */
.plesco-video-wrapper.is-external-channel .video-container iframe {
  pointer-events: auto;
}

.plesco-player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1rem 1.5rem;
  background: var(--plesco-surface, #ffffff);
  border-bottom: 1px solid var(--plesco-border, #dee2e6);
}

.plesco-player-title {
  font-family: 'Clash Display', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--plesco-text, #1a1917);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

.plesco-player-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(230, 57, 70, 0.10);
  color: var(--plesco-red, #e63946);
  border: 1px solid rgba(230, 57, 70, 0.25);
  white-space: nowrap;
}

.plesco-player-badge.is-external {
  background: rgba(71, 85, 105, 0.10);
  color: #475569;
  border-color: rgba(71, 85, 105, 0.25);
}

/* --- Progress Bar --- */
.progress-container {
  width: 100%;
  height: 8px; /* Slightly thicker for light theme visibility */
  background: #e9ecef; /* Light gray track */
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}

.progress-container:hover {
  height: 10px;
}

.progress-bar {
  height: 100%;
  background: var(--plesco-red, #e63946);
  width: 0%;
  pointer-events: none;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 14px;
  height: 14px;
  background: var(--plesco-red, #e63946);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-container:hover .progress-bar::after {
  transform: translateY(-50%) scale(1);
}

.plesco-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: var(--plesco-surface, #ffffff);
  border-top: 1px solid var(--plesco-border, #dee2e6);
  box-sizing: border-box;
}

/* Hide custom controls for external channels */
.plesco-video-wrapper.is-external-channel .plesco-controls {
  display: none !important;
}

.plesco-controls button {
  background: transparent;
  border: 2px solid var(--plesco-text, #1a1917);
  color: var(--plesco-text, #1a1917);
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.22s ease;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  user-select: none;
}

.plesco-controls button:hover,
.plesco-controls button:focus-visible {
  background: var(--plesco-text, #1a1917);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.plesco-controls button.btn-primary-control,
.plesco-controls button#btn-play-pause {
  background: var(--plesco-red, #e63946);
  border-color: var(--plesco-red, #e63946);
  color: #ffffff;
}

.plesco-controls button.btn-primary-control:hover,
.plesco-controls button#btn-play-pause:hover {
  background: #c92a37;
  border-color: #c92a37;
  color: #ffffff;
}

.plesco-controls button svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 600px) {
  .plesco-player-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }
  .plesco-player-title {
    font-size: 0.9375rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .plesco-controls {
    flex-direction: column;
    gap: 0.75rem;
    padding: 12px 14px;
  }
  .plesco-controls button {
    width: 100%;
    min-width: unset;
  }
}

/* Scrollable Video Thumbnail List */
.plesco-video-list {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  max-width: 800px;
  margin: 15px auto;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.plesco-video-list::-webkit-scrollbar {
  height: 6px;
}

.plesco-video-list::-webkit-scrollbar-thumb {
  background: var(--plesco-border);
  border-radius: 3px;
}

.video-thumbnail {
  width: 160px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border 0.3s, transform 0.2s, box-shadow 0.2s;
  background: var(--plesco-card-bg, #fff);
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  text-align: left;
}

.video-thumbnail:hover,
.video-thumbnail:focus-visible {
  border-color: var(--plesco-theme-color);
  transform: translateY(-2px);
  outline: none;
}

.video-thumbnail.is-active {
  border-color: var(--plesco-theme-color);
  box-shadow: 0 0 0 2px rgba(215, 25, 45, 0.3);
  background: rgba(215, 25, 45, 0.04);
}

.video-thumbnail img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

@media (max-width: 480px) {
  .video-thumbnail {
    width: 135px;
    padding: 3px;
  }
  .video-thumbnail img {
    height: 76px;
  }
}


