/*
Theme Name: Web Sekolah
Theme URI: https://sharecode.id
Author: sharecode.id
Author URI: https://sharecode.id
Description: Tema website sekolah modern berbasis Bootstrap 5 dengan 5 pilihan warna (Kalem, Biru, Hijau, Merah, Klasik) yang bisa diganti dari Customizer. Lengkap: slider, berita, pengumuman, agenda, galeri, guru, prestasi, dan pengaturan sekolah. Gratis dari sharecode.id.
Version: 1.3.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Update URI: https://sharecode.id/api/update/web-sekolah-wp
License: Lisensi Member PRO sharecode.id
Text Domain: websekolah
Tags: education, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/
/* ==========================================================================
   Template Website Sekolah — Versi Bootstrap 5 (terang & kalem)
   Palet: biru keabuan + hijau sage + pasir, di atas latar hangat
   Ganti warna cukup di :root
   ========================================================================== */

:root {
  --sk-primary: #5a7d9a;        /* biru keabuan */
  --sk-primary-dark: #46667f;
  --sk-primary-soft: #e8eff5;
  --sk-primary-rgb: 90, 125, 154;
  --sk-primary-dark-rgb: 70, 102, 127;
  --sk-primary-line: #c9d7e2;      /* garis/hover bernuansa warna utama */
  --sk-sage: #8fae9a;           /* hijau sage */
  --sk-sage-soft: #eaf1ec;
  --sk-sand: #c8a96e;           /* pasir / emas lembut */
  --sk-sand-soft: #f6efe1;
  --sk-rose: #c98b74;           /* terakota lembut untuk label */
  --sk-bg: #fbfaf7;
  --sk-bg-alt: #f4f1ea;
  --sk-bg-rgb: 251, 250, 247;      /* = --sk-bg, untuk lapisan transparan hero */
  --sk-footer-bg: #eef1ee;
  --sk-footer-line: #dde3dd;
  --sk-map-bg: #e5ebe6;
  --sk-topbar-bg: var(--sk-primary-soft);
  --sk-topbar-fg: var(--sk-muted);
  --sk-topbar-hover: var(--sk-primary);
  --sk-topbar-icon: var(--sk-primary);
  --sk-text: #3d4a57;
  --sk-muted: #6f7b87;
  --sk-line: #e7e2d8;
  --sk-radius: .75rem;
  --sk-shadow: 0 6px 24px rgba(61, 74, 87, .07);
  --sk-shadow-lg: 0 14px 40px rgba(61, 74, 87, .10);

  --sk-font-head: "Lora", "Merriweather", Georgia, "Times New Roman", serif;
  --sk-font-body: "Nunito", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Override variabel Bootstrap */
  --bs-body-bg: var(--sk-bg);
  --bs-body-color: var(--sk-text);
  --bs-body-font-family: var(--sk-font-body);
  --bs-link-color: var(--sk-primary);
  --bs-link-color-rgb: var(--sk-primary-rgb);
  --bs-link-hover-color: var(--sk-primary-dark);
  --bs-link-hover-color-rgb: var(--sk-primary-dark-rgb);
  --bs-border-color: var(--sk-line);
  --bs-primary: var(--sk-primary);
  --bs-primary-rgb: var(--sk-primary-rgb);
  --bs-secondary-color: var(--sk-muted);
}

