/* ==========================================================
   FATAYAT PRO — MAIN THEME STYLES
   Version: 2.1.0 — Professional Drawer
   ========================================================== */

/* ==========================================================
   FONT FACES
   ========================================================== */
@font-face {
  font-family: 'Fatayat';
  src: url('https://fatayat.my.to/nu/fonts/fatayat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   DESIGN TOKENS
   ========================================================== */
:root {
  --ink-900: #0a1410;
  --ink-800: #14231b;
  --ink-700: #1a2b23;
  --ink-600: #2d4037;
  --ink-500: #3d4f47;
  --ink-400: #5c6e65;
  --ink-300: #7d9186;
  --ink-200: #b8c7bf;
  --ink-100: #d1dbd6;
  --ink-50:  #e8efeb;

  --paper: #fbfdf9;
  --paper-2: #f4f8f3;
  --paper-3: #eef4ef;

  --green-900: #0b2e1c;
  --green-800: #0e3a24;
  --green-700: #1a5e3a;
  --green-600: #226b44;
  --green-500: #2d8f5a;
  --green-400: #4eb27a;
  --green-100: #e8f4ed;
  --green-50:  #f1f8f4;

  --gold-700: #8a6d15;
  --gold-600: #a8841c;
  --gold-500: #c9a227;
  --gold-400: #d9b64a;
  --gold-300: #e8d17a;
  --gold-100: #faf3dc;

  --cream: #faf6ec;

  --success: #2d8f5a;
  --warning: #d97706;
  --danger: #b91c1c;

  --bg: var(--paper);
  --bg-alt: var(--paper-2);
  --surface: #ffffff;
  --surface-alt: var(--paper-3);
  --border: rgba(10,20,16,0.08);
  --border-strong: rgba(10,20,16,0.14);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-dim: var(--ink-300);
  --text-inverse: var(--paper);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-pill: 9999px;

  --sh-xs: 0 1px 2px rgba(10,20,16,0.04);
  --sh-sm: 0 1px 3px rgba(10,20,16,0.06), 0 1px 2px rgba(10,20,16,0.04);
  --sh-md: 0 4px 12px rgba(10,20,16,0.06), 0 2px 4px rgba(10,20,16,0.04);
  --sh-lg: 0 12px 32px rgba(10,20,16,0.08), 0 4px 12px rgba(10,20,16,0.05);
  --sh-xl: 0 24px 64px rgba(10,20,16,0.12), 0 8px 24px rgba(10,20,16,0.06);
  --sh-header: 0 4px 24px rgba(10,20,16,0.05);

  --container: 1240px;
  --container-wide: 1440px;
  --container-narrow: 900px;
  --header-height: 80px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-drawer: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.15s var(--ease);
  --t-base: 0.25s var(--ease);
  --t-slow: 0.4s var(--ease);
}

[data-theme="dark"] {
  --bg: #08110d;
  --bg-alt: #0c1a14;
  --surface: #10201a;
  --surface-alt: #142720;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #eaf3ee;
  --text-muted: #a8c0b3;
  --text-dim: #7a9488;
  --text-inverse: var(--ink-900);
  --green-100: #163626;
  --green-50: #0e2419;
  --sh-xs: 0 1px 2px rgba(0,0,0,0.3);
  --sh-sm: 0 1px 3px rgba(0,0,0,0.4);
  --sh-md: 0 4px 12px rgba(0,0,0,0.4);
  --sh-lg: 0 12px 32px rgba(0,0,0,0.5);
  --sh-xl: 0 24px 64px rgba(0,0,0,0.6);
  --sh-header: 0 4px 24px rgba(0,0,0,0.4);
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-muted); margin: 0 0 1rem; }
a { color: var(--green-700); text-decoration: none; transition: var(--t-fast); }
a:hover { color: var(--gold-600); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold-300); color: var(--ink-900); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--green-700);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: white; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.section-sm { padding: 4rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(251, 253, 249, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s var(--ease),
              background 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

[data-theme="dark"] .header { background: rgba(8, 17, 13, 0.85); }

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(251, 253, 249, 0.96);
  box-shadow: 0 4px 20px rgba(10, 20, 16, 0.05);
}

[data-theme="dark"] .header.scrolled { background: rgba(8, 17, 13, 0.96); }

@supports not (backdrop-filter: blur(24px)) {
  .header { background: rgba(251, 253, 249, 0.98); }
  [data-theme="dark"] .header { background: rgba(8, 17, 13, 0.98); }
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  justify-self: start;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-800), var(--green-500));
  box-shadow: 0 6px 16px -6px rgba(26, 94, 58, 0.5);
  transition: transform 0.3s var(--ease);
  position: relative;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand:hover .brand-logo { transform: translateY(-2px) rotate(-3deg); }

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1;
}

.brand-fatayat {
  font-family: 'Fatayat', 'Amiri', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-nu {
  font-family: 'Inter', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--green-700);
  letter-spacing: -0.04em;
  position: relative;
  line-height: 1;
}

.brand-nu::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  border-radius: 2px;
}

[data-theme="dark"] .brand-nu { color: var(--green-400); }

/* Prayer Center */
.prayer-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  justify-self: center;
}

.prayer-center.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.prayer-icon { color: var(--green-700); font-size: 0.95rem; }
[data-theme="dark"] .prayer-icon { color: var(--green-400); }
.prayer-info { display: flex; align-items: baseline; gap: 0.35rem; }
.prayer-next { font-weight: 700; color: var(--text); }
.prayer-time { font-weight: 500; color: var(--text-muted); }

.prayer-countdown {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--gold-600);
  background: rgba(201, 162, 39, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.78rem;
  min-width: 64px;
  text-align: center;
}

[data-theme="dark"] .prayer-countdown {
  background: rgba(230, 196, 90, 0.12);
  color: var(--gold-400);
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  flex-shrink: 0;
}

.search-wrap { position: relative; display: flex; align-items: center; }

