/*
Theme Name: GJL Bali
Theme URI: https://gjlbali.org
Author: Gerakan Jalan Lurus Provinsi Bali
Description: Website resmi Gerakan Jalan Lurus Provinsi Bali — Organisasi kemasyarakatan yang konsisten pada kebenaran dan keadilan.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Private
Text Domain: gjl-bali
*/

/* ── ROOT ── */
:root {
  --navy:      #1B3A6B;
  --navy-dark: #0f2548;
  --gold:      #C8962A;
  --gold-lt:   #E4B44A;
  --white:     #ffffff;
  --bg:        #f5f6fa;
  --text:      #444;
  --muted:     #888;
  --r:         12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--navy-dark);
  padding: 7px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.top-bar .info-item {
  margin-right: 18px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.top-bar .info-item i { color: var(--gold); margin-right: 5px; }
.top-bar a.info-item:hover { color: #fff; }
.top-bar a.info-item:hover i { color: var(--gold-lt); }
.top-bar .socials a {
  color: rgba(255,255,255,.6);
  margin-left: 10px; font-size: 13px;
  transition: color .25s;
}
.top-bar .socials a:hover { color: var(--gold); }

/* ── NAVBAR ── */
#mainNav {
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 1000;
  transition: padding .3s, box-shadow .3s;
}
#mainNav.scrolled { padding: 6px 0; box-shadow: 0 4px 20px rgba(0,0,0,.13); }
.navbar-brand img { height: 50px; transition: height .3s; }
#mainNav.scrolled .navbar-brand img { height: 40px; }
.brand-name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.brand-sub  { font-size: 10.5px; color: var(--gold); letter-spacing: .4px; }
.nav-link {
  font-size: 13.5px; font-weight: 500;
  color: #333 !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: background .25s, color .25s;
}
.nav-link:hover { background: rgba(27,58,107,.06); color: var(--navy) !important; }
.nav-aduan .nav-link {
  background: var(--gold); color: var(--white) !important;
  border-radius: 22px; padding: 8px 20px !important; font-weight: 600;
}
.nav-aduan .nav-link:hover {
  background: var(--gold-lt);
  box-shadow: 0 4px 14px rgba(200,150,42,.4);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  position: relative; height: 90vh; min-height: 520px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(2px) brightness(.35);
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(11,30,60,.75) 0%,rgba(27,58,107,.65) 100%);
}
.hero-body { position: relative; z-index: 2; color: var(--white); text-align: center; }
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(200,150,42,.7); color: var(--gold);
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 20px;
  margin-bottom: 22px; background: rgba(200,150,42,.08);
}
.hero-title {
  font-size: clamp(1.9rem,5vw,3.4rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-title span { color: var(--gold); }
.hero-motto {
  font-size: clamp(.95rem,2.5vw,1.2rem);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.85); letter-spacing: .5px; margin-bottom: 8px;
}
.hero-tagline { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 34px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 28px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all .3s; border: 2px solid transparent;
}
.btn-hero.solid { background: var(--gold); color: var(--white); }
.btn-hero.solid:hover {
  background: var(--gold-lt); color: var(--white);
  box-shadow: 0 8px 24px rgba(200,150,42,.4); transform: translateY(-2px);
}
.btn-hero.outline { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-hero.outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 2; text-align: center; cursor: pointer;
}
.scroll-mouse {
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 14px; margin: 0 auto 7px; position: relative;
}
.scroll-mouse::before {
  content: ''; position: absolute; top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 7px; background: var(--gold); border-radius: 2px;
  animation: scrollPulse 1.6s infinite;
}
@keyframes scrollPulse { 0% { top:7px; opacity:1; } 100% { top:26px; opacity:0; } }
.scroll-label { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: 1px; }

/* ── SECTION COMMON ── */
.section-pad { padding: 80px 0; }
.sec-label { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 12px; }
.sec-label.center { margin: 0 auto 12px; }
.sec-title { font-size: clamp(1.4rem,3vw,1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sec-sub { font-size: 14px; color: var(--muted); }

/* ── ABOUT ── */
.about-section { background: var(--white); }
.value-box { display: flex; gap: 14px; align-items: flex-start; }
.value-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(27,58,107,.07); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px; color: var(--navy);
}
.value-box h6 { font-size: 13px; font-weight: 600; color: #222; margin-bottom: 2px; }
.value-box p  { font-size: 12.5px; color: var(--muted); margin: 0; }
.card-navy {
  background: linear-gradient(135deg,var(--navy) 0%,#2a5298 100%);
  color: var(--white); border-radius: var(--r); padding: 24px;
}
.card-navy h5 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.card-navy p  { font-size: 13.5px; opacity:.88; margin:0; line-height:1.8; }
.card-light {
  background: var(--white);
  border: 1.5px solid rgba(27,58,107,.1); border-radius: var(--r);
  padding: 24px; box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.card-light h5 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card-light ul { font-size: 13.5px; color: var(--text); line-height: 2.1; padding-left: 18px; margin: 0; }
.card-gold-soft {
  background: rgba(200,150,42,.07);
  border: 1.5px solid rgba(200,150,42,.2); border-radius: var(--r); padding: 20px 24px;
}
.card-gold-soft h5 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-gold-soft p  { font-size: 13px; color: var(--text); margin: 0; line-height: 1.85; }
.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white); font-weight: 600;
  font-size: 13.5px; padding: 12px 26px; border-radius: 24px;
  text-decoration: none; border: none; transition: all .3s; cursor: pointer;
}
.btn-navy:hover {
  background: var(--navy-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27,58,107,.3);
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white); font-weight: 600;
  font-size: 13.5px; padding: 12px 26px; border-radius: 24px;
  text-decoration: none; border: none; transition: all .3s; cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-lt); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,150,42,.35);
}