body { line-height: 1.75; }
h1, h2, h3, h4, h5, .font-head { font-family: var(--sk-font-head); color: #34404c; font-weight: 600; }
.text-muted { color: var(--sk-muted) !important; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -.125em; }

/* ---------- Tombol ---------- */
.btn { border-radius: 50rem; font-weight: 600; padding: .65rem 1.5rem; }
.btn-sm { padding: .4rem 1rem; }
.btn-primary {
  --bs-btn-bg: var(--sk-primary); --bs-btn-border-color: var(--sk-primary);
  --bs-btn-hover-bg: var(--sk-primary-dark); --bs-btn-hover-border-color: var(--sk-primary-dark);
  --bs-btn-active-bg: var(--sk-primary-dark); --bs-btn-active-border-color: var(--sk-primary-dark);
  --bs-btn-focus-shadow-rgb: var(--sk-primary-rgb);
}
.btn-outline-primary {
  --bs-btn-color: var(--sk-primary); --bs-btn-border-color: var(--sk-primary-line);
  --bs-btn-hover-bg: var(--sk-primary); --bs-btn-hover-border-color: var(--sk-primary);
  --bs-btn-active-bg: var(--sk-primary-dark); --bs-btn-active-border-color: var(--sk-primary-dark);
}
.btn-sand {
  --bs-btn-bg: var(--sk-sand); --bs-btn-border-color: var(--sk-sand); --bs-btn-color: #fff;
  --bs-btn-hover-bg: #b8995e; --bs-btn-hover-border-color: #b8995e; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #a98b52; --bs-btn-active-color: #fff;
}
.btn-light-soft {
  --bs-btn-bg: #fff; --bs-btn-border-color: var(--sk-line); --bs-btn-color: var(--sk-text);
  --bs-btn-hover-bg: var(--sk-primary-soft); --bs-btn-hover-border-color: var(--sk-primary-line); --bs-btn-hover-color: var(--sk-primary-dark);
}

/* ---------- Top bar ---------- */
.topbar { background: var(--sk-topbar-bg); color: var(--sk-topbar-fg); font-size: .84rem; }
.topbar a { color: var(--sk-topbar-fg); text-decoration: none; }
.topbar a:hover { color: var(--sk-topbar-hover); }
.topbar .icon { color: var(--sk-topbar-icon); }

/* ---------- Navbar ---------- */
.site-navbar { background: #fff; border-bottom: 1px solid var(--sk-line); transition: box-shadow .3s; }
.site-navbar.scrolled { box-shadow: var(--sk-shadow); }
.navbar-brand img { width: 52px; height: 52px; }
.brand-name { font-family: var(--sk-font-head); font-weight: 600; font-size: 1.22rem; color: #34404c; line-height: 1.15; }
.brand-sub { font-size: .72rem; color: var(--sk-muted); letter-spacing: .08em; text-transform: uppercase; }
.site-navbar .nav-link { font-weight: 600; font-size: .93rem; color: var(--sk-text); padding: .5rem .8rem !important; border-radius: 50rem; }
.site-navbar .nav-link:hover, .site-navbar .nav-link:focus { color: var(--sk-primary); background: var(--sk-primary-soft); }
.site-navbar .nav-link.active { color: var(--sk-primary); background: var(--sk-primary-soft); }
.site-navbar .dropdown-menu { border: 1px solid var(--sk-line); border-radius: var(--sk-radius); box-shadow: var(--sk-shadow-lg); padding: .5rem; --bs-dropdown-link-hover-bg: var(--sk-primary-soft); --bs-dropdown-link-hover-color: var(--sk-primary-dark); --bs-dropdown-link-active-bg: transparent; --bs-dropdown-link-active-color: var(--sk-primary-dark); }
.site-navbar .dropdown-item { border-radius: .5rem; font-size: .92rem; padding: .5rem .9rem; color: var(--sk-text); }
/* Hanya saat hover/fokus yang diberi latar; item .active (WP menandai semua tautan se-halaman) dibiarkan polos agar tidak menyala semua. */
.site-navbar .dropdown-item:hover, .site-navbar .dropdown-item:focus { background: var(--sk-primary-soft); color: var(--sk-primary-dark); }
.site-navbar .dropdown-item.active, .site-navbar .dropdown-item:active { background: transparent; color: var(--sk-text); font-weight: 400; }
@media (min-width: 992px) {
  .site-navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.offcanvas { background: var(--sk-bg); }

/* ---------- Info terkini (ticker) ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--sk-line); font-size: .9rem; }
.ticker-label { background: var(--sk-sand-soft); color: #8a6d37; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker-track { overflow: hidden; }
.ticker-move { display: inline-flex; gap: 3rem; white-space: nowrap; padding-left: 100%; animation: ticker 38s linear infinite; }
.ticker-move a { color: var(--sk-text); text-decoration: none; }
.ticker-move a::before { content: "•"; color: var(--sk-sand); margin-right: .6rem; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- Hero (carousel) ---------- */
.hero .carousel-item { height: 600px; background-size: cover; background-position: center right; }
.hero .carousel-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--sk-bg-rgb),.97) 0%, rgba(var(--sk-bg-rgb),.88) 38%, rgba(var(--sk-bg-rgb),.15) 75%); }
.hero .hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero .eyebrow { display: inline-block; background: var(--sk-sage-soft); color: #5d7f69; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 50rem; margin-bottom: 1.1rem; }
.hero h1, .hero h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.2; margin-bottom: 1rem; }
.hero h1 em, .hero h2 em { color: var(--sk-primary); font-style: italic; }
.hero p.lead { color: var(--sk-muted); max-width: 520px; font-size: 1.12rem; }
.hero .carousel-indicators { margin-bottom: 5.5rem; justify-content: flex-start; margin-left: max(1rem, calc((100vw - 1296px) / 2 + .75rem)); }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 5px; border-radius: 3px; background-color: var(--sk-primary); opacity: .3; border: 0; }
.hero .carousel-indicators .active { opacity: .9; width: 44px; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 56px; opacity: 1; }
.hero .ctrl { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--sk-primary); display: flex; align-items: center; justify-content: center; box-shadow: var(--sk-shadow); }
.hero .ctrl:hover { background: #fff; }

/* ---------- Akses cepat ---------- */
.quick-links { margin-top: -70px; position: relative; z-index: 5; }
.quick-card { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 1.5rem; height: 100%; display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; color: inherit; box-shadow: var(--sk-shadow); transition: transform .25s, box-shadow .25s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--sk-shadow-lg); color: inherit; }
.quick-card h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.quick-card p { font-size: .87rem; color: var(--sk-muted); margin: 0; line-height: 1.55; }
.icon-bubble { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-bubble .icon { width: 24px; height: 24px; }
.bubble-blue { background: var(--sk-primary-soft); color: var(--sk-primary); }
.bubble-sage { background: var(--sk-sage-soft); color: #5d7f69; }
.bubble-sand { background: var(--sk-sand-soft); color: #9c7c41; }
.bubble-rose { background: #f6e7e1; color: #a86650; }

/* ---------- Section ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--sk-bg-alt); }
.section-head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section-head.text-start { margin-left: 0; }
.kicker { display: inline-block; color: var(--sk-sand); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
.section-head p { color: var(--sk-muted); }
.divider-soft { width: 60px; height: 3px; border-radius: 3px; background: var(--sk-sand); opacity: .7; margin: .9rem auto 1rem; }
.section-head.text-start .divider-soft { margin-left: 0; }

/* ---------- Sambutan ---------- */
.principal-photo { position: relative; padding: 0 0 22px 22px; }
.principal-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 80%; border-radius: var(--sk-radius); background: var(--sk-sage-soft); }
.principal-photo img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--sk-radius); box-shadow: var(--sk-shadow-lg); }
.principal-badge { position: absolute; right: -10px; bottom: 44px; background: #fff; border-radius: var(--sk-radius); box-shadow: var(--sk-shadow-lg); padding: .9rem 1.2rem; border-left: 4px solid var(--sk-sand); }
.principal-badge strong { display: block; font-family: var(--sk-font-head); color: #34404c; }
.principal-badge small { color: var(--sk-muted); }
.quote-soft { background: var(--sk-primary-soft); border-radius: var(--sk-radius); padding: 1.2rem 1.4rem; font-family: var(--sk-font-head); font-style: italic; font-size: 1.15rem; color: var(--sk-primary-dark); position: relative; }
.signature { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.7rem; color: var(--sk-primary); line-height: 1; }

/* ---------- Statistik ---------- */
.stats { background: #fff; border-top: 1px solid var(--sk-line); border-bottom: 1px solid var(--sk-line); padding: 56px 0; }
.stat { text-align: center; }
.stat .icon-bubble { margin-bottom: .8rem; }
.stat-number { font-family: var(--sk-font-head); font-size: 2.4rem; font-weight: 600; color: #34404c; line-height: 1; }
.stat-label { font-size: .82rem; color: var(--sk-muted); letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; }

/* ---------- Kartu umum ---------- */
.card-soft { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); box-shadow: none; transition: transform .25s, box-shadow .25s; height: 100%; }
.card-soft:hover { transform: translateY(-4px); box-shadow: var(--sk-shadow-lg); }
.card-soft .card-body { padding: 1.8rem; }
.card-soft h3 { font-size: 1.18rem; }
.card-soft p { color: var(--sk-muted); font-size: .94rem; }
.link-more { font-weight: 700; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- Berita ---------- */
.news-card { overflow: hidden; }
.news-card .news-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-date { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); border-radius: .6rem; text-align: center; padding: .35rem .7rem; line-height: 1.1; box-shadow: var(--sk-shadow); }
.news-date b { display: block; font-family: var(--sk-font-head); font-size: 1.3rem; color: #34404c; }
.news-date small { font-size: .7rem; text-transform: uppercase; color: var(--sk-muted); font-weight: 700; }
.badge-soft { font-weight: 700; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 50rem; }
.badge-blue { background: var(--sk-primary-soft); color: var(--sk-primary-dark); }
.badge-sage { background: var(--sk-sage-soft); color: #5d7f69; }
.badge-sand { background: var(--sk-sand-soft); color: #8a6d37; }
.badge-rose { background: #f6e7e1; color: #a0604a; }
.news-card h3 a { color: #34404c; text-decoration: none; }
.news-card h3 a:hover { color: var(--sk-primary); }
.meta { font-size: .82rem; color: var(--sk-muted); }

/* ---------- Agenda & pengumuman ---------- */
.panel-soft { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); height: 100%; }
.panel-soft .panel-head { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--sk-line); display: flex; justify-content: space-between; align-items: center; }
.panel-soft .panel-head h3 { font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: .6rem; }
.panel-soft .list-group-item { border-color: var(--sk-line); padding: 1rem 1.5rem; background: transparent; }
.agenda-date { width: 60px; flex-shrink: 0; text-align: center; border-radius: .6rem; overflow: hidden; border: 1px solid var(--sk-line); }
.agenda-date b { display: block; font-family: var(--sk-font-head); font-size: 1.35rem; color: #34404c; padding: .25rem 0 .05rem; }
.agenda-date small { display: block; background: var(--sk-sage-soft); color: #5d7f69; font-size: .7rem; font-weight: 700; text-transform: uppercase; padding: .1rem 0; }
.list-group-item h4 { font-family: var(--sk-font-body); font-size: .98rem; font-weight: 700; margin: 0 0 .2rem; }
.list-group-item h4 a { color: var(--sk-text); text-decoration: none; }
.list-group-item h4 a:hover { color: var(--sk-primary); }

/* ---------- Prestasi ---------- */
.achieve-card { text-align: center; }
.medal { width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbf3dc, #e6cf9b 65%, #d2b475); color: #7a5f2c; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--sk-sand-soft); }
.medal .icon { width: 30px; height: 30px; }
.level { display: inline-block; margin-top: .6rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8a6d37; font-weight: 700; }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--sk-radius); cursor: pointer; border: 0; padding: 0; background: none; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--sk-text); font-size: .82rem; font-weight: 600; padding: .3rem .75rem; border-radius: 50rem; opacity: 0; transform: translateY(6px); transition: all .3s; }
.gallery-item:hover span, .gallery-item:focus span { opacity: 1; transform: none; }
#galleryModal .modal-content { background: transparent; border: 0; }
#galleryModal img { border-radius: var(--sk-radius); }

/* ---------- Testimoni ---------- */
.testi-card .card-body { position: relative; }
.testi-card .card-body::before { content: "\201C"; position: absolute; top: .2rem; right: 1.2rem; font-family: var(--sk-font-head); font-size: 5rem; line-height: 1; color: var(--sk-sand-soft); }
.testi-card p { font-style: italic; position: relative; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sk-sand-soft); }

/* ---------- CTA SPMB ---------- */
.cta-box { background: linear-gradient(120deg, var(--sk-primary-soft), var(--sk-sage-soft)); border-radius: 1.25rem; padding: 3rem; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.5); }
.cta-box h2 em { color: var(--sk-primary); }
.cta-box > * { position: relative; z-index: 1; }

/* ---------- Mitra ---------- */
.partner { font-family: var(--sk-font-head); font-weight: 600; color: #a9a397; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.partner:hover { color: var(--sk-primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sk-footer-bg); color: var(--sk-muted); font-size: .93rem; }
.site-footer h4 { font-size: 1.08rem; margin-bottom: 1.1rem; }
.site-footer a { color: var(--sk-muted); text-decoration: none; }
.site-footer a:hover { color: var(--sk-primary); }
.footer-links li { margin-bottom: .5rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--sk-line); display: inline-flex; align-items: center; justify-content: center; color: var(--sk-primary); }
.social a:hover { background: var(--sk-primary); color: #fff; border-color: var(--sk-primary); }
.footer-map { height: 150px; border-radius: var(--sk-radius); background: var(--sk-map-bg) url("../img/map.svg") center/cover; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.footer-map span { background: rgba(255,255,255,.9); padding: .3rem .8rem; border-radius: 50rem; }
.footer-bottom { border-top: 1px solid var(--sk-footer-line); font-size: .85rem; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sk-primary); color: #fff; box-shadow: var(--sk-shadow-lg); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 1030; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--sk-primary-dark); }

/* ==========================================================================
   Halaman dalam
   ========================================================================== */
.page-banner { position: relative; padding: 80px 0 70px; background: var(--sk-primary-soft) url("../img/hero-2.svg") center right/cover; text-align: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(var(--sk-bg-rgb),.82); }
.page-banner > .container { position: relative; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.breadcrumb { justify-content: center; margin: 0; --bs-breadcrumb-divider-color: var(--sk-sand); }
.breadcrumb a { text-decoration: none; }
.breadcrumb-item.active { color: var(--sk-muted); }

.side-widget { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.side-widget h4 { font-size: 1.08rem; padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--sk-line); }
.side-widget .list-group-item { border-color: var(--sk-line); padding: .65rem 0; background: transparent; display: flex; justify-content: space-between; color: var(--sk-text); font-size: .93rem; }
.side-widget .list-group-item:hover, .side-widget .list-group-item.active { color: var(--sk-primary); background: transparent; }
.side-widget .list-group-item.active { border-color: var(--sk-line); font-weight: 700; }
.recent-post img { width: 74px; height: 58px; object-fit: cover; border-radius: .5rem; }
.recent-post a { font-weight: 600; font-size: .9rem; color: var(--sk-text); text-decoration: none; line-height: 1.4; }
.recent-post a:hover { color: var(--sk-primary); }
.tag-cloud a { font-size: .8rem; padding: .3rem .8rem; border: 1px solid var(--sk-line); border-radius: 50rem; color: var(--sk-muted); text-decoration: none; display: inline-block; margin: 0 .3rem .4rem 0; }
.tag-cloud a:hover { background: var(--sk-primary-soft); border-color: var(--sk-primary-line); color: var(--sk-primary-dark); }

.pagination { --bs-pagination-color: var(--sk-text); --bs-pagination-border-color: var(--sk-line); --bs-pagination-hover-bg: var(--sk-primary-soft); --bs-pagination-hover-color: var(--sk-primary-dark); --bs-pagination-active-bg: var(--sk-primary); --bs-pagination-active-border-color: var(--sk-primary); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(var(--sk-primary-rgb),.2); gap: .35rem; }
.pagination .page-link { border-radius: .5rem !important; min-width: 40px; text-align: center; }

.form-control, .form-select { border-color: var(--sk-line); border-radius: .6rem; padding: .7rem 1rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--sk-primary-line); box-shadow: 0 0 0 .2rem rgba(var(--sk-primary-rgb),.15); }
.form-label { font-weight: 600; font-size: .9rem; }

.vm-card { border-top: 4px solid var(--sk-sand) !important; }
.vm-card .vm-quote { font-family: var(--sk-font-head); font-style: italic; font-size: 1.22rem; color: var(--sk-primary-dark); line-height: 1.6; }
.timeline { border-left: 2px solid var(--sk-sand-soft); padding-left: 1.8rem; }
.timeline-item { position: relative; padding-bottom: 1.4rem; }
.timeline-item::before { content: ""; position: absolute; left: calc(-1.8rem - 8px); top: .4rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--sk-sand); }
.timeline-item b { font-family: var(--sk-font-head); color: #9c7c41; }
.staff-card img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; }
.staff-card .card-body { text-align: center; padding: 1rem; }
.staff-card strong { display: block; font-family: var(--sk-font-head); color: #34404c; }
.facility { display: flex; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--sk-line); border-radius: .7rem; padding: .9rem 1rem; font-weight: 600; font-size: .93rem; }
.facility .icon { color: var(--sk-sage); width: 22px; height: 22px; }
.map-box { height: 360px; border-radius: var(--sk-radius); background: var(--sk-map-bg) url("../img/map.svg") center/cover; display: flex; align-items: center; justify-content: center; }
.map-box span { background: #fff; padding: .6rem 1.1rem; border-radius: 50rem; box-shadow: var(--sk-shadow); font-size: .9rem; }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero .carousel-item { height: 560px; background-position: 70% center; }
  .hero .carousel-item::before { background: linear-gradient(180deg, rgba(var(--sk-bg-rgb),.94) 0%, rgba(var(--sk-bg-rgb),.86) 60%, rgba(var(--sk-bg-rgb),.6) 100%); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .site-navbar .nav-link { padding: .7rem 1rem !important; }
}
@media (max-width: 575.98px) {
  .hero .carousel-item { height: 580px; }
  .hero .carousel-indicators { margin-bottom: 4.5rem; }
  .quick-links { margin-top: -50px; }
  .quick-links .quick-card { flex-direction: column; gap: .7rem; padding: 1.1rem; }
  .quick-links .quick-card h3 { font-size: .98rem; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-auto-rows: 140px; }
  .cta-box { padding: 2rem 1.5rem; }
  .principal-badge { right: 0; }
  .brand-name { font-size: 1.05rem; }
  .navbar-brand img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-move { padding-left: 0; }
}

/* ---------- Berita versi daftar (gambar di kiri) ---------- */
.news-card:has(> .row) { height: auto; }
.news-card .row > [class*="col-"] > .news-thumb { aspect-ratio: 16 / 10; height: auto !important; }
@media (min-width: 768px) {
  .news-card .row > [class*="col-"] > .news-thumb { aspect-ratio: auto; height: 100% !important; min-height: 230px; }
  .news-card .row > [class*="col-"] > .news-thumb img { position: absolute; inset: 0; }
}

/* ==========================================================================
   Tambahan khusus tema WordPress (hero, brand, banner, galeri, spmb, dll.)
   ========================================================================== */

/* Topbar */
.top-bar { background: var(--sk-topbar-bg); color: var(--sk-topbar-fg); padding: .45rem 0; font-size: .85rem; }
.top-bar .icon { color: var(--sk-topbar-icon); width: 16px; height: 16px; vertical-align: -.2em; }
.top-bar a { color: var(--sk-topbar-fg); }
.top-bar a:hover { color: var(--sk-topbar-hover); }
.top-social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.top-social .icon { width: 16px; height: 16px; }

/* Navbar brand */
.site-navbar { background: var(--sk-bg); box-shadow: var(--sk-shadow); }
.navbar-brand .brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--sk-primary); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 1.3rem; font-family: var(--sk-font-head); }
.navbar-brand .custom-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text { line-height: 1.15; }
.brand-nama { font-family: var(--sk-font-head); font-weight: 700; color: var(--sk-primary-dark); font-size: 1.12rem; }
.brand-sub { display: block; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; color: var(--sk-muted); }
.site-navbar .nav-link { font-weight: 600; color: var(--sk-text); padding: .5rem .85rem; border-radius: 8px; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--sk-primary); background: var(--sk-primary-soft); }
.spmb-btn { font-weight: 700; }

/* Hero slider */
.hero-carousel .carousel-item { min-height: clamp(430px, 58vh, 640px); background-image: var(--hero-bg); background-size: cover; background-position: center right; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--sk-bg-rgb), .97) 0%, rgba(var(--sk-bg-rgb), .82) 42%, rgba(var(--sk-bg-rgb), .25) 100%); }
.hero-body { position: relative; z-index: 2; }
.hero-text { max-width: 640px; padding: 2rem 0; }
.hero-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--sk-primary); background: var(--sk-primary-soft); padding: .3rem .9rem; border-radius: 99px; margin-bottom: 1rem; }
.hero-judul { font-family: var(--sk-font-head); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; color: var(--sk-primary-dark); margin-bottom: 1rem; }
.hero-teks { color: var(--sk-text); font-size: 1.05rem; max-width: 560px; }
.hero-teks p:last-child { margin-bottom: 0; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 5%; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon { background-color: rgba(var(--sk-primary-rgb), .85); border-radius: 50%; padding: 1.1rem; background-size: 45%; }

/* Akses cepat */
.quick-links { margin-top: 1.5rem; position: relative; z-index: 5; }
.quick-card { background: #fff; transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--sk-shadow-lg); }
.quick-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sk-primary-soft); color: var(--sk-primary); display: inline-grid; place-items: center; flex-shrink: 0; }
.quick-icon .icon { width: 22px; height: 22px; }
.quick-judul { color: var(--sk-primary-dark); }

