/* ============================================================
   Layout tambahan (semua tema): ikon foto program, bagian 2 kolom
   ringkas, dan blok kontak di footer.
   Warna mengikuti variabel tema (--primary, --accent, dst).
   ============================================================ */

/* ---------- Program: ikon foto ---------- */
.pc-icon--photo { padding: 0; overflow: hidden; background: var(--accent-glow); }
.pc-icon--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.programs-card .pc-icon { width: 64px; height: 64px; min-width: 64px; }

/* ---------- Dua kolom berdampingan ---------- */

.is-extra { display: none !important; }
[data-collapsible].is-open .is-extra { display: flex !important; }
[data-collapsible].is-open .tm-card.is-extra { display: block !important; }
.duo-more { display: block; width: 100%; margin-top: 14px; padding: 10px; border: 1.5px dashed var(--border); border-radius: 14px; background: transparent; color: var(--primary); font-family: var(--font); font-weight: 700; font-size: .84rem; cursor: pointer; transition: all .25s; }
.duo-more:hover { border-color: var(--accent); background: var(--accent-glow); }

/* Ekstrakurikuler: kartu mini 2 kolom */

/* Prestasi: baris ringkas */
.medal-gold { color: #f5a900; } .medal-silver { color: #94a3b8; } .medal-bronze { color: #cd7f32; }

/* Pendidik: kartu kecil 3 kolom */

/* Testimoni: kutipan ringkas */

/* ---------- Kontak di footer ---------- */

@media (max-width: 1024px) {
  .duo { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 560px) {
  .mini-grid { grid-template-columns: 1fr; }
  .tea-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-row { grid-template-columns: 1fr; }
  .duo-col { padding: 20px 16px; }
}

/* ---------- Foto latar hero (semua tema) ---------- */
.hero.hero--photo { background: var(--hero-img) center / cover no-repeat; }
.hero--photo::before { content: ''; position: absolute; inset: 0; background: var(--primary-dark); opacity: var(--hero-ov, .65); pointer-events: none; }

/* ---------- Agenda kosong ---------- */
.events-empty { text-align: center; color: var(--text-soft); padding: 36px 16px; border: 1.5px dashed var(--border); border-radius: 18px; }

/* ---------- Mitra industri ---------- */
.partner-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.partner-logo { display: flex; align-items: center; justify-content: center; height: 96px; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; transition: transform .25s, box-shadow .25s, border-color .25s; text-align: center; font-family: var(--font); font-weight: 700; font-size: .85rem; color: var(--primary); }
.partner-logo img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.partner-logo:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.partner-card { display: flex; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; transition: border-color .25s, box-shadow .25s; }
.partner-card:hover { border-color: var(--accent); box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.pt-logo { width: 110px; min-width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; color: var(--text-muted); font-size: 2rem; }
.pt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pt-body { min-width: 0; }
.pt-cat { display: inline-block; font-family: var(--font); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); background: var(--accent-glow); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.pt-body h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 6px; }
.pt-body p { font-size: .86rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 10px; }
.pt-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .8rem; color: var(--text-soft); }
.pt-meta i { width: 16px; color: var(--accent-dark); }
.pt-meta a { color: var(--primary); font-weight: 600; }
@media (max-width: 900px) { .partner-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .partner-card { flex-direction: column; } }

/* ---------- Logo foto (identitas situs) ---------- */
.logo .logo-img { width: auto !important; height: 44px !important; max-width: 120px; object-fit: contain; border-radius: 10px; background: none !important; box-shadow: none !important; display: block; }

html { scroll-padding-top: 90px; }

/* ---------- Tenaga Pendidik (slider) ---------- */
.section--teachers { background: linear-gradient(135deg, var(--primary-dark), var(--hero-end, var(--primary))); position: relative; overflow: hidden; color: #fff; }
.section--teachers::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%); pointer-events: none; }
.tx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; position: relative; flex-wrap: wrap; }
.tx-head .section-title { text-align: left; margin: 0; max-width: 640px; }
.tx-head .section-title h2 { color: #fff; }
.tx-head .section-title p { color: rgba(255,255,255,.78); }
.tx-head .st-badge { background: rgba(255,255,255,.14); color: var(--accent); border: 1px solid rgba(255,255,255,.2); }
.tx-nav { display: flex; align-items: center; gap: 10px; }
.tx-count { color: rgba(255,255,255,.8); font-size: .85rem; margin-right: 6px; }
.tx-count b { color: var(--accent); font-size: 1.3rem; font-family: var(--font); }
.tx-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: all .25s; font-size: .95rem; }
.tx-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #07336e); }
.tx-btn:disabled { opacity: .35; cursor: default; }
.tx-btn[hidden] { display: none; }
.tx-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 22px; position: relative; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; -webkit-overflow-scrolling: touch; }
.tx-track::-webkit-scrollbar { height: 6px; }
.tx-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }
.tx-card { display: block; font: inherit; color: inherit; cursor: pointer; flex: 0 0 248px; scroll-snap-align: start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 26px; padding: 12px 12px 20px; text-align: center; backdrop-filter: blur(4px); transition: transform .3s, border-color .3s, background .3s; }
.tx-card:hover { transform: translateY(-8px); border-color: var(--accent); background: rgba(255,255,255,.11); }
.tx-frame { border-radius: 20px; padding: 3px; background: linear-gradient(160deg, var(--accent), transparent 60%); }
.tx-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.tx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.tx-card:hover .tx-photo img { transform: scale(1.06); }
.tx-initial { font-family: var(--font); font-weight: 800; font-size: 4rem; color: var(--accent); }
.tx-info { padding: 16px 6px 0; }
.tx-role { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent, #07336e); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 560px) { .tx-card { flex-basis: 220px; } .tx-head .section-title { text-align: center; } .tx-head { justify-content: center; } }

/* ---------- Testimoni ---------- */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tm-card { margin: 0; position: relative; padding: 30px 26px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 26px rgba(0,0,0,.05); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tm-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,.09); }
.tm-quote { position: absolute; top: -16px; left: 24px; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--on-accent, #07336e); display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.tm-card blockquote { margin: 0; font-size: .93rem; line-height: 1.7; color: var(--text); font-style: italic; }
.tm-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.tm-avatar { width: 52px; height: 52px; min-width: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.tm-avatar--ph { display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--surface); font-family: var(--font); font-weight: 700; }
.tm-who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.tm-who strong { font-family: var(--font); color: var(--primary); font-size: .92rem; }
.tm-who small { color: var(--text-muted); font-size: .78rem; }
.duo-more--center { max-width: 260px; margin: 26px auto 0; }
@media (max-width: 1000px) { .tm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tm-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Kegiatan: ekskul + agenda + prestasi ---------- */
.act-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.act-col { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px 22px 20px; box-shadow: 0 8px 26px rgba(0,0,0,.05); min-width: 0; }
.act-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.act-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--accent); font-size: 1.1rem; }
.act-head h3 { font-size: 1.15rem; color: var(--primary); line-height: 1.2; }
.act-head p { font-size: .8rem; color: var(--text-soft); margin-top: 2px; }
.act-list { display: flex; flex-direction: column; gap: 10px; }
.act-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); min-width: 0; }
.act-ico { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ec-color, var(--primary)); font-size: .95rem; }
.act-date { width: 48px; min-width: 48px; border-radius: 12px; padding: 5px 0; text-align: center; background: var(--primary); color: var(--surface); line-height: 1.1; }
.act-date b { display: block; font-family: var(--font); font-size: 1.15rem; color: var(--accent); }
.act-date small { font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; }
.act-photo { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.act-photo--ph { display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--surface); font-family: var(--font); font-weight: 700; }
.act-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.act-body strong { font-family: var(--font); font-size: .9rem; color: var(--primary); line-height: 1.3; }
.act-body strong small { font-weight: 500; color: var(--text-muted); }
.act-sub { font-size: .78rem; color: var(--text-soft); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.act-medal { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 1.05rem; text-align: right; }
.act-medal small { font-size: .66rem; color: var(--text-muted); white-space: nowrap; }
.act-empty { padding: 22px 12px; text-align: center; color: var(--text-soft); font-size: .86rem; background: var(--bg); border: 1px dashed var(--border); border-radius: 16px; }

/* ---------- FAQ + Kontak ---------- */
.cx-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.cx-wrap--single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.cx-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; color: var(--primary); margin-bottom: 16px; }
.cx-title i { color: var(--accent-dark); }
.cx-contact { background: linear-gradient(150deg, var(--primary-dark), var(--hero-end, var(--primary))); color: #fff; border-radius: 26px; padding: 30px 28px; box-shadow: var(--shadow-xl); }
.cx-contact .cx-title { color: #fff; }
.cx-contact .cx-title i { color: var(--accent); }
.cx-info { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.cx-info li { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; line-height: 1.5; color: rgba(255,255,255,.92); }
.cx-info li > span { width: 36px; height: 36px; min-width: 36px; border-radius: 11px; background: var(--accent); color: var(--on-accent, #07336e); display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.cx-info small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.6); }
.cx-form { display: grid; gap: 10px; position: relative; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cx-form input, .cx-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; font-family: var(--font-body); font-size: .86rem; }
.cx-form input::placeholder, .cx-form textarea::placeholder { color: rgba(255,255,255,.6); }
.cx-form input:focus, .cx-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.16); }
.cx-form textarea { resize: vertical; min-height: 90px; }
.cx-form .btn { justify-self: start; background: var(--accent); color: var(--on-accent, #07336e); }
@media (max-width: 900px) { .cx-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cx-row { grid-template-columns: 1fr; } .cx-contact { padding: 24px 18px; } .act-col { padding: 20px 14px 16px; } }

/* ---------- Kartu guru: tombol, hover, kartu "lihat semua" ---------- */
.tx-card .tx-frame, .tx-card .tx-photo, .tx-card .tx-info { display: block; }
.tx-photo { display: flex !important; }
.tx-name { display: block; color: #fff; font-family: var(--font); font-size: 1.05rem; line-height: 1.3; margin-bottom: 8px; }
.tx-more { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .8rem; font-weight: 700; opacity: 0; transform: translateY(10px); transition: all .3s; }
.tx-card:hover .tx-more, .tx-card:focus-visible .tx-more { opacity: 1; transform: none; }
.tx-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tx-card--all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: #fff; border-style: dashed; border-color: rgba(255,255,255,.4); min-height: 360px; }
.tx-card--all strong { font-family: var(--font); font-size: 1.1rem; }
.tx-all-sub { font-size: .8rem; color: rgba(255,255,255,.75); }
.tx-all-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #07336e); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.tx-all-go { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.tx-card--all:hover .tx-all-go { background: var(--accent); color: var(--on-accent, #07336e); border-color: var(--accent); transform: translateX(4px); }
.tx-link { color: var(--accent); font-weight: 700; font-size: .85rem; margin-right: 8px; }
.tx-link:hover { text-decoration: underline; }

/* ---------- Halaman semua guru ---------- */
.tg-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.tg-search { position: relative; flex: 1 1 320px; max-width: 480px; }
.tg-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.tg-search input { width: 100%; padding: 13px 16px 13px 44px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: .92rem; }
.tg-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.tg-total { color: var(--text-soft); font-size: .85rem; } .tg-total b { color: var(--primary); }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tg-chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: var(--font); font-weight: 600; font-size: .8rem; cursor: pointer; transition: all .2s; }
.tg-chip small { opacity: .7; margin-left: 4px; }
.tg-chip:hover { border-color: var(--accent); color: var(--primary); }
.tg-chip.is-on { background: var(--primary); border-color: var(--primary); color: var(--surface); }
.tg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.tg-card { display: flex; flex-direction: column; text-align: center; font: inherit; color: inherit; cursor: pointer; padding: 10px 10px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s, border-color .3s; }
.tg-card[hidden] { display: none; }
.tg-card:hover, .tg-card:focus-visible { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 38px rgba(0,0,0,.1); outline: none; }
.tg-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--bg); }
.tg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.tg-card:hover .tg-photo img { transform: scale(1.05); }
.tg-info { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 0; }
.tg-info strong { font-family: var(--font); font-size: .98rem; color: var(--primary); line-height: 1.3; }
.tg-info small { color: var(--text-soft); font-size: .76rem; } .tg-info small i { color: var(--accent-dark); }
.tg-photo .tx-initial { font-size: 3.4rem; }
@media (max-width: 520px) { .tg-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .tg-info strong { font-size: .88rem; } }

/* ---------- Jendela detail guru ---------- */
.tdm[hidden] { display: none; }
.tdm { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.tdm-backdrop { position: absolute; inset: 0; background: rgba(8,24,48,.62); backdrop-filter: blur(4px); }
.tdm-box { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow: auto; border-radius: 26px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.4); outline: none; animation: tdmIn .28s ease; }
@keyframes tdmIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.tdm-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #14233f; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.tdm-photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; }
.tdm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tdm-photo span { font-family: var(--font); font-weight: 800; font-size: 5rem; color: #fff; }
.tdm-photo [hidden] { display: none; }
.tdm-body { padding: 22px 26px 28px; text-align: center; }
.tdm-body h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
.tdm-meta { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--text-soft); }
.tdm-meta i { color: var(--accent-dark); margin-right: 6px; }
.tdm-soc { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.tdm-soc a { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--surface); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.tdm-soc a:hover { background: var(--accent); color: var(--on-accent, #07336e); transform: translateY(-3px); }
body.tdm-open { overflow: hidden; }
.tg-photo .tx-initial { color: var(--primary); }
.tx-head .st-badge, .tx-head .st-badge * { color: var(--accent) !important; }

/* ============================================================
   HERO & STATISTIK — seragam untuk semua tema
   ============================================================ */
.hero { padding-bottom: 132px; }
.hero-meta { display: none !important; }          /* statistik kecil dihapus (sudah ada kartu statistik di bawah) */

/* Kartu kepala sekolah: kaca transparan */
.hero-card-principal { max-width: 360px; margin-left: auto; background: rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255,255,255,.28); border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; }
.hero-card-principal:hover { transform: none; }
.hero-card-principal .hc-img { height: 250px; }
.hero-card-principal .hc-img img { object-position: top center; }
.hero-card-principal .hc-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(0,0,0,.28)); pointer-events: none; }
.hero-card-principal .hc-badge { background: var(--accent); color: var(--on-accent, #fff); font-weight: 700; z-index: 1; }
.hero-card-principal .hc-body { padding: 18px 22px 22px; }
.hero-card-principal .hc-body h4 { color: #fff; font-size: 1.1rem; margin-bottom: 2px; }
.hero-card-principal .hc-role { display: inline-block; color: var(--accent); font-weight: 700; font-size: .8rem; margin-bottom: 8px; }
.hero-card-principal .hc-body p { color: rgba(255,255,255,.88); font-size: .84rem; line-height: 1.65; font-style: italic; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

/* Statistik: kartu putih melayang di tepi bawah hero */
.counter-section { position: relative; z-index: 5; margin: -76px 0 0; padding: 0 20px; background: none; }
.counter-grid { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 28px 22px; gap: 8px; box-shadow: 0 22px 54px rgba(0,0,0,.16); }
.counter-grid::before, .counter-grid::after { content: none; }
.counter-card { padding: 6px 14px; justify-content: center; }
.counter-card:not(:last-child)::after { background: var(--border); top: 18%; height: 64%; }
.cc-icon { background: var(--accent-glow); color: var(--primary); width: 52px; min-width: 52px; height: 52px; border-radius: 15px; font-size: 1.2rem; }
.cc-content h3 { color: var(--primary); font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.cc-content p { color: var(--text-soft); font-size: .8rem; }
@media (max-width: 900px) { .counter-grid { grid-template-columns: 1fr 1fr; row-gap: 18px; } .counter-card:nth-child(2n)::after { display: none; } .hero-card-principal { margin: 0 auto; max-width: 420px; } }
@media (max-width: 520px) { .hero { padding-bottom: 120px; } .counter-section { padding: 0 14px; margin-top: -64px; } .counter-card { justify-content: flex-start; padding: 4px 6px; } .cc-icon { width: 44px; min-width: 44px; height: 44px; } .cc-content h3 { font-size: 1.35rem; } }

/* Tombol PPDB/SPMB: terbaca di semua tema */
.nav a.nav-spmb { color: var(--on-accent, #fff) !important; }
.btn-ppdb { background: #fff; color: var(--primary-dark, #0c4a6e); border: 2px solid transparent; box-shadow: 0 8px 22px rgba(0,0,0,.2); font-weight: 700; }
.btn-ppdb:hover { background: var(--accent); color: var(--on-accent, #fff); transform: translateY(-2px); }
.btn-ppdb i { margin-right: 4px; }
.hero-buttons { flex-wrap: wrap; }

/* Banner ajakan daftar (semua tema) */
.ybm-cta { padding: 0; background: var(--accent); margin-top: 0; }
.ybm-cta .container { padding-top: 0; }
.ybm-cta-box { background: none; color: var(--on-accent, #fff); border-radius: 0; box-shadow: none; padding: 60px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; overflow: visible; }
.ybm-cta-box::before, .ybm-cta-box::after { content: none; }
.ybm-cta-box > div { max-width: 640px; }
.ybm-cta-tag { background: rgba(0,0,0,.1); color: var(--on-accent, #fff); font-family: var(--font); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 8px; display: inline-block; margin-bottom: 12px; }
.ybm-cta-box h2 { color: var(--on-accent, #fff); font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.ybm-cta-box p { color: var(--on-accent, #fff); opacity: .82; }
.ybm-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ybm-btn-yellow { background: var(--on-accent, #fff); color: var(--accent); box-shadow: none; }
.ybm-btn-yellow:hover { filter: brightness(1.2); transform: translateY(-2px); }
.ybm-btn-white { background: transparent; color: var(--on-accent, #fff); border: 2px solid var(--on-accent, #fff); }
.ybm-btn-white:hover { background: var(--on-accent, #fff); color: var(--accent); }

/* ---------- Jurusan ---------- */
.mj-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mj-grid--1 { max-width: 560px; margin: 0 auto; }
.mj-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mj-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s, border-color .3s; color: inherit; text-decoration: none; }
.mj-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 24px 50px rgba(0,0,0,.14); }
.mj-cover { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; background: linear-gradient(135deg, var(--primary-dark, #0c4a6e), var(--hero-end, var(--primary))); overflow: hidden; }
.mj-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mj-cover.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.55)); }
.mj-card:hover .mj-cover img { transform: scale(1.06); }
.mj-ico { position: relative; z-index: 1; width: 74px; height: 74px; border-radius: 22px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; }
.mj-cover.has-img .mj-ico { position: absolute; left: 20px; bottom: 18px; width: 52px; height: 52px; border-radius: 16px; font-size: 1.3rem; z-index: 2; }
.mj-short { position: absolute; z-index: 2; top: 16px; right: 16px; padding: 6px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); font-family: var(--font); font-weight: 800; font-size: .85rem; letter-spacing: .06em; }
.mj-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.mj-name { font-family: var(--font); font-size: 1.2rem; line-height: 1.3; color: var(--primary); }
.mj-tag { color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.mj-skills { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: .84rem; color: var(--text); }
.mj-skills i { color: var(--accent-dark); margin-right: 6px; font-size: .72rem; }
.mj-more { margin-top: auto; padding-top: 12px; color: var(--primary); font-family: var(--font); font-weight: 700; font-size: .88rem; }
.mj-more i { transition: transform .25s; margin-left: 4px; }
.mj-card:hover .mj-more i { transform: translateX(6px); }
@media (max-width: 700px) { .mj-grid--2 { grid-template-columns: 1fr; } }

.mjd { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.mjd-main, .mjd-side { display: grid; gap: 22px; min-width: 0; }
.mjd-photo { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 26px; box-shadow: 0 18px 44px rgba(0,0,0,.14); }
.mjd-box { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 26px 28px; }
.mjd-box h2, .mjd-box h3 { display: flex; align-items: center; gap: 10px; color: var(--primary); font-size: 1.15rem; margin-bottom: 14px; }
.mjd-box h2 i, .mjd-box h3 i { color: var(--accent-dark); }
.mjd-box p { color: var(--text-soft); line-height: 1.8; margin: 0 0 12px; }
.mjd-box p:last-child { margin-bottom: 0; }
.mjd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mjd-list--2 { grid-template-columns: 1fr 1fr; }
.mjd-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--text); }
.mjd-list i { color: var(--accent-dark); margin-top: 5px; font-size: .75rem; }
.mjd-box--accent { background: linear-gradient(150deg, var(--primary-dark, #0c4a6e), var(--hero-end, var(--primary))); border: 0; }
.mjd-box--accent h3, .mjd-box--accent li { color: #fff; }
.mjd-box--accent h3 i, .mjd-box--accent li i { color: var(--accent); }
.mjd-cta { text-align: center; background: var(--accent-glow); }
.mjd-cta h3 { justify-content: center; }
.mjd-cta .btn-ppdb { background: var(--accent); color: var(--on-accent, #fff); }
.mjd-other-title { margin: 56px 0 22px; color: var(--primary); font-size: 1.4rem; }
@media (max-width: 900px) { .mjd { grid-template-columns: 1fr; } .mjd-list--2 { grid-template-columns: 1fr; } }

/* ---------- Guru: menu gelembung ala smartwatch ---------- */
.wt { position: relative; }
.wt-stage { position: relative; height: 520px; overflow: auto; border-radius: 28px; cursor: default; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-x pan-y; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.14), rgba(255,255,255,0) 62%); outline: none; -webkit-mask-image: radial-gradient(ellipse at center, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 58%, transparent 100%); }
.wt-stage::-webkit-scrollbar { display: none; }
.wt-stage.is-drag { cursor: grabbing; user-select: none; }
.wt-stage:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.wt-field { width: max-content; padding: 230px 420px; }
.wt-row { display: flex; gap: 18px; margin-top: -16px; }
.wt-row:first-child { margin-top: 0; }
.wt-row.is-odd { margin-left: 57px; }
.wt-b { flex: 0 0 96px; width: 96px; height: 96px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; display: block; transform-origin: center; transition: transform .08s linear, opacity .08s linear; will-change: transform; text-decoration: none; }
.wt-face { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--primary-light, #4d8dba), var(--primary-dark, #0c4a6e)); border: 3px solid rgba(255,255,255,.55); box-shadow: 0 8px 22px rgba(0,0,0,.3); color: #fff; font-size: 1.6rem; transition: border-color .2s, box-shadow .2s; }
.wt-face img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.wt-init { font-family: var(--font); font-weight: 800; font-size: 2rem; color: var(--accent); }
.wt-b.is-focus .wt-face { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.4); }
.wt-b--all .wt-face { background: var(--accent); color: var(--on-accent, #07336e); border-color: rgba(255,255,255,.7); }
.wt-b:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wt-cap { text-align: center; min-height: 64px; margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wt-cap strong { color: #fff; font-family: var(--font); font-size: 1.25rem; }
.wt-cap span { color: var(--accent); font-weight: 700; font-size: .88rem; }
.wt-hint { text-align: center; color: rgba(255,255,255,.65); font-size: .78rem; margin: 6px 0 0; }
.wt-hint i { margin-right: 6px; }
@media (max-width: 640px) { .wt-stage { height: 460px; } .wt-field { padding: 200px 160px; } .wt-b { flex-basis: 84px; width: 84px; height: 84px; } .wt-row { gap: 14px; } .wt-row.is-odd { margin-left: 49px; } }
.tdm-quote { margin: 14px 0 0; color: var(--text-soft); font-style: italic; line-height: 1.65; font-size: .95rem; }
.tdm-soc a { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; }

/* ---------- Galeri: tombol semua + halaman semua galeri ---------- */
.gallery-all { text-align: center; margin-top: 32px; }
.gallery-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gp-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.gp-item[hidden] { display: none; }
.gp-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gp-item:hover img { transform: scale(1.07); }
.gp-item .gi-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .3s; }
.gp-item:hover .gi-overlay { opacity: 1; }
.gp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .8rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
@media (max-width: 520px) { .gallery-page-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ---------- Footer sederhana: merek | menu | lokasi + peta ---------- */
.footer-grid { grid-template-columns: 1.1fr .8fr 1.3fr; gap: 44px; }
.footer-col .fl-line { display: flex; gap: 10px; margin: 0 0 10px; font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.8); }
.footer-col .fl-line i { color: var(--accent); margin-top: 4px; width: 16px; flex-shrink: 0; }
.footer-map { margin-top: 14px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.footer-map iframe { display: block; width: 100%; height: 190px; border: 0; }
.footer-map-link { display: inline-block; margin-top: 10px; font-size: .84rem; font-weight: 700; color: var(--accent) !important; }
.footer-col-nav { columns: 1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col-loc { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