/* ── CALLOUT ── */
.callout { position: relative; padding: 80px 0; overflow: hidden; }
.callout-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-attachment: fixed;
  filter: blur(3px) brightness(.25); transform: scale(1.05);
}
.callout-ov { position: absolute; inset: 0; }
.ov-navy { background: linear-gradient(135deg,rgba(11,30,60,.88),rgba(27,58,107,.82)); }
.ov-gold { background: linear-gradient(135deg,rgba(120,70,5,.85),rgba(27,58,107,.82)); }
.callout-inner { position: relative; z-index: 2; color: var(--white); }
.stat-num {
  display: block; font-size: clamp(2rem,5vw,3rem);
  font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.75); }
.quote-icon { font-size: 36px; color: var(--gold); opacity: .7; margin-bottom: 16px; }
blockquote.hero-quote {
  font-size: clamp(1.1rem,2.8vw,1.6rem); font-weight: 500;
  font-style: italic; line-height: 1.65; border: none; padding: 0; margin-bottom: 16px;
}
.quote-by { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ── NEWS ── */
.news-section { background: var(--bg); }
.news-wrap { overflow: hidden; }
.news-track { display: flex; gap: 24px; transition: transform .42s cubic-bezier(.4,0,.2,1); }
.news-card {
  flex-shrink: 0;
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.news-thumb { height: 190px; background: var(--navy); position: relative; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-cats {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 24px);
}
.news-cat {
  background: var(--gold); color: var(--white);
  font-size: 10.5px; font-weight: 600; padding: 3px 10px; border-radius: 10px;
}
.news-body { padding: 18px 20px 22px; }
.news-date { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.news-date i { color: var(--gold); margin-right: 4px; }
.news-card h5 { font-size: 14px; font-weight: 600; color: #1a1a2e; line-height: 1.5; margin-bottom: 10px; }
.news-card p  { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.news-link {
  font-size: 12.5px; font-weight: 600; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: gap .25s, color .25s;
}
.news-link:hover { gap: 9px; color: var(--gold); }
.nav-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--navy); background: transparent; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px; transition: background .25s, color .25s;
}
.nav-btn:hover { background: var(--navy); color: var(--white); }

/* ── GALLERY ── */
.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.g-item { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1; cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.g-item:hover img { transform: scale(1.06); }
.g-ov {
  position: absolute; inset: 0; background: rgba(27,58,107,0);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all .3s;
}
.g-ov i { color: var(--white); font-size: 26px; transform: scale(.5); transition: transform .3s; }
.g-item:hover .g-ov { background: rgba(27,58,107,.6); opacity: 1; }
.g-item:hover .g-ov i { transform: scale(1); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s;
}
#lightbox.on { opacity: 1; visibility: visible; }
#lightbox .lb-inner { position: relative; transform: scale(.85); transition: transform .3s; max-width: 90vw; }
#lightbox.on .lb-inner { transform: scale(1); }
#lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; object-fit: contain; display: block; }
#lightbox .lb-close {
  position: absolute; top: -38px; right: 0;
  background: none; border: none; color: var(--white);
  font-size: 26px; cursor: pointer; transition: color .2s;
}
#lightbox .lb-close:hover { color: var(--gold); }

/* ── CONTACT ── */
.contact-section { background: var(--bg); }
.map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.1); position: relative; }
.map-wrap iframe { width: 100%; height: 320px; border: none; display: block; }
.map-open-btn {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #222;
  padding: 7px 13px; border-radius: 20px;
  font-size: 12.5px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
  pointer-events: auto;
  z-index: 1;
}
.map-open-btn i { font-size: 10px; color: var(--navy); }
.map-open-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,.3); transform: translateY(-1px); color: #222; }
.contact-card {
  background: var(--white); border-radius: var(--r);
  padding: 28px; box-shadow: 0 2px 14px rgba(0,0,0,.06); height: 100%;
}
.c-item {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px;
  text-decoration: none; color: inherit; border-radius: 8px;
  transition: background .2s;
}
a.c-item { padding: 6px 8px; margin-left: -8px; }
a.c-item:hover { background: rgba(27,58,107,.05); }
.c-icon {
  width: 42px; height: 42px; border-radius: 9px;
  background: rgba(27,58,107,.07); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 17px; color: var(--navy);
}
.c-item h6 { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.c-item p  { font-size: 13.5px; font-weight: 500; color: #222; margin: 0; }
.aduan-wrap {
  background: var(--white); border-radius: var(--r);
  padding: 28px; box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.aduan-wrap h5 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.aduan-wrap .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.form-control, .form-select {
  border: 1.5px solid #e4e6ec; border-radius: 8px;
  padding: 11px 14px; font-size: 13.5px; font-family: 'Poppins', sans-serif;
  transition: border-color .25s, box-shadow .25s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,.1); outline: none;
}
.form-label { font-size: 13px; font-weight: 500; margin-bottom: 5px; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,.65); padding: 60px 0 0; }
footer h6 {
  color: var(--white); font-size: 13.5px; font-weight: 600;
  margin-bottom: 18px; padding-bottom: 10px; position: relative;
}
footer h6::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--gold); border-radius: 1px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li {
  margin-bottom: 9px;
  font-size: 13px; color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 7px;
}
footer ul li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
footer ul li a {
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .25s, padding-left .2s;
}
footer ul li a:hover { color: var(--gold); padding-left: 3px; }
.ftr-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ftr-brand img { height: 48px; flex-shrink: 0; }
.ftr-brand-name { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.25; }
.ftr-brand-sub  { font-size: 11.5px; color: var(--gold); letter-spacing: .3px; margin-top: 2px; }
.ftr-divider { height: 1px; background: rgba(255,255,255,.09); margin-bottom: 14px; }
.ftr-tagline { font-size: 12.5px; color: rgba(255,255,255,.45); font-style: italic; line-height: 1.6; margin-bottom: 18px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 7px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.65);
  margin-right: 7px; font-size: 13px; text-decoration: none;
  transition: background .25s, color .25s;
}
.footer-socials a:hover { background: var(--gold); color: var(--white); }
.footer-bottom { margin-top: 50px; background: rgba(0,0,0,.22); padding: 16px 0; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── reCAPTCHA badge — tersembunyi, teks atribusi ada di form ── */
.grecaptcha-badge { visibility: hidden !important; }

/* ── FLOATS ── */
.wa-btn { position: fixed; bottom: 28px; right: 28px; z-index: 990; }
.wa-btn a {
  display: flex; align-items: center; gap: 9px;
  background: #25D366; color: var(--white); text-decoration: none;
  padding: 11px 20px 11px 15px; border-radius: 28px;
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 4px 18px rgba(37,211,102,.45); transition: all .3s;
}
.wa-btn a i { font-size: 19px; }
.wa-btn a:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
#toTop {
  position: fixed; bottom: 86px; right: 28px; z-index: 989;
  width: 40px; height: 40px; background: var(--navy); color: var(--white);
  border: none; border-radius: 9px; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s;
}
#toTop.on { opacity: 1; visibility: visible; }
#toTop:hover { background: var(--gold); transform: translateY(-2px); }