/* Section & heading */
.section-head .kicker, .kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--sk-sand); margin-bottom: .4rem; }
.section-head h2, .section h2 { font-family: var(--sk-font-head); font-weight: 700; color: var(--sk-primary-dark); }
.section-alt { background: var(--sk-bg-alt); }
.card-soft { background: #fff; box-shadow: var(--sk-shadow); }

/* Sambutan */
.sambutan-foto { position: relative; box-shadow: var(--sk-shadow-lg); background: var(--sk-primary-soft); }
.sambutan-nama { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(var(--sk-primary-rgb), .92); color: #fff; padding: .6rem .9rem; border-radius: 12px; }
.sambutan-nama span { display: block; font-size: .8rem; opacity: .85; }
.sambutan-kutipan { border-left: 3px solid var(--sk-sand); padding-left: 1rem; font-style: italic; color: var(--sk-muted); margin: 1rem 0; }

/* Statistik — latar terang + ikon bubble (samakan dengan versi Laravel) */
.stats { background: var(--sk-primary-soft); border-color: var(--sk-primary-line); }
.stats .icon-bubble { background: #fff; }

/* Program */
.program-card { transition: transform .2s, box-shadow .2s; }
.program-card:hover { transform: translateY(-3px); box-shadow: var(--sk-shadow-lg); }
.program-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sk-primary-soft); color: var(--sk-primary); display: inline-grid; place-items: center; }
.program-icon .icon { width: 26px; height: 26px; }
.program-card h3 { color: var(--sk-primary-dark); }

/* Berita card */
.news-card { transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--sk-shadow-lg); }
.news-thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-judul a { color: var(--sk-primary-dark); }
.news-judul a:hover { color: var(--sk-primary); }
.badge-soft { font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; }
.badge-blue { background: var(--sk-primary-soft); color: var(--sk-primary-dark); }
.link-more { color: var(--sk-primary); display: inline-flex; align-items: center; gap: .3rem; }
.link-more .icon { width: 16px; height: 16px; }
.btn-light-soft { background: var(--sk-primary-soft); color: var(--sk-primary-dark); border: 0; }

