* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: #f4f8fc;
      color: #1a1a1a;
      line-height: 1.6;
      overflow-x: hidden;
    }


    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

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

    .container {
      width: 90%;
      max-width: 1280px;
      margin: 0 auto;
    }

    /* TOP BAR */
    .topbar {
      background: #0f2d52;
      color: #fff;
      font-size: 14px;
      padding: 10px 0;
    }

    .topbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .topbar-left,
    .topbar-right {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .topbar a {
      color: #fff;
      opacity: 0.95;
      transition: 0.3s;
    }

    .topbar a:hover {
      opacity: 1;
      color: #8ed0ff;
    }

    /* HEADER */
    header {
      position: sticky;
      top: 0;
      z-index: 999;
      background: rgba(255, 255, 255, 0.92);
      /* backdrop-filter: blur(12px); */
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 84px;
      gap: 20px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 260px;
    }

    .logo-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: linear-gradient(135deg, #0f4c81, #1b79d1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 22px;
      font-weight: bold;
      box-shadow: 0 10px 25px rgba(27, 121, 209, 0.3);
    }

    .logo-text h1 {
      font-size: 18px;
      line-height: 1.2;}
    .logo-text p {
      font-size: 12px;
      color: #5a6d80;
      margin-top: 2px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 24px;}
    .nav-menu a {
      position: relative;
      font-size: 15px;
      color: #17385d;
      font-weight: 600;
      transition: 0.3s;
    }

    .nav-menu a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 2px;
      background: #1b79d1;
      transition: 0.3s;
    }

    .nav-menu a:hover {
      color: #1b79d1;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
      width: 100%;
    }

    .nav-toggle {
      display: none;
      border: none;
      background: none;
      font-size: 28px;
      cursor: pointer;
      color: #123b67;
    }

    /* HERO SLIDER */
    .slider-outer {
      position: relative;
      width: 100%;
    }
    .slider-wrap {
      position: relative;
      width: 100%;
      height: 90vh;
      min-height: 520px;
      overflow: hidden;
    }
    .slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      display: flex;
      align-items: center;
      opacity: 0;
      transition: opacity 1s ease;
      pointer-events: none;
    }
    .slide.active {
      opacity: 1;
      pointer-events: auto;
    }
    .slide-content {
      position: relative;
      z-index: 2;
      color: #fff;
      animation: fadeUp 1s ease;
    }
    /* ARROWS */
    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      font-size: 22px;
      cursor: pointer;
      transition: 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .slider-arrow:hover {
      background: rgba(27,121,209,0.7);
      border-color: #1b79d1;
    }
    .slider-prev { left: 28px; }
    .slider-next { right: 28px; }
    /* DOTS */
    .slider-dots {
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 10;
    }
    .dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      cursor: pointer;
      transition: 0.3s;
      border: none;
    }
    .dot.active {
      background: #fff;
      transform: scale(1.3);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 15px 28px;
      border-radius: 14px;
      font-weight: 700;
      transition: 0.35s ease;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, #1b79d1, #0f4c81);
      color: #fff;
      box-shadow: 0 14px 30px rgba(27, 121, 209, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.28);
      /* backdrop-filter: blur(8px); */
    }

    .btn-secondary:hover {
      transform: translateY(-3px);
      background: rgba(255, 255, 255, 0.18);
    }

    /* QUICK LINKS */
    .quick-links {
      padding: 40px 0 10px;
    }
    .quick-links-grid {
      display: flex;
      justify-content: center;
      gap: 36px;
      flex-wrap: wrap;
    }
    .ql-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      cursor: pointer;
    }
    .ql-circle {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: #1a2e45;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }
    .ql-circle svg {
      width: 44px;
      height: 44px;
      color: #fff;
    }
    .ql-item span {
      font-size: 13px;
      font-weight: 700;
      color: #1a2e45;
      letter-spacing: 0.5px;
    }
    .ql-item.active .ql-circle {
      background: #e85d1a;
      box-shadow: 0 10px 28px rgba(232,93,26,0.35);
    }
    .ql-item:hover .ql-circle {
      transform: translateY(-6px) scale(1.06);
      background: #e85d1a;
      box-shadow: 0 14px 32px rgba(232,93,26,0.35);
    }
    .ql-item:hover span {
      color: #e85d1a;
    }
    @media (max-width: 560px) {
      .ql-circle { width: 80px; height: 80px; }
      .ql-circle svg { width: 34px; height: 34px; }
      .quick-links-grid { gap: 20px; }
    }

    .hero-badge {
      display: inline-block;
      padding: 10px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.22);
      margin-bottom: 24px;
      font-size: 14px;
    }
    .slide-content h2 {
      font-size: 52px;
      line-height: 1.08;
      margin-bottom: 20px;
      font-weight: 800;
      color: #fff;
    }
    .slide-content p {
      font-size: 19px;
      max-width: 680px;
      opacity: 0.92;
      margin-bottom: 32px;
      color: #fff;
    }
    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .stats {
      margin-top: -60px;
      position: relative;
      z-index: 3;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .stat-card {
      background: #fff;
      border-radius: 20px;
      padding: 28px 24px;
      box-shadow: 0 18px 40px rgba(18, 59, 103, 0.08);
      text-align: center;
      transition: 0.35s ease;
    }

    .stat-card:hover {
      transform: translateY(-8px);
    }

    .stat-card h3 {
      font-size: 34px;
      color: #0f4c81;
      margin-bottom: 10px;
    }

    .stat-card p {
      color: #66788a;
      font-weight: 600;
    }

    /* SECTIONS */
    section {
      padding: 90px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-title span {
      display: inline-block;
      color: #1b79d1;
      font-weight: 700;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 13px;
    }
    .section-title h2 {
      font-size: 40px;
      color: #13385d;
      margin-bottom: 14px;
    }

    .section-title p {
      max-width: 760px;
      margin: 0 auto;
      color: #6b7b8c;
      font-size: 17px;
    }

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

    .feature-card {
      background: #fff;
      border-radius: 22px;
      padding: 30px;
      box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
      transition: 0.35s ease;
      border: 1px solid rgba(15, 76, 129, 0.07);
    }

    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
    }

    .feature-icon {
      width: 64px;
      height: 64px;
      border-radius: 18px;
      background: linear-gradient(135deg, #e8f3ff, #d6eaff);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      margin-bottom: 20px;
    }

    .feature-card h3 {
      font-size: 22px;
      margin-bottom: 12px;
      color: #153a61;
    }

    .feature-card p {
      color: #6f8091;
    }

    /* PROGRAMS */
    .programs {
      background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
    }

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

    .program-card {
      position: relative;
      overflow: hidden;
      border-radius: 22px;
      background: #fff;
      box-shadow: 0 18px 40px rgba(18, 59, 103, 0.08);
      transition: 0.35s ease;
    }

    .program-card:hover {
      transform: translateY(-10px);
    }

    .program-image {
      height: 220px;
      overflow: hidden;
    }

    .program-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: 0.5s ease;
    }

    .program-card:hover .program-image img {
      transform: scale(1.08);
    }

    .program-content {
      padding: 28px;
    }

    .program-content h3 {
      font-size: 23px;
      color: #14395f;
      margin-bottom: 12px;
    }

    .program-content p {
      color: #6b7d8f;
      margin-bottom: 18px;
    }

    .program-link {
      font-weight: 700;
      color: #1b79d1;
    }

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

    .news-card {
      background: #fff;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
      transition: 0.35s ease;
    }

    .news-card:hover {
      transform: translateY(-10px);
    }

    .news-image {
      height: 220px;
      overflow: hidden;
    }

    .news-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: 0.45s ease;
    }

    .news-card:hover .news-image img {
      transform: scale(1.08);
    }

    .news-content {
      padding: 26px;
    }

    .news-date {
      display: inline-block;
      font-size: 13px;
      color: #1b79d1;
      font-weight: 700;

      margin-bottom: 14px;
    }

    .news-content h3 {
      font-size: 22px;
      color: #153a61;
      margin-bottom: 12px;
    }

    .news-content p {
      color: #6e8092;
      margin-bottom: 18px;
    }

    /* CTA */
    .cta {
      background:
        linear-gradient(rgba(15, 45, 82, 0.9), rgba(15, 45, 82, 0.9)),
        url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
      color: #fff;
      text-align: center;
      border-radius: 28px;
      padding: 70px 30px;
      overflow: hidden;
      position: relative;
    }

    .cta h2 {
      font-size: 42px;
      margin-bottom: 16px;
    }

    .cta p {
      max-width: 780px;
      margin: 0 auto 28px;
      font-size: 18px;
      opacity: 0.95;
    }

    /* FOOTER */
    footer {
      background: #0d2340;
      color: #d5e3f3;
      margin-top: 90px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 30px;
      padding: 70px 0 40px;
    }

    .footer-col h3 {
      color: #fff;
      margin-bottom: 18px;
      font-size: 20px;
    }

    .footer-col p,
    .footer-col a,
    .footer-col li {
      color: #d5e3f3;
      opacity: 0.9;
      margin-bottom: 10px;
      display: block;
    }

    .footer-col a:hover {
      color: #8ed0ff;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 18px 0;
      text-align: center;
      font-size: 14px;
      color: #b8cce0;
    }

    /* ANIMATION */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.9s ease;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(35px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* MOBILE */
    @media (max-width: 1100px) {
      .stats-grid,
      .features-grid,
      .programs-grid,
      .news-grid,
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .hero h2 {
        font-size: 44px;
      }
    }

    @media (max-width: 860px) {
      .nav-toggle {
        display: block;
      }

      .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        display: none;
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
      }

      .nav-menu.show {
        display: flex;
      }

      .navbar {
        position: relative;
      }

      .slider-wrap {
        min-height: 80vh;
        height: 80vh;
      }

      .slide-content h2 {
        font-size: 36px !important;
      }

      .slide-content p {
        font-size: 17px !important;
      }

      .stats-grid,
      .features-grid,
      .programs-grid,
      .news-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .section-title h2,
      .cta h2 {
        font-size: 30px;
      }
    }

    @media (max-width: 560px) {
      .logo {
        min-width: auto;
      }

      .logo-text h1 {
        font-size: 15px;
      }

      .logo-text p {
        font-size: 11px;
      }

      .slide-content h2 {
        font-size: 28px !important;
      }

      .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
      }
      .slider-prev { left: 12px; }
      .slider-next { right: 12px; }

      .btn {
        width: 100%;
      }
    }
  