/* ── FADE-UP ── */
.fu { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE HOMEPAGE ── */
@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .callout-bg { background-attachment: scroll; }

  /* Fix 1: Navbar FIXED di mobile — solusi definitif untuk terpotong saat scroll */
  .top-bar { display: none; } /* sembunyikan top-bar, hemat ruang layar */
  #mainNav {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 1030;
  }
  /* Offset konten agar tidak tertutup navbar fixed */
  .hero, .page-header { margin-top: 62px; }

  /* Collapse menu */
  #mainNav .navbar-collapse {
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,.07);
    padding: 8px 6px 14px;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }
  .navbar-brand { gap: 10px !important; }
  .navbar-brand img { height: 38px !important; }
  .brand-name { font-size: 12.5px; }
  .brand-sub  { font-size: 9.5px; }
  .nav-aduan .nav-link { text-align: center; margin: 6px 4px 0; }

  /* WA float */
  .wa-btn { bottom: 20px; right: 16px; }
  .wa-btn a { padding: 10px 16px 10px 12px; font-size: 12.5px; }
  #toTop { bottom: 76px; right: 16px; }
}

@media (max-width: 575px) {
  .hero { height: auto; min-height: 100svh; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* hero-scroll sembunyikan di mobile */
  .hero-scroll { display: none; }
  .hero-body { padding-top: 16px; padding-bottom: 16px; }
  .hero-tagline { display: none; }
  .btn-hero { padding: 11px 22px; font-size: 13.5px; }

  .section-pad { padding: 56px 0; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ════════════════════════════════════════
   INNER PAGES
════════════════════════════════════════ */

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  position: relative; padding: 56px 0 48px; overflow: hidden;
  background: var(--navy-dark);
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(3px) brightness(.22); transform: scale(1.05);
}
.page-header-ov {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(11,30,60,.9),rgba(27,58,107,.85));
}
.page-header-body { position: relative; z-index: 2; color: var(--white); }

/* Breadcrumb */
.bc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.bc a { color: rgba(255,255,255,.65); font-size: 12.5px; text-decoration: none; transition: color .2s; }
.bc a:hover { color: var(--gold); }
.bc-sep { color: rgba(255,255,255,.3); font-size: 11px; }
.bc-cur { color: rgba(255,255,255,.45); font-size: 12.5px;
  max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Post/page header details */
.ph-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ph-cat {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 11px; font-weight: 600; padding: 3px 12px; border-radius: 10px;
  letter-spacing: .3px; text-decoration: none;
}
.ph-cat:hover { background: var(--gold-lt); color: var(--white); }
.ph-title {
  font-size: clamp(1.4rem,3.5vw,2.3rem); font-weight: 800; line-height: 1.25;
  color: var(--white); margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.ph-meta {
  display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px;
  color: rgba(255,255,255,.65);
}
.ph-meta i { color: var(--gold); margin-right: 5px; }

/* ── SINGLE POST LAYOUT ── */
.single-wrap { background: var(--bg); }
.post-featured-img {
  border-radius: var(--r); overflow: hidden; margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.post-featured-img img { width: 100%; display: block; max-height: 420px; object-fit: cover; }

.post-content-wrap {
  background: var(--white); border-radius: var(--r);
  padding: 36px 40px; box-shadow: 0 2px 14px rgba(0,0,0,.05);
}

/* Article typography */
.post-content { font-size: 15.5px; line-height: 1.9; color: #333; }
.post-content p { margin-bottom: 22px; }
.post-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 36px 0 14px; }
.post-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--gold); padding: 14px 22px;
  background: rgba(200,150,42,.06); border-radius: 0 8px 8px 0;
  margin: 28px 0; color: #555; font-style: italic; font-size: 15px;
}
.post-content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.post-content a { color: var(--navy); }
.post-content a:hover { color: var(--gold); }
.post-content strong { color: #1a1a2e; }

/* Tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 20px 0; border-top: 1px solid #eee; margin-top: 12px;
}
.tags-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.tag-item {
  background: rgba(27,58,107,.07); color: var(--navy);
  font-size: 12px; font-weight: 500; padding: 4px 12px;
  border-radius: 20px; text-decoration: none; transition: all .25s;
}
.tag-item:hover { background: var(--navy); color: var(--white); }

/* Social share */
.social-share {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 8px 0 24px;
}
.share-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; flex-shrink: 0; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; padding: 7px 14px;
  border-radius: 20px; text-decoration: none; cursor: pointer;
  border: none; transition: all .25s;
}
.share-btn.fb { background: #1877F2; color: var(--white); }
.share-btn.fb:hover { background: #1565C0; color: var(--white); }
.share-btn.tw { background: #1a1a1a; color: var(--white); }
.share-btn.tw:hover { background: #000; color: var(--white); }
.share-btn.wa { background: #25D366; color: var(--white); }
.share-btn.wa:hover { background: #128C7E; color: var(--white); }
.share-btn.tg { background: #0088cc; color: var(--white); }
.share-btn.tg:hover { background: #0066aa; color: var(--white); }
.share-btn.cp { background: rgba(27,58,107,.08); color: var(--navy); }
.share-btn.cp:hover { background: var(--navy); color: var(--white); }

/* Post navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px;
}
.post-nav-item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px; border-radius: var(--r); background: var(--white);
  border: 1.5px solid rgba(27,58,107,.1); text-decoration: none;
  transition: all .3s; overflow: hidden;
}
.post-nav-item:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.post-nav-item.next { text-align: right; }
.nav-dir { font-size: 11.5px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; }
.nav-dir i { font-size: 11px; }
.nav-ptitle {
  font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 575px) { .post-nav { grid-template-columns: 1fr; } }

/* ── COMMENTS ── */
.comments-area {
  background: var(--white); border-radius: var(--r);
  padding: 30px; box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.comments-area .comments-title {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 2px solid rgba(27,58,107,.1);
}
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment { margin-bottom: 20px; }
.comment-body {
  display: flex; gap: 14px; padding: 16px;
  background: var(--bg); border-radius: 10px;
}
.comment-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-meta { margin-bottom: 6px; }
.comment-author-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.comment-date { font-size: 12px; color: var(--muted); margin-left: 8px; }
.comment-text p { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.7; }
.comment-reply-link {
  font-size: 12px; color: var(--navy); text-decoration: none; font-weight: 600;
  display: inline-block; margin-top: 6px;
}
.comment-reply-link:hover { color: var(--gold); }
.children { list-style: none; padding-left: 30px; margin-top: 12px; }

/* Comment form */
.comment-respond .comment-reply-title {
  font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 20px;
}
#commentform .row { margin-bottom: 0; }
.comment-form-comment textarea.form-control { min-height: 110px; }
.form-submit .submit {
  background: var(--gold); color: var(--white); font-weight: 600;
  font-size: 13.5px; padding: 11px 28px; border-radius: 24px;
  border: none; cursor: pointer; transition: all .3s; font-family: 'Poppins', sans-serif;
}
.form-submit .submit:hover { background: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(200,150,42,.35); }

/* ── SIDEBAR ── */
.sidebar-widget {
  background: var(--white); border-radius: var(--r);
  padding: 24px; box-shadow: 0 2px 14px rgba(0,0,0,.05); margin-bottom: 24px;
}
.sidebar-widget:last-child { margin-bottom: 0; }
.widget-title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(27,58,107,.1); position: relative;
}
.widget-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 32px; height: 2px; background: var(--gold);
}
/* Search widget */
.widget-search { display: flex; gap: 8px; }
.widget-search input {
  flex: 1; border: 1.5px solid #e4e6ec; border-radius: 8px;
  padding: 9px 14px; font-size: 13.5px; font-family: 'Poppins', sans-serif;
  transition: border-color .25s;
}
.widget-search input:focus { border-color: var(--navy); outline: none; }
.widget-search button {
  background: var(--navy); color: var(--white); border: none;
  border-radius: 8px; padding: 9px 14px; cursor: pointer; transition: background .25s;
}
.widget-search button:hover { background: var(--gold); }
/* Recent posts widget */
.recent-post {
  display: flex; gap: 12px; align-items: flex-start;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.recent-post:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.recent-post .rp-img {
  width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.recent-post .rp-img img { width: 100%; height: 100%; object-fit: cover; }
.recent-post .rp-body { flex: 1; min-width: 0; }
.recent-post .rp-title {
  font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.45;
  text-decoration: none; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px; display: block;
}
.recent-post .rp-title:hover { color: var(--gold); }
.recent-post .rp-date { font-size: 11.5px; color: var(--muted); }
.recent-post .rp-date i { color: var(--gold); margin-right: 3px; }
/* Categories widget */
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { margin-bottom: 0; }
.cat-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; font-size: 13.5px; color: var(--text);
  text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.05);
  transition: color .2s, padding-left .2s;
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list a:hover { color: var(--gold); padding-left: 5px; }
.cat-list .cat-count {
  background: rgba(27,58,107,.07); color: var(--navy);
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px;
}
/* About widget */
.about-widget { text-align: center; }
.about-widget img { height: 50px; margin-bottom: 12px; }
.about-widget h6 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.about-widget p { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }

/* ── NEWS LISTING (home.php / archive.php) ── */
.news-page { background: var(--bg); padding: 50px 0; }
.news-list-card {
  display: flex; gap: 20px; background: var(--white);
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.05); margin-bottom: 20px;
  transition: transform .3s, box-shadow .3s;
}
.news-list-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.news-list-img { width: 220px; min-height: 180px; flex-shrink: 0; overflow: hidden; position: relative; }
.news-list-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s; }
.news-list-card:hover .news-list-img img { transform: scale(1.04); }
.news-list-cats {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 20px);
}
.news-list-cat {
  background: var(--gold); color: var(--white);
  font-size: 10.5px; font-weight: 600; padding: 3px 10px; border-radius: 10px;
}
.news-list-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-list-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.news-list-meta i { color: var(--gold); margin-right: 4px; }
.news-list-meta span { margin-right: 14px; }
.news-list-title {
  font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.45;
  margin-bottom: 10px; text-decoration: none; display: block; transition: color .2s;
}
.news-list-title:hover { color: var(--gold); }
.news-list-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 14px; }
.news-list-readmore {
  font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; transition: gap .2s, color .2s;
  align-self: flex-start;
}
.news-list-readmore:hover { gap: 9px; color: var(--gold); }
@media (max-width: 575px) {
  .news-list-card { flex-direction: column; }
  .news-list-img { width: 100%; height: 180px; }
}

/* ── PAGINATION ── */
.gjl-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.gjl-pagination a, .gjl-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px; font-size: 13.5px;
  font-weight: 600; text-decoration: none; transition: all .25s;
  border: 1.5px solid rgba(27,58,107,.15); color: var(--navy); background: var(--white);
}
.gjl-pagination .current, .gjl-pagination a:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.gjl-pagination .dots { background: transparent; border-color: transparent; pointer-events: none; }

/* ── SEARCH RESULTS ── */
.search-header-title span { color: var(--gold); }
.no-results { text-align: center; padding: 60px 0; }
.no-results i { font-size: 48px; color: rgba(27,58,107,.2); margin-bottom: 16px; }
.no-results h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.no-results p { font-size: 14px; color: var(--muted); }

/* Sticky sidebar */
@media (min-width: 992px) {
  .sidebar-sticky { position: sticky; top: 88px; }
}

/* ── RESPONSIVE INNER PAGES ── */
@media (max-width: 767px) {
  .post-content-wrap { padding: 24px 20px; }
  .ph-meta { gap: 10px; }
}

/* ── TOAST NOTIFICATION ── */
.gjl-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  background: var(--navy-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  max-width: 360px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.gjl-toast.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gjl-toast-success i { color: #2ecc71; font-size: 18px; flex-shrink: 0; }
.gjl-toast-error   i { color: #e74c3c; font-size: 18px; flex-shrink: 0; }
@media (max-width: 480px) {
  .gjl-toast { bottom: 16px; right: 16px; left: 16px; max-width: none; }
}

/* ── SUCCESS MODAL ADUAN ── */
#aduanModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#aduanModal.on { display: flex; }
.aduan-modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: modalIn .28s ease;
}
@keyframes modalIn {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.aduan-modal-icon { font-size: 56px; color: #22c55e; margin-bottom: 16px; }
.aduan-modal-box h5 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.aduan-modal-box p  { font-size: 14px; color: #555; margin-bottom: 24px; line-height: 1.6; }
.btn-modal-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25d366;
  color: #fff;
  border-radius: 8px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background .2s;
}
.btn-modal-wa:hover { background: #1da851; color: #fff; }
.btn-modal-close {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid rgba(0,0,0,.13);
  border-radius: 8px;
  padding: 11px;
  font-size: 13px;
  color: #777;
  cursor: pointer;
  transition: background .2s;
}
.btn-modal-close:hover { background: #f5f5f5; }