/* Agenda */
.agenda-tgl { width: 56px; background: var(--sk-primary-soft); border-radius: 12px; padding: .5rem 0; color: var(--sk-primary-dark); display: flex; flex-direction: column; justify-content: center; }
.agenda-hari { font-family: var(--sk-font-head); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.agenda-bulan { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.agenda-item .icon, .pengumuman-list .icon { width: 15px; height: 15px; color: var(--sk-primary); }
.pengumuman-list a:hover { color: var(--sk-primary); }

/* Galeri */
.galeri-item { position: relative; aspect-ratio: 4/3; }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.galeri-item:hover img { transform: scale(1.06); }
.galeri-item figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(var(--sk-primary-rgb), .85)); color: #fff; padding: 1.4rem .8rem .7rem; font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .25s; }
.galeri-item:hover figcaption { opacity: 1; }

/* SPMB CTA */
/* SPMB — kartu CTA (tata letak mengikuti versi Laravel; warna ikut skema) */
.cta-box { background: linear-gradient(120deg, var(--sk-primary-soft), var(--sk-sage-soft)); border: 1px solid var(--sk-primary-line); border-radius: 1.25rem; padding: 3rem; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-family: var(--sk-font-head); color: var(--sk-primary-dark); }
.cta-box h2 em { color: var(--sk-primary); font-style: italic; }
@media (max-width: 575px) { .cta-box { padding: 2rem 1.5rem; } }

/* Banner halaman dalam */
.page-banner { background: var(--sk-primary-soft); border-bottom: 1px solid var(--sk-primary-line); }
.page-banner-judul { font-family: var(--sk-font-head); font-weight: 700; color: var(--sk-primary-dark); }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: var(--sk-muted); text-decoration: none; }
.page-banner .breadcrumb-item.active { color: var(--sk-primary); }

