/* ==========================================================================
   Jyavani — Refactored CSS (theme-safe, production-ready)
   - Tujuan: memastikan theme class (html.theme-dark / html.theme-light)
     selalu deterministik dan mencegah flash saat load.
   - Perubahan: reorganized and documented only. No functional values changed.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0) Prevent FOUC: disable transitions/animations until JS marks theme ready
   -------------------------------------------------------------------------- */
body {
  font-family:
  "Poppins", sans-serif,
    "Comic Sans MS",
    "Comic Sans",
    Tahoma,
    "Times New Roman",
    Times,
    serif;
      margin: 0;
  padding: 0;
}


/* ============================
   1) RESET & CORE SETTING
   ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
ul { list-style: none; }
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button, select, input {
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

/* ============================
   2) THEME VARIABLES (DEFAULT = LIGHT)
   - :root contains defaults (light-ish).
   - html.theme-dark and html.theme-light override variables via specificity.
   - @media(prefers-color-scheme: dark) provides a system fallback when
     no explicit class is present (i.e. user selected 'system').
   ============================ */
/* ============================
   THEME VARIABLES (LIGHT default)
   ============================ */
:root {
  color-scheme: light;

  --bg: #ffffff;
  --text: #0b1220;
  --muted: #6b7280;
  --accent: #00A89E;
  --link: #0000EE;
  --link-hover: #00ab3e;
  --border: #e6eef2;
  --surface: #ffffff;
  --surface-hover: #f7fafc;
  --control-bg: #f3f4f6;
  --shadow: 0 8px 24px rgba(2,6,23,0.08);
  --guide-line: #d1d5db;
  --crbg: #fff;
  --crbgh: #effaff;
  
    /* Logo letters */
  --let-base: #1f2937;     /* abu gelap, lebih soft dari #2B2B2B */
  --let-accent: #b11226;  /* merah Jyavani, lebih refined */
  --let-hover: #c9a227;   /* emas hangat (hover per huruf) */

  /* Hover global swap */
  --let-base-hover: var(--let-accent);
  --let-accent-hover: var(--let-base);
  
    /* Menu pill (desktop) */
  --nav-menu-bg: rgba(255,255,255,.62);
  --nav-menu-bd: rgba(2,6,23,.08);
}

html.theme-dark {
  color-scheme: dark;

  --bg: #071022;
  --text: #e6eef6;
  --muted: #9ca3af;
  --accent: #00A89E;
  --link: #1A73E8;
  --link-hover: #00ab3e;
  --border: #1f2a35;
  --surface: #0e1620;
  --surface-hover: #16202e;
  --control-bg: #1f2a35;
  --shadow: 0 8px 24px rgba(0,0,0,0.45);
  --guide-line: #374151;
  --crbg: #0b1220;
  --crbgh: #121a2a;
  
    /* Logo letters (dark) */
  --let-base: #e5e7eb;     /* putih keabu, tidak silau */
  --let-accent: #ff4d5e;  /* merah lebih terang supaya hidup di gelap */
  --let-hover: #ffd166;   /* emas lebih cerah */

  --let-base-hover: var(--let-accent);
  --let-accent-hover: var(--let-base);
  
    /* Menu pill (desktop, dark) */
  --nav-menu-bg: rgba(14,22,32,.55);
  --nav-menu-bd: rgba(255,255,255,.08);

}

/* opsional: kalau kamu mau explicit class light (tidak wajib) */
html.theme-light { color-scheme: light; }
html.theme-dark .adam-btn-open { box-shadow: 0 0 12px rgba(0,0,0,0.35); }

/* ============================
   3) BODY & TYPOGRAPHY
   ============================ */
body {
  font-family: "Poppins", sans-serif, "Comic Sans MS", "Comic Sans", Tahoma, "Times New Roman", Times, serif;
  background: var(--surface-hover);
  color: var(--text);
  min-height: 100vh; /* Penting untuk footer */
  display: flex;
  flex-direction: column; /* Penting untuk footer */
}
  
  /* Global link styles */
a {
  color: var(--link);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--link-hover);
}
h2 a {
  color: var(--accent);
}
h2 a:hover {
  color: var(--link-hover);
}


/* ============================
   4) LOGO ANIMATION (jyavani)
   - Keep animation timings, colors, delays exactly as before.
   ============================ */
.jyavani-logo {
  font-family: "Taviraj", serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.05em;
  display: inline-flex;
  gap: 0.02em;
  cursor: pointer;
  padding-bottom: 10px;
}

