/* ============================================
   MTsN 3 Aceh Barat — EMSEN Light Design System
   Apple + Stripe inspired tokens
   ============================================ */

:root {
  /* Palette */
  --bg: #ffffff;
  --section-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --border: #e5e7eb;
  --white: #ffffff;

  /* Gradients */
  --grad-blue-indigo: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  --grad-hero: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);

  /* Shadows */
  --shadow-sm: rgba(0, 0, 0, 0.06) 0 1px 3px;
  --shadow-lg: rgba(0, 0, 0, 0.08) 0 8px 24px;
  --shadow-nav: rgba(0, 0, 0, 0.08) 0 1px 0 0, rgba(0, 0, 0, 0.04) 0 4px 16px;

  /* Radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 980px;

  /* Spacing */
  --container: 1120px;
  --section-pad: 88px;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.4s;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--section-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ---------- Gradient Title Utility ---------- */
.grad {
  background: linear-gradient(120deg, #0d9488 0%, #0ea5a4 45%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(120deg, #0f172a 0%, #134e4a 55%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  margin-top: 16px;
  font-size: 19px;
  color: var(--text-secondary);
}

/* ---------- Page Title (global) ---------- */
.page-title,
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  background: linear-gradient(120deg, #0f172a 0%, #134e4a 55%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: var(--section-alt);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: #ececef;
  transform: translateY(-1px);
}

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.26); }