/* Sidebar & artikel */
.sidebar-box { background: #fff; box-shadow: var(--sk-shadow); height: auto; }
.sidebar-box:hover { transform: none; box-shadow: var(--sk-shadow); }
.sidebar-kategori a, .sidebar-terbaru a { color: var(--sk-text); text-decoration: none; }
.sidebar-kategori li { padding: .3rem 0; border-bottom: 1px solid var(--sk-line); }
.article-body { line-height: 1.85; }
.article-body h2, .article-body h3 { font-family: var(--sk-font-head); color: var(--sk-primary-dark); margin: 1.6rem 0 .7rem; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; }

/* Footer */
.site-footer { background: var(--sk-footer-bg); border-top: 1px solid var(--sk-footer-line); }
.site-footer .footer-judul { color: var(--sk-primary-dark); letter-spacing: .08em; }
.footer-menu a, .footer-kontak { color: var(--sk-text); text-decoration: none; }
.footer-menu li { margin-bottom: .5rem; }
.footer-menu a:hover { color: var(--sk-primary); }
.footer-kontak .icon { color: var(--sk-primary); width: 17px; height: 17px; flex-shrink: 0; margin-top: .15rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: var(--sk-primary-soft); color: var(--sk-primary); display: inline-flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid var(--sk-footer-line); }
.site-credit a { color: var(--sk-primary); font-weight: 600; }

/* Pagination */
.pagination .page-numbers { display: inline-block; padding: .5rem .85rem; margin: 0 3px; border-radius: 10px; border: 1px solid var(--sk-line); color: var(--sk-text); text-decoration: none; }
.pagination .page-numbers.current { background: var(--sk-primary); color: #fff; border-color: var(--sk-primary); }

/* ============================================================
   Tambahan WP — Profil, Kontak, Galeri lightbox, detail agenda
   Web Sekolah — sharecode.id (Lisensi Member PRO)
   ============================================================ */

/* Kontak */
.kontak-item .quick-icon { flex-shrink: 0; }
.kontak-item h3 { font-family: var(--sk-font-head); color: var(--sk-primary-dark); }
.kontak-peta, .kontak-peta-kosong { border: 1px solid var(--sk-line); box-shadow: var(--sk-shadow); }
.kontak-peta iframe { display: block; }

/* Sambutan (profil) */
.sambutan-foto { position: relative; box-shadow: var(--sk-shadow-lg); }
.sambutan-foto img { aspect-ratio: 4/5; object-fit: cover; }
.sambutan-nama { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; }
.sambutan-nama strong { display: block; font-family: var(--sk-font-head); }
.sambutan-nama span { font-size: .85rem; opacity: .85; }
.sambutan-kutipan { border-left: 3px solid var(--sk-primary); padding: .2rem 0 .2rem 1rem; margin: 1rem 0; font-family: var(--sk-font-head); font-style: italic; color: var(--sk-primary-dark); font-size: 1.1rem; }

/* Visi & Misi / Fasilitas */
.program-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sk-primary-soft); color: var(--sk-primary); display: inline-flex; align-items: center; justify-content: center; }
.program-icon .icon { width: 26px; height: 26px; }
.misi-list li::marker { color: var(--sk-primary); font-weight: 700; }
.fasilitas-item .quick-icon { flex-shrink: 0; }
.fasilitas-item:hover { border-color: var(--sk-primary-line); }

