/* =================================================================
   style.css — SMP Negeri 24 Surabaya
   Sections: Variables · Topbar · Navbar · Drawer · Footer · Utils
================================================================= */

/* ----------------------------------------------------------------
   VARIABLES
---------------------------------------------------------------- */
:root {
  --blue      : #0f317e;
  --blue-dk   : #0a2260;
  --blue-lt   : #1a4fb8;
  --yellow    : #f5c800;
  --yellow-dk : #e6ba00;
  --white     : #ffffff;
  --dark      : #1a1a2e;
  --text      : #2d3748;
  --muted     : #718096;
  --border    : #e2e8f0;
  --font      : 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: #f7f9fc; }

/* ================================================================
   TOPBAR
================================================================ */
.topbar {
  background: var(--blue);
  height: 38px;
  display: flex;
  align-items: center;
}
.topbar-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-left a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.topbar-left a i {
  font-size: 11px;
  color: var(--yellow);
}
.topbar-left a:hover { color: var(--white); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topbar-social {
  width: 34px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s, background .2s;
  position: relative;
}
.topbar-social::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .25s;
}
.topbar-social:hover { color: var(--yellow); }
.topbar-social:hover::after { width: 70%; }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(15,49,126,.08);
}
.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 0;
  text-decoration: none;
}
.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Logo shield placeholders */
.logo-shield {
  width: 52px;
  height: 58px;
  background: linear-gradient(145deg, #2e7d32, #1b5e20);
  clip-path: polygon(50% 0%, 90% 10%, 100% 40%, 85% 80%, 50% 100%, 15% 80%, 0% 40%, 10% 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-shield i { color: #fff; font-size: 22px; }

.logo-shield-2 {
  width: 52px;
  height: 58px;
  background: linear-gradient(145deg, #0f317e, #1a4fb8);
  clip-path: polygon(50% 0%, 90% 10%, 100% 40%, 85% 80%, 50% 100%, 15% 80%, 0% 40%, 10% 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-shield-2 i { color: var(--yellow); font-size: 20px; }

/* ── Nav Rows ── */
.nav-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nav-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Nav Items ── */
.nav-item { position: relative; list-style: none; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-link:hover::after,
.nav-item.open > .nav-link::after { transform: scaleX(1); }
.nav-link:hover,
.nav-item.open > .nav-link { color: var(--blue); }

.nav-link .caret {
  font-size: 8px;
  margin-top: 1px;
  transition: transform .25s;
  color: var(--muted);
}
.nav-item.open > .nav-link .caret,
.nav-item:hover > .nav-link .caret { transform: rotate(180deg); color: var(--blue); }

/* Row 3 highlight last item (SPMB button) */
.nav-row-3 .nav-item:last-child .nav-link {
  background: var(--blue);
  color: var(--white);
  padding: 6px 14px;
  margin-left: 4px;
  font-size: 11px;
}
.nav-row-3 .nav-item:last-child .nav-link:hover { background: var(--blue-dk); }
.nav-row-3 .nav-item:last-child .nav-link::after { display: none; }

/* ── Dropdown ── */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--white);
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(15,49,126,.14);
  z-index: 500;
  padding: 6px 0;
  list-style: none;
  animation: ddFade .18s ease;
}
@keyframes ddFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item:hover .dropdown-menu,
.nav-item.open  .dropdown-menu { display: block; }

.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.dropdown-menu li a:hover {
  color: var(--blue);
  background: #f0f5ff;
  border-left-color: var(--blue);
}

/* ── Partner / secondary logo ── */
.nav-partners {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 8px 0 8px 10px;
}
.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s;
}
.partner-badge:hover { transform: scale(1.04); }
.partner-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.pi-penggerak { background: linear-gradient(135deg, #e63946, #f77f00); color: #fff; }
.pi-ramah     { background: linear-gradient(135deg, #2ec4b6, #0077b6); color: #fff; }
.partner-label {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 52px;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1200;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================================================================
   MOBILE DRAWER
================================================================ */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1050;
  opacity: 0;
  transition: opacity .3s;
}
.drawer-overlay.active { display: block; opacity: 1; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: #1a2744;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.active { transform: translateX(0); }

.drawer-head {
  background: var(--blue);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.drawer-logo { display: flex; align-items: center; gap: 10px; }

.drawer-logo-shield {
  width: 36px; height: 40px;
  background: linear-gradient(145deg, #2e7d32, #1b5e20);
  clip-path: polygon(50% 0%, 90% 10%, 100% 40%, 85% 80%, 50% 100%, 15% 80%, 0% 40%, 10% 10%);
  display: flex; align-items: center; justify-content: center;
}
.drawer-logo-shield i { color: #fff; font-size: 15px; }

.drawer-logo-shield-2 {
  width: 36px; height: 40px;
  background: linear-gradient(145deg, #1a4fb8, #0f317e);
  clip-path: polygon(50% 0%, 90% 10%, 100% 40%, 85% 80%, 50% 100%, 15% 80%, 0% 40%, 10% 10%);
  display: flex; align-items: center; justify-content: center;
}
.drawer-logo-shield-2 i { color: var(--yellow); font-size: 14px; }

.drawer-close {
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}
.drawer-close:hover { background: rgba(255,255,255,.22); }

.drawer-nav { flex: 1; padding: 8px 0; }
.drawer-nav ul { list-style: none; padding: 0; margin: 0; }
.drawer-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.07); }

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: background .15s, color .15s;
}
.drawer-link:hover           { background: rgba(245,200,0,.08); color: var(--yellow); }
.drawer-link.active-page     { color: var(--yellow); }

.drawer-chevron {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  transition: transform .25s, color .2s;
  flex-shrink: 0;
}
.drawer-link.open .drawer-chevron { transform: rotate(180deg); color: var(--yellow); }

.drawer-sub {
  display: none;
  background: rgba(0,0,0,.2);
  border-left: 3px solid rgba(245,200,0,.35);
  margin-left: 20px;
  list-style: none;
  padding: 0;
}
.drawer-sub.open { display: block; }
.drawer-sub li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: color .15s, background .15s;
}
.drawer-sub li a::before {
  content: '›';
  font-size: 14px;
  color: var(--yellow);
  opacity: .7;
}
.drawer-sub li a:hover { color: var(--yellow); background: rgba(245,200,0,.06); }

.drawer-foot {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.drawer-foot a {
  display: block;
  text-align: center;
  background: var(--yellow);
  color: var(--blue);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px;
  text-decoration: none;
  border-radius: 6px;
  transition: background .2s;
}
.drawer-foot a:hover { background: var(--yellow-dk); }

/* ================================================================
   FOOTER
================================================================ */
.ftr {
  background: #1a1a2e;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
  font-family: var(--font);
}
.ftr-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 48px;
}
.ftr-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  letter-spacing: .3px;
}

/* Logo area */
.ftr-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ftr-logo-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.ftr-logo-circle img { width: 100%; height: 100%; object-fit: contain; }
.ftr-logo-name { font-size: 14px; font-weight: 800; color: var(--white); line-height: 1.3; }
.ftr-logo-sub  { font-size: 11px; font-weight: 600; color: var(--yellow); margin-top: 2px; }

.ftr-address {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Map */
.ftr-map {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.12);
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.ftr-map iframe { display: block; width: 100%; height: 160px; border: none; }

/* Social icons */
.ftr-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.ftr-soc-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.ftr-soc-btn:hover { background: var(--yellow); color: var(--blue-dk); transform: translateY(-2px); }

/* Contact */
.ftr-contact-rows { display: flex; flex-direction: column; gap: 16px; }
.ftr-contact-item { display: flex; align-items: flex-start; gap: 13px; }
.ftr-ci-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 14px;
  margin-top: 1px;
  border: 1px solid rgba(255,255,255,.1);
}
.ftr-ci-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 3px;
}
.ftr-ci-val { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); line-height: 1.6; }
.ftr-ci-val a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.ftr-ci-val a:hover { color: var(--yellow); }

/* Quick link */
.ftr-links { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.ftr-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  border-bottom: 1px dashed rgba(255,255,255,.08);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.ftr-links li:last-child a { border-bottom: none; }
.ftr-links li a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  transition: transform .2s;
}
.ftr-links li a:hover              { color: var(--white); padding-left: 4px; }
.ftr-links li a:hover::before      { transform: scale(1.4); }

/* Bottom bar */
.ftr-bottom {
  background: var(--yellow);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ftr-copy { font-family: var(--font); font-size: 12.5px; font-weight: 700; color: var(--blue-dk); }
.ftr-copy a { color: var(--blue-dk); text-decoration: underline; }
.ftr-copy a:hover { color: var(--blue); }

/* ================================================================
   BACK TO TOP
================================================================ */
.ftr-back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 42px; height: 42px;
  border-radius: 6px;
  background: var(--blue);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(15,49,126,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s, background .2s;
  font-family: var(--font);
}
.ftr-back-top.show         { opacity: 1; pointer-events: all; }
.ftr-back-top:hover        { background: var(--yellow); color: var(--blue-dk); transform: translateY(-2px); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1280px) {
  .nav-link    { padding: 9px 9px; font-size: 10.5px; }
  .nav-partners { padding-left: 8px; gap: 8px; }
}
@media (max-width: 1024px) {
  .nav-rows, .nav-partners { display: none; }
  .hamburger   { display: flex; }
  .navbar-inner { height: 64px; }
}
@media (max-width: 960px) {
  .ftr-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 28px 40px; }
}
@media (max-width: 600px) {
  .topbar-left a span { display: none; }
  .topbar-inner       { padding: 0 16px; }
  .ftr-inner          { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 36px; }
  .ftr-bottom         { padding: 14px 20px; }
}

.contact-social-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.contact-social-link:hover {
  background: #f5f5f5;
  border-color: #bdbdbd;
}


/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:   #0f317e;
  --navydk: #0a2260;
  --navylt: #1a4aaa;
  --yellow: #FFD600;
  --white:  #ffffff;
  --gray:   #f5f7fc;
  --text:   #1e293b;
  --muted:  #64748b;
  --border: #e2e8f0;
  --font:   'Nunito', sans-serif;
  --max:    1300px;
  --rad:    10px;
}
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');
body { font-family: var(--font); }
a    { text-decoration: none; color: inherit; }
img  { display: block; max-width: 100%; }

/* ── Section layout ── */
.s-wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ── Section heading ── */
.s-title {
  text-align: center; margin-bottom: 36px;
}
.s-title h2 {
  font-size: 26px; font-weight: 900; color: var(--text);
  letter-spacing: .3px; text-transform: uppercase;
}
.s-title-line {
  width: 48px; height: 4px; border-radius: 2px;
  background: var(--navy); margin: 10px auto 0;
}

/* ============================================================
   SECTION 1 — HERO SLIDER
   ============================================================ */
.hero-section {
  background: #222;
  position: relative;
  overflow: hidden;
}

/* Viewport & track */
.hero-viewport {
  position: relative;
  overflow: hidden;
  /* aspect ratio: ~16:7 (reference gambar landscape) */
}
.hero-track {
  display: flex;
  transition: transform .6s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%; position: relative;
  aspect-ratio: 16 / 6.5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}

/* Gambar background slide */
.hero-slide img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero-slide.hero-active img.hero-bg { transform: scale(1.04); }

/* Overlay gelap */
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.45) 60%,
    rgba(0,0,0,.62) 100%
  );
  z-index: 1;
}

/* Side dimming (kiri kanan gelap seperti di referensi) */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 14%;
  z-index: 5; pointer-events: none;
}
.hero-section::before { left: 0; background: linear-gradient(to right, rgba(30,30,30,.7), transparent); }
.hero-section::after  { right: 0; background: linear-gradient(to left, rgba(30,30,30,.7), transparent); }

/* Slide content */
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px 48px; gap: 12px;
}
.hero-badge {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; border: 3px solid rgba(255,255,255,.6);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
.hero-badge img { width: 100%; height: 100%; object-fit: contain; }
.hero-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900; color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  letter-spacing: .5px; line-height: 1.25;
}
.hero-sub {
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  max-width: 520px;
}

/* Arrow buttons */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: var(--white); border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: background .2s, color .2s, transform .2s;
}
.hero-arrow:hover { background: var(--yellow); color: var(--navy); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }

/* Dots */
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px; max-width: 200px;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none; cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.hero-dot.on { background: var(--white); transform: scale(1.25); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .2s, background .2s;
}
.wa-float:hover { background: #1ebe5d; transform: scale(1.1); }

/* ============================================================
   SECTION 2 — SAMBUTAN
   ============================================================ */
.sambutan-section {
  padding: 72px 0;
  background: var(--white);
}
.sambutan-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

/* Text side */
.sambutan-text h2 {
  font-size: 26px; font-weight: 900; color: var(--navy);
  line-height: 1.3; margin-bottom: 6px;
}
.sambutan-text .salam {
  font-size: 13px; font-weight: 600; color: var(--muted);
  font-style: italic; margin-bottom: 20px;
}
.sambutan-body { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.sambutan-body p { margin-bottom: 16px; }
.sambutan-body p:last-child { margin-bottom: 0; }

/* Subheading dalam sambutan */
.sambutan-body h3 {
  font-size: 15.5px; font-weight: 800; color: var(--navy);
  margin: 28px 0 8px; position: relative; padding-left: 14px;
}
.sambutan-body h3::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 4px; height: 16px; border-radius: 2px;
  background: var(--yellow);
}

/* Photo side */
.sambutan-photo-wrap { position: sticky; top: 100px; }
.sambutan-photo {
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(15,49,126,.14);
  aspect-ratio: 3/4;
  background: #dde6f5;
}
.sambutan-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sambutan-caption {
  margin-top: 14px; text-align: center;
}
.sambutan-caption .name {
  font-size: 14px; font-weight: 800; color: var(--navy);
}
.sambutan-caption .jabatan {
  font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px;
}

/* ============================================================
   SECTION 3 — INFO TERKINI
   ============================================================ */
.info-section {
  padding: 72px 0;
  background: var(--gray);
}

/* Carousel viewport */
.info-carousel {
  position: relative;
  overflow: hidden;
}
.info-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}