.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.navbar.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-nav);
  background: rgba(255, 255, 255, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  max-height: 44px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-brand-sub {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.nav-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-blue-indigo);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.nav-logo-text { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.nav-logo-sub { font-size: 12px; color: var(--text-secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--section-alt);
}
.nav-links a.active,
.nav-links li.current-menu-item > a {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-weight: 600;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links li.current-menu-item > a::after {
  width: 16px;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}
.mobile-toggle:hover { background: var(--section-alt); }
.mobile-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 152px 0 140px;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 88vh;
}
/* Slideshow — atmosphere only */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: hero-fade 25s infinite;
  animation-timing-function: ease-in-out;
}
.hero-slide:nth-child(1) { animation-delay: 0s;   }
.hero-slide:nth-child(2) { animation-delay: 5s;   }
.hero-slide:nth-child(3) { animation-delay: 10s;  }
.hero-slide:nth-child(4) { animation-delay: 15s;  }
.hero-slide:nth-child(5) { animation-delay: 20s;  }
@keyframes hero-fade {
  0%   { opacity: 0; transform: scale(1.04); }
  8%   { opacity: 1; transform: scale(1.10); }
  20%  { opacity: 1; transform: scale(1.12); }
  28%  { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.04); }
}
/* Single calm dark overlay (≈58%) so text stays highly readable */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,15,28,0.66) 0%, rgba(10,15,28,0.74) 50%, rgba(10,15,28,0.82) 100%);
}
/* Aurora accent for subpage heroes (atmosphere only, sits below overlay) */
.hero--aurora::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 12% 18%, rgba(20,184,166,0.30) 0%, transparent 70%),
    radial-gradient(45% 60% at 88% 12%, rgba(37,99,235,0.24) 0%, transparent 72%),
    radial-gradient(50% 70% at 75% 92%, rgba(13,148,136,0.22) 0%, transparent 75%),
    radial-gradient(40% 50% at 30% 95%, rgba(14,165,164,0.20) 0%, transparent 70%);
  filter: blur(8px);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(0,-12px,0) scale(1.06); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--aurora::before { animation: none; }
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  margin: 0;
}
.hero-sub {
  margin: 28px 0 0;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-cta .btn--primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.hero-cta .btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.hero-cta .btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.40);
  color: #fff;
}
.hero-cta .btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.70);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat .num {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lab { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ---------- Quick Stats ---------- */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.qs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.qs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.qs-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--section-alt);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 4px;
}
.qs-num {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.qs-lab { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.qs-accent { border-color: var(--accent); }
.qs-accent .qs-icon { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
@media (max-width: 640px) {
  .quick-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; margin-bottom: 0; }
  .qs-card { padding: 16px 12px; }
  .qs-icon { width: 44px; height: 44px; }
  .qs-num { font-size: 28px; }
  .qs-lab { font-size: 12px; }
  .hero { padding: 96px 0 80px; min-height: 78vh; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-sub { margin-top: 20px; }
  .hero-cta { margin-top: 32px; gap: 12px; }
  .hero-cta .btn--lg { width: 100%; justify-content: center; }
}

/* ---------- Section preview cards ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.preview-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.preview-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-blue-indigo);
  margin-bottom: 18px;
}
.preview-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.preview-card p { font-size: 15px; color: var(--text-secondary); margin: 8px 0 14px; }
.preview-card .more { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- Berita section ---------- */
.berita-section { padding: var(--section-pad) 0; }
.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.berita-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.berita-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.berita-thumb {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--section-alt);
}
.berita-body { padding: 24px; }
.berita-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.berita-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.berita-title a { color: var(--text); }
.berita-title a:hover { color: var(--accent); }
.berita-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.berita-footer { margin-top: 32px; text-align: center; }
.berita-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  padding: 12px 28px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}
@media (max-width: 640px) {
  .berita-grid { grid-template-columns: 1fr; gap: 16px; }
  .berita-thumb { height: 180px; }
  .berita-body { padding: 18px; }
  .berita-title { font-size: 15px; }
  .berita-section { padding: 48px 0; }
}
.berita-all:hover { background: var(--accent); color: #fff; }

/* ---------- Feature split (Profil) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .ico {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; margin-bottom: 22px;
}
.feature-card .ico--blue { background: var(--grad-blue-indigo); }
.feature-card .ico--amber {
  background: linear-gradient(135deg, #ff9f0a 0%, #ff6b35 100%);
}
.feature-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.feature-card > p { color: var(--text-secondary); margin-top: 12px; font-size: 16px; }

.mission-list { margin-top: 22px; display: grid; gap: 16px; }
.mission-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.mission-item .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(20,184,166,0.14); color: #0d9488;
  display: grid; place-items: center; margin-top: 2px;
}
.mission-item .mt { font-weight: 600; font-size: 16px; }
.mission-item .md { font-size: 14px; color: var(--text-secondary); }

/* ---------- Program cards (Akademik) ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.program-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card .ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-blue-indigo);
  margin-bottom: 20px;
}
.program-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.program-card p { color: var(--text-secondary); margin-top: 10px; font-size: 15px; }
.program-card .tag {
  display: inline-block; margin-top: 18px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: rgba(13,148,136,0.08); padding: 5px 12px; border-radius: var(--radius-pill);
}

/* ---------- Media grid ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-thumb {
  aspect-ratio: 16 / 9;
  background: var(--grad-blue-indigo);
  display: grid; place-items: center; color: rgba(255,255,255,0.85);
}
.article-thumb { position: relative; overflow: hidden; }
.article-thumb.has-image { background-size: cover; background-position: center; }
.article-thumb.has-image svg { display: none; }
.article-thumb svg { width: 40px; height: 40px; opacity: 0.8; }
.article-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.article-cat { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.article-title { font-size: 18px; font-weight: 600; line-height: 1.3; margin: 8px 0 10px; letter-spacing: -0.01em; }
.article-excerpt { font-size: 14px; color: var(--text-secondary); flex: 1; }
.article-date { font-size: 13px; color: var(--text-secondary); margin-top: 16px; display: flex; align-items: center; gap: 6px; }

/* ---------- Media berita: featured + list ---------- */
.berita-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.media-featured-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.media-featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.media-featured-card .m-thumb {
  aspect-ratio: 16 / 9;
  background: var(--grad-blue-indigo);
  background-size: cover;
  background-position: center;
  display: grid; place-items: center; color: rgba(255,255,255,0.85);
}
.media-featured-card .m-thumb svg { width: 44px; height: 44px; opacity: 0.8; }
.mfc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mfc-cat { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.mfc-title { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 8px 0 10px; color: var(--text); }
.mfc-excerpt { font-size: 14px; color: var(--text-secondary); flex: 1; }
.mfc-date { font-size: 13px; color: var(--text-secondary); margin-top: 14px; display: flex; align-items: center; gap: 6px; }

.berita-list { display: flex; flex-direction: column; gap: 14px; }
.media-list-item {
  display: flex; gap: 16px; align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.media-list-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.media-list-item .m-thumb {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: var(--grad-blue-indigo);
  background-size: cover;
  background-position: center;
  display: grid; place-items: center; color: rgba(255,255,255,0.85);
}
.media-list-item .m-thumb svg { width: 28px; height: 28px; opacity: 0.8; }
.mli-body { flex: 1; min-width: 0; }
.mli-cat { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.mli-title { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); margin: 4px 0 6px; }
.mli-meta { font-size: 12.5px; color: var(--text-secondary); }

.berita-more-wrap { text-align: center; margin-top: 24px; }
#berita-load-more { cursor: pointer; }

@media (max-width: 760px) {
  .berita-featured { grid-template-columns: 1fr; }
  .media-list-item { flex-direction: column; align-items: stretch; gap: 12px; }
  .media-list-item .m-thumb { width: 100%; aspect-ratio: 16 / 9; }
}

/* Skeleton */
.skeleton {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.skeleton .sk-thumb { aspect-ratio: 16/9; background: var(--section-alt); }
.skeleton .sk-line { height: 14px; border-radius: 6px; background: var(--section-alt); margin: 14px 22px; }
.skeleton .sk-line.short { width: 40%; }
.skeleton .sk-line.mid { width: 70%; }
.skeleton .shimmer {
  position: relative; overflow: hidden;
}
.skeleton .shimmer::after {
  content: ""; position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

.media-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  background: var(--section-alt);
}
.media-fallback .ico { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--accent); }

.media-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 24px;
  border: 1px dashed #f0a0a0;
  border-radius: var(--radius);
  color: var(--text-secondary);
  background: #fff5f5;
}

/* ---------- Service link cards (Layanan) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .ico {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.service-card .ico--1 { background: linear-gradient(135deg,#14b8a6,#0d9488); }
.service-card .ico--2 { background: linear-gradient(135deg,#0d9488,#14b8a6); }
.service-card .ico--3 { background: linear-gradient(135deg,#ff9f0a,#ff6b35); }
.service-card .ico--4 { background: linear-gradient(135deg,#14b8a6,#0d9488); }
.service-card .sc-body { flex: 1; }
.service-card h3 { font-size: 19px; font-weight: 600; }
.service-card p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
.service-card .arrow { color: var(--accent); font-size: 22px; }

/* ---------- Kontak ---------- */
.kontak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}
.kontak-grid .info-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.kontak-grid .info-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(13,148,136,.08);
}
.kontak-grid .info-card .info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.kontak-grid .info-card .info-body { min-width: 0; }
.kontak-grid .info-card .info-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.kontak-grid .info-card .info-value {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.55;
}
.kontak-grid .wa-card {
  border-radius: var(--radius-lg);
}
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .ico,
.info-row .info-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; background: var(--grad-blue-indigo);
}
.info-row .it { font-weight: 600; font-size: 16px; }
.info-row .id { font-size: 14px; color: var(--text-secondary); }