.jyavani-logo .letter {
  line-height: 1;
  display: inline-block;
  position: relative;
  transition: color 400ms ease, transform 400ms ease;
}

/* Default logo colors (explicit color choices, not theme variables) */
.jyavani-logo .accent { color: var(--let-accent); }
.jyavani-logo .base   { color: var(--let-base); }

.jyavani-logo:hover .accent { color: var(--let-accent-hover); }
.jyavani-logo:hover .base   { color: var(--let-base-hover); }
.jyavani-logo:hover .letter { transform: translateY(-6px); }

/* Wave delay per letter */
.jyavani-logo .letter:nth-child(1) { transition-delay: 0ms;   }
.jyavani-logo .letter:nth-child(2) { transition-delay: 80ms;  }
.jyavani-logo .letter:nth-child(3) { transition-delay: 160ms; }
.jyavani-logo .letter:nth-child(4) { transition-delay: 240ms; }
.jyavani-logo .letter:nth-child(5) { transition-delay: 320ms; }
.jyavani-logo .letter:nth-child(6) { transition-delay: 400ms; }

.jyavani-logo .letter:hover {
  color: var(--let-hover);
  transform: translateY(-10px);
  transition-delay: 0ms;
}

/* Tooltip kata bijak */
.jyavani-logo .letter::after {
  content: attr(data-word);
  position: absolute;
  bottom: -2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #555;
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  white-space: nowrap;
  pointer-events: none;
}
.jyavani-logo .letter:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
  color: #DAA520;
}

/* ============================
   5) HEADER LAYOUT
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* background: var(--surface);  border-bottom: 1px solid var(--border); */
}

.header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  border-radius: 6px;
  background: #eee;
  object-fit: cover;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface-hover);
}

.hamburger { display: none; padding: 8px; color: var(--text); }
.hamburger svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; }

/* ============================
   6) NAVBAR DESKTOP & SHARED
   ============================ */
.navbar { display: flex; align-items: center; flex-grow: 1; margin-left: 40px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu-item { position: relative; }

/* Link Style Desktop */
.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all .2s;
}
.menu-link:hover { background: var(--surface-hover); color: var(--accent); }

.arrow-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0.6;
  transition: transform .2s;
}
.menu-link:hover .arrow-icon { opacity: 1; transform: rotate(180deg); }

.mobile-toggle-btn, .mobile-head { display: none; }

.controls { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.ctrl-item {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--control-bg);
  color: var(--text);
  border: 1px solid transparent;
  font-size: 13px;
}
.ctrl-input { width: 160px; border: 1px solid transparent; }
.ctrl-input:focus { background: var(--surface); border-color: var(--accent); }

/* --- DROPDOWN DESKTOP --- */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 200px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 1100;
}
.submenu li { position: relative; }
.submenu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.submenu a:hover { background: var(--surface-hover); color: var(--accent); }
.menu-item:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }

/* Desktop Level 2 */
.submenu .submenu {
  top: -9px;
  left: 100%;
  margin-left: 8px;
  margin-top: 0;
}
.submenu li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li:hover > .mobile-row > .menu-link .arrow-icon,
.submenu li:hover > a .arrow-icon { transform: rotate(-90deg); }

/* ============================
   7) MOBILE VIEW
   ============================ */
@media (max-width: 900px) {
  .hamburger { display: block; }
  
  .site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  }
  
  .navbar { margin-left: 0; }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    box-shadow: 20px 0 50px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), visibility 0s 0.3s;
    overflow-y: auto;
  }
  .navbar.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }

  /* HEADER MOBILE & TOMBOL CLOSE FIXED */
  .mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .mobile-title { font-weight: 700; font-size: 18px; }

  .close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    transition: .2s;
  }
  .close-btn:hover { background: var(--control-bg); }
  .close-btn svg { width: 20px; height: 20px; stroke-width: 2.5; stroke: currentColor; }

  /* Mobile Structure */
  .menu { flex-direction: column; width: 100%; gap: 0; padding: 10px 0; }
  .menu-item { width: 100%; border: none; }
  .mobile-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-right: 16px; }

  .menu-link { flex-grow: 1; padding: 14px 24px; font-size: 16px; font-weight: 500; border-radius: 0; }
  .menu-link .arrow-icon { display: none; }
  .menu-link:active { background: var(--control-bg); }

  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--muted);
  }
  .mobile-toggle-btn:active { background: var(--control-bg); }
  .mobile-toggle-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; fill: none; transition: transform .2s; }
  .mobile-toggle-btn.expanded { color: var(--accent); background: rgba(0, 168, 158, 0.08); }
  .mobile-toggle-btn.expanded svg { transform: rotate(90deg); }

  /* --- SUBMENU HIERARCHY LINES (mobile) --- */
  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: transparent;
    padding: 0;
    margin: 0;
  }
  .menu-item > .submenu {
    margin-left: 24px;
    border-left: 1px solid var(--guide-line);
  }
  .submenu .submenu {
    margin-left: 16px;
    border-left: 1px solid var(--guide-line);
    top: 0;
    left: 0;
  }
  .submenu a {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text);
    display: flex;
    border: none;
    background: transparent;
  }
  .submenu.open { max-height: 1000px; }

  .controls {
    flex-direction: column;
    width: 100%;
    padding: 24px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    gap: 12px;
  }
  .ctrl-item, .ctrl-input { width: 100%; padding: 12px; font-size: 15px; }
}