/* Card */
.info-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(15,49,126,.07);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(15,49,126,.13);
}

/* Thumbnail */
.info-thumb {
  width: 100%; aspect-ratio: 16/10;
  position: relative; overflow: hidden;
  background: #dde6f5;
  flex-shrink: 0;
}
.info-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.info-card:hover .info-thumb img { transform: scale(1.04); }

/* Date badge */
.info-date-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
  white-space: nowrap;
}

/* Placeholder untuk slide tanpa gambar */
.info-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navylt) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.25); font-size: 44px;
}

/* Card body */
.info-body {
  padding: 20px 20px 22px;
  flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.info-title {
  font-size: 14px; font-weight: 800; color: var(--text);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.info-card:hover .info-title { color: var(--navy); }
.info-excerpt {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.info-read {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 800; color: var(--navy);
  transition: gap .2s;
}
.info-read i { font-size: 10px; transition: transform .2s; }
.info-card:hover .info-read { gap: 9px; }
.info-card:hover .info-read i { transform: translateX(2px); }

/* Carousel dots */
.info-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.info-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: background .25s, transform .25s; padding: 0;
}
.info-dot.on { background: var(--navy); transform: scale(1.3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Sambutan: stack at 900px */
@media (max-width: 900px) {
  .sambutan-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sambutan-photo-wrap {
    position: static;
    max-width: 300px; margin: 0 auto;
  }
  .sambutan-section { padding: 52px 0; }
  .info-section     { padding: 52px 0; }
}

/* Info cards: 2 column at 860px */
@media (max-width: 860px) {
  .info-card { flex-basis: calc(50% - 12px); }
}

/* Info cards: 1 column at 560px */
@media (max-width: 560px) {
  .info-card { flex-basis: 100%; }
  .s-title h2 { font-size: 20px; }
  .sambutan-text h2 { font-size: 20px; }
}

/* Hero: smaller content at mobile */
@media (max-width: 640px) {
  .hero-badge { width: 60px; height: 60px; }
  .hero-content { padding: 16px 32px; gap: 8px; }
  .hero-arrow { width: 32px; height: 32px; font-size: 12px; }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
}

/* General padding */
@media (max-width: 600px) {
  .s-wrap { padding: 0 16px; }
}


  /* ── Tentang section ── */
  .tentang-section {
    padding: 72px 0;
    background: var(--white);
  }

  .tn-carousel {
    position: relative;
    overflow: hidden;
  }
  .tn-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  }
  .tn-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--rad);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(15, 49, 126, 0.06);
    transition:
      transform 0.25s,
      box-shadow 0.25s;
    display: flex;
    flex-direction: column;
  }
  .tn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(15, 49, 126, 0.12);
  }
  .tn-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #dde6f5;
    flex-shrink: 0;
  }
  .tn-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
  }
  .tn-card:hover .tn-thumb img {
    transform: scale(1.04);
  }
  .tn-body {
    padding: 20px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .tn-title {
    font-size: 13.5px;
    font-weight: 900;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tn-card:hover .tn-title {
    color: var(--navy);
  }
  .tn-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tentang-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
  }
  .td {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition:
      background 0.25s,
      transform 0.25s;
    padding: 0;
  }
  .td.on {
    background: var(--navy);
    transform: scale(1.3);
  }

  @media (max-width: 860px) {
    .tn-card {
      flex-basis: calc(50% - 12px);
    }
  }
  @media (max-width: 560px) {
    .tn-card {
      flex-basis: 100%;
    }
  }


  .why-section {
    padding: 80px 0;
    background: var(--gray);
  }
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
    margin-top: 48px;
  }
  .why-item {
    text-align: center;
  }
  .why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(15, 49, 126, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition:
      background 0.25s,
      transform 0.25s;
  }
  .why-item:hover .why-icon {
    background: rgba(15, 49, 126, 0.14);
    transform: scale(1.08);
  }
  .why-icon i {
    font-size: 32px;
    color: var(--navy);
  }
  .why-item h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35;
  }
  .why-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
  }

  @media (max-width: 860px) {
    .why-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 36px 28px;
    }
  }
  @media (max-width: 500px) {
    .why-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  }


  .program-section {
    padding: 0;
    background: #dbe5fd; /* hijau muda sesuai referensi */
    overflow: hidden;
  }
  .program-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 480px;
  }
  /* Foto kiri */
  .program-photo {
    position: relative;
    overflow: hidden;
  }
  .program-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  /* Konten kanan */
  .program-content {
    padding: 64px 56px 64px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .program-content .pc-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
  }
  .program-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
  }
  .program-content .pc-line {
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: var(--navy);
    margin-bottom: 20px;
  }
  .program-content .pc-lead {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 32px;
  }
  .program-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }
  .pg2-item h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 5px;
  }
  .pg2-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
  }

  @media (max-width: 960px) {
    .program-inner {
      grid-template-columns: 1fr;
    }
    .program-photo {
      height: 300px;
    }
    .program-content {
      padding: 48px 28px;
    }
    .program-content h2 {
      font-size: 24px;
    }
  }
  @media (max-width: 560px) {
    .program-grid2 {
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .program-content {
      padding: 36px 20px;
    }
  }



  .galeri-section {
    padding: 72px 0;
    background: var(--white);
  }

  /* Masonry grid */
  .gal-grid {
    columns: 3;
    column-gap: 16px;
    margin-top: 4px;
  }
  .gal-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--rad);
    overflow: hidden;
    cursor: pointer;
    position: relative;
  }
  .gal-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
  }
  .gal-item:hover img {
    transform: scale(1.05);
  }
  .gal-item .gal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 49, 126, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
  }
  .gal-item:hover .gal-overlay {
    background: rgba(15, 49, 126, 0.35);
  }
  .gal-overlay i {
    color: var(--white);
    font-size: 26px;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.25s;
  }
  .gal-item:hover .gal-overlay i {
    opacity: 1;
    transform: scale(1);
  }

  /* Video badge */
  .gal-item.is-video::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--navy);
    pointer-events: none;
    display: flex;
  }

  /* Caption bar on bottom */
  .gal-cap-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: var(--white);
    font-size: 11.5px;
    font-weight: 700;
    padding: 20px 12px 10px;
    line-height: 1.35;
    opacity: 0;
    transition: opacity 0.25s;
  }
  .gal-item:hover .gal-cap-bar {
    opacity: 1;
  }

  /* Lihat semua button */
  .gal-more {
    text-align: center;
    margin-top: 32px;
  }
  .gal-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--rad);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 800;
    transition:
      background 0.2s,
      transform 0.15s;
  }
  .gal-more-btn:hover {
    background: var(--navylt);
    transform: translateY(-2px);
  }

  /* ── Lightbox ── */
  .gal-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
  }
  .gal-lb.on {
    display: flex;
  }
  .gal-lb-inner {
    position: relative;
    width: 85%;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .gal-lb-inner img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--rad);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  }
  .gal-lb-cap {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
  }
  .gal-lb-x {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
      background 0.2s,
      color 0.2s;
  }
  .gal-lb-x:hover {
    background: var(--yellow);
    color: var(--navy);
  }

  @media (max-width: 860px) {
    .gal-grid {
      columns: 2;
    }
  }
  @media (max-width: 480px) {
    .gal-grid {
      columns: 1;
    }
  }

