/* ═══════════════════════════════════════════════════════════
   kesantrian.css — gaya halaman Kesantrian (kesantrian.html) dan OSIS (osis.html).
   Semua kelas diawali "ks-" supaya tidak bentrok dengan style-main.css.
   Warna mengikuti style-main.css (--primary, --secondary, --accent, --dark).
   Animasi sengaja ringan (muncul pelan saat di-scroll) dan MATI otomatis
   untuk pengunjung yang mengaktifkan "kurangi gerak" di perangkatnya.
   ═══════════════════════════════════════════════════════════ */
.ks-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── Hero ── */
.ks-hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 72px 20px 84px;
  background: radial-gradient(900px 380px at 85% -10%, rgba(227,163,43,.22), transparent 60%),
              radial-gradient(700px 400px at 5% 110%, rgba(123,104,214,.35), transparent 60%),
              linear-gradient(135deg, var(--dark, #0B1C2C) 0%, var(--primary, #2E2A5E) 55%, var(--secondary, #4B3F8A) 100%); }
.ks-hero::before { content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M36 4l8.5 20.5L65 33l-20.5 8.5L36 62l-8.5-20.5L7 33l20.5-8.5z'/%3E%3Ccircle cx='36' cy='33' r='6'/%3E%3C/g%3E%3C/svg%3E"); }
.ks-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: #fff; clip-path: ellipse(60% 100% at 50% 100%); }
.ks-hero-in { position: relative; max-width: 720px; margin: 0 auto; }
.ks-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent, #E3A32B); background: rgba(255,255,255,.08); border: 1px solid rgba(227,163,43,.35); padding: 6px 14px; border-radius: 40px; }
.ks-hero h1 { font-family: var(--font-main); font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; line-height: 1.12; margin: 18px 0 14px; }
.ks-hero h1 em { font-style: normal; color: var(--accent, #E3A32B); }
.ks-hero p { font-size: 16px; line-height: 1.75; opacity: .86; max-width: 560px; margin: 0 auto; }
.ks-hero-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.ks-hero-links a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 40px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); transition: background .2s, transform .2s, color .2s; }
.ks-hero-links a:hover { background: var(--accent, #E3A32B); color: var(--dark, #0B1C2C); border-color: var(--accent, #E3A32B); transform: translateY(-2px); }
.ks-hero-in > * { animation: ksUp .7s cubic-bezier(.2,.7,.2,1) both; }
.ks-hero-in > :nth-child(2) { animation-delay: .08s; } .ks-hero-in > :nth-child(3) { animation-delay: .16s; } .ks-hero-in > :nth-child(4) { animation-delay: .24s; }
@keyframes ksUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── Navigasi antar bagian ── */
.ks-nav { position: sticky; top: 80px; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #ecebf5; }
.ks-nav .ks-wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.ks-nav a { flex: none; padding: 8px 18px; border-radius: 40px; font-size: 14px; font-weight: 600; color: var(--primary, #2E2A5E); text-decoration: none; transition: background .2s, color .2s; }
.ks-nav a:hover { background: #ecebf5; }
.ks-nav a.on { background: var(--primary, #2E2A5E); color: #fff; }
.ks-nav a:focus-visible, .ks-chips button:focus-visible, .ks-lb button:focus-visible, .ks-album:focus-visible, .ks-rule summary:focus-visible { outline: 3px solid var(--accent, #E3A32B); outline-offset: 2px; }

/* ── Bagian ── */
.ks-sec { padding: 64px 0; scroll-margin-top: 130px; }
.ks-sec.alt { background: linear-gradient(180deg, #f8f7fd, #f3f2fa); }
.ks-head { margin-bottom: 30px; display: flex; gap: 16px; align-items: flex-start; }
.ks-num { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: var(--accent, #E3A32B);
  background: var(--primary, #2E2A5E); box-shadow: 0 6px 16px rgba(46,42,94,.25); }
.ks-head h2 { font-family: var(--font-main); font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; color: var(--dark, #0B1C2C); margin: 0 0 6px; }
.ks-head p { margin: 0; color: var(--muted, #666); line-height: 1.65; max-width: 60ch; }

/* ── Muncul pelan saat di-scroll ── */
.ks-js .ks-rv { opacity: 0; }
.ks-js .ks-rv.in { opacity: 1; animation: ksUp .7s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0s); }   /* animasi (bukan transisi) supaya efek hover kartu tetap jalan */

/* ── Tombol pilihan (tabel / divisi / kategori) ── */
.ks-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ks-chips button { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 9px 18px; border-radius: 40px; border: 1.5px solid #dcdaee; background: #fff; color: var(--primary, #2E2A5E); transition: all .2s; display: inline-flex; gap: 8px; align-items: center; }
.ks-chips button:hover { border-color: var(--secondary, #4B3F8A); transform: translateY(-1px); }
.ks-chips button.on { background: var(--primary, #2E2A5E); border-color: var(--primary, #2E2A5E); color: #fff; box-shadow: 0 6px 16px rgba(46,42,94,.22); }
.ks-chips button small { font-size: 11px; font-weight: 700; background: rgba(46,42,94,.1); border-radius: 20px; padding: 1px 8px; }
.ks-chips button.on small { background: rgba(255,255,255,.2); }
.ks-chips button.kosong:not(.on) { opacity: .55; }

/* ── Tabel bebas ── */
.ks-tablewrap { background: #fff; border-radius: 18px; box-shadow: 0 10px 34px rgba(46,42,94,.10); border: 1px solid #ecebf5; overflow: hidden; }
.ks-tablewrap .scroll { overflow-x: auto; }
.ks-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ks-table th { text-align: left; padding: 15px 18px; background: linear-gradient(135deg, var(--primary, #2E2A5E), var(--secondary, #4B3F8A)); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ks-table th, .ks-table td { text-align: left; }
.ks-table td { padding: 14px 18px; border-bottom: 1px solid #f0eff7; color: #25233f; line-height: 1.5; vertical-align: top; }
.ks-table tbody tr { transition: background .2s; }
.ks-table tbody tr:nth-child(even) { background: #fbfaff; }
.ks-table tbody tr:hover { background: #f3f1fb; }
.ks-table tbody tr:last-child td { border-bottom: 0; }
.ks-table td:first-child { font-weight: 700; color: var(--primary, #2E2A5E); white-space: nowrap; }
.ks-table tr.now { background: linear-gradient(90deg, rgba(227,163,43,.2), rgba(227,163,43,.06)) !important; box-shadow: inset 4px 0 0 var(--accent, #E3A32B); }
.ks-badge-now { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent, #E3A32B); color: var(--dark, #0B1C2C); padding: 2px 8px; border-radius: 20px; vertical-align: middle; animation: ksPulse 2.2s ease-in-out infinite; }
@keyframes ksPulse { 50% { opacity: .6; } }
@media (max-width: 640px) {
  .ks-table.stack thead { display: none; }
  .ks-table.stack, .ks-table.stack tbody, .ks-table.stack tr, .ks-table.stack td { display: block; width: 100%; }
  .ks-table.stack tr { padding: 12px 6px; border-bottom: 1px solid #ecebf5; }
  .ks-table.stack td { border: 0; padding: 4px 14px; white-space: normal !important; }
  .ks-table.stack td::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary, #4B3F8A); opacity: .8; }
  .ks-table.stack td:first-child { font-size: 16px; }
  .ks-table.stack td.e:not(:first-child) { display: none; }
}

/* ── Kartu program ── */
.ks-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ks-card { position: relative; background: #fff; border-radius: 18px; padding: 26px 24px 24px; border: 1px solid #ecebf5; box-shadow: 0 8px 26px rgba(46,42,94,.08); transition: transform .3s, box-shadow .3s; overflow: hidden; }
.ks-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent, #E3A32B), var(--secondary, #4B3F8A)); transform: scaleX(.25); transform-origin: left; transition: transform .45s; }
.ks-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,42,94,.16); }
.ks-card:hover::before { transform: scaleX(1); }
.ks-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, #f4f1ff, #fff3d9); margin-bottom: 14px; }
.ks-card h3 { font-family: var(--font-main); font-size: 18px; font-weight: 700; color: var(--dark, #0B1C2C); margin: 0 0 10px; }
.ks-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ks-card li { position: relative; padding-left: 24px; color: #444; line-height: 1.55; font-size: 14.5px; }
.ks-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; font-size: 11px; color: var(--accent, #E3A32B); }

/* ── Peraturan ── */
.ks-rules { display: grid; gap: 12px; }
.ks-rule { background: #fff; border: 1px solid #e6e4f2; border-radius: 14px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.ks-rule[open] { border-color: var(--secondary, #4B3F8A); box-shadow: 0 10px 28px rgba(46,42,94,.12); }
.ks-rule summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 700; color: var(--dark, #0B1C2C); }
.ks-rule summary::-webkit-details-marker { display: none; }
.ks-rule .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary, #2E2A5E), var(--secondary, #4B3F8A)); }
.ks-rule .t { flex: 1; }
.ks-rule .k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--secondary, #4B3F8A); background: #efedfa; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.ks-rule summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; color: var(--secondary, #4B3F8A); transition: transform .3s; }
.ks-rule[open] summary::after { transform: rotate(180deg); }
.ks-rule .b { padding: 0 18px 18px 66px; color: #3b3a52; line-height: 1.75; white-space: pre-line; animation: ksUp .35s both; }
@media (max-width: 560px) { .ks-rule .k { display: none; } .ks-rule .b { padding-left: 18px; } }

/* ── Album foto (kegiatan & galeri OSIS) ── */
.ks-albums { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.ks-album { display: block; text-align: left; font: inherit; padding: 0; cursor: pointer; background: #fff; border: 1px solid #ecebf5; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 26px rgba(46,42,94,.08); transition: transform .3s, box-shadow .3s; }
.ks-album:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,42,94,.18); }
.ks-album .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e9e7f5; }
.ks-album .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ks-album:hover .pic img { transform: scale(1.06); }
.ks-album .cnt { position: absolute; right: 12px; bottom: 12px; background: rgba(11,28,44,.78); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 20px; backdrop-filter: blur(4px); }
.ks-album .cap { padding: 16px 18px 18px; }
.ks-album .cap strong { display: block; font-size: 16px; color: var(--dark, #0B1C2C); margin-bottom: 4px; }
.ks-album .cap time, .ks-album .cap span { display: block; font-size: 13px; color: var(--muted, #666); line-height: 1.5; }
.ks-album .cap time { color: var(--secondary, #4B3F8A); font-weight: 700; margin-bottom: 4px; }

/* ── Lightbox ── */
.ks-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(8,10,24,.94); display: none; flex-direction: column; color: #fff; }
.ks-lb.open { display: flex; animation: ksFade .25s both; }
@keyframes ksFade { from { opacity: 0; } to { opacity: 1; } }
.ks-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.ks-lb-top .ttl { min-width: 0; } .ks-lb-top strong { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ks-lb-top small { opacity: .7; }
.ks-lb button { font: inherit; color: #fff; background: rgba(255,255,255,.12); border: 0; cursor: pointer; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; font-size: 16px; transition: background .2s; flex: none; }
.ks-lb button:hover { background: rgba(255,255,255,.26); }
.ks-lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 64px; touch-action: pan-y; }
.ks-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; animation: ksFade .3s both; }
.ks-lb-prev, .ks-lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.ks-lb-prev { left: 10px; } .ks-lb-next { right: 10px; }
.ks-lb-desc { text-align: center; padding: 8px 20px; font-size: 14px; opacity: .85; min-height: 20px; }
.ks-lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px 16px; justify-content: safe center; scrollbar-width: thin; }
.ks-lb-thumbs img { flex: none; width: 62px; height: 48px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .5; border: 2px solid transparent; transition: all .2s; }
.ks-lb-thumbs img.on { opacity: 1; border-color: var(--accent, #E3A32B); }
@media (max-width: 560px) { .ks-lb-stage { padding: 0 8px; } .ks-lb-prev, .ks-lb-next { width: 38px; height: 38px; } }

/* ── OSIS: profil ── */
.ks-profil { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .ks-profil.ada-gambar { grid-template-columns: 5fr 6fr; } }
.ks-profil-img { position: relative; }
.ks-profil-img::before { content: ""; position: absolute; inset: 16px -14px -14px 16px; border-radius: 22px; background: linear-gradient(135deg, var(--accent, #E3A32B), var(--secondary, #4B3F8A)); opacity: .9; z-index: 0; }
.ks-profil-img img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 40px rgba(46,42,94,.25); }
.ks-profil-txt h3 { font-family: var(--font-main); font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; color: var(--primary, #2E2A5E); margin: 0 0 12px; }
.ks-profil-txt p { color: #3b3a52; line-height: 1.85; margin: 0 0 12px; white-space: pre-line; }
.ks-vm { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 34px; }
.ks-vm > div { background: #fff; border: 1px solid #ecebf5; border-radius: 18px; padding: 24px; box-shadow: 0 8px 26px rgba(46,42,94,.08); }
.ks-vm h4 { margin: 0 0 12px; font-size: 17px; color: var(--primary, #2E2A5E); display: flex; gap: 10px; align-items: center; }
.ks-vm h4 i { color: var(--accent, #E3A32B); }
.ks-vm p { margin: 0; color: #3b3a52; line-height: 1.75; }
.ks-vm ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #3b3a52; line-height: 1.65; }

/* ── OSIS: anggota ── */
.ks-members { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ks-mem { text-align: center; background: #fff; border: 1px solid #ecebf5; border-radius: 18px; padding: 24px 16px 20px; box-shadow: 0 8px 24px rgba(46,42,94,.08); transition: transform .3s, box-shadow .3s; }
.ks-mem:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(46,42,94,.16); }
.ks-av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--primary, #2E2A5E), var(--secondary, #4B3F8A)); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent, #E3A32B); }
.ks-av img { width: 100%; height: 100%; object-fit: cover; }
.ks-mem strong { display: block; color: var(--dark, #0B1C2C); font-size: 16px; line-height: 1.35; }
.ks-mem .jab { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--primary, #2E2A5E); background: #fff3d9; padding: 4px 12px; border-radius: 20px; }
.ks-mem .kls { display: block; margin-top: 8px; font-size: 13px; color: var(--muted, #666); }

/* ── Kosong / memuat ── */
.ks-empty { text-align: center; color: var(--muted, #666); background: #fff; border: 1.5px dashed #d8d5ec; border-radius: 18px; padding: 38px 20px; line-height: 1.6; }
.ks-empty i { display: block; font-size: 28px; margin-bottom: 10px; color: var(--secondary, #4B3F8A); opacity: .7; }
.ks-load { height: 150px; border-radius: 18px; background: linear-gradient(100deg, #eceaf6 30%, #f8f7fd 50%, #eceaf6 70%); background-size: 200% 100%; animation: ksShine 1.3s linear infinite; }
@keyframes ksShine { to { background-position: -200% 0; } }

/* ───── Halaman penuh Galeri OSIS ───── */
.ks-gp { background: #0a0a0a; color: #fff; min-height: 70vh; }
.ks-gp-hero { text-align: center; padding: 70px 0 34px; background: radial-gradient(700px 260px at 50% 0%, rgba(255,255,255,.07), transparent 70%); }
.ks-gp-back { display: inline-flex; align-items: center; gap: 8px; color: #b5b5b5; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; transition: all .25s; }
.ks-gp-back:hover { color: #fff; border-color: rgba(255,255,255,.5); transform: translateX(-3px); }
.ks-gp-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 7vw, 72px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 26px 0 16px; }
.ks-gp-hero h1 em { font-style: normal; color: #bdbdbd; }
.ks-gp-hero p { max-width: 36em; margin: 0 auto; color: #b5b5b5; line-height: 1.65; font-size: clamp(14px, 1.7vw, 17px); }
.ks-gp-stat { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.ks-gp-stat span { font-size: 13px; color: #9a9a9a; padding: 7px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; }
.ks-gp-stat strong { color: #fff; font-size: 15px; }
.ks-gp-body { padding: 10px 0 90px; }
.ks-gp-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.ks-gp-chips button { font: inherit; font-size: 14px; font-weight: 600; color: #bbb; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: 8px 20px; cursor: pointer; transition: all .25s; }
.ks-gp-chips button:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.ks-gp-chips button.on { background: #ececec; color: #111; border-color: #ececec; }
.ks-gp-chips button:focus-visible, .ks-gp-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ks-gp-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-flow: dense; }
.ks-gp-card { position: relative; display: block; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4/5; border-radius: 20px; background: #1b1b1b; isolation: isolate; text-align: left; font: inherit; color: #fff;
  animation: ksFanIn .7s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0s); transition: transform .35s, box-shadow .35s; }
.ks-gp-card.wide { grid-column: span 2; aspect-ratio: auto; }
.ks-gp-card .pic { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: 1; }
.ks-gp-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ks-gp-card::before, .ks-gp-card::after { content: none; }
.ks-gp-card.multi::before, .ks-gp-card.multi::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #262626; z-index: 0; transition: transform .35s; border: 1px solid rgba(255,255,255,.08); }
.ks-gp-card.multi::before { transform: rotate(-3deg) scale(.96); }
.ks-gp-card.multi::after { transform: rotate(3deg) scale(.96); }
.ks-gp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.6); }
.ks-gp-card:hover .pic img { transform: scale(1.08); }
.ks-gp-card.multi:hover::before { transform: rotate(-6deg) scale(.96); } .ks-gp-card.multi:hover::after { transform: rotate(6deg) scale(.96); }
.ks-gp-card .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 56px 18px 18px; border-radius: 0 0 20px 20px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.ks-gp-card .cap strong { display: block; font-size: 16px; line-height: 1.3; }
.ks-gp-card .cap time { display: block; font-size: 12.5px; color: #bdbdbd; margin-top: 4px; }
.ks-gp-card .cnt { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
@media (max-width: 600px) { .ks-gp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .ks-gp-card.wide { grid-column: span 2; aspect-ratio: 4/3; } .ks-gp-card .cap { padding: 40px 12px 12px; } .ks-gp-card .cap strong { font-size: 13.5px; } .ks-gp-hero { padding-top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .ks-hero-in > *, .ks-js .ks-rv.in, .ks-lb.open, .ks-lb-stage img, .ks-rule .b, .ks-badge-now, .ks-load { animation: none !important; }
  .ks-js .ks-rv { opacity: 1 !important; }
  .ks-card, .ks-album, .ks-mem, .ks-album .pic img { transition: none !important; }
}

/* ═══ Intro OSIS (osis-intro.js) — latar shader "Mesh drift" ═══ */
.ks-intro-on, .ks-intro-on body { background: #031c26; overflow: hidden; }
.ks-intro-on body > :not(.ks-intro) { visibility: hidden; }
.ks-intro { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 24px; overflow: hidden; background: #031c26;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.ks-intro.keluar { opacity: 0; transform: scale(1.06); filter: blur(6px); pointer-events: none; }
.ks-intro-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ks-intro-nogl { background: radial-gradient(900px 600px at 20% 20%, #5ad2f4 0%, transparent 60%), radial-gradient(800px 600px at 85% 80%, #1b6ca8 0%, transparent 60%), #031c26; }
.ks-intro-nogl .ks-intro-bg { display: none; }
.ks-intro-scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(3,28,38,.50) 0%, rgba(3,28,38,.22) 55%, rgba(3,28,38,.48) 100%); }
.ks-intro-card { position: relative; width: min(560px, 100%); text-align: center; color: #fff; padding: 40px 32px 30px; border-radius: 28px;
  background: rgba(3,28,38,.46); border: 1px solid rgba(255,255,255,.24); box-shadow: 0 30px 80px rgba(0,20,30,.45), inset 0 1px 0 rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.ks-intro.siap .ks-intro-card { opacity: 1; transform: none; }
.ks-intro-card > * { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.ks-intro.siap .ks-intro-card > * { opacity: 1; transform: none; }
.ks-intro.siap .ks-intro-card > :nth-child(1) { transition-delay: .25s; } .ks-intro.siap .ks-intro-card > :nth-child(2) { transition-delay: .35s; }
.ks-intro.siap .ks-intro-card > :nth-child(3) { transition-delay: .45s; } .ks-intro.siap .ks-intro-card > :nth-child(4) { transition-delay: .55s; }
.ks-intro.siap .ks-intro-card > :nth-child(5) { transition-delay: .65s; } .ks-intro.siap .ks-intro-card > :nth-child(6) { transition-delay: .75s; }
.ks-intro-logo { display: block; width: 64px; height: 64px; object-fit: contain; margin: 0 auto 14px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.ks-intro-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #bfefff; background: rgba(90,210,244,.14); border: 1px solid rgba(90,210,244,.4); padding: 6px 14px; border-radius: 40px; }
.ks-intro-card h1 { font-family: var(--font-main); font-size: clamp(32px, 7vw, 52px); font-weight: 800; line-height: 1.1; margin: 16px 0 10px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.ks-intro-card h1 em { font-style: normal; color: #7fe0ff; }
.ks-intro-card p { font-size: 16px; line-height: 1.7; margin: 0 auto 26px; max-width: 38ch; color: rgba(255,255,255,.9); }
.ks-intro-btn { font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 40px; padding: 14px 34px;
  color: #052a3a; background: linear-gradient(135deg, #ffffff, #d9f5ff); box-shadow: 0 10px 30px rgba(90,210,244,.35); transition: transform .25s, box-shadow .25s; }
.ks-intro-btn i { transition: transform .25s; }
.ks-intro-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(90,210,244,.55); }
.ks-intro-btn:hover i { transform: translateX(4px); }
.ks-intro-btn:focus-visible, .ks-intro-skip:focus-visible { outline: 3px solid #7fe0ff; outline-offset: 3px; }
.ks-intro-skip { display: block; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.75); text-decoration: none; }
.ks-intro-skip:hover { color: #fff; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .ks-intro, .ks-intro-card, .ks-intro-card > * { transition: opacity .3s ease !important; transform: none !important; filter: none !important; }
  .ks-intro-btn:hover, .ks-intro-btn:hover i { transform: none; }
}


/* ═══ OSIS: sorotan galeri (3 foto berganti 3 foto) ═══ */
.ks-hl { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 96px 0 110px; scroll-margin-top: 130px; background: #0a0a0a; }
.ks-hl .ks-eyebrow { display: none; }
.ks-hl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; background: radial-gradient(ellipse 60% 100% at 50% 100%, transparent 99.5%, #f3f2fa 100%); pointer-events: none; z-index: 1; }
.ks-hl h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 6.2vw, 62px); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; margin: 0 auto 20px; max-width: 14em; color: #fff; }
.ks-hl h2 em { font-style: normal; color: #e6e6e6; display: block; }
.ks-hl p { max-width: 34em; margin: 0 auto; color: #b5b5b5; font-size: clamp(14px, 1.7vw, 17px); line-height: 1.6; opacity: 1; }
.ks-hl-btns { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ks-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: #111; background: #ececec; padding: 12px 24px; border-radius: 40px; border: 1px solid #ececec; transition: transform .25s, background .25s, border-color .25s; }
.ks-btn:hover { transform: translateY(-2px); background: #fff; }
.ks-btn.o { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.ks-btn.o:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.ks-btn i { transition: transform .25s; } .ks-btn:hover i { transform: translateX(3px); }
.ks-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* kipas: 3 kartu sama besar; tengah di depan & lebih tinggi, kiri-kanan miring turun di belakang */
.ks-fan { --w: clamp(120px, 27vw, 322px); position: relative; height: calc(var(--w) * 1.5); max-width: 1000px; margin: 54px auto 0; }
.ks-fan-card { position: absolute; top: 0; left: 50%; width: var(--w); height: calc(var(--w) * 1.26); padding: 0; border: 0; border-radius: clamp(10px, 1.6vw, 18px); overflow: hidden; cursor: pointer; background: #1b1b1b;
  box-shadow: 0 24px 50px rgba(0,0,0,.6); animation: ksFanIn .9s cubic-bezier(.2,.7,.2,1) backwards; transition: opacity .38s ease, scale .38s ease, filter .3s; }
.ks-fan-card.c { z-index: 3; transform: translateX(-50%); }
.ks-fan-card.l { z-index: 2; transform: translate(calc(-50% - var(--w) * .88), calc(var(--w) * .1)) rotate(-5deg); animation-delay: .12s; }
.ks-fan-card.r { z-index: 2; transform: translate(calc(-50% + var(--w) * .88), calc(var(--w) * .1)) rotate(5deg); animation-delay: .2s; }
.ks-fan-card:hover { filter: brightness(1.08); }
.ks-fan-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ks-fan-card.keluar { opacity: 0; scale: .92; }
.ks-fan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; animation: ksZoom 6s ease-out both; }
@keyframes ksFanIn { from { opacity: 0; scale: .84; } to { opacity: 1; scale: 1; } }
@keyframes ksZoom { from { scale: 1; } to { scale: 1.14; } }
.ks-fan-cap { margin-top: 26px; min-height: 44px; }
.ks-fan-cap strong { display: block; font-size: 14px; font-weight: 500; color: #9a9a9a; }
.ks-fan-cap span { display: block; font-size: 12.5px; color: #777; margin-top: 3px; }
.ks-fan-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; min-height: 12px; }
.ks-fan-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.25); transition: all .3s; }
.ks-fan-dots button.on { width: 24px; border-radius: 6px; background: #fff; }
.ks-fan-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ks-hl-empty { margin: 44px auto 0; max-width: 420px; padding: 34px 20px; border: 1.5px dashed rgba(255,255,255,.28); border-radius: 18px; opacity: .85; }
.ks-hl-empty i { display: block; font-size: 26px; margin-bottom: 10px; color: #fff; }
.ks-fan-load { height: 300px; max-width: 520px; margin: 50px auto 0; border-radius: 18px; background: linear-gradient(100deg, rgba(255,255,255,.06) 30%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 70%); background-size: 200% 100%; animation: ksShine 1.3s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .ks-fan-card, .ks-fan-card img, .ks-fan-load { animation: none !important; transition: none !important; }
}