/* ============================
   DESKTOP: 3 PARTS (Brand | Menu pill | Controls)
   ============================ */
@media (min-width: 901px) {
  /* Brand - Menu - Controls jadi 3 blok yang rapi */
  .header-inner{
    justify-content: flex-start;   /* bukan space-between */
    gap: 16px;                     /* jarak antar blok */
    margin: 0 8%;
  }
  /* Navbar isi sisa ruang, jadi menu bisa “di tengah” */
  .navbar{
    flex: 1;
    margin-left: 0;                /* ganti dari 40px agar benar-benar split 3 bagian */
    gap: 12px;
  }

  /* Menu jadi pill semi transparan */
  .menu{
    margin-inline: auto;           /* ini yang bikin menu “bagian tengah” */
    padding: 10px;                 /* sesuai request */
    border-radius: 14px;           /* sesuai request */
    background: var(--nav-menu-bg);
    border: 1px solid var(--nav-menu-bd);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Controls tetap sesuai input file (jangan “auto push” lagi) */
  .controls{
    margin-left: 0;                /* sebelumnya auto, sekarang tidak perlu */
  }

  /* Brand dipastikan transparan */
  .brand{
    background: transparent;
  }
}

/* ============================
   TABEL GLOBAL 
   ============================ */
/* =========================================================
   GLOBAL TABLE STYLE
   - langsung target tag table (tanpa class)
   - zebra row
   - hover row
   - gradient header
   - compatible light / dark theme
========================================================= */

/* turunan warna tabel dari sistem tema yang sudah ada */
:root{
  --table-bg: var(--surface);
  --table-text: var(--text);
  --table-border: var(--border);
  --table-head-text: #ffffff;

  --table-zebra: #f8fbfd;
  --table-hover: #eef8fb;

  --table-grad-1: #00A89E;
  --table-grad-2: #1A73E8;
  --table-grad-3: #7c3aed;

  --table-shadow: 0 10px 26px rgba(2, 6, 23, 0.08);
  --table-radius: 16px;
}

html.theme-dark{
  --table-bg: var(--surface);
  --table-text: var(--text);
  --table-border: var(--border);
  --table-head-text: #f8fbff;

  --table-zebra: #111b2a;
  --table-hover: #162334;

  --table-grad-1: #00A89E;
  --table-grad-2: #1A73E8;
  --table-grad-3: #8b5cf6;

  --table-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

/* tabel global */
table{
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--table-bg);
  color: var(--table-text);
  border: 1px solid var(--table-border);
  border-radius: var(--table-radius);
  box-shadow: var(--table-shadow);
  overflow: hidden;
}

/* caption opsional */
table caption{
  caption-side: top;
  text-align: left;
  padding: 0 0 .75rem 0;
  color: var(--muted);
  font-weight: 700;
}

/* header gradient */
table thead{
  position: relative;
  isolation: isolate;
  color: var(--table-head-text);
}

table thead::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    var(--table-grad-1) 0%,
    var(--table-grad-2) 55%,
    var(--table-grad-3) 100%
  );
}

/* cell umum */
table th,
table td{
  padding: .9rem 1rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  word-break: break-word;
}

/* header cell */
table thead th{
  position: relative;
  z-index: 1;
  background: transparent;
  color: var(--table-head-text);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
}

table thead th + th{
  border-left: 1px solid rgba(255,255,255,.18);
}

/* body cell */
table tbody td{
  background: var(--table-bg);
  border-bottom: 1px solid var(--table-border);
}

table tbody td + td{
  border-left: 1px solid var(--table-border);
}

/* zebra */
table tbody tr:nth-child(even) td{
  background: var(--table-zebra);
}

/* hover */
table tbody tr:hover td{
  background: var(--table-hover);
  transition: background-color .18s ease;
}