/* Guru & Staf */
.guru-card .guru-foto { aspect-ratio: 3/3.4; overflow: hidden; background: var(--sk-primary-soft); }
.guru-card .guru-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.guru-card:hover .guru-foto img { transform: scale(1.05); }
.guru-card h3 { font-family: var(--sk-font-head); color: var(--sk-primary-dark); }

/* Detail Agenda */
.agenda-detail-tanggal { background: var(--sk-primary-soft); }
.agenda-detail-tanggal .agenda-hari { font-family: var(--sk-font-head); font-size: 2rem; font-weight: 700; color: var(--sk-primary-dark); line-height: 1; }
.agenda-detail-tanggal .agenda-bulan { font-size: .82rem; color: var(--sk-primary); text-transform: uppercase; letter-spacing: .05em; }
.agenda-fakta li { color: var(--sk-muted); }
.agenda-fakta .icon { color: var(--sk-primary); }

/* Galeri — tautan & tombol zoom */
.galeri-link { display: block; position: relative; color: inherit; text-decoration: none; }
.galeri-link .galeri-zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.8); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--sk-primary-dark); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.galeri-item:hover .galeri-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Lightbox */
.ws-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; gap: .5rem; padding: 3.5rem 1rem; background: rgba(16, 24, 34, .92); }
.ws-lightbox.open { display: flex; }
.ws-lightbox-stage { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.ws-lightbox-stage img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.ws-lightbox-stage figcaption { color: #fff; margin-top: .75rem; font-size: .95rem; text-align: center; }
.ws-lightbox-close { position: absolute; top: 1rem; right: 1.2rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.ws-lightbox-nav { width: 52px; height: 52px; flex-shrink: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.ws-lightbox-nav:hover, .ws-lightbox-close:hover { background: rgba(255,255,255,.28); }
@media (max-width: 575px) { .ws-lightbox-nav { position: absolute; bottom: 1rem; } .ws-lightbox-prev { left: 1rem; } .ws-lightbox-next { right: 1rem; } }

/* Footer — mitra strip & brand mark (tata letak mengikuti versi Laravel) */
.mitra-strip { background: #fff; }
.partner { text-decoration: none; }
.partner-logo { height: 34px; width: auto; object-fit: contain; }
.partner .icon { color: var(--sk-sand); width: 22px; height: 22px; }
.site-footer .brand-mark { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--sk-primary); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 1.4rem; font-family: var(--sk-font-head); }
.site-footer .footer-social a { width: 38px; height: 38px; border-radius: 10px; }

/* Konten halaman statis — tabel, blockquote, anchor offset */
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--sk-line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.article-body thead th { background: var(--sk-primary-soft); color: var(--sk-primary-dark); font-family: var(--sk-font-head); }
.article-body tbody tr:nth-child(even) { background: color-mix(in srgb, var(--sk-primary-soft) 45%, #fff); }
.article-body blockquote { border-left: 3px solid var(--sk-primary); background: var(--sk-primary-soft); padding: .9rem 1.2rem; margin: 1.4rem 0; border-radius: 0 12px 12px 0; font-family: var(--sk-font-head); font-style: italic; color: var(--sk-primary-dark); }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .4rem; }
.article-body ul li::marker, .article-body ol li::marker { color: var(--sk-primary); }
.article-body .table-responsive { overflow-x: auto; }
section[id] { scroll-margin-top: 90px; }

/* Sambutan Kepala Sekolah — samakan dengan versi Laravel (warna ikut skema) */
.divider-soft { width: 60px; height: 3px; border-radius: 3px; background: var(--sk-primary); opacity: .55; margin: .9rem auto 1rem; }
.section-head.text-start .divider-soft { margin-left: 0; }
.principal-photo { position: relative; padding: 0 0 22px 22px; }
.principal-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 80%; border-radius: var(--sk-radius); background: var(--sk-sage-soft); }
.principal-photo img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--sk-radius); box-shadow: var(--sk-shadow-lg); }
.principal-badge { position: absolute; right: -10px; bottom: 44px; background: #fff; border-radius: var(--sk-radius); box-shadow: var(--sk-shadow-lg); padding: .9rem 1.2rem; border-left: 4px solid var(--sk-sand); }
.principal-badge strong { display: block; font-family: var(--sk-font-head); color: #34404c; }
.principal-badge small { color: var(--sk-muted); }
.quote-soft { background: var(--sk-primary-soft); border-left: 4px solid var(--sk-primary); border-radius: var(--sk-radius); padding: 1.2rem 1.4rem; font-family: var(--sk-font-head); font-style: italic; font-size: 1.15rem; color: var(--sk-primary-dark); }
.signature { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.7rem; color: var(--sk-primary); line-height: 1; }
@media (max-width: 575px) { .principal-badge { right: 0; } }

/* Hero — highlight kata (sorot) + indikator carousel (samakan versi Laravel) */
.hero-judul em { color: var(--sk-primary); font-style: italic; }
/* Indikator hero mengalir tepat di bawah tombol (tidak absolut) */
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dots button { width: 28px; height: 5px; padding: 0; border: 0; border-radius: 3px; background-color: var(--sk-primary); opacity: .3; cursor: pointer; transition: width .25s, opacity .25s; }
.hero-dots button.active { opacity: .9; width: 44px; }

/* ===== Komentar detail berita ===== */
.comments-area { margin-top: 1rem; }
.comment-respond { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 1.6rem 1.8rem; box-shadow: var(--sk-shadow); }
.comment-reply-title { font-family: var(--sk-font-head); color: var(--sk-primary-dark); margin-bottom: .4rem; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.comment-form > p { margin-bottom: 0; }
.comment-form .comment-notes, .comment-form .comment-form-comment, .comment-form .comment-form-url, .comment-form .comment-form-cookies-consent, .comment-form .form-submit, .comment-form .logged-in-as { grid-column: 1 / -1; }
.comment-form .comment-notes { color: var(--sk-muted); font-size: .85rem; margin-bottom: .2rem; }
.comment-form .logged-in-as { color: var(--sk-muted); font-size: .9rem; }
.comment-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--sk-text); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--sk-line); border-radius: .6rem; padding: .6rem .85rem; font-size: .95rem; font-family: inherit; background: #fff; color: var(--sk-text); transition: border-color .2s, box-shadow .2s; }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--sk-primary); box-shadow: 0 0 0 .2rem rgba(var(--sk-primary-rgb), .15); }
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: var(--sk-muted); }
.comment-form .comment-form-cookies-consent input { width: auto; margin-top: .2rem; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }
.comment-form .form-submit { margin: 0; }
.comment-form .form-submit .submit { background: var(--sk-primary); color: #fff; border: 0; border-radius: 50rem; padding: .6rem 1.7rem; font-weight: 600; cursor: pointer; transition: background .2s; }
.comment-form .form-submit .submit:hover { background: var(--sk-primary-dark); }
/* Daftar komentar */
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .comment { margin-bottom: 1rem; }
.comment-list .comment-body { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 1.1rem 1.3rem; }
.comment-list .children { list-style: none; margin: 1rem 0 0 1.5rem; padding: 0; }
.comment-author { display: flex; align-items: center; gap: .6rem; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn { font-family: var(--sk-font-head); color: var(--sk-primary-dark); font-style: normal; font-weight: 600; }
.comment-metadata, .comment-metadata a { color: var(--sk-muted); font-size: .82rem; text-decoration: none; }
.comment-content { margin-top: .6rem; color: var(--sk-text); }
.comment-content p { margin-bottom: .5rem; }
.comment .reply { margin-top: .3rem; }
.comment .reply a { color: var(--sk-primary); font-weight: 600; font-size: .85rem; text-decoration: none; }
@media (max-width: 575px) { .comment-form { grid-template-columns: 1fr; } .comment-respond { padding: 1.2rem; } }

/* Hero: indikator di tengah antara tombol dan kartu akses cepat */
.hero-carousel .carousel-item { align-items: flex-end; }
.hero-carousel .hero-text { padding: 3rem 0 1.75rem; }
.hero-dots { margin-top: 3.25rem; }