.search-input {
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: all 0.4s var(--ease);
  opacity: 0;
}

.search-wrap.expanded .search-input {
  width: 200px;
  padding: 0.55rem 1rem;
  border-color: rgba(26, 94, 58, 0.2);
  background: var(--surface);
  opacity: 1;
  margin-right: 0.4rem;
}

.search-wrap.expanded .search-input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(26, 94, 58, 0.1);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-size: 1rem;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(26, 94, 58, 0.4);
}

.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-700);
  color: white;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 6px 16px -6px rgba(26, 94, 58, 0.5);
}

.menu-btn:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(26, 94, 58, 0.6);
}

/* ==========================================================
   MOBILE DRAWER — Professional
   ========================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0);
  border: none;
  cursor: pointer;
  transition: background 0.35s var(--ease);
  padding: 0;
  width: 100%;
  height: 100%;
}

.mobile-nav.open .mobile-nav-overlay {
  background: rgba(10, 20, 16, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Panel background */
.mobile-nav::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-drawer);
  box-shadow: -20px 0 60px rgba(10, 20, 16, 0.15);
  pointer-events: none;
  z-index: 0;
}

.mobile-nav.open::after { transform: translateX(0); }

/* All sections slide in */
.mobile-nav-header,
.mobile-nav-content,
.mobile-nav-footer {
  position: absolute;
  right: 0;
  width: 100%;
  max-width: 400px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-drawer);
  z-index: 1;
  background: var(--bg);
}

.mobile-nav.open .mobile-nav-header,
.mobile-nav.open .mobile-nav-content,
.mobile-nav.open .mobile-nav-footer {
  transform: translateX(0);
}

/* Header drawer */
.mobile-nav-header {
  top: 0;
  height: 80px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  z-index: 3;
}

[data-theme="dark"] .mobile-nav-header { background: var(--surface-alt); }

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mobile-nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 6px 16px -6px rgba(26, 94, 58, 0.5);
}

.mobile-nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-nav-brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  line-height: 1;
}

.mobile-nav-fatayat {
  font-family: 'Fatayat', 'Amiri', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
}

.mobile-nav-nu {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-700);
  letter-spacing: -0.04em;
}

[data-theme="dark"] .mobile-nav-nu { color: var(--green-400); }

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--text);
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--t-fast);
  flex-shrink: 0;
}

[data-theme="dark"] .mobile-nav-close { background: var(--surface); }

.mobile-nav-close:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

/* Content */
.mobile-nav-content {
  top: 80px;
  bottom: 130px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-content::-webkit-scrollbar { width: 4px; }
.mobile-nav-content::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

.mobile-nav-nav { padding: 0 1rem; }

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-list > li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.open .mobile-nav-list > li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open .mobile-nav-list > li:nth-child(1) { transition-delay: 0.10s; }
.mobile-nav.open .mobile-nav-list > li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav-list > li:nth-child(3) { transition-delay: 0.20s; }
.mobile-nav.open .mobile-nav-list > li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open .mobile-nav-list > li:nth-child(5) { transition-delay: 0.30s; }
.mobile-nav.open .mobile-nav-list > li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-list a,
.mobile-nav-list .menu-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: var(--t-fast);
  letter-spacing: -0.01em;
}

.mobile-nav-list a:hover,
.mobile-nav-list .menu-toggle-btn:hover {
  background: var(--paper-2);
  color: var(--green-700);
  transform: translateX(4px);
}

[data-theme="dark"] .mobile-nav-list a:hover,
[data-theme="dark"] .mobile-nav-list .menu-toggle-btn:hover {
  background: var(--surface-alt);
  color: var(--green-400);
}

.mobile-nav-list .menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--t-fast);
}

[data-theme="dark"] .mobile-nav-list .menu-icon {
  background: var(--green-900);
  color: var(--green-400);
}

.mobile-nav-list a:hover .menu-icon,
.mobile-nav-list .menu-toggle-btn:hover .menu-icon {
  background: var(--green-700);
  color: white;
}

.mobile-nav-list .menu-label { flex: 1; }

.mobile-nav-list .menu-chevron {
  color: var(--text-dim);
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease);
}

.mobile-nav-list .menu-toggle-btn[aria-expanded="true"] .menu-chevron {
  transform: rotate(180deg);
  color: var(--green-700);
}

/* Submenu */
.mobile-nav-list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 1.5rem;
}