/* baris terakhir rapih */
table tbody tr:last-child td{
  border-bottom: 0;
}

/* sudut membulat */
table thead tr:first-child th:first-child{
  border-top-left-radius: var(--table-radius);
}
table thead tr:first-child th:last-child{
  border-top-right-radius: var(--table-radius);
}
table tbody tr:last-child td:first-child{
  border-bottom-left-radius: var(--table-radius);
}
table tbody tr:last-child td:last-child{
  border-bottom-right-radius: var(--table-radius);
}

/* footer kalau ada */
table tfoot td,
table tfoot th{
  background: var(--control-bg);
  color: var(--table-text);
  font-weight: 700;
  border-top: 1px solid var(--table-border);
}

/* link di dalam tabel */
table a{
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
table a:hover{
  color: var(--link-hover);
}

/* teks kuat di tabel */
table strong{
  color: var(--table-text);
}

/* responsive dasar */
@media (max-width: 768px){
  table{
    font-size: .95rem;
  }

  table th,
  table td{
    padding: .78rem .85rem;
  }

  table thead th{
    font-size: .76rem;
  }
  
  table thead{
  background: linear-gradient(
    90deg,
    var(--table-grad-1) 0%,
    var(--table-grad-2) 55%,
    var(--table-grad-3) 100%
  );
  color: var(--table-head-text);
}

table thead th{
  background: transparent;
  color: var(--table-head-text);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
}

.adam-post-single table{
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}


/* -----------------------------
   8) OVERLAY / Z-INDEX (shared)
   ----------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(2px);
  transition: .3s;
}
.overlay.active { opacity: 1; visibility: visible; }

/* ============================
   9) FOOTER (theme-aware)
   ============================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  margin-top: auto;
  box-sizing: border-box;
  max-height: 150px;
  overflow: hidden;
}

.footer-container { max-width:1200px; margin:0 auto; display:flex; flex-direction:column; gap:8px; }
.footer-row-top { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.footer-col { display:flex; align-items:center; gap:12px; }

.footer-links { display:flex; gap:18px; align-items:center; padding:0; margin:0; }
.footer-links li { list-style:none; }
.footer-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
  transition: color .15s, transform .12s;
}
.footer-link svg { opacity:.9; }
.footer-link:hover { color:var(--accent); transform: translateY(-2px); }

.social-icons { display:flex; gap:10px; align-items:center; }
.social-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
  background:var(--control-bg);
  color:var(--text);
  transition: transform .12s, background .12s, color .12s;
  text-decoration:none;
}
.social-btn:focus, .social-btn:hover { background:var(--accent); color:#fff; transform: translateY(-3px); }

.footer-row-bottom { border-top:1px solid var(--border); padding-top:8px; text-align:center; }
.copyright-text { font-size:12px; color:var(--muted); }

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsive tweaks for footer */
@media (max-width: 680px) {
  .footer-row-top { flex-direction:column; gap:10px; align-items:center; text-align:center; }
  .footer-links { justify-content:center; gap:12px; flex-wrap:wrap; }
  .social-icons { justify-content:center; }
  .site-footer { padding:10px 14px; }
}

/* ============================
   10) POSTS / CONTENT STYLES
   ============================ */
.adam-post-single {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Breadcrumb */
.adam-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.adam-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.adam-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.adam-breadcrumb .sep { opacity: 0.5; font-size: 0.8em; }
.adam-breadcrumb .current { color: var(--text); font-weight: 500; }

/* Header & Title */
.adam-post-header { margin-bottom: 32px; }
.adam-post-title {
  font-family: inherit;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 24px;
}

/* Category Badges */
.adam-cat-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.cat-badge {
  background: var(--control-bg);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.cat-badge:hover { background: var(--accent); color: #fff; }

/* Meta Data Row */
.adam-post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  gap: 20px;
}

/* Author Section */
.meta-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-hover);
}
.author-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}
.meta-text { display: flex; flex-direction: column; line-height: 1.2; }
.meta-text .by { font-size: 0.75rem; color: var(--muted); }
.meta-text .name { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* Date & Details */
.meta-details { display: flex; gap: 20px; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; }
.meta-item svg { width: 16px; height: 16px; opacity: 0.7; }
.meta-item.updated { color: var(--accent); }

/* Thumbnail */
.adam-post-thumb { margin: 0 0 40px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.adam-post-thumb img { width: 100%; height: auto; display: block; }

/* Content Body */
.adam-post-body { font-family: inherit; color: var(--text); }
.adam-post-body p { font-family: inherit; color: var(--text); }
.adam-post-body h2, .adam-post-body h3 {
  font-family: inherit;
  color: var(--text);
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-weight: 700;
}
.adam-post-body h2 { font-size: 1.8rem; }
.adam-post-body h3 { font-size: 1.5rem; }
.adam-post-body ul, .adam-post-body ol { margin-bottom: 1.5em; padding-left: 1.5em; }
.adam-post-body li { margin-bottom: 0.5em; }
.adam-post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.adam-post-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 2em 0;
  padding: 1em 1.5em;
  background: var(--surface-hover);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
.adam-post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5em 0; }

/* Footer & Actions */
.adam-post-footer { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--border); }

.footer-actions { display: flex; align-items: center; gap: 0.75rem; /* menggantikan margin-left inline */ flex-wrap: wrap; /* jika butuh responsif */ }

.btn-back {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 300;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--control-bg);
  transition: all 0.2s;
}
.btn-back:hover { background: var(--surface-hover); color: var(--accent); }

