/* ===================================================================
   CSS ALL
=================================================================== */
:root{
  --white:    #ffffff;

  --font-display: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --radius: 14px;
  --shadow-sm: 0 4px 16px rgba(20, 25, 90, .06);
  --shadow-md: 0 12px 36px rgba(20, 25, 90, .12);
  --shadow-lg: 0 24px 60px rgba(20, 25, 90, .18);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden;}
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* fallback untuk browser sangat lama tanpa dukungan overflow:clip */
  overflow-x: clip; /* clip (bukan hidden) agar tidak memutus context position:sticky pada navbar */
}
a{ text-decoration: none; }
img{ max-width: 100%; }

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0;
}

.section{ padding: 96px 0; }
@media (max-width: 768px){
  .section{ padding: 64px 0; }
}

.section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section-eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--gold);
  display:inline-block;
}
.section-title{
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-sub{
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 620px;
}
.section-head{ margin-bottom: 48px; }
.section-head.text-center .section-sub{ margin: 0 auto; }
.section-head.text-center .section-eyebrow::before{ display:none; }
.section-head.text-center .section-eyebrow{ padding-left: 30px; position:relative; }
.section-head.text-center .section-eyebrow::after{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:22px; height:2px; background:var(--gold);
}
.link-more{
  font-weight: 700; color: var(--navy); font-size: .92rem;
  display:inline-flex; align-items:center; gap:6px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  white-space: nowrap;
}
.link-more:hover{ color: var(--gold-dark); }

/* ===================== PRELOADER ===================== */
#preloader{
  position: fixed; inset:0; z-index: 9999;
  background: var(--navy);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.is-hidden{ opacity:0; visibility:hidden; }
.preloader-inner{ text-align:center; color: var(--gold); }
.preloader-seal{ animation: spin-slow 3.5s linear infinite; }
@keyframes spin-slow{ to{ transform: rotate(360deg); } }
.preloader-bar{
  width: 160px; height: 3px; background: rgba(255,255,255,.15);
  border-radius: 4px; margin: 20px auto 14px; overflow:hidden;
}
.preloader-bar span{
  display:block; height:100%; width:30%; background: var(--gold);
  border-radius: 4px; animation: bar-loop 1.2s ease-in-out infinite;
}
@keyframes bar-loop{
  0%{ transform: translateX(-100%); }
  100%{ transform: translateX(330%); }
}
.preloader-label{
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: #c9cdf0; margin:0;
}

/* ===================== TOP BAR ===================== */
.top-bar{
  background: var(--navy-900);
  color: #cfd3f1;
  font-size: .84rem;
  padding: 8px 0;
}
.top-bar a{ color: #cfd3f1; transition: color .2s; }
.top-bar a:hover{ color: var(--gold); }
.top-bar-contact a{ margin-right: 22px; }
.top-bar-contact i{ color: var(--gold); margin-right: 5px; }
.top-bar-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width: 26px; height:26px; border-radius:50%;
  border: 1px solid rgba(255,255,255,.18);
  margin-left: 6px; font-size: .8rem;
}
.top-bar-social a:hover{ border-color: var(--gold); }
@media (max-width: 576px){
  .top-bar-contact a:last-child{ display:none; }
}

/* ===================== NAVBAR ===================== */
.main-navbar{
  background: var(--white);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  transition: padding .25s ease, box-shadow .25s ease;
  z-index: 1000;
}
.main-navbar.scrolled{ padding: 8px 0; }
.navbar-brand{ display:flex; align-items:center; gap:10px; }
.brand-icon{ width: 42px; height:42px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{
  font-family: var(--font-display); font-size: 1.32rem; color: var(--navy);
}
.brand-text small{ font-size: .68rem; letter-spacing:.08em; color: var(--ink-soft); text-transform:uppercase; }
.main-navbar .nav-link{
  font-weight: 600; color: var(--ink); font-size: .94rem;
  padding: 8px 4px; position:relative;
}
.main-navbar .nav-link::after{
  content:""; position:absolute; left:4px; right:4px; bottom:2px; height:2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after{ transform: scaleX(1); }
.btn-spmb{
  background: var(--navy); color: var(--white) !important;
  font-weight: 700; padding: 10px 22px; border-radius: 50px;
  font-size: .9rem; transition: background .25s ease, transform .2s ease;
}
.btn-spmb:hover{ background: var(--gold); color: var(--navy-900) !important; transform: translateY(-2px); }

/* ===================== HERO (fullscreen background photo per slide) ===================== */
.hero{
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-swiper{ position: relative; z-index:1; height: 92vh; min-height: 600px; }
.hero-swiper .swiper-slide{
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    100deg, 
    rgba(var(--navy-900-rgb), 0.94) 0%, 
    rgba(var(--navy-900-rgb), 0.82) 35%, 
    rgba(var(--navy-900-rgb), 0.48) 65%, 
    rgba(var(--navy-900-rgb), 0.18) 100%
  );
}
.hero-content{ position:relative; z-index:2; width: 100%; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color: var(--gold); font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  font-size:.8rem; margin-bottom: 18px;
}
.eyebrow-dot{ width:8px; height:8px; border-radius:50%; background: var(--gold); display:inline-block; }
.hero-title{
  color: var(--white); font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 600; line-height: 1.18; margin-bottom: 20px;
}
.hero-title span{ color: var(--gold); font-style: italic; }
.hero-desc{
  color: #d6d9f2; font-size: 1.06rem; max-width: 540px; margin-bottom: 30px; line-height:1.7;
}
.hero-btns{ display:flex; gap: 14px; flex-wrap: wrap; }
.btn-light-gold{
  background: var(--gold); color: var(--navy-900) !important; font-weight: 700;
  padding: 13px 28px; border-radius: 50px; font-size: .95rem; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease; display:inline-flex; align-items:center; gap:6px; justify-content: center;
}
.btn-light-gold:hover{ background: var(--gold-dark); color: var(--navy-900) !important; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(244,180,0,.35); }
.btn-light-gold:focus-visible{ color: var(--navy-900) !important; }
.btn-outline-light-custom{
  border: 1.5px solid rgba(255,255,255,.6); color: var(--white) !important; background: transparent;
  padding: 13px 28px; border-radius: 50px; font-weight:700; font-size:.95rem;
  transition: background .2s ease, border-color .2s ease;
}
.btn-outline-light-custom:hover{ background: rgba(255,255,255,.16); border-color: var(--white); color: var(--white) !important; }

/* ---- Hero controls bar: overlay di atas foto, pagination kiri + nav buttons kanan ---- */
.hero-controls-wrap{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
}
.hero-controls{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
}
.hero-pagination{
  position: relative !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
  text-align: left;
  bottom: auto !important;
  left: auto !important;
}
.hero-pagination .swiper-pagination-bullet{
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.25);
  opacity: 1;
  margin: 0 !important;
  transition: background .25s ease, width .25s ease;
}
.hero-pagination .swiper-pagination-bullet-active{
  background: var(--gold);
  width: 44px;
}
.hero-nav-buttons{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hero-nav-buttons button{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}
.hero-nav-buttons button:hover{
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
  transform: translateY(-2px);
}
.hero-nav-buttons button:active{ transform: translateY(0); }

@media (max-width: 767px){
  .hero-controls{ justify-content: center; gap: 18px; padding-bottom: 28px; }
  .hero-nav-buttons{ display: none; }
  .hero-pagination{ justify-content: center; }
}

[data-anim]{ opacity:0; transform: translateY(24px); animation: rise .8s ease forwards; }
[data-anim="eyebrow"]{ animation-delay: .15s; }
[data-anim="title"]{ animation-delay: .3s; }
[data-anim="desc"]{ animation-delay: .45s; }
[data-anim="btns"]{ animation-delay: .6s; }
@keyframes rise{ to{ opacity:1; transform: translateY(0); } }

/* ===================== PAGE HEADER (halaman selain home) ===================== */
.page-header{
  position: relative;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
  padding: 70px 0 56px;
  overflow: hidden;
}
.page-header::before{
  content:""; position:absolute; inset:0; opacity:.06; pointer-events:none;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.page-header-overlay{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(circle at 85% 30%, rgba(244,180,0,.10), transparent 55%);
}
.page-header-content{ position: relative; z-index: 2; }
.page-header h1{
  color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 600; margin-bottom: 16px;
}
.page-header .breadcrumb{ --bs-breadcrumb-divider: '/'; margin: 0; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a{ color: #b9bde4; font-size: .9rem; }
.page-header .breadcrumb-item a:hover{ color: var(--gold); }
.page-header .breadcrumb-item.active{ color: var(--gold); }
.page-header .section-eyebrow::before{ background: var(--gold); }
.breadcrumb-item+.breadcrumb-item::before { color: #b9bde4;}

/* ===================== ARTIKEL PAGE (list + sidebar) ===================== */
.artikel-page-section{ background: var(--paper); }

.article-pagination{ margin-top: 48px; }
.article-pagination .page-link{
  border: 1px solid var(--line); color: var(--ink); font-weight: 600;
  margin: 0 4px; border-radius: 8px !important; min-width: 42px; text-align:center;
  background: var(--white);
}
.article-pagination .page-link:hover{ background: var(--navy-100); color: var(--navy); border-color: var(--navy-100); }
.article-pagination .page-item.active .page-link{ background: var(--navy); border-color: var(--navy); color: var(--white); }
.article-pagination .page-item.disabled .page-link{ color: var(--ink-soft); background: var(--paper); }
.article-pagination .page-link-dots{ border: none; background: transparent; color: var(--ink-soft); }
.article-pagination .page-link:focus{ box-shadow: 0 0 0 .2rem rgba(31,42,120,.15); }

/* ---- Sidebar ---- */
.sidebar{ display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget{
  background: var(--white); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.sidebar-title{
  font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900);
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--navy-100);
}

.sidebar-search{ display: flex; gap: 8px; }
.sidebar-search input{
  flex:1; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px;
  font-size: .9rem; background: var(--paper); color: var(--ink);
}
.sidebar-search input:focus{ outline:none; border-color: var(--navy); background: var(--white); }
.sidebar-search button{
  background: var(--navy); border:none; color: var(--white); width: 46px; border-radius: 8px; font-size: 1rem;
  transition: background .2s ease;
}
.sidebar-search button:hover{ background: var(--gold-dark); }

.sidebar-category-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 4px; }
.sidebar-category-list a{
  display:flex; justify-content:space-between; align-items:center; color: var(--ink);
  font-size: .92rem; font-weight: 600; padding: 10px 6px; border-radius: 8px; transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.sidebar-category-list a:hover{ background: var(--navy-100); color: var(--navy); padding-left: 12px; }
.cat-count{
  background: var(--paper); color: var(--ink-soft); font-size: .76rem; font-weight: 700;
  padding: 2px 10px; border-radius: 50px; min-width: 32px; text-align:center;
}
.sidebar-category-list a:hover .cat-count{ background: var(--white); color: var(--navy); }

.recent-post-list{ display:flex; flex-direction:column; gap: 16px; }
.recent-post-item{ display:flex; gap: 12px; align-items:flex-start; }
.recent-post-img{ width: 64px; height: 64px; border-radius: 10px; overflow:hidden; flex-shrink:0; }
.recent-post-img img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.recent-post-item:hover .recent-post-img img{ transform: scale(1.08); }
.recent-post-info h6{
  font-size: .87rem; color: var(--ink); line-height:1.4; margin-bottom: 6px;
  transition: color .2s ease;
}
.recent-post-item:hover .recent-post-info h6{ color: var(--navy-700); }
.recent-post-info small{ color: var(--ink-soft); font-size: .76rem; }
.recent-post-info small i{ color: var(--gold-dark); margin-right:3px; }

.tag-cloud{ display:flex; flex-wrap:wrap; gap: 10px; }
.tag-cloud a{
  background: var(--paper); color: var(--ink-soft); font-size: .82rem; font-weight: 600;
  padding: 7px 16px; border-radius: 50px; border: 1px solid var(--line);
  transition: all .2s ease;
}
.tag-cloud a:hover{ background: var(--navy); color: var(--white); border-color: var(--navy); }

.sidebar-cta{
  background: linear-gradient(135deg, var(--navy-900), var(--navy)); text-align:center;
}
.sidebar-cta i{ font-size: 1.9rem; color: var(--gold); margin-bottom: 12px; display:inline-block; }
.sidebar-cta h6{ color: var(--white); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.sidebar-cta p{ color: #c9cdf0; font-size: .86rem; margin-bottom: 18px; }

@media (max-width: 991px){
  .sidebar{ margin-top: 8px; }
}

/* ===================== SAMBUTAN ===================== */
.sambutan-section{ background: var(--paper); }
.kepsek-photo-wrap{ position: relative; max-width: 380px; margin: 0 auto; }
.kepsek-photo{
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.kepsek-card{
  position: absolute; left: -18px; bottom: -22px;
  background: var(--navy); color: var(--white);
  padding: 16px 22px; border-radius: 10px; box-shadow: var(--shadow-md);
  display:flex; flex-direction:column; min-width: 220px;
  border-left: 4px solid var(--gold);
}
.kepsek-card strong{ font-family: var(--font-display); font-size: 1.02rem; }
.kepsek-card span{ font-size: .78rem; color: #c9cdf0; }
.quote-mark{
  font-family: var(--font-display); font-size: 3.4rem; color: var(--gold);
  line-height: 0; margin: 0 0 -10px 0; opacity:.7;
}
.sambutan-text{ color: var(--ink-soft); margin-bottom: 14px; line-height: 1.8; }
.vm-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; height: 100%; transition: box-shadow .25s ease, transform .25s ease;
}
.vm-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vm-card i{ font-size: 1.7rem; color: var(--gold-dark); margin-bottom: 10px; display:block; }
.vm-card h5{ font-size: 1.1rem; margin-bottom: 8px; }
.vm-card p{ color: var(--ink-soft); font-size: .92rem; margin:0; line-height:1.7; }

/* ===================== STATS ===================== */
.stats-section{ background: var(--navy); position: relative; overflow:hidden; }
.stats-section::before{
  content:""; position:absolute; inset:0; opacity:.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 22px 22px;
}
.stat-box{ position:relative; color: var(--white); padding: 10px; }
.stat-box i{ font-size: 2rem; color: var(--gold); margin-bottom: 12px; display:inline-block; }
.stat-box h3{ color: var(--white); font-size: 2.4rem; font-weight:700; margin-bottom:4px; }
.stat-box p{ color: #b9bde4; margin:0; font-size: .92rem; font-weight:600; letter-spacing:.02em; }

/* ===================== GURU ===================== */
.guru-section{ background: var(--white); }
.guru-swiper{ padding-bottom: 10px; padding-top: 15px; }
.guru-card{
  background: var(--paper); border-radius: var(--radius); padding: 22px 18px 24px;
  text-align:center; transition: box-shadow .25s ease, transform .25s ease; height:100%;
}
.guru-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-6px); }
.guru-photo{
  width: 110px; height:110px; border-radius:50%; overflow:hidden; margin: 0 auto 16px;
  border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--gold);
}
.guru-photo img{ width:100%; height:100%; object-fit:cover; }
.guru-card h6{ font-size: .98rem; margin-bottom:4px; }
.guru-card span{ color: var(--ink-soft); font-size: .82rem; }
.guru-pagination{ position:relative; margin-top: 24px; text-align:center; }
.guru-pagination .swiper-pagination-bullet{ background: var(--navy); opacity:.25; }
.guru-pagination .swiper-pagination-bullet-active{ opacity:1; background: var(--gold-dark); }

/* ===================== GENERIC INFO-CARD ===================== */
/* dipakai oleh: artikel, dokumentasi, agenda, pengumuman, prestasi */
.info-card{
  background: var(--white); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow-sm); height:100%; display:flex; flex-direction:column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.info-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-6px); }
.info-card-img{ position:relative; height: 200px; overflow:hidden; flex-shrink:0; }
.info-card-img img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.info-card:hover .info-card-img img{ transform: scale(1.06); }
.info-card-body{ padding: 20px 22px 22px; flex:1; display:flex; flex-direction:column; }
.info-card-body h5{ font-size: 1.05rem; line-height:1.4; margin-bottom: 10px; }
.info-card-body h5 a{ color: var(--navy-900); transition: color .2s ease; }
.info-card-body h5 a:hover{ color: var(--navy-700); }
.info-card-body p{ color: var(--ink-soft); font-size: .88rem; line-height:1.6; margin-bottom: 0; flex:1; }
.info-tag{
  position:absolute; top:14px; left:14px; background: var(--navy);
  color: var(--white); font-size: .7rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding: 5px 12px; border-radius: 50px;
}
.info-card-meta{
  display:flex; justify-content:space-between; align-items:center;
  border-top:1px solid var(--line); padding-top: 14px; margin-top: 16px; font-size:.8rem;
}
.info-card-meta span{ color: var(--ink-soft); }
.info-card-meta span i{ color: var(--gold-dark); margin-right:4px; }
.info-card-meta a{ color: var(--navy); font-weight:700; }
.info-card-meta a:hover{ color: var(--gold-dark); }

/* artikel section bg */
.artikel-section{ background: var(--paper); }

/* dokumentasi section bg */
.dokumentasi-section{ background: var(--white); }
.doc-card .info-card-body p{ margin-bottom:0; }

/* agenda */
.agenda-section{ background: var(--paper); }
.agenda-date-badge{
  position:absolute; top:14px; right:14px; background: var(--navy); color: var(--white);
  border-radius: 8px; width: 50px; height:50px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; line-height:1.1; box-shadow: var(--shadow-sm);
}
.agenda-date-badge strong{ font-size: 1.05rem; font-family: var(--font-display); }
.agenda-date-badge span{ font-size: .6rem; text-transform:uppercase; color: var(--gold); letter-spacing:.05em; }
.agenda-card .info-card-body p{ margin:0; color: var(--ink-soft); font-size: .85rem; }
.agenda-card .info-card-body i{ color: var(--gold-dark); margin-right:4px; }

/* pengumuman */
.pengumuman-section{ background: var(--white); }
.peng-card{ display:flex; }
.peng-card .info-card-body small{ color: var(--ink-soft); font-size: .76rem; margin-top:10px; display:block; }
.peng-card .info-card-body small i{ color: var(--gold-dark); margin-right:4px; }
.peng-card:hover h5{ color: var(--navy-700); }

/* prestasi */
.prestasi-section{ background: var(--paper); }
.medal-badge{
  position:absolute; bottom:2px; left:50%; transform: translateX(-50%);
  width: 56px; height:56px; border-radius:50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  display:flex; align-items:center; justify-content:center; color: var(--navy-900);
  font-size: 1.4rem; box-shadow: 0 8px 18px rgba(244,180,0,.4); border: 3px solid var(--white);
}
.prestasi-card .info-card-body{ text-align:center; padding-top: 34px; }
.prestasi-card .info-card-body p{ flex:0; }

/* ===================== TESTIMONI ===================== */
.testimoni-section{ background: var(--navy-100); }
.testi-card{
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); height:100%;
}
.testi-quote{ font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; display:block; }
.testi-card p{ color: var(--ink); font-size: 1rem; line-height: 1.75; margin-bottom: 22px; min-height: 130px; }
.testi-author{ display:flex; align-items:center; gap:12px; border-top:1px solid var(--line); padding-top:16px; }
.testi-author img{ width: 46px; height:46px; border-radius:50%; object-fit:cover; }
.testi-author strong{ display:block; font-size: .9rem; color: var(--ink); }
.testi-author span{ font-size: .78rem; color: var(--ink-soft); }
.testimoni-pagination{ position:relative; margin-top: 28px; text-align:center; }
.testimoni-pagination .swiper-pagination-bullet{ background: var(--navy); opacity:.25; }
.testimoni-pagination .swiper-pagination-bullet-active{ opacity:1; background: var(--gold-dark); }

/* ===================== CTA ===================== */
.cta-section{ padding: 96px 0; }
@media (max-width: 768px){ .cta-section{ padding: 64px 0; } }
.cta-box{
  background: linear-gradient(120deg, var(--navy-900), var(--navy));
  border-radius: 22px; padding: 52px 48px; position: relative; overflow:hidden;
}
.cta-box::before{
  content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px;
  border-radius:50%; border: 30px solid rgba(244,180,0,.12);
}
.cta-box h2{ color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom:10px; position:relative; }
.cta-box p{ color: #c9cdf0; margin:0; position:relative; max-width: 520px; }
.text-light-gold{ color: var(--gold) !important; }
.btn-cta-gold{
  background: var(--gold); color: var(--navy-900) !important; font-weight:700;
  padding: 15px 32px; border-radius: 50px; display:inline-flex; align-items:center; gap:8px;
  position:relative; border: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-cta-gold:hover{ background: var(--gold-dark); color: var(--navy-900) !important; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(244,180,0,.4); }
.btn-cta-gold:focus-visible{ color: var(--navy-900) !important; }

/* ===================== BRAND PARTNER (fullwidth edge-to-edge, swiper js auto-scroll) ===================== */
.brand-section{
  padding: 64px 0 76px;
  background: var(--white);
  overflow: hidden;
  width: 100%;
}
.brand-label{ color: var(--ink-soft); font-size: .82rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom: 36px; }

.brand-swiper{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.brand-swiper .swiper-wrapper{ transition-timing-function: linear !important; }
.brand-swiper .swiper-slide{
  width: 200px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* kotak ukuran tetap supaya semua logo, walau resolusi/rasio aslinya berbeda, terlihat sama besar & rapi */
.sponsor-logo-box{
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: .55;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.sponsor-logo-box:hover{ filter: grayscale(0%); opacity: 1; transform: scale(1.08); }
.sponsor-logo-box img{
  height: 100%;
  width: 100%;
  max-width: 120px;
  object-fit: contain;
}

.sponsor-section { padding: 45px 0; background-color: var(--bg-light); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.sponsorSwiper .swiper-wrapper {
    /* Trik agar jalannya lurus konstan tanpa efek ngerem (linear) */
    transition-timing-function: linear !important;
}
.sponsor-logo-box { height: 40px; display: flex; align-items: center; justify-content: center; filter: grayscale(100%); opacity: 0.5; transition: all 0.3s; }
.sponsor-logo-box:hover { filter: grayscale(0%); opacity: 1; }
.sponsor-logo-box img { height: 100%; width: auto; object-fit: contain; }

/* ===================== MAP (full-width edge-to-edge) ===================== */
.map-section{
  position: relative;
  width: 100%;
  min-height: 560px;
  display:flex;
  align-items:stretch;
}
.map-frame-full{ position:absolute; inset:0; z-index:1; }
.map-frame-full iframe{ width:100%; height:100%; display:block; filter: grayscale(.15) contrast(1.05); }
.map-overlay-card{
  position: relative; z-index: 2; background: var(--white);
  margin: 48px 0 48px 6%; padding: 42px 38px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); max-width: 440px; align-self: center;
}
.contact-info-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.contact-info-list li{ display:flex; align-items:flex-start; gap:12px; color: var(--ink-soft); font-size:.92rem; }
.contact-info-list i{ color: var(--gold-dark); margin-top:3px; }
@media (max-width: 991px){
  .map-overlay-card{ margin: 32px auto; max-width: 90%; }
  .map-section{ min-height: auto; flex-direction:column; }
  .map-frame-full{ position: relative; height: 360px; order:2; }
  .map-overlay-card{ order:1; }
}

/* ===================== FOOTER ===================== */
.footer{ background: var(--navy-900); color: #b9bde4; padding: 72px 0 26px; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom: 16px; }
.footer-brand img{ width: 36px; }
.footer-brand span{ font-family: var(--font-display); color: var(--white); font-size:1.3rem; font-weight:600; }
.footer-desc{ font-size: .9rem; line-height:1.7; margin-bottom: 18px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width: 36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; color: #b9bde4; transition: all .2s ease;
}
.footer-social a:hover{ background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.footer-heading{ color: var(--white); font-family: var(--font-body); font-weight:700; font-size: .92rem; letter-spacing:.04em; text-transform:uppercase; margin-bottom: 20px; }
.footer-links{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.footer-links a{ color: #b9bde4; font-size: .92rem; transition: color .2s ease; }
.footer-links a:hover{ color: var(--gold); }
.newsletter-form{ display:flex; gap:8px; }
.newsletter-form input{
  flex:1; border:1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  border-radius:8px; padding: 11px 14px; color: var(--white); font-size:.88rem;
}
.newsletter-form input::placeholder{ color: #8d92bd; }
.newsletter-form input:focus{ outline:none; border-color: var(--gold); }
.newsletter-form button{
  background: var(--gold); border:none; width: 46px; border-radius:8px; color: var(--navy-900); font-size:1.1rem;
}
.footer hr{ border-color: rgba(255,255,255,.12); margin: 36px 0 20px; }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:.82rem; color:#8d92bd; }
.footer-bottom i{ color: var(--gold); margin: 0 3px; }

/* ===================== BUTTON: outline navy (load more, secondary action) ===================== */
.btn-outline-navy{
  background: transparent; border: 1.5px solid var(--navy); color: var(--navy) !important;
  font-weight: 700; padding: 12px 28px; border-radius: 50px; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-outline-navy:hover{ background: var(--navy); color: var(--white) !important; transform: translateY(-2px); }

/* ===================== FILTER BAR (dokumentasi, prestasi, agenda) ===================== */
.gallery-filter, .agenda-filter{
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px;
}
.filter-btn{
  background: var(--white); border: 1.5px solid var(--line); color: var(--ink-soft);
  font-weight: 600; font-size: .88rem; padding: 9px 22px; border-radius: 50px;
  transition: all .2s ease;
}
.filter-btn:hover{ border-color: var(--navy); color: var(--navy); }
.filter-btn.active{ background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ===================== DOKUMENTASI PAGE ===================== */
.dokumentasi-page-section{ background: var(--paper); }
.gallery-grid{ transition: opacity .2s ease; }
.gallery-item{ transition: transform .3s ease, opacity .3s ease; }
.gallery-item.is-hidden{ display: none !important; }

/* ===================== LIGHTBOX MODAL ===================== */
.lightbox-content{
  background: var(--navy-900); border: none; border-radius: var(--radius); overflow: hidden; position: relative;
}
.lightbox-content img{ width: 100%; max-height: 70vh; object-fit: cover; display: block; }
.btn-close-lightbox{
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(0,0,0,.4); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background .2s ease;
}
.btn-close-lightbox:hover{ background: var(--gold); color: var(--navy-900); }
.lightbox-caption{ padding: 22px 26px; }
.lightbox-caption h5{ color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.lightbox-caption p{ color: #c9cdf0; font-size: .9rem; margin: 0; line-height: 1.6; }

/* ===================== AGENDA PAGE (list view + sidebar) ===================== */
.agenda-page-section{ background: var(--paper); }
.agenda-page-list{ display: flex; flex-direction: column; gap: 20px; }
.agenda-page-item{
  display: flex; gap: 20px; background: var(--white); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease;
  align-items: stretch;
}
.agenda-page-item:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.agenda-page-item.is-hidden{ display: none !important; }
.agenda-page-img{
  width: 140px; height: 140px; border-radius: 12px; overflow: hidden; flex-shrink: 0; position: relative;
}
.agenda-page-img img{ width: 100%; height: 100%; object-fit: cover; }
.agenda-page-date{
  background: var(--navy); color: var(--white); border-radius: 10px; width: 64px; height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
  line-height: 1.1; align-self: flex-start; margin-top: 2px;
}
.agenda-page-date strong{ font-size: 1.2rem; font-family: var(--font-display); }
.agenda-page-date span{ font-size: .64rem; text-transform: uppercase; color: var(--gold); letter-spacing: .05em; }
.agenda-page-body{ flex: 1; display: flex; flex-direction: column; justify-content: center; }
.agenda-page-body .info-tag{ align-self: flex-start; margin-bottom: 10px; }
.agenda-page-body h5{ font-size: 1.02rem; margin-bottom: 8px; line-height: 1.4; }
.agenda-page-body h5 a{ color: var(--ink); transition: color .2s ease; }
.agenda-page-body h5 a:hover{ color: var(--navy-700); }
.agenda-page-body p{ color: var(--ink-soft); font-size: .88rem; margin-bottom: 10px; line-height: 1.6; }
.agenda-page-meta{ display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.agenda-page-meta span{ color: var(--ink-soft); font-size: .82rem; }
.agenda-page-meta i{ color: var(--gold-dark); margin-right: 4px; }
.detail-link-more{
  color: var(--navy) !important; font-weight: 700; font-size: .82rem; margin-left: auto;
  display: inline-flex; align-items: center; gap: 4px; transition: color .2s ease, gap .2s ease;
}
.detail-link-more:hover{ color: var(--gold-dark) !important; gap: 7px; }
@media (max-width: 575px){
  .agenda-page-item{ flex-wrap: wrap; }
  .agenda-page-img{ width: 100%; height: 160px; }
}

/* ---- Mini Calendar Widget ---- */
.mini-calendar-widget .sidebar-title{ text-align: center; }
.mini-calendar{ display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.mc-dow{ font-size: .68rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; padding-bottom: 6px; }
.mc-day{
  font-size: .82rem; padding: 7px 0; border-radius: 8px; color: var(--ink); font-weight: 600;
  transition: background .2s ease;
}
.mc-day:not(.mc-blank):hover{ background: var(--navy-100); cursor: default; }
.mc-blank{ visibility: hidden; }
.mc-active{ background: var(--gold); color: var(--navy-900) !important; }

/* ===================== PENGUMUMAN PAGE ===================== */
.pengumuman-page-section{ background: var(--white); }
.announcement-list{ display: flex; flex-direction: column; gap: 18px; }
.announcement-item{
  display: flex; gap: 18px; background: var(--paper); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease;
  border-left: 4px solid transparent;
}
.announcement-item:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.announcement-item.is-important{ border-left-color: var(--gold); }
.announcement-img{ width: 110px; height: 110px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.announcement-img img{ width: 100%; height: 100%; object-fit: cover; }
.announcement-body{ flex: 1; }
.announcement-body .info-tag{ margin-bottom: 10px; display: inline-block; }
.announcement-body h5{ font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); line-height: 1.4; }
.announcement-item:hover .announcement-body h5{ color: var(--navy-700); }
.announcement-body p{ color: var(--ink-soft); font-size: .88rem; margin-bottom: 10px; line-height: 1.6; }
.announcement-meta{ display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .8rem; }
.announcement-meta i{ color: var(--gold-dark); margin-right: 3px; }
.announcement-badge{
  background: var(--gold); color: var(--navy-900); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 50px;
}
@media (max-width: 575px){
  .announcement-item{ flex-wrap: wrap; }
  .announcement-img{ width: 100%; height: 150px; }
}

/* ---- recent-post variant: tanggal kotak (dipakai di sidebar agenda) ---- */
.recent-post-date{
  background: var(--navy); color: var(--white); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1;
}
.recent-post-date strong{ font-size: 1rem; font-family: var(--font-display); }
.recent-post-date span{ font-size: .6rem; text-transform: uppercase; color: var(--gold); letter-spacing: .04em; }

/* ===================== PRESTASI PAGE ===================== */
.prestasi-stats-strip{ background: var(--navy); padding: 36px 0; }
.mini-stat strong{ display: block; color: var(--gold); font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; }
.mini-stat span{ color: #c9cdf0; font-size: .82rem; font-weight: 600; }
.prestasi-page-section{ background: var(--white); padding-top: 64px; }

/* ===================== KONTAK PAGE ===================== */
.kontak-info-section{ background: var(--paper); padding-bottom: 0; }
.contact-info-card{
  background: var(--white); border-radius: var(--radius); padding: 30px 22px; text-align: center;
  box-shadow: var(--shadow-sm); height: 100%; transition: box-shadow .25s ease, transform .25s ease;
}
.contact-info-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-info-card i{ font-size: 1.8rem; color: var(--gold-dark); margin-bottom: 14px; display: inline-block; }
.contact-info-card h6{ font-size: .98rem; margin-bottom: 8px; }
.contact-info-card p{ color: var(--ink-soft); font-size: .86rem; margin: 0; line-height: 1.6; }

.kontak-form-section{ background: var(--paper); }
.contact-quick-list{ display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-quick-item{
  display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 12px;
  padding: 16px 18px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.contact-quick-item:hover{ box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-quick-item i{
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy-100); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.contact-quick-item strong{ display: block; font-size: .92rem; color: var(--ink); }
.contact-quick-item span{ font-size: .8rem; color: var(--ink-soft); }

.contact-form{
  background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.contact-form .form-label{ font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.contact-form .form-control, .contact-form .form-select{
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: .9rem;
  background: var(--paper); color: var(--ink);
}
.contact-form .form-control:focus, .contact-form .form-select:focus{
  border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(31,42,120,.12); background: var(--white);
}

/* ===================== FAQ ACCORDION ===================== */
.faq-section{ background: var(--white); }
.faq-accordion .accordion-item{
  border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 14px; overflow: hidden;
}
.faq-accordion .accordion-button{
  font-weight: 700; color: var(--navy-900); font-size: .96rem; padding: 18px 22px;
  background: var(--white);
}
.faq-accordion .accordion-button:not(.collapsed){ background: var(--navy-100); color: var(--navy); }
.faq-accordion .accordion-button:focus{ box-shadow: none; border-color: var(--line); }
.faq-accordion .accordion-button::after{ flex-shrink: 0; }
.faq-accordion .accordion-body{ color: var(--ink-soft); font-size: .9rem; line-height: 1.7; padding: 18px 22px; }

/* ===================== DETAIL PAGE (agenda/pengumuman/prestasi detail) ===================== */
.detail-page-section{ background: var(--paper); }

.detail-content{
  background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.detail-hero-img{
  border-radius: 12px; overflow: hidden; margin-bottom: 26px; position: relative;
  max-height: 420px;
}
.detail-hero-img img{ width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.detail-hero-prestasi{ display: flex; justify-content: center; background: var(--navy-100); }
.detail-medal-badge{
  position: absolute; bottom: 18px; left: 18px;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center; color: var(--navy-900);
  font-size: 1.7rem; box-shadow: 0 8px 18px rgba(244,180,0,.4); border: 3px solid var(--white);
}

.detail-meta-bar{
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.detail-meta-bar span{ color: var(--ink-soft); font-size: .86rem; display: inline-flex; align-items: center; gap: 5px; }
.detail-meta-bar span i{ color: var(--gold-dark); }
.detail-meta-bar .info-tag{ margin: 0; }
.detail-meta-bar .announcement-badge{ margin: 0; }

.detail-title{
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 22px; line-height: 1.35;
}

.detail-body p{ color: var(--ink-soft); font-size: .96rem; line-height: 1.85; margin-bottom: 20px; }
.detail-body h1,
.detail-body h2,
.detail-body h3,
.detail-body h4,
.detail-body h5,
.detail-body h6 {
  font-size: 1.08rem; color: var(--navy-900); margin: 30px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.detail-body a{ color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--navy-100); }
.detail-body a:hover{ color: var(--gold-dark); }

.detail-body ul{ list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.detail-body li{
  position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .94rem; line-height: 1.7;
}
.detail-body li::before{
  content: "\f26b"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px;
  color: var(--gold-dark); font-size: .85rem;
}

.detail-body blockquote {
  background: var(--navy-100); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0;
  padding: 20px 24px; margin: 0 0 24px; font-family: var(--font-display); font-style: italic;
  font-size: 1.02rem; color: var(--navy-900); line-height: 1.7;
}

.detail-tags{
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.detail-tags span{ color: var(--ink-soft); font-size: .86rem; font-weight: 600; }
.detail-tags a{
  background: var(--paper); color: var(--ink-soft); font-size: .82rem; font-weight: 600;
  padding: 6px 16px; border-radius: 50px; border: 1px solid var(--line); transition: all .2s ease;
}
.detail-tags a:hover{ background: var(--navy); color: var(--white); border-color: var(--navy); }

.detail-share{ display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.detail-share span{ color: var(--ink-soft); font-size: .86rem; font-weight: 600; }
.detail-share a{
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy-100); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all .2s ease;
}
.detail-share a:hover{ background: var(--navy); color: var(--white); }

/* ---- Prev / Next navigation ---- */
.detail-nav-prevnext{
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px;
}
.detail-nav-item{
  background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s ease, transform .2s ease;
}
.detail-nav-item:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.detail-nav-label{ color: var(--gold-dark); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.detail-nav-item strong{ color: var(--ink); font-size: .94rem; line-height: 1.4; font-family: var(--font-display); }
.detail-nav-next{ align-items: flex-end; text-align: right; }
@media (max-width: 575px){
  .detail-nav-prevnext{ grid-template-columns: 1fr; }
  .detail-nav-next{ align-items: flex-start; text-align: left; }
}

/* ---- Mini map di sidebar halaman detail ---- */
.detail-map-frame{ height: 180px; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.detail-map-frame iframe{ filter: grayscale(.15) contrast(1.05); }
.detail-map-caption{ color: var(--ink-soft); font-size: .82rem; margin: 0; line-height: 1.6; }
.detail-map-caption i{ color: var(--gold-dark); margin-right: 4px; }

/* ---- Ringkasan prestasi (sidebar) ---- */
.detail-summary-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.detail-summary-list li{
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.detail-summary-list li:last-child{ border-bottom: none; padding-bottom: 0; }
.detail-summary-list span{ color: var(--ink-soft); font-size: .88rem; }
.detail-summary-list strong{ color: var(--navy-900); font-size: .92rem; }

@media (max-width: 767px){
  .detail-content{ padding: 22px; }
}

#backToTop{
  position: fixed; right: 24px; bottom: 24px; width: 46px; height:46px; border-radius:50%;
  background: var(--navy); color: var(--white); border:none; font-size:1.1rem; z-index: 900;
  box-shadow: var(--shadow-md); opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .3s ease;
}
#backToTop.show{ opacity:1; visibility:visible; transform: translateY(0); }
#backToTop:hover{ background: var(--gold); color: var(--navy-900); }

/* ===================== FOCUS / ACCESSIBILITY ===================== */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--gold); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===================== PROFILE SUBNAV (jump link dalam halaman) ===================== */
.profile-subnav{
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: var(--navbar-height, 70px); z-index: 999; box-shadow: var(--shadow-sm);
  transition: top .25s ease;
}
.profile-subnav-list{
  display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; scrollbar-width: none;
}
.profile-subnav-list::-webkit-scrollbar{ display: none; }
.profile-subnav-list a{
  color: var(--ink-soft); font-weight: 700; font-size: .88rem; padding: 8px 18px;
  border-radius: 50px; white-space: nowrap; transition: all .2s ease;
}
.profile-subnav-list a:hover{ background: var(--navy-100); color: var(--navy); }
.profile-subnav-list a.active{ background: var(--navy); color: var(--white); }

/* ===================== PROFIL: SEJARAH ===================== */
.profil-section{ background: var(--white); }
.profil-photo-wrap{ position: relative; max-width: 420px; margin: 0 auto; }
.profil-photo{
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.profil-photo-badge{
  position: absolute; right: 15px; bottom: -22px;
  background: var(--gold); color: var(--navy-900); padding: 16px 22px;
  border-radius: 10px; box-shadow: var(--shadow-md); text-align: center; min-width: 130px;
}
.profil-photo-badge strong{ display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.profil-photo-badge span{ font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.history-timeline{
  margin-top: 56px; display: flex; flex-direction: column; gap: 0;
  position: relative; padding-left: 32px; border-left: 2px solid var(--navy-100);
}
.history-item{ position: relative; padding-bottom: 36px; }
.history-item:last-child{ padding-bottom: 0; }
.history-item::before{
  content: ""; position: absolute; left: -39px; top: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--gold); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--navy-100);
}
.history-year{
  font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.3rem; margin-bottom: 6px;
}
.history-body h6{ font-size: .98rem; margin-bottom: 6px; color: var(--ink); }
.history-body p{ color: var(--ink-soft); font-size: .9rem; margin: 0; line-height: 1.7; max-width: 640px; }

/* ===================== PROFIL: VISI MISI TUJUAN (kartu tinggi) ===================== */
.visi-misi-section{ background: var(--paper); }
.vm-card-tall{ height: 100%; display: flex; flex-direction: column; }
.vm-card-tall p{ color: var(--ink-soft); font-size: .92rem; line-height: 1.7; margin: 0; }
.vm-card ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vm-card li{
  position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .9rem; line-height: 1.6;
}
.vm-card li::before{
  content: "\f26b"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px;
  color: var(--gold-dark); font-size: .78rem;
}

/* ===================== PROFIL: IDENTITAS RESMI ===================== */
.identitas-section{ background: var(--white); }
.identity-card{
  background: linear-gradient(120deg, var(--navy-900), var(--navy)); border-radius: var(--radius);
  padding: 44px 36px;
}
.identity-item{ text-align: center; color: var(--white); }
.identity-item i{ font-size: 1.7rem; color: var(--gold); margin-bottom: 12px; display: inline-block; }
.identity-label{ display: block; font-size: .76rem; color: #b9bde4; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.identity-value{ display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--white); line-height: 1.3; }

/* ===================== PROFIL: STRUKTUR ORGANISASI ===================== */
.struktur-section{ background: var(--paper); }
.org-leader-card{
  background: var(--white); border-radius: var(--radius); padding: 36px 30px; text-align: center;
  box-shadow: var(--shadow-md); border-top: 4px solid var(--gold);
}
.org-leader-card img{
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px;
  border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--gold);
}
.org-leader-card h5{ font-size: 1.2rem; margin-bottom: 4px; }
.org-role{ display: inline-block; background: var(--navy-100); color: var(--navy); font-size: .8rem; font-weight: 700; padding: 4px 16px; border-radius: 50px; margin-bottom: 14px; }
.org-leader-card p{ color: var(--ink-soft); font-size: .9rem; line-height: 1.7; margin: 0; }

.org-group-title{
  display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--navy-900);
  margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--navy-100);
}
.org-group-title i{ color: var(--gold-dark); }

.org-card{
  background: var(--white); border-radius: var(--radius); padding: 20px 16px; text-align: center;
  box-shadow: var(--shadow-sm); height: 100%; transition: box-shadow .25s ease, transform .25s ease;
}
.org-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-5px); }
.org-photo{
  width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px;
  border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--navy-100);
}
.org-photo img{ width: 100%; height: 100%; object-fit: cover; }
.org-card h6{ font-size: .92rem; margin-bottom: 4px; }
.org-card span{ color: var(--ink-soft); font-size: .78rem; }


/* ===================== FASILITAS: INTRO + MINI STATS ===================== */
.fasilitas-intro-section{ background: var(--white); }
.fasilitas-mini-stat{
  background: var(--paper); border-radius: var(--radius); padding: 26px 14px; height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}
.fasilitas-mini-stat:hover{ box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.fasilitas-mini-stat i{ font-size: 1.6rem; color: var(--gold-dark); margin-bottom: 10px; display: inline-block; }
.fasilitas-mini-stat strong{ display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--navy-900); line-height: 1.2; }
.fasilitas-mini-stat span{ font-size: .8rem; color: var(--ink-soft); font-weight: 600; }

/* ===================== FASILITAS: LIST NARATIF (zigzag + galeri) ===================== */
.fasilitas-list-section{ background: var(--paper); }
.fasilitas-block{
  background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}
.fasilitas-block:last-child{ margin-bottom: 0; }
.fasilitas-block-reverse{ background: var(--paper); }

.fasilitas-main-img{
  border-radius: 14px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 4/3;
}
.fasilitas-main-img img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.fasilitas-main-img:hover img{ transform: scale(1.04); }

.fasilitas-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fasilitas-gallery-item{ border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.fasilitas-gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .25s ease; filter: brightness(.96); }
.fasilitas-gallery-item:hover img{ transform: scale(1.1); filter: brightness(1.05); }

.fasilitas-number{
  display: inline-block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--navy-100); line-height: 1; margin-bottom: 4px;
}
.fasilitas-title{ font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 16px; }
.fasilitas-desc{ color: var(--ink-soft); font-size: .96rem; line-height: 1.85; margin-bottom: 22px; }

.fasilitas-desc ul{ 
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; 
}
.fasilitas-desc li{ 
  position: relative;
    padding-left: 22px;
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.6;
 }
 .fasilitas-desc li::before {
    content: "\f26b";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--gold-dark);
    font-size: .78rem;
}
.fasilitas-desc i{ color: var(--gold-dark); margin-top: 2px; flex-shrink: 0; }

@media (max-width: 991px){
  .fasilitas-block{ padding: 28px 22px; }
  .fasilitas-block .order-lg-2{ order: -1; }
}
@media (max-width: 575px){
  .fasilitas-gallery{ grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