/* ─── PAGE RESPONSIVE ─────────────────────────── */
@media (max-width: 1100px) {
  .stats-grid, .features-grid, .programs-grid,
  .news-grid, .footer-grid, .steps-grid, .benefits-grid,
  .cards-grid, .partners-grid, .docs-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .hero { padding: 70px 0 !important; min-height: auto !important; }
  .hero h1, .hero h2 { font-size: 30px !important; }
  .hero p { font-size: 16px !important; }
  .hero-badge { font-size: 12px; padding: 8px 12px; }
  .section-title h2 { font-size: 28px !important; }
  .cta h2 { font-size: 26px !important; }
  .cta { padding: 50px 20px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mobility-grid, .schedule-layout, .contact-grid,
  .two-col, .split-grid { grid-template-columns: 1fr !important; }
  .sidebar { position: static !important; }
}
@media (max-width: 560px) {
  .stats-grid, .features-grid, .programs-grid,
  .news-grid, .footer-grid, .steps-grid, .benefits-grid,
  .cards-grid, .partners-grid, .docs-grid, .team-grid {
    grid-template-columns: 1fr !important;
  }
  .container { width: 95% !important; }
  .hero h1, .hero h2 { font-size: 24px !important; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr !important; }
  section { padding: 60px 0 !important; }
  .timeline-line { left: 16px !important; transform: none !important; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100% !important; left: 0 !important;
    text-align: left !important; padding: 0 0 24px 44px !important;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 6px !important; right: auto !important; }
}

/* ─── OVERFLOW / SCROLL FIX ──── */
html, body { overflow-x: hidden; max-width: 100%; }
* { max-width: 100%; }
img, video { max-width: 100%; height: auto; }
.schedule-layout { grid-template-columns: 1fr !important; }
@media (max-width: 1100px) {
  .schedule-layout { grid-template-columns: 1fr !important; }
  .sidebar { position: static !important; top: auto; }
}
@media (max-width: 768px) {
  .lesson { grid-template-columns: 1fr !important; }
  .room { align-items: flex-start !important; text-align: left !important; }
}

/* ─── NEWS TICKER BAR ─── */
.news-ticker-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  background: rgba(6, 15, 32, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.10);
  height: 50px;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.18);
  height: 100%;
  background: rgba(0,82,204,0.85);
}
.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3d3d;
  box-shadow: 0 0 0 0 rgba(255,61,61,0.6);
  animation: tickerPulse 1.4s infinite;
  flex-shrink: 0;
}
@keyframes tickerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,61,61,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(255,61,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,61,61,0); }
}
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 38s linear infinite;
  gap: 0;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
  padding: 0 32px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.ticker-sep {
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  padding: 0 4px;
}
@media (max-width: 768px) {
  .ticker-label { padding: 0 12px; font-size: 10px; }
  .ticker-item { font-size: 12px; padding: 0 20px; }
  .news-ticker-bar { height: 40px; }
}