/* Mobile Adjustments for posts */
@media (max-width: 768px) {
  .adam-post-title { font-size: 1.8rem; }
  .adam-post-meta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .meta-details { width: 100%; justify-content: flex-start; gap: 16px; }
}

/* post list punyacat */

/* Container / layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    line-height: 1.55;
}

/* Breadcrumb small */
.category-header + .posts-list,
.category-header + .no-posts {
    margin-top: .75rem;
}

.category-header {
    margin: .5rem 0 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px;
}

.category-header h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.category-description {
    margin: .6rem 0 0;
    font-size: .98rem;
}

/* Posts list grid */
.posts-list {
    display: grid;
    gap: 1rem 1.25rem;
}

/* Post card */
.post-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(14, 25, 30, 0.02);
    align-items: flex-start;
    transition: transform .12s ease, box-shadow .12s ease;
    border-left: 4px solid transparent;
    background-color: var(--crbg);
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(20, 30, 40, 0.06);
    border-left-color: rgba(11,122,107,0.12);
    background-color: var(--crbgh);
}

/* Thumbnail */
.post-card .thumb {
    flex: 0 0 200px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.post-card .thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* When thumbnail is missing, shrink gap */
.post-card:not(:has(.thumb)) {
    padding-left: 1rem;
}

/* Body */
.post-body {
    flex: 1 1 auto;
    min-width: 0;
}
.post-body h2 {
    margin: 0 0 .35rem 0;
    font-size: 1.15rem;
    line-height: 1.2;
}
.post-body h2 a {
    text-decoration: none;
    font-weight: 700;
}
.post-body h2 a:hover {
    text-decoration: underline;
}

/* Meta */
.meta {
    font-size: .86rem;
    margin-bottom: .6rem;
}

/* Excerpt */
.excerpt {
    margin: 0 0 .6rem 0;
    font-size: .98rem;
}

/* Read more button */
.post-actions {
    margin-top: 0.25rem;
}
.read-more {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: .45rem .7rem;
    border-radius: 6px;
    border: 1px;
    transition: background .12s ease, transform .08s ease;
}
.read-more:hover {
    background: rgba(11,122,107,0.12);
    transform: translateY(-1px);
}

/* Pagination */
.pagination {
    margin-top: 1.2rem;
    display: flex;
    gap: .8rem;
    align-items: center;
    justify-content: center;
    padding-top: .5rem;
}
.page-link {
    display: inline-block;
    padding: .45rem .65rem;
    border-radius: 6px;
    border: 1px;
    text-decoration: none;
    font-weight: 600;
}
.page-info {
    font-size: .95rem;
}

/* No posts */
.no-posts {
    padding: 1rem;
    border-radius: 8px;
}

/* Responsive: small screens */
@media (max-width: 720px) {
    .container { padding: .9rem; }
    .post-card {
        flex-direction: column;
        gap: .6rem;
        padding: .9rem;
    }
    .post-card .thumb { width: 100%; flex: 0 0 auto; }
    .post-card .thumb img { height: 180px; }
    .post-body h2 { font-size: 1.05rem; }
    .excerpt { font-size: .98rem; }
}

/* Responsive: larger screens adjust thumbnail size */
@media (min-width: 1100px) {
    .post-card .thumb { flex: 0 0 220px; }
    .post-card .thumb img { height: 130px; }
}

/* ============================
   11) PAGES LIST STYLES
   ============================ */
.adam-pages-list { max-width: 920px; margin: 0 auto; padding: 1rem; color: var(--text); }

.adam-pages-list__header { margin-bottom: 1.5rem; text-align: center; }
.adam-pages-list__title { margin: 0; font-size: 1.8rem; font-weight: 600; color: var(--text); }
.adam-pages-list__count { color: var(--muted); font-size: .95rem; margin-top: .35rem; }

.adam-empty-card {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--muted);
}