.mobile-nav-list .sub-menu.open {
  max-height: 500px;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.mobile-nav-list .sub-menu a {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-left: 2px solid var(--border);
  border-radius: 0;
  margin-left: 1rem;
}

.mobile-nav-list .sub-menu a:hover {
  background: transparent;
  color: var(--green-700);
  border-left-color: var(--gold-500);
  padding-left: 1.25rem;
}

[data-theme="dark"] .mobile-nav-list .sub-menu a:hover {
  background: transparent;
  color: var(--green-400);
}

/* Footer drawer */
.mobile-nav-footer {
  bottom: 0;
  height: 130px;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

[data-theme="dark"] .mobile-nav-footer { background: var(--surface-alt); }

.mobile-nav-social {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-nav-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: var(--t-fast);
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

[data-theme="dark"] .mobile-nav-social a { background: var(--surface); }

.mobile-nav-social a:hover {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
  transform: translateY(-2px);
}

/* Desktop — hide drawer */
@media (min-width: 901px) {
  .mobile-nav { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
  .mobile-nav::after,
  .mobile-nav-header,
  .mobile-nav-content,
  .mobile-nav-footer { max-width: 100%; }

  .mobile-nav-header { padding: 0.85rem 1rem; height: 72px; }
  .mobile-nav-content { top: 72px; bottom: 120px; }
  .mobile-nav-footer { height: 120px; padding: 0.85rem 1rem 1rem; }

  .mobile-nav-list a,
  .mobile-nav-list .menu-toggle-btn {
    padding: 0.75rem 0.85rem;
    font-size: 0.92rem;
  }

  .mobile-nav-list .menu-icon { width: 32px; height: 32px; font-size: 0.82rem; }
}

/* ==========================================================
   SEARCH OVERLAY
   ========================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 16, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-inner { width: 100%; max-width: 640px; position: relative; }

.search-close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: var(--t-fast);
}

.search-close:hover { background: rgba(255, 255, 255, 0.2); }

.search-form-lg {
  display: flex;
  gap: 0.5rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 0.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.search-form-lg label { flex: 1; display: block; }

.search-field-lg {
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--text);
  outline: none;
}

.search-field-lg::placeholder { color: var(--text-dim); }

.search-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================
   MAIN
   ========================================================== */
.site-main {
  padding-top: var(--header-height);
  display: block;
}

/* ==========================================================
   PAGE HEADER
   ========================================================== */
.page-header {
  text-align: center;
  padding: 4rem 0 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.page-header .page-title { margin: 0; font-weight: 400; }
.page-header .page-title em { font-style: italic; color: var(--green-700); }
.page-header .archive-description,
.page-header .search-count { margin-top: 1rem; color: var(--text-muted); }

/* ==========================================================
   POSTS GRID
   ========================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t-base);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--green-500);
}

.post-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--green-50);
  overflow: hidden;
  position: relative;
  display: block;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-thumb .placeholder-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--green-700);
  font-size: 3rem;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
}

.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.post-card-cat {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  background: var(--green-700);
  color: white;
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  text-decoration: none;
}

.post-card-cat:hover { background: var(--green-800); color: white; }

.post-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--green-700); }

.post-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.post-card-meta {
  display: flex;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.post-card-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.post-card-meta i { color: var(--green-500); }

/* ==========================================================
   SINGLE POST & PAGE
   ========================================================== */
.single-post, .single-page { padding: 3rem 0 4rem; }
.entry-header { margin-bottom: 2.5rem; }

.entry-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.cat-pill {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--t-fast);
}

[data-theme="dark"] .cat-pill { background: var(--green-900); color: var(--green-400); }
.cat-pill:hover { background: var(--green-700); color: white; }

.entry-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.entry-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.entry-meta i { color: var(--green-500); }

.entry-thumbnail {
  margin: 2rem 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.entry-content { font-size: 1.08rem; line-height: 1.85; color: var(--text); }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content img { border-radius: var(--r-md); margin: 1.5rem 0; }
.entry-content a { color: var(--green-700); border-bottom: 1.5px solid transparent; transition: var(--t-fast); }
.entry-content a:hover { border-bottom-color: var(--green-700); }

.entry-content blockquote {
  border-left: 4px solid var(--green-700);
  background: var(--green-50);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
}

[data-theme="dark"] .entry-content blockquote { background: var(--green-900); }

.entry-content pre {
  background: var(--ink-900);
  color: #e8f3ec;
  padding: 1.25rem;
  border-radius: var(--r-md);
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; }

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tag-pill {
  padding: 0.35rem 0.85rem;
  background: var(--surface-alt);
  color: var(--text-muted);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  transition: var(--t-fast);
}

.tag-pill:hover { background: var(--green-700); color: white; }

.post-navigation { margin: 3rem 0; }
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.post-navigation a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--t-base);
}

.post-navigation a:hover {
  border-color: var(--green-500);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.post-navigation .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.post-navigation .title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
}

.post-navigation .nav-next { text-align: right; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 70%; height: 120%;
  background: radial-gradient(circle, rgba(26,94,58,0.12), transparent 65%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(circle, rgba(201,162,39,0.10), transparent 65%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero-content { text-align: center; max-width: 1000px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
  box-shadow: var(--sh-sm);
}

.hero-badge .tag {
  padding: 0.25rem 0.7rem;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .hero-badge .tag { background: var(--green-900); color: var(--green-400); }

.hero h1 { margin: 0 0 1.5rem; font-weight: 400; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--green-700); }

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-showcase {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.showcase-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--green-800), var(--green-600) 60%, var(--green-500));
  overflow: hidden;
  padding: 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sh-xl);
}

.showcase-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,162,39,0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 50%);
}

.showcase-main::after {
  content: "☪";
  position: absolute;
  right: -20px; bottom: -50px;
  font-size: 16rem;
  opacity: 0.06;
  color: white;
  line-height: 1;
}

.showcase-tag {
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.showcase-content { position: relative; z-index: 1; }
.showcase-content .medal { font-size: 3rem; color: var(--gold-300); margin-bottom: 1rem; }
.showcase-content h3 { color: white; font-size: 1.75rem; margin: 0 0 0.5rem; font-weight: 500; }
.showcase-content p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

.showcase-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sh-md);
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--green-500);
}

.showcase-card .num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -0.03em;
}

.showcase-card .num .plus { color: var(--gold-500); font-size: 0.6em; vertical-align: super; }
.showcase-card .lbl { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; margin-top: 0.25rem; }

.showcase-card .icon {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

[data-theme="dark"] .showcase-card .icon { background: var(--green-900); color: var(--green-400); }

/* ==========================================================
   MARQUEE — Logo Berjalan
   ========================================================== */
.marquee {
  padding: 2.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  margin-top: 4rem;
}

[data-theme="dark"] .marquee {
  background: var(--surface-alt);
}

/* Full width — keluar dari container */
.marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Gradient fade kiri-kanan */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--surface), transparent);
}

[data-theme="dark"] .marquee::before {
  background: linear-gradient(90deg, var(--surface-alt), transparent);
}

