/*
Theme Name: Ustadz Profile & Publikasi
Theme URI: https://example.com/
Author: ChatGPT
Description: Tema WordPress untuk profil Ustadz + kajian + publikasi ilmiah (dengan CPT & dummy content).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ustadz-profile
*/

:root{
  --green-900:#0b2f25;
  --green-800:#0f3b2e;
  --green-700:#145043;
  --gold-500:#d4a72c;
  --gold-400:#e0bb4d;
  --bg:#fbf7ee;
  --text:#1c1c1c;
  --muted:#6b6b6b;
  --card:#ffffff;
  --border: rgba(0,0,0,.08);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
a{color:inherit}
.container{width:min(1100px, 92vw); margin:0 auto}
.site-header{
  position:sticky; top:0; z-index:40;
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.header-inner{display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand-badge{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(212,167,44,.16);
  border:1px solid rgba(212,167,44,.35);
}
.brand-title{font-weight:800; letter-spacing:.2px}
.nav{display:flex; gap:16px; align-items:center}
.nav a{color:#fff; text-decoration:none; opacity:.92; font-weight:600; font-size:14px}
.nav a:hover{opacity:1}

/* ===== Header menu horizontal (desktop) ===== */
.site-header .nav{ margin-left:auto; }
.site-header .nav .menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
}
.site-header .nav .menu li{ margin:0; padding:0; list-style:none; }
.site-header .nav .menu a{
  display:inline-flex;
  align-items:center;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  padding:10px 12px;
  border-radius:999px;
  opacity:.92;
}
.site-header .nav .menu a:hover{
  background: rgba(255,255,255,.10);
  opacity:1;
}

.mobile-toggle{display:none}

.hero{
  padding:44px 0 24px;
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(212,167,44,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(15,59,46,.18), transparent 55%);
}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:24px; align-items:center}
.kicker{display:inline-flex; align-items:center; gap:10px; color:var(--green-900); font-weight:800; letter-spacing:.3px}
.kicker-dot{width:10px; height:10px; border-radius:99px; background:var(--gold-500)}
.h1{font-size:44px; line-height:1.1; margin:10px 0 10px}
.lead{font-size:16px; color:#2c2c2c; max-width:60ch}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:999px;
  text-decoration:none; font-weight:800; font-size:14px;
  border:1px solid transparent;
}
.btn-primary{background:var(--gold-500); color:#1b1b1b}
.btn-primary:hover{background:var(--gold-400)}
.btn-ghost{background:rgba(255,255,255,.70); border-color:rgba(0,0,0,.08)}
.btn-ghost:hover{background:#fff}
.hero-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-photo{
  aspect-ratio: 4/3;
  background: linear-gradient(120deg, rgba(20,80,67,.9), rgba(11,47,37,.9));
  position:relative;
}
.hero-photo::after{
  content:"Foto Ustadz";
  position:absolute; inset:auto 14px 14px 14px;
  color:#fff; opacity:.9; font-weight:700;
  background: rgba(0,0,0,.25);
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
}
.hero-meta{padding:14px}
.meta-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.meta-item{background:rgba(11,47,37,.06); border:1px solid rgba(11,47,37,.10); border-radius:14px; padding:10px}
.meta-label{font-size:12px; color:var(--muted); font-weight:700}
.meta-value{font-weight:900; color:var(--green-900)}

.section{padding:28px 0}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:12px; margin-bottom:14px}
.h2{margin:0; font-size:22px}
.sub{margin:0; color:var(--muted); font-size:14px}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  padding:14px;
}
.card-title{margin:0 0 6px; font-weight:900}
.badges{display:flex; flex-wrap:wrap; gap:8px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(11,47,37,.16);
  background:rgba(11,47,37,.06);
  color:var(--green-900);
  font-weight:800;
}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--card);
}
.table th, .table td{padding:12px 12px; border-bottom:1px solid var(--border); vertical-align:top}
.table th{font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:var(--muted); text-align:left}
.table tr:last-child td{border-bottom:none}
.small{font-size:13px; color:var(--muted)}
.tabs{display:flex; gap:10px; flex-wrap:wrap}
.tab{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:13px;
}
.tab.is-active{
  background:rgba(20,80,67,.10);
  border-color:rgba(20,80,67,.25);
}
.site-footer{
  margin-top:30px;
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  color:#fff;
}
.footer-inner{display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap}
.footer-links{display:flex; gap:14px; flex-wrap:wrap}
.footer-links a{color:#fff; text-decoration:none; opacity:.9}
.footer-links a:hover{opacity:1}

.form{
  display:grid; gap:10px;
}
.input, .textarea, .select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font: inherit;
}
.textarea{min-height:120px; resize:vertical}
.notice{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(20,80,67,.25);
  background:rgba(20,80,67,.08);
  color:var(--green-900);
  font-weight:800;
}