/* Grid & items */
.adam-pages-list__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.adam-pages-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.adam-pages-list__item:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(2,6,23,0.12); }

.adam-pages-list__item-main { flex: 1; }
.adam-pages-list__meta { margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.adam-pages-list__item-actions { flex: 0 0 auto; }

.adam-pagination { margin-top: 1.5rem; text-align: center; }
.adam-pagination__inner { display: inline-flex; gap: .6rem; align-items: center; }
.adam-pagination__link {
  padding: .45rem .75rem;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.adam-pagination__info {
  padding: .45rem .75rem;
  background: var(--surface-hover);
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Responsive stack for pages list */
@media (max-width: 720px) {
  .adam-pages-list__item { flex-direction: column; align-items: flex-start; }
  .adam-pages-list__item-actions { width: 100%; margin-top: .6rem; display: flex; justify-content: center; }
  .adam-pages-list__item-actions .adam-btn-open { width: 100%; text-align: center; }
}

/* Links/buttons */
.adam-pages-list .adam-page-link { color: var(--accent); font-weight: 600; font-size: 1.05rem; }
.adam-pages-list .adam-page-link:hover { text-decoration: underline; }

/* Optional dark-mode tweak for buttons */
@media (prefers-color-scheme: dark) {
  .adam-btn-open { box-shadow: 0 0 12px rgba(0,0,0,0.35); }
}

/* ==========================================================================
   End of file
   ========================================================================== */
/* ============ SINGLE HALAMAN ================ */

    /* Post single base */
.adam-post-single {
  max-width: 820px;
  margin: 2.25rem auto;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Header */
.post-header {
  margin-bottom: 1rem;
}
.post-title {
  font-size: 1.2rem;
  line-height: 1.15;
  margin: 0 0 .5rem 0;
  color: var(--text);
}
.post-top-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: .95rem;
}

/* Author inline */
.author-inline .author-link,
.author-inline .author-username {
  color: var(--accent);
  font-weight: 600;
}
.author-inline .author-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Updated label */
.updated-at {
  color: var(--muted);
  font-size: .9rem;
  background: transparent;
  padding: .25rem .5rem;
  border-radius: 6px;
}

/* Content */
.post-content {
  margin: 1.25rem 0;
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}

/* Footer published by */
.post-published-by {
  margin-top: 1.5rem;
  border-top: 1px dashed var(--guide-line);
  padding-top: 1rem;
}
.published-by-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.publisher-avatar .avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--control-bg);
}
.avatar-fallback {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--control-bg);
  color: var(--muted);
  font-weight: 700;
  border: 2px solid var(--border);
}
.publisher-meta .publisher-line {
  color: var(--text);
  margin-bottom: .25rem;
}
.publisher-meta .publisher-name {
  color: var(--accent);
  margin-left: .5rem;
  font-weight: 600;
}
.publisher-meta .publisher-name:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
.publisher-meta .published-at {
  color: var(--muted);
  font-size: .92rem;
}

/* Accessibility focus */
a:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 20%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}
.author-label {
  margin-right: 4px;  /* atur sesuai kebutuhan */
}

@media (max-width: 720px) {
  .adam-post-single {
    margin: 1rem;
    padding: 1rem;
  }
  .post-title {
    font-size: 1.5rem;
  }

  /* =============================
     BARIS AUTHOR | UPDATED
     Tetap horizontal bila muat
     dan alignment stabil
  ============================== */
  .post-top-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;     /* penting agar tidak pindah ke bawah */
    align-items: center;   /* jaga tetap rata vertikal */
    gap: 0.5rem;
    width: 100%;
  }

  /* AUTHOR — tidak membuat flex jadi tinggi berbeda */
  .author-inline {
    flex: 0 1 auto;        /* tidak memaksa melebar */
    min-width: 0;          /* boleh menyusut */
    display: flex;
    align-items: center;   /* stabil secara vertikal di dalam */
    overflow: hidden;
  }

  .author-inline .author-username {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* UPDATED AT — tetap mempertahankan satu baris */
  .updated-at {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  /* Avatar di footer */
  .publisher-avatar .avatar-img,
  .avatar-fallback {
    width: 44px;
    height: 44px;
  }
}

/* ========== KATEGORI (tags) ========== */
/* markup class: .post-categories .post-category */
.post-categories {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;               /* membungkus saat sempit */
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
}

/* Pil style tag */
.post-category {
  display: inline-block;
  padding: .45rem .7rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  white-space: nowrap;
  max-width: 100%;               /* melindungi lebar */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* alternatif: jika Anda ingin horizontal scroll pada satu baris (pilihan) */
/* .post-categories.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } */
/* .post-categories.scroll .post-category { white-space: nowrap; } */

/* hide ugly scrollbar (non-essential) */
.post-categories::-webkit-scrollbar { height: 6px; }
.post-categories::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 6px; }

/* ========== BUTTONS / ACTIONS ========== */
.post-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;   /* memungkinkan stacked di mobile */
}