[data-theme="dark"] .marquee::after {
  background: linear-gradient(-90deg, var(--surface-alt), transparent);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 50s linear infinite;
  width: max-content;
  align-items: center;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-logo {
  display: block;
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(0.3);
}

.marquee-item:hover .marquee-logo {
  transform: scale(1.05);
  filter: grayscale(0);
}

.marquee-text-fallback {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding: 0 0.5rem;
}

/* Responsive */
@media (max-width: 640px) {
  .marquee {
    padding: 1.75rem 0;
    margin-top: 3rem;
  }
  .marquee-track {
    gap: 2.5rem;
    animation-duration: 35s;
  }
  .marquee-logo {
    height: 44px;
    max-width: 140px;
  }
  .marquee-text-fallback {
    font-size: 1rem;
  }
  .marquee::before,
  .marquee::after {
    width: 60px;
  }
}

/* ==========================================================
   SECTION HEAD
   ========================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.section-head h2 { font-weight: 400; max-width: 600px; margin: 0; }
.section-head h2 em { font-style: italic; color: var(--green-700); }

.section-head .desc {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  justify-self: end;
  margin: 0;
}

/* ==========================================================
   PROGRAMS
   ========================================================== */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.program {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--t-slow);
  overflow: hidden;
  min-height: 420px;
}

.program::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.program:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); border-color: transparent; }
.program:hover::before { transform: scaleX(1); }

.program-num {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--green-100);
  line-height: 1;
  letter-spacing: -0.05em;
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  transition: var(--t-base);
}

[data-theme="dark"] .program-num { color: var(--green-900); }
.program:hover .program-num { color: var(--gold-300); transform: scale(1.05); }

.program-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--t-base);
}

[data-theme="dark"] .program-icon { background: var(--green-900); color: var(--green-400); }
.program:hover .program-icon {
  background: var(--green-700);
  color: white;
  transform: rotate(-6deg) scale(1.05);
}

.program-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.program h3 { font-size: 1.5rem; font-weight: 500; margin: 0 0 0.5rem; font-family: 'Fraunces', serif; }
.program > p { font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.75rem; color: var(--text-muted); }

.program-list {
  list-style: none;
  margin: auto 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.program-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  align-items: flex-start;
}

.program-list li i {
  color: var(--green-500);
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* ==========================================================
   STATS
   ========================================================== */
.stats {
  background: var(--ink-900);
  color: var(--paper);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .stats { background: var(--green-900); }

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(45,143,90,0.25), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(201,162,39,0.15), transparent 50%);
  pointer-events: none;
}

.stats-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; position: relative; z-index: 1; }
.stats-header .eyebrow { color: var(--gold-300); }
.stats-header .eyebrow::before { background: var(--gold-300); }
.stats-header h2 { color: white; margin-top: 1rem; font-weight: 400; }
.stats-header h2 em { font-style: italic; color: var(--gold-300); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.08);
}

.stat {
  padding: 3rem 2rem;
  background: var(--ink-900);
  text-align: left;
  transition: var(--t-base);
}

[data-theme="dark"] .stat { background: var(--green-900); }
.stat:hover { background: var(--ink-800); }
[data-theme="dark"] .stat:hover { background: var(--green-800); }

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--gold-300);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 300;
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  transition: var(--t-base);
}

/* ==========================================================
   STATS — Inline Row (Style 1)
   ========================================================== */
.stats-inline-section {
  padding: 4rem 0;
}

.stats-inline {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  box-shadow: 0 4px 24px -8px rgba(10, 20, 16, 0.06);
}

[data-theme="dark"] .stats-inline {
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.3);
}

.stat-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 1.5rem;
  position: relative;
}

.stat-inline:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong) 50%, transparent);
}

.stat-inline-num {
  font-family: 'Fraunces', serif;
  font-size: 3.25rem;
  font-weight: 500;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.6rem;
}

[data-theme="dark"] .stat-inline-num {
  color: var(--green-400);
}

.stat-inline-num .plus {
  color: var(--gold-500);
  font-size: 0.6em;
  vertical-align: super;
  font-weight: 500;
}

.stat-inline-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.3;
}

/* Responsive — Tablet */
@media (max-width: 768px) {
  .stats-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0;
    padding: 2rem 1.5rem;
  }

  .stat-inline:not(:last-child)::after {
    display: none;
  }

  .stat-inline:nth-child(1)::after,
  .stat-inline:nth-child(3)::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-strong) 50%, transparent);
  }

  .stat-inline-num {
    font-size: 2.5rem;
  }
}

/* Responsive — Mobile */
@media (max-width: 480px) {
  .stats-inline-section {
    padding: 3rem 0;
  }

  .stats-inline {
    grid-template-columns: 1fr 1fr;
    padding: 1.75rem 1rem;
    border-radius: 16px;
  }

  .stat-inline {
    padding: 0.5rem 0.75rem;
  }

  .stat-inline-num {
    font-size: 2rem;
  }

  .stat-inline-label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================
   HISTORY
   ========================================================== */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.history-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--cream), var(--green-50));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-xl);
}

[data-theme="dark"] .history-visual { background: linear-gradient(150deg, var(--green-900), var(--ink-800)); }

.history-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

.history-visual-inner { position: relative; z-index: 1; text-align: center; padding: 2rem; }

.history-visual-inner .year {
  font-family: 'Fraunces', serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 0.5rem;
}

.history-visual-inner .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
}

.history-visual-inner .city {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.history-badge {
  position: absolute;
  bottom: 2rem; left: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.history-badge .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

[data-theme="dark"] .history-badge .icon { background: var(--green-900); color: var(--green-400); }
.history-badge strong { display: block; font-size: 0.9rem; color: var(--text); font-weight: 600; }
.history-badge span { font-size: 0.75rem; color: var(--text-dim); }

.history-content h2 { margin-bottom: 1.5rem; font-weight: 400; }
.history-content h2 em { font-style: italic; color: var(--green-700); }
.history-content > p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }

.orgs { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

.org-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--t-fast);
}

.org-chip:hover { border-color: var(--green-500); color: var(--green-700); transform: translateY(-2px); }
.org-chip i { color: var(--green-500); font-size: 0.85rem; }
.org-chip.highlight { background: var(--green-700); color: white; border-color: var(--green-700); }
.org-chip.highlight i { color: var(--gold-300); }