@media (max-width: 880px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .nav{display:none}
  .mobile-toggle{display:inline-flex; color:#fff; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:10px 12px; font-weight:900}
  .mobile-nav{display:none; padding:8px 0 14px}
  .mobile-nav a{display:block; padding:10px 0; text-decoration:none; font-weight:800; color:#fff; opacity:.95}
  .mobile-nav.is-open{display:block}
  .h1{font-size:36px}
}
/* =========================
   HERO V2 (seperti mockup)
   ========================= */
.hero-v2{
  position: relative;
  padding: 44px 0 26px;
  background-color: var(--green-900);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* overlay hijau + vignette */
.hero-v2-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(212,167,44,.18), transparent 55%),
    linear-gradient(90deg, rgba(11,47,37,.92) 0%, rgba(11,47,37,.70) 45%, rgba(11,47,37,.35) 100%);
  pointer-events:none;
}

.hero-v2-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:end;
  min-height: 380px;
}

.hero-v2-left{
  color:#fff;
  padding: 16px 0;
}

.hero-v2-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
  opacity:.95;
}
.hero-v2-kicker .dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--gold-500);
}

.hero-v2-title{
  margin: 12px 0 10px;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
}

.hero-v2-sub{
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  opacity: .92;
}
.hero-v2-focus{ opacity:.95; font-weight:700; }

.hero-v2-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

/* Foto kanan */
.hero-v2-right{
  position:relative;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
}

.hero-v2-photo{
  width:min(420px, 42vw);
  height:auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  object-fit: cover;
  background: rgba(255,255,255,.06);
}

/* Placeholder */
.hero-v2-photo-placeholder{
  width:min(420px, 42vw);
  height: 320px;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.35);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:16px;
  opacity:.9;
}

/* Responsive */
@media (max-width: 880px){
  .hero-v2-inner{
    grid-template-columns: 1fr;
    min-height: unset;
    align-items:start;
  }
  .hero-v2-title{ font-size: 38px; }
  .hero-v2-right{ justify-content:flex-start; margin-top: 14px; }
  .hero-v2-photo, .hero-v2-photo-placeholder{ width: 100%; }
}
.hero-v2-photo{
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,.22);
  box-shadow: 
    0 30px 60px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(2px);
}