/* ═══════════════════════════════════════
   SLIDE LAYOUT — 2 COLUMN (text + news)
   ═══════════════════════════════════════ */
.slide-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* ── NEWS PANEL (right side of slider) ── */
.slide-news-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 1s ease;
}

.snp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.snp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4dabf7;
  box-shadow: 0 0 0 0 rgba(77,171,247,0.6);
  animation: snpPulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes snpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(77,171,247,0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(77,171,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(77,171,247,0); }
}

.snp-title {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.snp-all {
  font-size: 12px;
  color: #4dabf7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}
.snp-all:hover { color: #fff; }

.snp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.snp-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.snp-item:last-child { border-bottom: none; }
.snp-item:hover { background: rgba(255,255,255,0.10); }

.snp-date {
  font-size: 11px;
  color: #4dabf7;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.snp-text {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
}

/* Responsive — hide panel on small screens */
@media (max-width: 1024px) {
  .slide-layout {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .slide-layout {
    grid-template-columns: 1fr;
  }
  .slide-news-panel {
    display: none;
  }
}

/* ═══════════════════════════════════════
   SNP TABS  (News / Photo / Video)
   ═══════════════════════════════════════ */

/* Remove old header row — replaced by tabs */
.snp-header { display: none; }

.snp-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 12px;
}

.snp-tab {
  flex: 1;
  padding: 7px 6px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  font-family: inherit;
  white-space: nowrap;
}
.snp-tab:hover { color: #fff; }
.snp-tab.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Panes */
.snp-pane { display: none; flex-direction: column; gap: 8px; flex: 1; overflow: hidden; }
.snp-pane.active { display: flex; }

.snp-more-link {
  font-size: 12px;
  color: #4dabf7;
  text-decoration: none;
  font-weight: 600;
  text-align: right;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.snp-more-link:hover { color: #fff; }

/* ── PHOTO GRID ── */
.snp-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
}
.snp-photo-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  cursor: pointer;
}
.snp-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.snp-photo-item:hover img { transform: scale(1.07); }
.snp-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 7px 8px;
  font-size: 10.5px;
  color: #fff;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.25s;
}
.snp-photo-item:hover .snp-photo-overlay { opacity: 1; }

/* ── VIDEO LIST ── */
.snp-video-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}
.snp-video-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.snp-video-item:last-child { border-bottom: none; }
.snp-video-item:hover { background: rgba(255,255,255,0.1); }

.snp-video-thumb {
  position: relative;
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.snp-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.snp-video-item:hover .snp-video-thumb img { transform: scale(1.05); }
.snp-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.42);
  color: #fff;
  font-size: 16px;
  transition: background 0.2s;
}
.snp-video-item:hover .snp-play-btn { background: rgba(0,102,255,0.6); }

.snp-video-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.snp-video-title {
  font-size: 12.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.snp-video-dur {
  font-size: 11px;
  color: #4dabf7;
  font-weight: 600;
}

/* ── VIDEO MODAL ── */
.snp-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.snp-video-modal.open { display: flex; }
.snp-video-modal-inner {
  position: relative;
  width: min(860px, 92vw);
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.snp-video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.snp-video-close {
  position: absolute;
  top: -38px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.snp-video-close:hover { opacity: 1; }