/* ==========================================================
   LEADERS
   ========================================================== */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.leader {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
}

.leader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--green-50));
  opacity: 0;
  transition: var(--t-base);
}

[data-theme="dark"] .leader::before { background: linear-gradient(180deg, transparent 50%, var(--green-900)); }
.leader:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--green-500); }
.leader:hover::before { opacity: 1; }

.leader-avatar {
  position: relative;
  width: 88px; height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: white;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 500;
  box-shadow: 0 12px 28px -10px rgba(26,94,58,0.5);
  z-index: 1;
  overflow: hidden;
}

.leader-avatar img { width: 100%; height: 100%; object-fit: cover; }

.leader-avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed var(--border-strong);
  opacity: 0.7;
  transition: var(--t-slow);
}

.leader:hover .leader-avatar::after { transform: rotate(45deg); border-color: var(--gold-500); }

.leader h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  font-family: 'Fraunces', serif;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.leader .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

/* ==========================================================
   NEWS
   ========================================================== */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }

.news-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--t-base);
}

.news-featured:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }

.news-featured-visual {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  position: relative;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  text-decoration: none;
}

.news-featured-visual::before {
  content: "☪";
  position: absolute;
  right: -30px; bottom: -60px;
  font-size: 14rem;
  opacity: 0.08;
  line-height: 1;
}

.news-featured-visual .cat {
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.news-featured-visual .date-block { position: relative; z-index: 1; }

.news-featured-visual .date-block .day {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.news-featured-visual .date-block .month-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 0.4rem;
}

.news-featured-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }

.news-featured-body h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.25;
  font-family: 'Fraunces', serif;
}

.news-featured-body h3 a { color: var(--text); }
.news-featured-body h3 a:hover { color: var(--green-700); }
.news-featured-body p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }

.news-list { display: flex; flex-direction: column; gap: 1.25rem; }

.news-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.news-item::before {
  content: "";
  position: absolute;
  left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 3px;
  background: var(--gold-500);
  border-radius: 0 4px 4px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.news-item:hover { transform: translateX(6px); border-color: var(--green-500); box-shadow: var(--sh-md); }
.news-item:hover::before { transform: scaleY(1); }

.news-item .meta {
  display: flex;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.news-item .meta .cat { color: var(--gold-600); }

.news-item h4 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  font-family: 'Fraunces', serif;
}

.news-item h4 a { color: var(--text); }
.news-item h4 a:hover { color: var(--green-700); }
.news-item p { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); margin: 0; }

.read-more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--t-fast);
}

.read-more i { transition: transform 0.3s var(--ease-spring); }
.read-more:hover { color: var(--gold-600); gap: 0.8rem; }
.read-more:hover i { transform: translateX(4px); }

.news-footer { margin-top: 3rem; text-align: center; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--t-base);
}

.faq[open] { border-color: var(--green-500); box-shadow: var(--sh-md); }

.faq summary {
  padding: 1.4rem 1.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: var(--t-fast);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper-2); }
[data-theme="dark"] .faq summary:hover { background: var(--surface-alt); }

.faq summary h3 {
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'Fraunces', serif;
  margin: 0;
  transition: var(--t-fast);
}

.faq[open] summary h3 { color: var(--green-700); }

.faq summary .toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--t-base);
}

[data-theme="dark"] .faq summary .toggle { background: var(--surface-alt); }

.faq[open] summary .toggle {
  background: var(--green-700);
  color: white;
  transform: rotate(135deg);
}

.faq-body {
  padding: 1.5rem 1.75rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ==========================================================
   DONATE CTA
   ========================================================== */
.donate-cta {
  position: relative;
  background: var(--ink-900);
  border-radius: var(--r-2xl);
  padding: 5rem 4rem;
  overflow: hidden;
  color: white;
  box-shadow: var(--sh-xl);
}

[data-theme="dark"] .donate-cta { background: var(--green-900); }

.donate-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(201,162,39,0.2), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(45,143,90,0.3), transparent 45%);
}

.donate-cta::after {
  content: "☪";
  position: absolute;
  right: -60px; bottom: -100px;
  font-size: 24rem;
  opacity: 0.04;
  line-height: 1;
  color: white;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.donate-cta .eyebrow { color: var(--gold-300); }
.donate-cta .eyebrow::before { background: var(--gold-300); }

.donate-cta h2 {
  color: white;
  margin: 1rem 0 1.25rem;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.donate-cta h2 em { font-style: italic; color: var(--gold-300); }
.donate-cta p { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.7; max-width: 520px; }

.donate-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

.donate-visual {
  aspect-ratio: 1;
  border-radius: var(--r-2xl);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.donate-visual .heart {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.4);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--gold-300);
}

.donate-visual .quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.015em;
  margin: 0;
}

.donate-visual .attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 1rem;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .footer { background: #050a07; }

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(45,143,90,0.15), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(201,162,39,0.1), transparent 40%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.footer-brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.5rem; }

.footer-brand .logo-mark {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px -8px rgba(45,143,90,0.5);
}

.footer-brand .name { display: flex; flex-direction: column; line-height: 1.05; }
.footer-brand .name strong {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: white;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-brand .name span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 500;
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.75rem;
  max-width: 340px;
}

.footer-social { display: flex; gap: 0.5rem; }

.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  display: grid;
  place-items: center;
  transition: var(--t-base);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
  background: var(--gold-500);
  color: var(--ink-900);
  border-color: var(--gold-500);
  transform: translateY(-3px);
}

.footer-col h4,
.footer-col h5,
.footer-widget-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--t-fast);
  display: inline-block;
}

.footer-col ul a:hover { color: white; transform: translateX(4px); }

