:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --brand: #f59e0b;
  --brand2:#fb7185;
  --border: rgba(255,255,255,.12);
  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --radius: 18px;
  --container: 1100px;
}

*{box-sizing:border-box}
html,body{padding:0;margin:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: radial-gradient(1200px 700px at 10% 0%, rgba(245,158,11,.18), transparent 55%),
              radial-gradient(900px 600px at 90% 10%, rgba(251,113,133,.16), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--container); margin:0 auto; padding:0 18px}

.sr-only{
  position:absolute !important;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.muted{color:var(--muted)}
.link{color:var(--brand); font-weight:700}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:12px 16px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(245,158,11,.95), rgba(251,113,133,.92));
  border:0;
  color:#081021;
  font-weight:800;
  box-shadow: 0 10px 25px rgba(245,158,11,.20);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow:none;
}
.btn-sm{padding:10px 14px; font-size:14px}

.badge{
  display:inline-flex;
  padding:8px 12px;
  border: 1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight:700;
  font-size:13px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.has-admin-bar .site-header{top:32px}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px}
.brand-link{display:flex; align-items:center; gap:12px}
.brand-mark{
  display:inline-flex;
  width:42px;height:42px;
  align-items:center;justify-content:center;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  color: var(--brand);
}
.brand-text{display:flex; flex-direction:column; gap:2px}
.site-title{font-weight:900; letter-spacing:.2px}
.site-tagline{font-size:12px; color:var(--muted)}

.custom-logo{max-height:46px; width:auto}
.custom-logo-link{display:inline-flex; align-items:center}
.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
}
.nav-toggle-lines{
  display:block;
  width:22px;height:14px;
  position:relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:'';
  position:absolute;
  left:0; right:0;
  height:2px;
  background: var(--text);
  border-radius:2px;
}
.nav-toggle-lines::before{top:2px}
.nav-toggle-lines::after{bottom:2px}

.site-nav .menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:6px;
  margin:0; padding:0;
}
.site-nav .menu > li{position:relative}
.site-nav .menu a{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  color: var(--text);
  font-weight:800;
  border:1px solid transparent;
}
.site-nav .menu a:hover{
  background: rgba(255,255,255,.05);
  border-color: var(--border);
}
.site-nav .sub-menu{
  display:none;
  position:absolute;
  top:110%;
  left:0;
  list-style:none;
  margin:0;
  padding:10px;
  min-width: 220px;
  background: rgba(11,18,32,.96);
  border:1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.site-nav li:hover > .sub-menu{display:block}
.site-nav .sub-menu a{border-radius:12px; width:100%}

.site-main{padding:26px 0 40px}

.hero{padding:26px 0 10px}
.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.hero-copy{
  padding:22px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.kicker{
  margin:0 0 8px;
  font-weight:900;
  letter-spacing:.2px;
  color: var(--brand);
}
.hero-title{margin:0; font-size:44px; line-height:1.12}
.hero-sub{margin:8px 0 14px; color: var(--muted); max-width: 52ch}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.hero-badges{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}

.hero-card{
  padding:22px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}

.section{margin-top:26px}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:12px; margin-bottom:14px}
.section-title{margin:0; font-size:20px}

.content-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:18px;
  align-items:start;
}

.sidebar .sidebar-box{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
  margin-bottom:12px;
}
.sidebar-title{margin:0 0 10px; font-size:16px}
.mini-list{margin:0; padding-left:18px}
.mini-list a{color: var(--brand)}

.grid{display:grid; gap:14px}
.grid-3{grid-template-columns: repeat(3, minmax(0, 1fr))}
.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover{transform: translateY(-1px); border-color: rgba(245,158,11,.35)}
.card-media{display:block; background: rgba(255,255,255,.03)}
.card-media img{width:100%; height:220px; object-fit:cover}
.card-placeholder{height:220px; background: linear-gradient(135deg, rgba(245,158,11,.20), rgba(251,113,133,.18))}
.card-placeholder-photo{background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(245,158,11,.16))}
.card-body{padding:14px}
.card-title{margin:6px 0 6px; font-size:16px; line-height:1.25}
.card-title a{display:inline}
.card-excerpt{margin:0; font-size:14px}
.card-meta{font-size:12px}

.archive-header{margin:0 0 14px}
.entry-title{margin:0 0 6px; font-size:28px}
.entry-header{margin-bottom:12px}
.entry-meta{display:flex; flex-wrap:wrap; gap:8px; font-size:13px}
.featured{margin:14px 0; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border)}
.featured img{width:100%; height:auto}

.page .content{border:1px solid var(--border); background: rgba(255,255,255,.03); border-radius: var(--radius); padding:18px}
.content-narrow{max-width: 840px}

.post{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:18px;
}
.tags{margin-top:14px; display:flex; gap:8px; flex-wrap:wrap}
.tags a{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  font-size:12px;
  color: var(--muted);
}

.post-nav{
  margin-top:12px;
  padding:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
}

.pagination{margin-top:16px}
.pagination .page-numbers{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  margin:0 4px 6px 0;
  background: rgba(255,255,255,.03);
}
.pagination .current{
  background: rgba(245,158,11,.20);
  border-color: rgba(245,158,11,.42);
}

.searchform{display:flex; gap:8px}
.searchform input{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
}
.searchform button{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:800;
  cursor:pointer;
}

.filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0 16px;
}
.chip{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight:800;
  font-size:13px;
}
.chip.is-active{
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.42);
  color: var(--text);
}

.site-footer{
  border-top:1px solid var(--border);
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(14px);
  padding:26px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:16px;
}
.footer-title{margin:0 0 10px; font-size:16px}
.footer-list{margin:0; padding-left:18px}
.social{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.social-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight:800;
  font-size:13px;
}
.social-badge{
  display:inline-flex;
  width:28px;height:28px;
  border-radius:999px;
  align-items:center;justify-content:center;
  background: rgba(245,158,11,.20);
  color: var(--text);
}

.footer-menu{list-style:none; padding:0; margin:12px 0 0; display:flex; flex-wrap:wrap; gap:8px}
.footer-menu a{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-weight:800;
  font-size:13px;
}

.maps-embed{
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.02);
}
.maps-embed iframe{width:100%; height:240px; border:0}

.footer-bottom{margin-top:16px; padding-top:14px; border-top:1px solid var(--border)}

.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background: rgba(34,197,94,.16);
  border:1px solid rgba(34,197,94,.35);
  box-shadow: var(--shadow);
  z-index: 999;
}
.whatsapp-icon{
  display:inline-flex;
  width:34px;height:34px;
  border-radius:999px;
  align-items:center;justify-content:center;
  background: rgba(34,197,94,.28);
  color: var(--text);
  font-weight:900;
}
.whatsapp-text{font-weight:900}

.empty{
  border:1px dashed var(--border);
  border-radius: var(--radius);
  padding:22px;
  background: rgba(255,255,255,.02);
}

/* WordPress content defaults */
.entry-content a{color: var(--brand); font-weight:800}
.entry-content h2, .entry-content h3{margin-top:1.2em}
.entry-content p{margin: 0 0 1em}
.entry-content ul, .entry-content ol{margin: 0 0 1em 1.2em}
.wp-block-image img{border-radius: 14px}
.wp-block-quote{
  border-left: 4px solid rgba(245,158,11,.50);
  padding-left: 14px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr}
  .content-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .footer-grid{grid-template-columns:1fr}
  .nav-toggle{display:inline-flex}
  .site-nav{
    position:absolute;
    top:100%;
    left:0; right:0;
    background: rgba(11,18,32,.98);
    border-bottom:1px solid var(--border);
    display:none;
  }
  .site-nav.is-open{display:block}
  .site-nav .menu{flex-direction:column; align-items:stretch; padding:10px}
  .site-nav .menu a{border-radius:14px; justify-content:space-between}
  .site-nav .sub-menu{position:static; display:block; background: transparent; border:0; box-shadow:none; padding:0 0 0 10px}
}
@media (max-width: 560px){
  .grid-3{grid-template-columns:1fr}
  .hero-title{font-size:34px}
  .whatsapp-text{display:none}
}

/* ===== FINAL FIX: JUDUL ARTIKEL TIDAK TERPOTONG & TETAP DI DALAM CARD ===== */

.card {
  overflow: hidden; /* jaga semua isi tetap di dalam box */
}

.card-body {
  padding: 14px;
}

/* JUDUL ARTIKEL: BOLEH PANJANG, BOLEH TURUN KE BAWAH */
.card-title {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.4;

  /* INI KUNCI UTAMA */
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;

  /* PASTIKAN TIDAK ADA PEMOTONG */
  overflow: visible !important;
  max-height: none !important;
  text-overflow: unset !important;
}

/* LINK JUDUL HARUS BLOCK */
.card-title a {
  display: block;
}

/* ===== FIX KHUSUS: JUDUL ARTIKEL DI SIDEBAR ===== */

/* target hanya SIDEBAR */
.sidebar,
.sidebar-box {
  overflow: hidden;
}

/* judul link di sidebar (latest posts) */
.sidebar a,
.sidebar .mini-list a {
  display: block;
  width: 100%;

  /* biar teks turun ke bawah */
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;

  /* pastikan tidak keluar jalur */
  overflow: hidden;
  line-height: 1.5;
}


/* ===== GANTI INISIAL IG / FB / YT JADI LOGO ASLI ===== */

/* sembunyikan teks IG / FB / YT */
.site-footer .social-badge {
  color: transparent;
  font-size: 0;
}

/* ukuran icon */
.site-footer .social-badge::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* INSTAGRAM */
.site-footer .social-link[href*="instagram"] .social-badge::before {
  background-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/instagram.svg");
}

/* TIKTOK */
.site-footer .social-link[href*="tiktok"] .social-badge::before {
  background-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/tiktok.svg");
}

/* YOUTUBE */
.site-footer .social-link[href*="youtube"] .social-badge::before {
  background-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/youtube.svg");
}

/* FACEBOOK */
.site-footer .social-link[href="facebook"] .social-badge::before {
  background-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/facebook.svg");
}

/* warna icon ikut warna teks */
.site-footer .social-badge::before {
  filter: invert(1);
}

/* ===== WHATSAPP FLOATING: GANTI TEKS "WA" JADI LOGO ===== */

/* sembunyikan teks WA */
.whatsapp-icon {
  color: transparent;
  font-size: 0;
}

/* tampilkan logo WhatsApp */
.whatsapp-icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/whatsapp.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1); /* biar putih di background hijau */
}