/* tombol umum */
.post-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  min-height: 44px;   /* target touch-friendly size */
}

/* tombol khusus */
.post-actions .btn--primary {
  background: var(--accent);
  color: white;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  font-weight: 600;
}

/* ikon panah kecil di kiri jika mau */
.post-actions .btn .icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* ========== MOBILE ADJUSTMENTS (<=720px) ========== */
@media (max-width: 720px) {
  .adam-post-single {
    margin: 1rem;
    padding: 1rem;
  }

  /* kategori: biarkan wrap, beri sedikit spacing */
  .post-categories {
    gap: .5rem;
  }

  /* tombol: full width saat layar kecil */
  .post-actions {
    gap: .6rem;
  }
  .post-actions .btn {
    flex: 1 1 100%;         /* tiap tombol ambil satu baris */
    justify-content: center;
  }

  /* jika ingin tombol Back terlihat berbeda */
  .post-actions .btn--back {
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    color: var(--text);
  }

  /* pastikan avatar footer lebih kecil di mobile */
  .publisher-avatar .avatar-img,
  .avatar-fallback {
    width: 44px;
    height: 44px;
  }
}

/* ======== CUSTOM ========= */

/* ===============================
   VISI MISI STYLE - DALAM SISTEM TTNG
   =============================== */
.ttng-visi-misi {
  padding: 2rem 1rem 3rem;
  font-family: "Outfit", "Inter", sans-serif;
  color: #1a1a1a;
}

.ttng-visi-title, 
.ttng-misi-title {
  text-align: center;
  color: #24376e;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.ttng-visi-box {
  background: linear-gradient(135deg, #f4f7ff, #fff);
  border-left: 6px solid #2c59d4;
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  box-shadow: 0 6px 16px rgba(36, 55, 110, 0.1);
  transition: all 0.3s ease;
}
.ttng-visi-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(36, 55, 110, 0.15);
}
.ttng-visi-box p {
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.7;
  color: #333;
}

.ttng-misi-list {
  list-style: none;
  counter-reset: misi-counter;
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
}
.ttng-misi-list li {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #b936c7;
  transition: all 0.3s ease;
}
.ttng-misi-list li::before {
  counter-increment: misi-counter;
  content: counter(misi-counter);
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #2c59d4, #b936c7);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(45, 89, 212, 0.3);
}
.ttng-misi-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(36, 55, 110, 0.12);
}
.ttng-misi-list li p {
  margin: 0;
}

@media (max-width: 768px) {
  .ttng-visi-title, .ttng-misi-title {
    font-size: 1.5rem;
  }
  .ttng-misi-list li {
    padding: 1rem 1.25rem 1rem 3rem;
  }
}