.profil-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: inherit;
}

.profil-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: #000;
}
.profil-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.profil-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy, #0f317e);
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy, #0f317e);
  letter-spacing: 0.03em;
}

.table-profile-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.table-profile {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-profile tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.table-profile tr:last-child { border-bottom: none; }
.table-profile tr:hover { background: #f8fafc; }

.table-profile td {
  padding: 11px 16px;
  vertical-align: top;
  color: #334155;
  line-height: 1.6;
}

.table-profile td:first-child {
  width: 38%;
  font-weight: 500;
  color: #1e293b;
}
.table-profile td:nth-child(2) {
  width: 4%;
  color: #94a3b8;
  text-align: center;
}
.table-profile td:last-child {
  color: #475569;
}

.table-profile tr:nth-child(even) td { background: #fafbfd; }
.table-profile tr:nth-child(even):hover td { background: #f1f5f9; }

.profil-deskripsi {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
}

.profil-deskripsi h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy, #0f317e);
  margin: 0 0 1rem 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy, #0f317e);
}

.profil-deskripsi-content {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
}
.profil-deskripsi-content p { margin-bottom: 0.75rem; }
.profil-deskripsi-content p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .table-profile td:first-child { width: 45%; }
  .table-profile td { padding: 9px 12px; font-size: 13px; }
}

.guru-detail-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.guru-detail-left {
  flex: 0 0 220px;
  text-align: center;
}

.guru-detail-photo {
  width: 250px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}

.guru-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.guru-detail-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dde6f5;
  color: #94a3b8;
}

.guru-detail-name {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.guru-detail-jabatan {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.guru-detail-right {
  flex: 1;
  min-width: 0;
}


@media (max-width: 600px) {
  .guru-detail-wrap { flex-direction: column; align-items: center; }
  .guru-detail-left { flex: none; width: 100%; }
  .guru-detail-photo { width: 100%; height: 260px; }
}

.news-detail-wrap {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ── MAIN CONTENT ── */
.news-detail-main {
  flex: 0 0 calc(65% - 1.25rem);
  min-width: 0;
}

.news-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.news-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
}

.news-detail-meta svg {
  flex-shrink: 0;
  color: var(--navy, #0f317e);
}

.news-detail-cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  max-height: 420px;
}

.news-detail-cover img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.news-detail-body {
  font-size: 15px;
  color: #334155;
  line-height: 1.85;
}

.news-detail-body p { margin-bottom: 1rem; }
.news-detail-body img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.news-detail-body h1,
.news-detail-body h2,
.news-detail-body h3 { color: #1e293b; margin: 1.5rem 0 0.5rem; }
.news-detail-body ul,
.news-detail-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.news-detail-body blockquote {
  border-left: 3px solid var(--navy, #0f317e);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

/* ── SHARE BOX ── */
.news-share-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  flex-wrap: wrap;
}

.news-share-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.news-share-btns {
  display: flex;
  gap: 8px;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  color: #fff;
}
.news-share-btn:hover { opacity: 0.85; color: #fff; }
.news-share-btn.fb { background: #1877f2; }
.news-share-btn.tw { background: #1da1f2; }
.news-share-btn.wa { background: #25d366; }

/* ── SIDEBAR ── */
.news-detail-sidebar {
  flex: 0 0 calc(35% - 1.25rem);
  min-width: 0;
}

.news-sidebar-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.news-sidebar-heading {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--navy, #0f317e);
  padding: 14px 18px;
  margin: 0;
}

.news-sidebar-list {
  padding: 8px 0;
}

.news-sidebar-item {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.15s;
}
.news-sidebar-item:last-child { border-bottom: none; }
.news-sidebar-item:hover { background: #f8fafc; }

.news-sidebar-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

.news-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-sidebar-info {
  flex: 1;
  min-width: 0;
}

.news-sidebar-title {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.news-sidebar-date {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}


@media (max-width: 768px) {
  .news-detail-wrap { flex-direction: column; }
  .news-detail-title { font-size: 1.3rem; }
  
  .news-detail-main,
  .news-detail-sidebar { flex: none; width: 100%; }
}

.poll-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.poll-header {
  background: var(--navy, #0f317e);
  padding: 14px 18px;
}

.poll-header h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}

.poll-body {
  padding: 18px;
}

.poll-question {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ── FORM ── */
.poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.poll-option:hover { background: #f8fafc; border-color: var(--navy, #0f317e); }
.poll-option input[type="radio"] { accent-color: var(--navy, #0f317e); width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.poll-option label { font-size: 14px; color: #334155; cursor: pointer; margin: 0; line-height: 1.4; }

.poll-submit {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 24px;
  background: var(--navy, #0f317e);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
  text-align: center;
}
.poll-submit:hover { opacity: 0.88; }

/* ── HASIL ── */
.poll-result-item {
  margin-bottom: 12px;
}

.poll-result-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.poll-result-text {
  font-size: 13px;
  color: #334155;
  font-weight: 500;
  flex: 1;
  padding-right: 8px;
  line-height: 1.4;
}

.poll-result-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy, #0f317e);
  white-space: nowrap;
}

.poll-bar-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  background: var(--navy, #0f317e);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* ── DETAIL ── */
.ekstra-detail-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ekstra-detail-left {
  flex: 0 0 280px;
}

.ekstra-detail-cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--navy, #0f317e);
  box-shadow: 0 8px 24px rgba(15,49,126,0.15), 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
  background: #f1f5f9;
}

.ekstra-detail-cover img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.ekstra-detail-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: linear-gradient(to top, rgba(15,49,126,0.2) 0%, transparent 55%);
  pointer-events: none;
}

.ekstra-meta-box {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.ekstra-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}
.ekstra-meta-item:last-child { border-bottom: none; }

.ekstra-meta-item svg {
  flex-shrink: 0;
  color: var(--navy, #0f317e);
}

.ekstra-meta-label {
  font-weight: 500;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 1px;
}

.ekstra-detail-right {
  flex: 1;
  min-width: 0;
}

.ekstra-detail-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy, #0f317e);
}

.ekstra-detail-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.85;
}
.ekstra-detail-body p { margin-bottom: 0.75rem; }
.ekstra-detail-body img { max-width: 100%; border-radius: 8px; }

/* ── GRID ── */
.ekstra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ekstra-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.22s, box-shadow 0.22s;
}
.ekstra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,49,126,0.12);
  border-color: var(--navy, #0f317e);
}

.ekstra-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.ekstra-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.ekstra-card:hover .ekstra-card-thumb img { transform: scale(1.05); }

.ekstra-card-body {
  padding: 14px 16px;
}

.ekstra-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.4;
}

.ekstra-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ekstra-card-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #64748b;
}

.ekstra-card-meta-item svg { flex-shrink: 0; color: var(--navy, #0f317e); }

@media (max-width: 768px) {
  .ekstra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ekstra-detail-wrap { flex-direction: column; }
  .ekstra-detail-left { flex: none; width: 100%; }
}
@media (max-width: 480px) {
  .ekstra-grid { grid-template-columns: 1fr; }
}

.dt-wrap { width: 100%; overflow-x: auto; }

.dt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #334155;
}

.dt-table thead tr {
  background: var(--navy, #0f317e);
  color: #fff;
}

.dt-table thead th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: left;
  white-space: nowrap;
  border: none;
}

.dt-table thead th:first-child { border-radius: 10px 0 0 0; width: 48px; text-align: center; }
.dt-table thead th:last-child  { border-radius: 0 10px 0 0; }

.dt-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.dt-table tbody tr:last-child { border-bottom: none; }
.dt-table tbody tr:hover { background: #f8fafc; }
.dt-table tbody tr:nth-child(even) td { background: #fafbfd; }
.dt-table tbody tr:nth-child(even):hover td { background: #f1f5f9; }

.dt-table tbody td {
  padding: 11px 16px;
  vertical-align: middle;
  border: none;
}

.dt-table tbody td:first-child {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  width: 48px;
}

.dt-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.dt-btn-detail {
  background: rgba(15,49,126,0.08);
  color: var(--navy, #0f317e);
  border: 1px solid rgba(15,49,126,0.2);
}
.dt-btn-detail:hover { background: rgba(15,49,126,0.15); color: var(--navy, #0f317e); }

.dt-btn-download {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.dt-btn-download:hover { background: #bbf7d0; color: #166534; }

/* search & info bar */
.dt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dt-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.dt-search-wrap svg {
  position: absolute;
  left: 10px;
  color: #94a3b8;
  pointer-events: none;
}

.dt-search-wrap input {
  padding: 7px 12px 7px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #334155;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 220px;
}
.dt-search-wrap input:focus { border-color: var(--navy, #0f317e); }

.dt-info {
  font-size: 12px;
  color: #94a3b8;
}

/* pagination */
.dt-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.dt-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.dt-page-btn:hover { border-color: var(--navy, #0f317e); color: var(--navy, #0f317e); }
.dt-page-btn.active { background: var(--navy, #0f317e); border-color: var(--navy, #0f317e); color: #fff; }
.dt-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.dt-outer {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  transition: all 0.18s;
}

.link-list li a:hover {
  background: rgba(15,49,126,0.06);
  border-color: rgba(15,49,126,0.2);
  color: var(--navy, #0f317e);
  padding-left: 18px;
}

.link-list li a svg {
  flex-shrink: 0;
  color: var(--navy, #0f317e);
  transition: transform 0.18s;
}

.link-list li a:hover svg {
  transform: translateX(3px);
}

/* ── DETAIL ── */
.kal-detail-wrap {
  max-width: 800px;
}

.kal-detail-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy, #0f317e);
}

.kal-detail-cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #f1f5f9;
}

.kal-detail-cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.kal-meta-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.kal-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}
.kal-meta-item:last-child { border-bottom: none; }
.kal-meta-item svg { flex-shrink: 0; color: var(--navy, #0f317e); }
.kal-meta-label { font-weight: 600; color: #1e293b; min-width: 80px; }

.kal-detail-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  min-height: 100px;
}

.kal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--navy, #0f317e);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.kal-back-btn:hover { opacity: 0.88; }

/* ── KALENDER ── */
.kal-wrap { }

.kal-year-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy, #0f317e);
}

.kal-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--navy, #0f317e);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-bottom: 1.5rem;
}
.kal-download-btn:hover { opacity: 0.88; }

.kal-month-block {
  margin-bottom: 2rem;
}

.kal-month-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #0f317e);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kal-month-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.kal-month-inner {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Calendar table */
.kal-table-wrap {
  flex: 0 0 auto;
}

.kal-table {
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-width: 224px;
}

.kal-table thead tr {
  background: var(--navy, #0f317e);
  color: #fff;
}

.kal-table thead th {
  width: 32px;
  height: 32px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  padding: 0;
}

.kal-table thead th:first-child { color: #fca5a5; }

.kal-table tbody td {
  width: 32px;
  height: 30px;
  text-align: center;
  border: 1px solid #f1f5f9;
  font-size: 12px;
  color: #475569;
  padding: 0;
  position: relative;
}

.kal-table tbody td.kal-event {
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
}

.kal-table tbody td.kal-today {
  background: var(--navy, #0f317e);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
}

.kal-table tbody td:first-child { color: #ef4444; }

/* Event list */
.kal-event-list {
  flex: 1;
  min-width: 200px;
}

.kal-event-heading {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.kal-event-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kal-event-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.kal-event-item:hover {
  background: #f8fafc;
  border-color: var(--navy, #0f317e);
}

.kal-event-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  margin-top: 4px;
}

.kal-event-info { flex: 1; min-width: 0; }

.kal-event-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 2px;
}

.kal-event-date {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kal-no-event {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
  padding: 8px 0;
}

.kal-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 1.5rem 0;
}

/* PRINT */
@media print {
  body * { visibility: hidden; }
  .calendar-wrapper, .calendar-wrapper * { visibility: visible; }
  .calendar-wrapper { position: absolute; top: 0; left: 0; width: 100%; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kal-download-btn { display: none; }
  .kal-event { background-color: #fee2e2 !important; }
}

@media (max-width: 600px) {
  .kal-month-inner { flex-direction: column; }
}

.alumni-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}

.alumni-form-header {
  background: var(--navy, #0f317e);
  padding: 20px 28px;
}

.alumni-form-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alumni-form-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.alumni-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}
.alumni-section-label:first-child { margin-top: 0; }

.alumni-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.alumni-row.full { grid-template-columns: 1fr; }

.alumni-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.alumni-field label {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.alumni-field input,
.alumni-field select,
.alumni-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #334155;
  background: #fafbfd;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  font-family: inherit;
}

.alumni-field input:focus,
.alumni-field select:focus,
.alumni-field textarea:focus {
  border-color: var(--navy, #0f317e);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15,49,126,0.08);
}

.alumni-field input::placeholder,
.alumni-field textarea::placeholder { color: #c0ccd8; }

.alumni-field select { appearance: none; cursor: pointer; }

.alumni-field textarea {
  resize: vertical;
  min-height: 80px;
}

.alumni-field input[type="date"] { cursor: pointer; }

.alumni-submit-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.alumni-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 32px;
  background: var(--navy, #0f317e);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.03em;
}
.alumni-submit-btn:hover { opacity: 0.88; }

@media (max-width: 560px) {
  .alumni-row { grid-template-columns: 1fr; }
  .alumni-form-body { padding: 18px; }
  .alumni-form-header { padding: 16px 18px; }
}

.gal-portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gal-portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #111;
}

.gal-portfolio-item a {
  display: block;
  position: relative;
  text-decoration: none;
}

.gal-portfolio-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gal-portfolio-item:hover img {
  transform: scale(1.06);
  opacity: 0.6;
}

.gal-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.gal-portfolio-item:hover .gal-portfolio-overlay {
  opacity: 1;
}

.gal-portfolio-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* video badge */
.gal-portfolio-item.is-video .gal-portfolio-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.gal-portfolio-item.is-video:hover .gal-portfolio-play {
  background: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .gal-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gal-portfolio { grid-template-columns: 1fr; }
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shorts-item {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.shorts-item a {
  display: block;
  position: relative;
  text-decoration: none;
}

.shorts-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.shorts-item:hover img {
  transform: scale(1.05);
  opacity: 0.65;
}

.shorts-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s;
  backdrop-filter: blur(4px);
}

.shorts-item:hover .shorts-play {
  opacity: 1;
}

.shorts-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 900px) {
  .shorts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}