.wa-card {
  background: linear-gradient(160deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}
.wa-card .ico,
.wa-card .wa-ico {
  width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,0.18);
  display: grid; place-items: center; margin-bottom: 20px;
}
.wa-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.wa-card p { opacity: 0.9; margin-top: 8px; font-size: 14px; }
.wa-card .btn--wa {
  margin-top: 16px;
  background: #fff; color: #128c7e; font-weight: 600;
}
.wa-card .btn--wa:hover { background: #f0fff7; transform: translateY(-1px); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.cta-band p { opacity: 0.9; margin-top: 12px; font-size: 17px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .btn--primary { margin-top: 24px; }

/* ---------- Arsip Berita ---------- */
.arsip-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.arsip-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.arsip-pill:hover,
.arsip-pill.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* Arsip card list — artikel card horizontal (thumb + konten) */
.arsip-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.arsip-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.arsip-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
}
.arsip-thumb {
  flex: 0 0 280px;
  max-width: 280px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--section-alt);
}
.arsip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease);
}
.arsip-item:hover .arsip-thumb img {
  transform: scale(1.04);
}
.arsip-content {
  flex: 1;
  padding: 18px 20px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.arsip-cat {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.arsip-content h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}
.arsip-content h4 a {
  color: var(--text);
  text-decoration: none;
}
.arsip-content h4 a:hover {
  color: var(--accent);
}
.arsip-meta time {
  font-size: .82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.arsip-excerpt {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Fallback — item tanpa thumbnail */
.arsip-item:not(:has(.arsip-thumb)) .arsip-content {
  padding-left: 20px;
}
/* Pagination */
.arsip-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.arsip-pagination ul {
  display: flex;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.arsip-pagination li {
  margin: 0;
}
.arsip-pagination a,
.arsip-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: .88rem;
  font-weight: 500;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: all .2s var(--ease);
}
.arsip-pagination a:hover {
  background: var(--section-alt);
  border-color: var(--accent);
  color: var(--accent);
}
.arsip-pagination .current span,
.arsip-pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.arsip-pagination .prev,
.arsip-pagination .next {
  gap: 4px;
}
@media (max-width: 700px) {
  .arsip-item {
    flex-direction: column;
    gap: 0;
  }
  .arsip-thumb {
    flex: unset;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .arsip-content {
    padding: 16px;
  }
  .arsip-item:not(:has(.arsip-thumb)) .arsip-content {
    padding: 16px;
  }
}

/* ============================================
   Apple-style Mobile Menu Overlay (global, dipakai di ≤760px)
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}
.mobile-menu-overlay.open .mobile-menu-container {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 10;
}
.mobile-menu-close:hover { background: rgba(0,0,0,0.05); }
.mobile-menu-close svg { width: 22px; height: 22px; }

.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 100px 24px 32px;
}
.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu-link {
  display: block;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 400;
  color: #1d1d1f;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.mobile-menu-link:hover { color: var(--accent); }
.mobile-sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-sub-item { border-bottom: none; }
.mobile-sub-link {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 400;
  color: #6e6e73;
  text-decoration: none;
}
.mobile-sub-link:hover { color: var(--accent); }

.mobile-menu-footer {
  padding: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}
.mobile-menu-footer p {
  margin: 0;
  font-size: 13px;
  color: #86868b;
}

/* Mobile toggle button (hidden by default, shown in media query) */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.mobile-toggle:hover { background: rgba(0,0,0,0.05); }
.mobile-toggle svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .f-brand { display: flex; align-items: center; gap: 12px; }
.footer .f-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad-blue-indigo); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 12px;
}
.footer .f-brand .t { font-weight: 600; }
.footer .f-brand .s { font-size: 12px; color: var(--text-secondary); }
.footer .f-powered { font-size: 14px; color: var(--text-secondary); }
.footer .f-links { display: flex; gap: 18px 22px; flex-wrap: wrap; }
.footer .f-links a { font-size: 14px; color: var(--text-secondary); }
.footer .f-links a:hover { color: var(--accent); }

/* ---------- Ayat & Hadist Harian ---------- */
.ah-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ah-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--section-alt);
  border-bottom: 1px solid var(--border);
}
.ah-tab {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.ah-tab:hover { color: var(--text); }
.ah-tab.is-active {
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.ah-panel {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.ah-panel[hidden] { display: none; }
.ah-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.ah-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
@media (max-width: 720px) {
  .ah-panel { padding: 26px 24px; min-height: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .program-grid, .service-grid, .kontak-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 760px) {
  :root { --section-pad: 64px; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .mobile-toggle { display: block; }
}

@media (max-width: 560px) {
  .nav-brand-sub { display: none; }
  .nav-brand-name { font-size: 14px; }
  .nav-logo-img { max-height: 38px; }
  .preview-grid, .media-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .cta-band { padding: 44px 28px; }
}

/* ============================================
   Page shell + sticky TOC (anchor sub-nav)
   ============================================ */
.page-shell {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 48px;
  align-items: start;
}
.page-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  border-left: 2px solid var(--border);
  padding: 4px 0;
}
.page-toc .toc-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-secondary);
  margin: 0 0 12px 18px;
}
.page-toc a {
  display: block;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 0 7px 18px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-toc a:hover { color: var(--text); }
.page-toc a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

.page-content { min-width: 0; }

.sub-section {
  scroll-margin-top: 92px;
  padding: 8px 0 32px;
}
.sub-section + .sub-section { border-top: 1px solid var(--border); padding-top: 40px; }

/* Lead card: short intro + Selengkapnya */
.lead-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.lead-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.lead-card .lead-body { margin-top: 10px; display: grid; gap: 12px; }
.lead-card p { color: var(--text-secondary); font-size: 15px; }
.lead-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--accent);
}
.lead-card .more:hover { color: var(--accent-hover); }

/* Kepala Madrasah spotlight (Sambutan Pimpinan) */
.leader-spot { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; margin-top: 14px; }
.leader-spot .photo {
  width: 200px; max-width: 100%; height: 240px; border-radius: var(--radius);
  object-fit: cover; background: var(--section-alt); border: 1px solid var(--border);
}
.leader-spot .quote {
  font-size: 18px; font-style: italic; line-height: 1.5; color: var(--text);
  border-left: 3px solid var(--accent); padding-left: 18px; margin: 0 0 14px;
}
.leader-spot .name { font-weight: 700; font-size: 16px; }
.leader-spot .role { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; }

/* Kata Sambutan — enhanced leader layout */
.sambutan-wrapper {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}
.sambutan-leader {
  text-align: center;
  position: sticky;
  top: 80px;
}
.sambutan-leader .sambutan-photo-wrap {
  width: 160px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 8px 32px rgba(13,148,136,.15);
  border: 3px solid var(--accent);
}
.sambutan-leader .sambutan-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.sambutan-leader .sambutan-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.sambutan-leader .sambutan-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

/* Islamic greeting block */
.islamic-quote {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.islamic-quote svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.islamic-quote p {
  font-size: .95rem !important;
  font-style: italic;
  color: var(--text) !important;
  margin: 0;
  line-height: 1.7;
}
.islamic-quote.closing {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border-left: 4px solid var(--accent);
  margin-top: 24px;
  margin-bottom: 0;
}

/* Custom bullet list */
.sambutan-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: grid;
  gap: 8px;
}
.sambutan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.sambutan-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}
.sambutan-list li strong { color: var(--text); }