/* ==== single file ==== */
    /* Scoped styles for featured area in posts.single */
    .adam-post-thumb { margin-bottom: 1rem; position: relative; border-radius: 10px; overflow: hidden; }
    .adam-post-thumb img { display:block; width:100%; height:auto; object-fit:cover; border-radius: 10px; }

    .adam-thumb--linked { cursor:pointer; text-decoration:none; color:inherit; display:block; position:relative; }

    /* always-visible badge top-left */
    .adam-thumb-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 6;
      background: rgba(255,255,255,0.95);
      color: #111;
      font-weight:700;
      padding: 8px 12px;
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0,0,0,.06);
      font-size: 14px;
    }

    /* bottom-right mini button (visible by default) */
    .adam-thumb-bottom {
      position: absolute;
      bottom: 12px;
      right: 12px;
      z-index: 6;
      background: #2563eb;
      color: #fff;
      font-weight:700;
      padding: 8px 12px;
      border-radius: 10px;
      box-shadow: 0 10px 26px rgba(0,0,0,.12);
      transition: opacity .16s ease, transform .16s ease;
      font-size: 14px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    /* overlay and center CTA (hidden by default) */
    .adam-thumb-overlay {
      position: absolute;
      inset: 0;
      z-index: 5;
      display:flex;
      align-items:center;
      justify-content:center;
      background: rgba(0,0,0,0.45);
      opacity: 0;
      pointer-events: none;
      transition: opacity .18s ease;
    }
    .adam-thumb-cta {
      background: linear-gradient(90deg,#2563eb,#3b82f6);
      color: #fff;
      padding: 16px 28px;
      border-radius: 14px;
      font-weight:900;
      font-size:18px;
      transform: translateY(6px) scale(.98);
      transition: transform .20s cubic-bezier(.2,.9,.18,1), opacity .18s ease;
      box-shadow: 0 18px 38px rgba(0,0,0,.18);
      opacity: 0;
    }

    /* on hover/focus: show overlay & CTA, hide bottom btn */
    .adam-thumb--linked:hover .adam-thumb-overlay,
    .adam-thumb--linked:focus-within .adam-thumb-overlay {
      opacity: 1;
      pointer-events: auto;
    }
    .adam-thumb--linked:hover .adam-thumb-cta,
    .adam-thumb--linked:focus-within .adam-thumb-cta {
      opacity: 1;
      transform: translateY(0) scale(1.12);
    }
    .adam-thumb--linked:hover .adam-thumb-bottom,
    .adam-thumb--linked:focus-within .adam-thumb-bottom {
      opacity: 0;
      transform: translateY(6px) scale(.98);
      pointer-events: none;
    }

    /* focus outline for keyboard users */
    .adam-thumb--linked:focus { outline: none; }
    .adam-thumb--linked:focus .adam-thumb-cta,
    .adam-thumb--linked:focus .adam-thumb-bottom,
    .adam-thumb--linked:focus .adam-thumb-badge {
      box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
    }

    @media (max-width:720px) {
      .adam-thumb-cta { font-size:16px; padding:12px 20px; }
      .adam-thumb-badge { font-size:12px; padding:6px 10px; }
      .adam-thumb-bottom { font-size:13px; padding:8px 10px; }
    }
    
    /* = arsip = */
        /* Container Arsip */
#adamz-arch-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Header Arsip */
.adamz-arch-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.adamz-arch-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.adamz-arch-title {
    font-size: 2.5rem;
    font-weight: 850;
    margin: 0;
    letter-spacing: -1.5px;
}

/* Grid 2 Kolom */
.adamz-arch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}

/* Card Arsip */
.adamz-arch-card {
    display: flex;
    flex-direction: column;
    group: hover;
    background-color: var(--crbg);
    padding: 10px;
    border-radius: 20px;
}

.adamz-arch-img-link {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.25rem;
}

.adamz-arch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Date Chip (Floating on Image) */
.adamz-arch-date-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.adamz-arch-card:hover .adamz-arch-img {
    transform: scale(1.1);
    background-color: var(--crbgh);
}

/* Typography Arsip */
.adamz-arch-post-title {
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.adamz-arch-post-title a {
    text-decoration: none;
    transition: color 0.2s;
}

.adamz-arch-post-title a:hover {
text-decoration: none;
}

.adamz-arch-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Style */
.adamz-arch-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.adamz-arch-nav-btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.adamz-arch-nav-btn:hover {
    opacity: 0.85;
}

.adamz-arch-page-info {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
    .adamz-arch-grid {
        grid-template-columns: 1fr;
    }
    .adamz-arch-title {
        font-size: 1.8rem;
    }
}

.profa { 
  display: inline-block;
  width: 14px;   /* ubah sesuai kebutuhan */
  height: 20px;
  line-height: 0; /* hilangkan gap */
}
.profa svg { width: 100%; height: 100%; display: block; }

/* ============================
   Widget – Theme Aware
   ============================ */

.sidebar-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 2.25rem 0px;
  min-width: 420px;
}

.w-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.w-box:hover {
  background: var(--surface-hover);
}

.w-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.w-empty {
  color: var(--muted);
  font-size: .92rem;
}

.w-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.w-list a {
  text-decoration: none;
  color: var(--link);
  transition: color .2s ease;
}

.w-list a:hover {
  text-decoration: underline;
  color: var(--link-hover);
}

.w-search-form {
  display: flex;
  gap: 8px;
}

.w-search-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  background: var(--control-bg);
  color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}

.w-search-form input:focus {
  border-color: var(--accent);
}

.w-search-form button {
  border: 1px solid var(--border);
  background: var(--control-bg);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text);
  transition: background .2s ease, border-color .2s ease;
}

.w-search-form button:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}