.hero-v2::before,
.hero-v2::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.hero-v2::before{ top:0; }
.hero-v2::after{ bottom:0; }
.hero-v2-title{
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-v2-role{
  font-size: 14px;
  opacity: .75;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-v2 .btn-primary{
  background: var(--gold-500);
  color:#0b2f25;
  font-weight:900;
}

.hero-v2 .btn-ghost{
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color:#fff;
}
.hero-v2 .btn-ghost:hover{
  background: rgba(255,255,255,.12);
}
/* =========================
   HERO (HP) - rapi + foto tetap tampil
   ========================= */
@media (max-width: 880px){

  /* hero spacing */
  .hero-v2,
  .hero-uni{
    padding: 52px 0 28px !important;
  }

  /* judul lebih proporsional */
  .hero-v2-title,
  .hero-uni-title{
    font-size: 34px !important;
    line-height: 1.08 !important;
    margin: 10px 0 10px !important;
    letter-spacing: -0.3px !important;
  }

  .hero-v2-role,
  .hero-uni-role{
    font-size: 13px !important;
    line-height: 1.45 !important;
    opacity: .85 !important;
    margin: 0 0 10px !important;
  }

  .hero-v2-sub,
  .hero-uni-sub{
    font-size: 14px !important;
    margin: 0 !important;
    opacity: .92 !important;
  }

  /* CTA rapi: 2 kolom */
  .hero-v2-cta,
  .hero-uni-cta{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .hero-v2 .btn,
  .hero-uni .btn{
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  /* Foto: bikin "card" rapi */
  .hero-v2-right{
    justify-content: center !important;
    margin-top: 16px !important;
  }

  .hero-v2-photo{
    width: 100% !important;
    max-width: 520px !important;
    height: 320px !important;          /* kunci tinggi agar tidak kebablasan */
    object-fit: cover !important;      /* tetap proporsional */
    object-position: center 18% !important; /* fokus ke wajah (atur 10%–30% kalau perlu) */
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.35) !important;
  }
}

/* Extra small: tombol jadi 1 kolom */
@media (max-width: 520px){
  .hero-v2-cta,
  .hero-uni-cta{
    grid-template-columns: 1fr !important;
  }
  .hero-v2-photo{
    height: 300px !important;
  }
}

.hero-v2-photo{
  filter: saturate(1.05) contrast(1.05);
}

@media (max-width: 880px){
  .hero-v2 .btn,
  .hero-uni .btn{
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
  }
}
@media (max-width: 880px){
  .hero-v2-photo{
    height: 260px !important; /* sebelumnya 320px */
    object-position: center 12% !important;
    border-radius: 18px !important;
  }
}
@media (max-width: 880px){
  .hero-v2,
  .hero-uni{
    padding: 40px 0 20px !important;
  }
}

@media (max-width: 880px){
  .hero-v2-title,
  .hero-uni-title{
    font-size: 30px !important;
    line-height: 1.1 !important;
  }
}
.hero-v2-photo{
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}

/* ======================
   FINAL MOBILE HERO FIX
   ====================== */
@media (max-width: 880px){

  /* Hero padding lebih pendek */
  .hero-v2,
  .hero-uni{
    padding: 36px 0 18px !important;
  }

  /* Judul akademik style (lebih elegan) */
  .hero-v2-title,
  .hero-uni-title{
    font-size: 28px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.2px !important;
  }

  /* Subtitle lebih ringan */
  .hero-v2-role,
  .hero-uni-role{
    font-size: 13px !important;
    opacity: .75 !important;
  }

  .hero-v2-sub,
  .hero-uni-sub{
    font-size: 14px !important;
    opacity: .9 !important;
  }

  /* Tombol akademik (tidak terlalu tebal) */
  .hero-v2 .btn,
  .hero-uni .btn{
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
  }

  /* CTA tetap full width */
  .hero-v2-cta,
  .hero-uni-cta{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* FOTO: kecil, rapi, fokus wajah */
  .hero-v2-photo{
    height: 200px !important;        /* penting */
    max-width: 520px !important;
    object-fit: cover !important;
    object-position: center 8% !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.35) !important;
  }

  /* Jarak foto dari teks */
  .hero-v2-right{
    margin-top: 14px !important;
  }
}

/* =========================================
   SECTION LAYOUT (Tentang/Kajian/Publikasi)
   ========================================= */

.section{
  padding: 44px 0;
}

.section .section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
}

.section .section-title{
  margin:0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.section .section-subtitle{
  margin:6px 0 0;
  opacity:.72;
  font-size: 14px;
}

.section .section-action .btn{
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

/* Cards grid */
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

/* Card polish */
.card{
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
  border-color: rgba(212,167,44,.35);
}

.card h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.card p{
  margin:0 0 12px;
  opacity:.78;
  font-size: 14px;
  line-height: 1.6;
}

/* Chips / tags */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11,47,37,.06);
  border: 1px solid rgba(11,47,37,.10);
  font-size: 12px;
  font-weight: 800;
}
.chip::before{
  content:"";
  width:8px; height:8px;
  border-radius:50%;
  background: var(--gold-500);
  opacity:.9;
}

/* Kajian list cards */
.list-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.kajian-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kajian-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
  border-color: rgba(212,167,44,.35);
}
.kajian-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom: 10px;
  opacity:.8;
  font-size: 12px;
  font-weight: 700;
}
.kajian-title{
  margin:0 0 8px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.kajian-desc{
  margin:0 0 12px;
  font-size: 14px;
  opacity:.78;
  line-height:1.6;
}
.kajian-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.kajian-actions .btn{
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
}

/* Publikasi cards */
.pub-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pub-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
  border-color: rgba(212,167,44,.35);
}
.pub-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.pub-year{
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212,167,44,.14);
  border: 1px solid rgba(212,167,44,.25);
  color:#0b2f25;
}
.pub-title{
  margin:0 0 6px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.pub-venue{
  margin:0 0 10px;
  opacity:.75;
  font-size: 13px;
}
.pub-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.pub-links a{
  font-weight: 800;
  font-size: 13px;
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(11,47,37,.14);
  background: rgba(11,47,37,.04);
}
.pub-links a:hover{
  border-color: rgba(212,167,44,.35);
  background: rgba(212,167,44,.10);
}

/* Empty state */
.empty-state{
  border: 1px dashed rgba(15,23,42,.22);
  background: rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 18px;
  opacity: .9;
}

/* Responsive */
@media (max-width: 980px){
  .cards-3, .list-grid{ grid-template-columns: 1fr; }
  .section .section-title{ font-size: 26px; }
}

/* =========================
   BOTTOM NAV (HP)
   ========================= */
.bottom-nav{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 66px;
  border-radius: 22px;
  background: rgba(11,47,37,.92);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 8px;

  /* default: sembunyi di desktop */
  display: none;
  gap: 0;
}

/* tampil hanya di mobile */
@media (max-width: 880px){
  .bottom-nav{ display:flex; }
  body{ padding-bottom: 96px; }
}

.bottom-nav .bn-item{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.bottom-nav .bn-ico{
  font-size: 18px;
  line-height: 1;
  opacity: .95;
}

.bottom-nav .bn-label{
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-nav .bn-item.is-active{ color:#fff; }
.bottom-nav .bn-item.is-active .bn-ico{ transform: translateY(-1px); }

.bottom-nav .bn-indicator{
  position:absolute;
  top: 7px;
  bottom: 7px;
  width: calc((100% - 16px) / 5); /* 5 item */
  left: 8px;
  border-radius: 18px;
  background: rgba(212,167,44,.22);
  border: 1px solid rgba(212,167,44,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .22s ease;
  z-index: 1;
}
/* =====================================
   FIX: HILANGKAN MENU DOUBEL DI MOBILE
   ===================================== */
@media (max-width: 880px){

  /* Matikan menu horizontal lama / mobile-nav lama */
  .mobile-nav{
    display: none !important;
  }

  /* Kalau ada fallback menu yang tampil sebagai teks biasa */
  .site-header nav .menu,
  .site-header .nav .menu{
    display: none !important;
  }

  /* Jika ada link menu yang nongol di area konten (rare) */
  .menu-primary-container{
    display:none !important;
  }
}

@media (max-width: 880px){
  .mobile-toggle{
    display:none !important;
  }
}

	  @media (max-width: 880px){
  body{ padding-bottom: 92px !important; }
}

	  @media (max-width: 880px){
  .site-footer .footer-links{ display:none !important; }
}

	  .site-footer{
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.footer-links{
  display:flex;
  gap:14px;
}
.footer-links a{
  color:#fff;
  opacity:.85;
  text-decoration:none;
  font-weight:700;
}
.footer-links a:hover{ opacity:1; }

	  .site-footer{
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding: 18px 0;
}
.footer-links{
  display:flex;
  gap:14px;
}
.footer-links a{
  color:#fff;
  opacity:.85;
  text-decoration:none;
  font-weight:700;
}
.footer-links a:hover{ opacity:1; }

	  /* =========================
   FOOTER (PROFESSIONAL)
   ========================= */
.site-footer{
  background: var(--green-900);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 18px;
  padding: 20px 0;
}

.footer-brand{
  max-width: 520px;
}
/* Desktop nav OK, Mobile pakai bottom-nav */
@media (max-width: 880px){
  .site-header .nav{ display:none !important; }
}


.footer-title{
  display:block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.footer-desc{
  margin-top: 6px;
  opacity: .82;
  font-size: 13px;
  line-height: 1.55;
}

.footer-copy{
  margin-top: 10px;
  font-size: 12px;
  opacity: .72;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  justify-content:flex-end;
  margin-top: 2px;
}

.footer-links a{
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.footer-links a:hover{
  background: rgba(212,167,44,.14);
  border-color: rgba(212,167,44,.30);
  color: #fff;
}

/* Mobile: footer sederhana + aman dengan bottom-nav */
@media (max-width: 880px){
  .footer-inner{
    flex-direction:column;
  }
  .footer-links{ display:none !important; }
}
/* supaya konten/footer tidak ketutup bottom-nav */
@media (max-width: 880px){
  body{ padding-bottom: 96px; }
}
@media (max-width: 880px){
  .footer-links{ display:none !important; }
}

	  .nav .menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:18px;
}
.nav .menu li{ margin:0; padding:0; }
/* ===== Header menu horizontal ===== */
.nav .menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:24px;
  align-items:center;
}

.nav .menu li{ margin:0; padding:0; }

.nav .menu a{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  padding:10px 12px;
  border-radius:999px;
  opacity:.92;
}

.nav .menu a:hover{
  background: rgba(255,255,255,.10);
  opacity: 1;
}
/* ===== Paksa menu header jadi horizontal (anti-bullet) ===== */
.site-header .nav ul{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 22px !important;
}

.site-header .nav li{
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .nav a{
  display: inline-flex !important;
  align-items: center !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  padding: 10px 12px !important;
  border-radius: 999px !important;
  opacity: .92 !important;
}

.site-header .nav a:hover{
  background: rgba(255,255,255,.10) !important;
  opacity: 1 !important;
}

/* =========================
   NAV BUTTONS (HEADER)
   ========================= */
.site-header .nav > ul.menu{
  gap: 10px; /* jarak antar tombol */
}

.site-header .nav > ul.menu > li > a{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}

/* hover */
.site-header .nav > ul.menu > li > a:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-1px);
  opacity: 1;
}

/* ACTIVE MENU (WP otomatis kasih class current-menu-item) */
.site-header .nav > ul.menu > li.current-menu-item > a,
.site-header .nav > ul.menu > li.current_page_item > a,
.site-header .nav > ul.menu > li.current-menu-ancestor > a{
  background: rgba(212,167,44,.22);
  border-color: rgba(212,167,44,.45);
  color: #fff;
}

/* focus (aksesibilitas) */
.site-header .nav > ul.menu > li > a:focus-visible{
  outline: 2px solid rgba(212,167,44,.75);
  outline-offset: 2px;
}

/* kalau menu kepanjangan, jangan turun baris */
@media (min-width: 881px){
  .site-header .nav > ul.menu{
    flex-wrap: nowrap;
  }
}

.site-header .nav > ul.menu > li.current-menu-item > a,
.site-header .nav > ul.menu > li.current_page_item > a,
.site-header .nav > ul.menu > li.current-menu-ancestor > a{
  background: var(--gold-500);
  border-color: rgba(0,0,0,.08);
  color: #0b2f25;
}
.bottom-nav .bn-ico{
  color:#fff;             /* icon putih */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.bottom-nav .bn-svg{
  width:24px;             /* bisa 22/24/26 */
  height:24px;
  display:block;
}
.bottom-nav .bn-item.is-active .bn-ico{ color:#f2b31a; }