/* Signature block */
.sambutan-signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.sambutan-signature-inner {
  text-align: right;
  min-width: 220px;
}
.sambutan-signature-inner .sig-greeting {
  font-size: .82rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.sambutan-signature-inner .sig-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 2px;
  margin-bottom: 4px;
}
.sambutan-signature-inner .sig-title {
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .sambutan-wrapper { grid-template-columns: 1fr; gap: 18px; }
  .sambutan-leader { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; position: static; }
  .sambutan-leader .sambutan-photo-wrap { width: 150px; height: 185px; margin: 0 auto 10px; }
}

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-size: 17px; font-weight: 500; color: var(--text);
  background: none; border: none; cursor: pointer;
}
.faq-q .chev { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a .inner { padding: 0 24px 22px; color: var(--text-secondary); font-size: 15px; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--section-alt);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(0,0,0,0.28); }

/* Gallery photo lightbox (main.js) */
.gallery-item { position: relative; cursor: pointer; }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-size: 0.85rem; font-weight: 500; }

.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lb-close {
  position: absolute; top: 20px; right: 28px;
  color: #fff; cursor: pointer; background: none; border: none; padding: 8px; line-height: 1;
}
.lb-close svg { width: 32px; height: 32px; }

/* Video gallery */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vid-card {
  display: block; text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.vid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vid-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s var(--ease); }