.footer-widget-title { color: white; }
.widget { margin-bottom: 1.5rem; }

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.footer-bottom .contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-bottom .contact a {
  color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.footer-bottom .contact a:hover { color: var(--gold-300); }
.footer-bottom .contact i { color: var(--gold-300); font-size: 0.75rem; }

/* ==========================================================
   BACK TO TOP
   ========================================================== */
.to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--green-700);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 12px 32px -8px rgba(26,94,58,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--t-base);
  z-index: 900;
  cursor: pointer;
  border: none;
}

.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-800); transform: translateY(-4px); }

/* ==========================================================
   PAGINATION
   ========================================================== */
.pagination,
.navigation.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--t-fast);
  text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
}

/* ==========================================================
   WIDGETS (Sidebar)
   ========================================================== */
.sidebar .widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.sidebar .widget-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1.25rem;
}

.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.sidebar li:last-child { border-bottom: none; }
.sidebar a { color: var(--text-muted); font-size: 0.9rem; }
.sidebar a:hover { color: var(--green-700); }

/* ==========================================================
   NO RESULTS / 404
   ========================================================== */
.no-results,
.error-404 {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.no-results-icon,
.error-code {
  font-size: 5rem;
  color: var(--green-100);
  margin-bottom: 1.5rem;
  font-family: 'Fraunces', serif;
  font-weight: 300;
}

[data-theme="dark"] .no-results-icon,
[data-theme="dark"] .error-code { color: var(--green-900); }

.no-results-title,
.error-title {
  font-size: 2rem;
  margin: 0 0 1rem;
  font-weight: 500;
}

.no-results-desc,
.error-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.no-results-actions,
.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.no-results-search { max-width: 400px; margin: 0 auto; }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t-base);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--green-700);
  color: white;
  box-shadow: 0 8px 20px -6px rgba(26,94,58,0.4);
}

.btn-primary:hover {
  background: var(--green-800);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(26,94,58,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--paper-2);
}

[data-theme="dark"] .btn-outline:hover { background: var(--surface-alt); }

.btn-gold {
  background: var(--gold-500);
  color: var(--ink-900);
}

.btn-gold:hover {
  background: var(--gold-400);
  color: var(--ink-900);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ==========================================================
   WP CORE BLOCKS
   ========================================================== */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.5rem;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .programs { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-head .desc { justify-self: start; }
  .history-grid { grid-template-columns: 1fr; gap: 3rem; }
  .news-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-showcase { grid-template-columns: 1fr; }
  .showcase-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Prayer center tetap muncul, tapi compact */
  .prayer-center {
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  .prayer-icon { font-size: 0.85rem; }
  .prayer-countdown {
    min-width: 56px;
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  /* Mobile kecil — prayer center jadi 2 baris */
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    grid-template-rows: auto auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .prayer-center {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    background: var(--paper-2);
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    margin-top: 0.25rem;
    width: fit-content;
  }

  [data-theme="dark"] .prayer-center {
    background: var(--surface-alt);
  }

  .prayer-time { display: none; } /* Sembunyikan "14:47", cukup nama + countdown */
  .prayer-next { font-size: 0.75rem; }
  .prayer-countdown {
    font-size: 0.7rem;
    min-width: 52px;
    padding: 0.1rem 0.4rem;
  }

  /* Header jadi 2 baris, naikkan header height */
  .header {
    padding: 0.5rem 0 0.75rem 0;
  }

  :root {
    --header-height: 100px;
  }
}

@media (max-width: 380px) {
  /* Very small — hide countdown, show only name */
  .prayer-countdown { display: none; }
  .prayer-center { padding: 0.3rem 0.6rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }
  .section { padding: 4rem 0; }
  .section-lg { padding: 5rem 0; }
  .hero { padding: 3rem 0 3rem; }
  .programs { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .donate-cta { padding: 3rem 1.5rem; border-radius: var(--r-xl); }
  .showcase-side { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-fatayat, .brand-nu { font-size: 1.35rem; }
  .brand-logo { width: 40px; height: 40px; }
  .icon-btn, .menu-btn { width: 40px; height: 40px; }
  .search-wrap.expanded .search-input { width: 140px; }
  .header-inner { padding: 0 1rem; gap: 1rem; }
}

@media (max-width: 480px) {
  .container, .container-wide, .container-narrow { padding: 0 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
  .history-visual-inner .year { font-size: 5rem; }
}
/* ==========================================================
   HERO SLIDER — Latest Posts
   ========================================================== */
.hero-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  outline: none;
}

.hero-slider-label {
  margin-bottom: 1.25rem;
  text-align: center;
}

.hero-slider-label .eyebrow {
  color: var(--gold-600);
}

.hero-slider-label .eyebrow i {
  color: var(--gold-500);
  font-size: 0.85rem;
}

/* Track */
.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  background: var(--ink-900);
}

/* Card */
.slider-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
  pointer-events: none;
  z-index: 1;
}

.slider-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Background image */
.slider-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s linear;
  z-index: 0;
}

.slider-card.active .slider-card-bg {
  transform: scale(1.05);
}

.slider-card-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 50%, var(--green-500) 100%);
}

.slider-card-fallback::after {
  content: "☪";
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-size: 18rem;
  opacity: 0.08;
  color: white;
  line-height: 1;
}

/* Overlay */
.slider-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,16,0) 0%, rgba(10,20,16,0.4) 40%, rgba(10,20,16,0.9) 100%);
  z-index: 1;
}

/* Content */
.slider-card-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  color: white;
  max-width: 720px;
}

.slider-cat {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
}

.slider-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 0.85rem;
}

.slider-title a {
  color: white;
  text-decoration: none;
}

.slider-title a:hover {
  color: var(--gold-300);
}

.slider-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-meta {
  display: flex;
  gap: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.slider-meta i {
  color: var(--gold-300);
  margin-right: 0.35rem;
}

.slider-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gold-500);
  color: var(--ink-900);
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--t-base);
}

.slider-readmore:hover {
  background: white;
  color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.4);
}

.slider-readmore i {
  transition: transform 0.3s var(--ease);
}

.slider-readmore:hover i {
  transform: translateX(4px);
}

/* Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--t-base);
  z-index: 10;
  opacity: 0;
}

.hero-slider:hover .slider-nav {
  opacity: 1;
}

.slider-nav:hover {
  background: var(--gold-500);
  color: var(--ink-900);
  border-color: var(--gold-500);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--t-base);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255,255,255,0.7);
}

.slider-dot.active {
  background: var(--gold-500);
  width: 24px;
  border-radius: 4px;
}

/* Empty state */
.hero-slider-empty {
  max-width: 500px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-2xl);
}

.hero-slider-empty .empty-icon {
  font-size: 3rem;
  color: var(--green-100);
  margin-bottom: 1rem;
}

.hero-slider-empty h3 {
  margin: 0 0 0.5rem;
}

.hero-slider-empty p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================
   MODE: FADE
   ========================================================== */
.hero-slider[data-mode="fade"] .slider-card {
  transform: none;
}

.hero-slider[data-mode="fade"] .slider-card.active {
  animation: slider-fade-in 0.7s ease;
}

@keyframes slider-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==========================================================
   MODE: SLIDE UP
   ========================================================== */
.hero-slider[data-mode="slideup"] .slider-card {
  transform: translateY(100%);
  opacity: 1;
  visibility: hidden;
}

.hero-slider[data-mode="slideup"] .slider-card.active {
  transform: translateY(0);
  visibility: visible;
}

.hero-slider[data-mode="slideup"] .slider-card.exit-up {
  transform: translateY(-100%);
}

/* ==========================================================
   MODE: ZOOM
   ========================================================== */
.hero-slider[data-mode="zoom"] .slider-card {
  transform: scale(1.15);
  opacity: 0;
}

.hero-slider[data-mode="zoom"] .slider-card.active {
  transform: scale(1);
  opacity: 1;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .slider-track {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-xl);
  }

  .slider-card-content {
    padding: 2rem 1.5rem;
  }

  .slider-nav {
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
    opacity: 1;
  }

  .slider-prev { left: 0.85rem; }
  .slider-next { right: 0.85rem; }
}

@media (max-width: 640px) {
  .slider-track {
    aspect-ratio: 3 / 4;
    border-radius: var(--r-lg);
  }

  .slider-card-content {
    padding: 1.5rem 1.25rem;
  }

  .slider-title {
    font-size: 1.4rem;
  }

  .slider-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }

  .slider-meta {
    font-size: 0.68rem;
    gap: 0.85rem;
    margin-bottom: 1rem;
  }

  .slider-readmore {
    padding: 0.6rem 1.15rem;
    font-size: 0.82rem;
  }

  .slider-nav {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .slider-dots {
    bottom: 0.85rem;
  }

  .slider-dot.active {
    width: 20px;
  }
}
/* ==========================================================
   NEWS LIST — Card with Category (Style 2)
   ========================================================== */
.posts-list-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-item-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.post-item-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  background: var(--gold-500);
  border-radius: 0 4px 4px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.post-item-card:hover {
  border-color: var(--green-500);
  box-shadow: 0 12px 32px -12px rgba(26, 94, 58, 0.2);
  transform: translateX(4px);
}

.post-item-card:hover::before {
  transform: scaleY(1);
}

/* Thumb */
.post-item-card .post-thumb {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--green-50);
  display: block;
  position: relative;
}

[data-theme="dark"] .post-item-card .post-thumb {
  background: var(--green-900);
}

.post-item-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.post-item-card:hover .post-thumb img {
  transform: scale(1.08);
}

.post-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--green-700);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
}

[data-theme="dark"] .post-thumb-placeholder {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--green-400);
}

/* Body */
.post-item-card .post-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.post-cats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.cat-badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  background: var(--green-100);
  color: var(--green-700);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
}

[data-theme="dark"] .cat-badge {
  background: var(--green-900);
  color: var(--green-400);
}

.post-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.post-item-card .post-body h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.015em;
}

.post-item-card .post-body h4 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.post-item-card .post-body h4 a:hover {
  color: var(--green-700);
}

.post-item-card .post-body p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 640px) {
  .post-item-card {
    padding: 1rem;
    gap: 1rem;
  }
  .post-item-card .post-thumb {
    width: 100px;
    height: 100px;
  }
  .post-item-card .post-body h4 {
    font-size: 0.95rem;
  }
  .post-item-card .post-body p {
    display: none;
  }
  .post-item-card::before {
    top: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 400px) {
  .post-item-card .post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }
  .post-cats {
    gap: 0.5rem;
  }
  .post-date {
    display: none;
  }
}
/* ==========================================================
   STRUKTUR R3 — Compact Grid Leaders
   ========================================================== */
.r3 {
  max-width: 1150px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 32px 100px -40px rgba(10, 20, 16, 0.22),
    0 0 0 1px rgba(201, 162, 39, 0.12);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 540px;
}

.r3-left {
  padding: 2.5rem;
  border-right: 1px solid rgba(10, 20, 16, 0.06);
  display: flex;
  flex-direction: column;
}

.r3-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  border-radius: 20px;
  background: linear-gradient(135deg, #1a5e3a, #0e3a24);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.2);
  margin-bottom: 1.5rem;
}

.r3-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.35), transparent 55%);
  z-index: 1;
}

.r3-photo::after {
  content: "☪";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20rem;
  opacity: 0.05;
  color: white;
  z-index: 1;
  pointer-events: none;
}

.r3-initial {
  position: relative;
  z-index: 2;
  font-family: 'Fraunces', serif;
  font-size: 10rem;
  font-weight: 300;
  color: white;
  opacity: 0.5;
  font-style: italic;
}