.vid-card:hover .vid-thumb img { transform: scale(1.05); }
.vid-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.vid-card:hover .vid-play { background: rgba(13,148,136,0.9); transform: translate(-50%, -50%) scale(1.08); }
.vid-play svg { width: 26px; height: 26px; fill: #fff; }
.vid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%);
  opacity: 0; transition: opacity 0.3s;
}
.vid-card:hover .vid-overlay { opacity: 1; }
.vid-title { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }

@media (max-width: 760px) {
  .vid-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .vid-grid { grid-template-columns: 1fr; }
}

/* Service link cards (Layanan) */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card .ico { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: var(--grad-blue-indigo); }
.svc-card.is-external .ico { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.svc-card .sc-body { flex: 1; min-width: 0; }
.svc-card h3 { font-size: 18px; font-weight: 600; }
.svc-card p { font-size: 14px; color: var(--text-secondary); margin: 4px 0 12px; }
.svc-card .open-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--accent); padding: 8px 16px; border-radius: var(--radius-pill);
}
.svc-card .open-btn:hover { background: var(--accent-hover); }

/* Mobile: TOC becomes sticky horizontal bar */
@media (max-width: 860px) {
  .page-shell { grid-template-columns: 1fr; gap: 24px; }
  .page-toc {
    position: sticky; top: 64px; z-index: 90;
    border-left: none; border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
    padding: 8px 0; margin: 0 -24px;
  }
  .page-toc .toc-title { display: none; }
  .page-toc {
    display: flex; gap: 4px; padding: 8px 24px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .page-toc::-webkit-scrollbar { display: none; }
  .page-toc a {
    flex: 0 0 auto;
    border-left: none; margin-left: 0; padding: 8px 14px;
    white-space: nowrap; border-radius: var(--radius-sm);
  }
  .page-toc a.active { border-left: none; background: rgba(13,148,136,0.1); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .leader-spot { grid-template-columns: 1fr; text-align: center; }
  .leader-spot .photo { width: 160px; height: 190px; margin: 0 auto; }
  .leader-spot .quote { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.f-logo-img{height:32px;width:auto;border-radius:6px;opacity:.85}
.f-links a{transition:color .2s var(--ease)}

/* Dropcap for Kata Sambutan */
.dropcap::first-letter {
  float: left;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 0.85;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--accent, #0d9488);
  font-family: Georgia, serif;
}

.btn--accent { background: var(--accent); color: #fff; border: 2px solid var(--accent); border-radius: 8px; padding: 12px 28px; font-size: .95rem; font-weight: 600; text-decoration: none; display: inline-block; transition: background .2s, transform .15s; }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }

.pengaduan-card { display: flex; gap: 32px; align-items: center; background: #f8fdfc; border: 1.5px solid #d1fae5; border-radius: 14px; padding: 28px; margin-top: 24px; }
.pengaduan-img { flex-shrink: 0; }
.pengaduan-img img { width: 180px; height: auto; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.pengaduan-text h4 { margin: 0 0 10px; font-size: 1.1rem; color: var(--text); }
.pengaduan-text p { margin: 0 0 16px; color: #555; font-size: .92rem; line-height: 1.6; }
.pengaduan-note { font-size: .8rem !important; color: #888 !important; margin-top: 12px !important; }
@media (max-width: 600px) { .pengaduan-card { flex-direction: column; text-align: center; } .pengaduan-img img { width: 140px; } }

/* Zona Integritas — 6 area cards */
.zi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.zi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.zi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.zi-icon { width: 44px; height: 44px; background: #f0fdfa; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--accent); }
.zi-card h5 { font-size: .9rem; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.zi-card p { font-size: .8rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .zi-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .zi-cards { grid-template-columns: 1fr; } }

/* Kurikulum section — text-only card grid */
.kurikulum-body { display:flow-root; }
.kur-float { float:right; width:148px; margin:0 0 16px 24px; text-align:center; }
.kur-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:12px; }
.kur-cards--3 { grid-template-columns:repeat(3,1fr); }
.kur-card { background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:12px 14px; font-size:.82rem; color:var(--text); line-height:1.5; display:flex; flex-direction:column; gap:2px; }
.kur-card strong { font-size:.8rem; color:var(--text); }
.kur-card span { font-size:.75rem; color:var(--text-secondary); font-weight:400; }
@media(max-width:640px){.kur-cards{grid-template-columns:1fr}.kur-cards--3{grid-template-columns:1fr}.kur-float{float:none;margin:0 auto 20px}}

/* Identitas — info grid cards */
.identitas-intro {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.identitas-intro strong { color: var(--text); }
.identitas-intro em { font-style: italic; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.info-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.info-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(13,148,136,.08);
}
.info-card .info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.info-card .info-body { min-width: 0; }
.info-card .info-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.info-card .info-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.info-card .info-value.accent { color: var(--accent); }

/* Madrasah Model badge */
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1.5px solid #f59e0b;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 700;
  color: #92400e;
}

/* Timeline perubahan nama */
.timeline-strip {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 12px 0 8px;
  margin-top: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 112px;
  position: relative;
  padding: 0 4px;
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--accent);
  opacity: .35;
}
.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  z-index: 1;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.timeline-item:nth-child(2) .timeline-dot { background: #0d9488; }
.timeline-item:nth-child(3) .timeline-dot { background: #0891b2; }
.timeline-item:nth-child(4) .timeline-dot { background: #7c3aed; }
.timeline-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  max-width: 100px;
}
.timeline-year {
  font-size: .72rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

/* Kurikulum — leader sidebar grid (matching sambut style) */
.kurikulum-wrapper {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.kurikulum-leader {
  text-align: center;
  position: sticky;
  top: 80px;
}
.kurikulum-leader .kurikulum-photo-wrap {
  width: 160px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 8px 32px rgba(13,148,136,.15);
  border: 3px solid var(--accent);
}
.kurikulum-leader .kurikulum-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.kurikulum-leader .kurikulum-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.kurikulum-leader .kurikulum-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

/* Kurikulum sub-headers with icon */
.kur-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}
.kur-section-head svg { color: var(--accent); flex-shrink: 0; }
.kur-section-head h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

/* Kurikulum guru stats */
.guru-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.guru-stat {
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.guru-stat .guru-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.guru-stat .guru-num span { font-size: .9rem; font-weight: 600; }
.guru-stat .guru-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.guru-stat.total {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}
.guru-stat.total .guru-num { color: #92400e; }

/* kur-card with left accent */
.kur-card-accent {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.kur-cards-simple {
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
}

@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
  .guru-stats { grid-template-columns: 1fr; }
  .timeline-strip { gap: 0; }
  .kurikulum-wrapper { grid-template-columns: 1fr; gap: 18px; }
  .kurikulum-leader { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; position: static; }
  .kurikulum-leader .kurikulum-photo-wrap { width: 150px; height: 185px; margin: 0 auto 10px; }
}

/* Visi Misi */
.visi-box{background:linear-gradient(135deg,#f0fdfa,#e0f2fe);border:2px solid var(--accent);border-radius:12px;padding:20px 24px;margin-bottom:24px;text-align:center}
.visi-label{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}
.visi-text{font-size:1.15rem;font-weight:700;color:var(--text);margin:0;font-style:italic}
.misi-label{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-secondary);margin-bottom:12px}
.misi-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.misi-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;font-size:.82rem;color:var(--text);line-height:1.5}
/* FAQ flat (jawaban dulu, pertanyaan di bawah) */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.faq-entry {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.faq-entry .faq-a {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 10px;
}
.faq-entry .faq-q {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .02em;
}
.faq-note {
  font-size: .78rem;
  color: var(--text-secondary);
  opacity: .7;
  margin-top: 4px;
  font-style: italic;
}
.hubungi { padding-top: 0 !important; }
.hubungi .section-head {
  margin-bottom: 28px;
  padding-top: 8px;
}
.hubungi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.hubungi-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hcard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow .2s;
}
.hcard:hover { box-shadow: 0 4px 16px rgba(13,148,136,.06); }
.hcard-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  display: grid; place-items: center;
  color: var(--accent);
}
.hcard-content { min-width: 0; }
.hcard-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px;
}
.hcard-value {
  font-size: .9rem; color: var(--text); line-height: 1.55;
}
.hcard-value a { color: var(--accent); text-decoration: none; }
.hcard-value a:hover { text-decoration: underline; }

/* WA card as full-height CTA */
.hubungi-wa {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  height: 100%;
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(37,211,102,.22);
}
.hubungi-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(37,211,102,.28);
}
.wa-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.2);
  display: grid; place-items: center;
}
.wa-body { display: flex; flex-direction: column; gap: 6px; }
.wa-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; opacity: .8;
}
.wa-title {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
.wa-desc { font-size: .88rem; opacity: .88; line-height: 1.55; }
.wa-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  font-size: .88rem; font-weight: 600;
  color: #fff;
}

@media (max-width: 640px) {
  .hubungi-grid { grid-template-columns: 1fr; }
  .hubungi-info { flex-direction: column; }
  .hcard { padding: 16px 18px; }
}

@media (max-width: 640px) {
  .hubungi .section-head { margin-bottom: 20px; }
  .hubungi-wa { padding: 24px 22px; }
}

/* Footer mobile */
@media (max-width: 560px) {
  .footer { padding: 32px 0; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .f-brand { flex-direction: column; gap: 8px; }
  .f-brand .s { font-size: 11px; }
  .f-links { justify-content: center; gap: 12px 16px; }
  .f-links a { font-size: 13px; }
}

@media(max-width:640px){.misi-cards{grid-template-columns:1fr}}

/* =========================================================
   Override GeneratePress default accent — paksa teal design
   system (GeneratePress inject :root --accent setelah child CSS).
   ========================================================= */
body.mtsn3-custom {
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --text: #1d1d1f;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --border: #e5e7eb;
  --section-alt: #f5f5f7;
}
body.mtsn3-custom a { color: var(--accent); }
body.mtsn3-custom a:hover { color: var(--accent-hover); }

/* Hilangkan underline default GeneratePress di SEMUA link (kecuali yang eksplisit pakai underline) */
body.mtsn3-custom a,
body.mtsn3-custom a:link,
body.mtsn3-custom a:visited {
  text-decoration: none;
}
body.mtsn3-custom a:hover,
body.mtsn3-custom a:focus,
body.mtsn3-custom a:active {
  text-decoration: none;
}
body.mtsn3-custom .hcard-value a:hover,
body.mtsn3-custom a.text-underline,
body.mtsn3-custom a.underline { text-decoration: underline; }