.r3-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.r3-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  padding: 0.4rem 0.9rem;
  background: rgba(10, 20, 16, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 9999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8d17a;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.r3-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.r3-logo {
  flex-shrink: 0;
  width: clamp(84px, 8.5vw, 96px);
  height: clamp(84px, 8.5vw, 96px);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 
    0 6px 20px -6px rgba(26, 94, 58, 0.25),
    0 0 0 2px rgba(201, 162, 39, 0.4);
  margin-top: 2px;
}

.r3-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

.r3-text-block {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.r3-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a5e3a;
  display: block;
  margin-bottom: 0.4rem;
}

.r3-name {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.6rem;
}

.r3-name em {
  font-style: italic;
  color: #c9a227;
}

.r3-period {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #7d9186;
  letter-spacing: 0.05em;
}

.r3-period i { color: #c9a227; font-size: 0.68rem; }

.r3-right {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.r3-right-header { margin-bottom: 1.5rem; }

.r3-right-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7d9186;
  display: block;
  margin-bottom: 0.4rem;
}

.r3-right-title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.r3-right-title em { font-style: italic; color: #c9a227; }

.r3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  flex: 1;
  align-content: start;
}

.r3-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.4rem;
  background: transparent;
  border: 1px solid rgba(10, 20, 16, 0.06);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.r3-item:hover {
  background: rgba(26, 94, 58, 0.04);
  border-color: rgba(26, 94, 58, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(26, 94, 58, 0.15);
}

.r3-item.active {
  background: linear-gradient(135deg, rgba(26, 94, 58, 0.08), rgba(201, 162, 39, 0.06));
  border-color: rgba(201, 162, 39, 0.5);
}

.r3-diamond {
  position: relative;
  width: 44px;
  height: 44px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #1a5e3a, #0e3a24);
  border: 2px solid #c9a227;
  border-radius: 7px;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.r3-item:hover .r3-diamond {
  background: linear-gradient(135deg, #c9a227, #e8d17a);
  border-color: #a8841c;
}

.r3-item.active .r3-diamond {
  background: linear-gradient(135deg, #2d8f5a, #4eb27a);
  border-color: #e8d17a;
}

.r3-diamond-initial {
  transform: rotate(-45deg);
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  color: #e8d17a;
}

.r3-item:hover .r3-diamond-initial { color: #0a1410; }
.r3-item.active .r3-diamond-initial { color: white; }

.r3-item-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #7d9186;
  text-align: center;
  line-height: 1.25;
  max-width: 90px;
}

.r3-item:hover .r3-item-role,
.r3-item.active .r3-item-role { color: #1a5e3a; font-weight: 700; }

@media (max-width: 900px) {
  .r3 { grid-template-columns: 1fr; min-height: auto; border-radius: 20px; }
  .r3-left { padding: 1.75rem; border-right: none; border-bottom: 1px solid rgba(10, 20, 16, 0.06); }
  .r3-photo { aspect-ratio: 4 / 3; }
  .r3-initial { font-size: 7rem; }
  .r3-right { padding: 1.75rem; }
  .r3-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .r3-diamond { width: 40px; height: 40px; }
  .r3-diamond-initial { font-size: 0.85rem; }
  .r3-item-role { font-size: 0.6rem; }
  .r3-name { font-size: 1.35rem; }
}
.r3-photo-media {
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease;
  display: grid;
  place-items: center;
}
/* ==========================================================
   LOGO HIERARCHY — Style 1 Natural Size + Rata Tinggi
   ========================================================== */

.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0 1rem;
  margin-top: 1rem;
  width: 100%;
}

/* ============ NU — Logo BESAR ============ */
.logo-nu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.logo-nu-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.3s ease;
  width: 100%;
}

.logo-nu-mark:hover {
  transform: translateY(-4px);
}

.logo-nu-mark img {
  display: block;
  /* Ukuran besar — hampir selebar layar HP */
  width: 90%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

.logo-nu-mark .logo-placeholder {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 600;
  color: #1a5e3a;
  letter-spacing: -0.02em;
  padding: 3rem 4rem;
  background: white;
  border: 2px solid rgba(201, 162, 39, 0.3);
  border-radius: 24px;
  display: grid;
  place-items: center;
}

.logo-nu-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a5e3a;
  text-align: center;
}

[data-theme="dark"] .logo-nu-label { color: var(--green-400); }

/* ============ Divider ============ */
.logo-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 240px;
}

.logo-divider::before,
.logo-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 20, 16, 0.15), transparent);
}

[data-theme="dark"] .logo-divider::before,
[data-theme="dark"] .logo-divider::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.logo-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a227;
  flex-shrink: 0;
}

/* ============ Row bawah — RATA TINGGI ============ */
.logo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo-item:hover { transform: translateY(-4px); }

/* Container dengan tinggi tetap untuk rata */
.logo-item-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  /* Tinggi fixed agar kedua logo rata */
  height: 140px;
  width: 100%;
}

.logo-item-mark img {
  display: block;
  /* Force tinggi sama, lebarnya menyesuaikan */
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-item-mark .logo-placeholder {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1a5e3a;
  letter-spacing: -0.02em;
  padding: 1.5rem 2rem;
  background: white;
  border: 1px solid rgba(10, 20, 16, 0.08);
  border-radius: 16px;
  display: grid;
  place-items: center;
  height: 100%;
  width: 100%;
}

.logo-item-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7d9186;
  text-align: center;
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .logo-stack { gap: 1.5rem; }

  .logo-nu-mark img {
    width: 100%;
    max-width: none;
  }

  .logo-nu-mark .logo-placeholder {
    font-size: 3rem;
    padding: 2rem 3rem;
  }

  .logo-row {
    gap: 1.25rem;
    max-width: 100%;
  }

  .logo-item-mark {
    height: 110px;
  }

  .logo-item-mark .logo-placeholder {
    font-size: 1.5rem;
    padding: 1.25rem 1.5rem;
  }

  .logo-divider { width: 180px; }
}

@media (max-width: 400px) {
  .logo-item-mark { height: 90px; }
}
