﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #8e0e0e;
  --primary-light: #cc3333;
  --primary-pale: #ffeaea;
  --gold: #c9a84c;
  --gold-light: #f5e6c0;
  --gold-dark: #a07830;
  --green: #cc3333;
  --green-light: #ef5350;
  --cream: #faf8f3;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e8e0d0;
  --shadow-sm: 0 2px 8px rgba(142,14,14,0.08);
  --shadow-md: 0 8px 30px rgba(142,14,14,0.12);
  --shadow-lg: 0 20px 60px rgba(142,14,14,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── SUBDOMAIN BAR ─── */
.subdomain-bar {
  background: var(--primary-light);
  color: var(--white);
  padding: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--gold);
}
.subdomain-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.subdomain-bar-left {
  display: flex;
  align-items: center;
  gap: 0;
}
.subdomain-bar-left span { color: rgba(255,255,255,0.6); font-size: 0.72rem; margin-right: 12px; }
.subdomain-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  text-decoration: none;
  padding: 0 14px;
  height: 38px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
  font-size: 0.75rem;
}
.subdomain-link:first-of-type { border-left: 1px solid rgba(255,255,255,0.12); }
.subdomain-link:hover { background: rgba(201,168,76,0.2); color: var(--white); }
.subdomain-link .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-ponpes { background: #f39c12; }
.dot-mts { background: #2ecc71; }
.dot-ma { background: #3498db; }
.subdomain-bar-right { display: flex; align-items: center; gap: 16px; }
.subdomain-bar-right a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.subdomain-bar-right a:hover { color: var(--gold-light); }


/* ─── HEADER / NAV ─── */
.header {
  position: sticky;
  top: 0px;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-emblem {
  width: 50px;       /* Sesuaikan ukuran logo */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important; /* Hilangkan jika sebelumnya ada background warna */
}

.logo-emblem img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Hilangkan font-family Amiri atau pengaturan teks lama di logo-emblem */
.logo-emblem {
  font-family: inherit; 
  font-size: 0;
}


.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-subtitle { font-size: 0.68rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--primary-pale); }
.nav-link:hover::after { left: 14px; right: 14px; }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { left: 14px; right: 14px; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: #ffeaea; color: var(--primary); padding-left: 22px; }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(142,14,14,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(142,14,14,0.4); background: var(--primary-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--primary-light); border-radius: 2px; transition: var(--transition); display: block; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── ANNOUNCEMENT BAR ─── */
.announcement-bar {
  position: sticky;
  top: 72px;  
  background: #fcf8e3; /* Warna krem lembut agar mata langsung tertuju ke sini */
  border-bottom: 2px solid #f1c40f; /* Garis pembatas emas/kuning */
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 999; /* Sedikit di bawah z-index navbar (jika navbar Anda fixed) */
  width: 100%;
}

.announcement-container {
  display: flex;
  width: 100%;
  align-items: center;
}

.announcement-label {
  background: #cc3333; /* Hijau islami/pesantren */
  color: white;
  padding: 0 15px;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 3px 0 10px rgba(0,0,0,0.1);
}

.announcement-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.announcement-content p {
  display: inline-block;
  padding-left: 100%;
  margin: 0;
  color: #2c3e50; /* Warna teks gelap agar mudah dibaca */
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 40px;
  white-space: nowrap;
  animation: marquee-opsi1 50s linear infinite; /* Kecepatan jalan teks */
}

.announcement-item {
  display: inline-block;
  padding-right: 150px; /* JARAK antar pengumuman */
  position: relative;
}

.announcement-item:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 70px; /* Letak simbol di tengah jarak (150px / 2) */
  color: var(--gold);
  font-weight: bold;
}

/* Animasi Berjalan */
@keyframes marquee-opsi1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Berhenti saat kursor mouse di atas teks */
.announcement-content:hover p {
  animation-play-state: paused;
  cursor: pointer;
}


/* ─── HERO / VIDEO ─── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-light);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(142,14,14,0.85) 0%, rgba(204,51,51,0.55) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 24px;
  animation: heroFadeIn 1.2s ease both;
}
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.hero-tagline {
  font-size: clamp(0.65rem, 1.4vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.9;
  white-space: nowrap;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.88;
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.5); }
.btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); border-color: var(--white); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
.hero-scroll svg { width: 20px; height: 20px; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--primary-pale); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.stat-number .plus { color: var(--gold); }
.stat-label { font-size: 0.78rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* ─── SECTION TITLES ─── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title span { color: var(--primary); }
.section-desc { color: var(--text-light); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.divider-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 16px auto 0;
  max-width: 200px;
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.divider-ornament span { color: var(--gold); font-size: 1.1rem; }

/* ─── LEMBAGA CARDS ─── */
.lembaga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lembaga-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.lembaga-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lembaga-card-header {
  padding: 36px 28px 28px;
  position: relative;
  overflow: hidden;
}
.lembaga-card-header::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.12;
}
.card-ponpes .lembaga-card-header { background: linear-gradient(135deg, #8e0e0e, #cc3333); }
.card-ponpes .lembaga-card-header::before { background: var(--white); }
.card-mts .lembaga-card-header { background: linear-gradient(135deg, #8e0e0e, #d32f2f); }
.card-mts .lembaga-card-header::before { background: var(--white); }
.card-ma .lembaga-card-header { background: linear-gradient(135deg, #7d6608, #c9a84c); }
.card-ma .lembaga-card-header::before { background: var(--white); }
.lembaga-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.lembaga-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}
.lembaga-card-header p { font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.lembaga-card-body { padding: 24px 28px 28px; }
.lembaga-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.lembaga-meta-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-mid); }
.lembaga-meta-icon { font-size: 0.9rem; margin-top: 1px; }
.lembaga-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.card-ponpes .lembaga-link { color: var(--primary); }
.card-mts .lembaga-link { color: var(--green); }
.card-ma .lembaga-link { color: var(--gold-dark); }
.lembaga-link:hover { gap: 10px; }

/* ─── VIDEO PROFIL ─── */
.video-section { background: linear-gradient(135deg, var(--primary) 0%, #3d0000 100%); position: relative; overflow: hidden; }
.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0L80 12v2L54 40h-2zm4 0L80 16v2L58 40h-2zm4 0L80 20v2L62 40h-2zm4 0L80 24v2L66 40h-2zm4 0L80 28v2L70 40h-2zm4 0L80 32v2L74 40h-2zm4 0L80 36v2L78 40h-2zm4 0L80 40v0h-2L78 38h2z'/%3E%3C/g%3E%3C/svg%3E");
}
.video-inner { position: relative; z-index: 1; }
.video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--gold), 0 0 0 8px rgba(201,168,76,0.3);
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #000;
}
.video-container iframe { width: 100%; height: 100%; border: none; }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(142,14,14,0.4);
  transition: var(--transition);
}
.video-play-btn:hover { background: rgba(142,14,14,0.2); }
.play-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.play-circle svg { width: 28px; height: 28px; color: var(--primary); margin-left: 4px; }
.video-play-btn:hover .play-circle { transform: scale(1.1); background: var(--white); }

/* ─── BERITA/ARTIKEL ─── */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.news-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-featured:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-featured-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.news-featured-body { padding: 28px; }
.news-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.cat-pesantren { background: #ffeaea; color: #8e0e0e; }
.cat-mts { background: #fce4ec; color: #c62828; }
.cat-ma { background: #fef3c7; color: #92400e; }
.cat-umum { background: #f3e8ff; color: #6b21a8; }
.news-featured-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}
.news-featured-body p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 16px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 0.78rem; color: var(--text-light); }
.news-meta span { display: flex; align-items: center; gap: 4px; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.news-item-thumb {
  width: 72px; height: 72px;
  border-radius: 8px;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item-content h4 { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; margin-bottom: 6px; }
.news-item-content .news-meta { margin-top: 4px; }

/* ─── GALERI ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-pale), #ffcdd2);
  transition: var(--transition);
}
.gallery-item:first-child .gallery-item-inner { font-size: 5rem; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(142,14,14,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.82rem; font-weight: 500; }
.gallery-item:hover .gallery-item-inner { transform: scale(1.05); }

/* ─── FASILITAS ─── */
.fasilitas-section { background: linear-gradient(to bottom, var(--cream), var(--white)); }
.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fasilitas-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.fasilitas-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.fasilitas-card:hover::before { transform: scaleX(1); }
.fasilitas-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fasilitas-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.fasilitas-card:hover .fasilitas-icon-wrap { background: var(--primary-light); transform: scale(1.05); }
.fasilitas-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.fasilitas-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ─── TESTIMONI ─── */
.testimoni-section { background: var(--primary-light); position: relative; overflow: hidden; }
.testimoni-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}
.testimoni-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.testimoni-inner { position: relative; z-index: 1; }
.testimoni-section .section-title { color: var(--white); }
.testimoni-section .section-desc { color: rgba(255,255,255,0.7); }
.testimoni-section .section-eyebrow { background: rgba(201,168,76,0.2); color: var(--gold-light); }
.testimoni-slider { overflow: hidden; }
.testimoni-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimoni-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-width: calc(33.33% - 16px);
  flex-shrink: 0;
}
.testimoni-quote {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.testimoni-text {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimoni-author { display: flex; align-items: center; gap: 12px; }
.testimoni-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.testimoni-name { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.testimoni-role { font-size: 0.75rem; color: var(--gold-light); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ─── SEBARAN LULUSAN ─── */
.sebaran-section { background: var(--white); }
.sebaran-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sebaran-visual {
  position: relative;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.sebaran-map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-pale), #ffcdd2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 2px dashed var(--border);
  flex-direction: column;
  gap: 12px;
}
.sebaran-map-placeholder p { font-size: 0.85rem; color: var(--text-light); }
.sebaran-list { display: flex; flex-direction: column; gap: 16px; }
.sebaran-item { display: flex; align-items: center; gap: 16px; }
.sebaran-rank {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #ffeaea; color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sebaran-bar-wrap { flex: 1; }
.sebaran-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; display: flex; justify-content: space-between; }
.sebaran-label span { color: var(--text-light); font-weight: 400; font-size: 0.8rem; }
.sebaran-bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.sebaran-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }

/* ─── FOOTER ─── */
.footer {
  background: linear-gradient(135deg, #1a0000, #2d0000);
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-title { color: var(--gold-light); font-size: 1.3rem; }
.footer-brand .logo-subtitle { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; margin: 16px 0 20px; color: rgba(255,255,255,0.6); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a, .footer-contact span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.6); text-decoration: none;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--gold-light); }
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-links a::before { content: '→'; font-size: 0.7rem; color: var(--gold); opacity: 0; transition: var(--transition); }
.footer-links a:hover::before { opacity: 1; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

/* ─── MODAL LOGIN / ARTIKEL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--primary); }
.modal-close {
  width: 32px; height: 32px;
  border: none;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  transition: var(--transition);
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-body { padding: 0 28px 28px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-pale); }
.form-input.error { border-color: #ef4444; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23718096' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 100px; }
.btn-block { width: 100%; justify-content: center; }
.form-message { font-size: 0.8rem; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; display: none; }
.form-message.error { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; display: block; }
.form-message.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; display: block; }

/* ─── ADMIN PANEL ─── */
.admin-panel {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 3000;
  display: none;
  flex-direction: column;
}
.admin-panel.open { display: flex; }
.admin-header {
  background: var(--primary-light);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.admin-header h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.admin-header-right { display: flex; align-items: center; gap: 12px; }
.admin-user { font-size: 0.82rem; opacity: 0.8; }
.btn-sm { padding: 6px 14px; font-size: 0.78rem; }
.admin-body { display: flex; flex: 1; overflow: hidden; }
.admin-sidebar {
  width: 220px;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  flex-shrink: 0;
  overflow-y: auto;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  cursor: pointer;
  font-size: 0.87rem;
  color: var(--text-mid);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { background: #ffeaea; color: var(--primary); }
.admin-nav-item.active { color: var(--primary); background: var(--primary-pale); border-left-color: var(--primary); font-weight: 600; }
.admin-content { flex: 1; overflow-y: auto; padding: 28px; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-table th { background: var(--primary-light); color: var(--white); padding: 12px 16px; text-align: left; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.article-table td { padding: 12px 16px; font-size: 0.85rem; color: var(--text-mid); border-bottom: 1px solid var(--border); vertical-align: middle; }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:hover td { background: var(--primary-pale); }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}
.badge-green { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.action-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.btn-edit { background: #ffeaea; color: var(--primary); }
.btn-edit:hover { background: var(--primary-light); color: var(--white); }
.btn-del { background: #fee2e2; color: #ef4444; }
.btn-del:hover { background: #ef4444; color: var(--white); }

/* ─── PAGE SECTIONS ─── */
.page-hero {
  background: linear-gradient(135deg, var(--primary), #3d0000);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ─── PROFIL ─── */
.profil-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.profil-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-pale), #ffcdd2);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative;
}
.profil-img::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 80%; height: 80%;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.profil-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.profil-text p { color: var(--text-mid); margin-bottom: 14px; font-size: 0.95rem; line-height: 1.8; }
.profil-features { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.profil-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--text-mid); }
.profil-feature-icon { color: var(--green); font-size: 1rem; margin-top: 1px; }

/* ─── RESPONSIVE ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 110px;
  background: var(--white);
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1rem; padding: 12px 16px; border-radius: 10px; }
.mobile-menu .nav-cta { text-align: center; margin: 8px 0 0; }

@media (max-width: 1024px) {
  .lembaga-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fasilitas-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 180px); }
  .gallery-item:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .subdomain-bar-left span { display: none; }
  .subdomain-link { padding: 0 10px; font-size: 0.7rem; }
  nav { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .lembaga-grid { grid-template-columns: 1fr; }
  .fasilitas-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 160px); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .testimoni-card { min-width: calc(100% - 0px); }
  .sebaran-content { grid-template-columns: 1fr; }
  .sebaran-visual { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .profil-content { grid-template-columns: 1fr; }
  .profil-img::after { display: none; }
  .section { padding: 56px 0; }
  .admin-body { flex-direction: column; }
  .admin-sidebar { width: 100%; max-height: 200px; }
 
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item { height: 140px; }
  .gallery-item:first-child { grid-column: span 2; height: 180px; }
  
}

/* ─── UTILITIES ─── */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 500;
  font-size: 1rem;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ─── LOADING ─── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary-light);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: 'Amiri', serif; font-size: 2.5rem; color: var(--gold); }
.loader-text { font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 0.15em; text-transform: uppercase; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; }
.loader-fill { height: 100%; width: 0; background: var(--gold); border-radius: 2px; animation: load 2s ease forwards; }
@keyframes load { to { width: 100%; } }

/* ─── ARTIKEL DETAIL ─── */
.artikel-detail { max-width: 800px; margin: 0 auto; }
.artikel-detail img { width: 100%; border-radius: var(--radius); margin: 20px 0; }
.artikel-detail p { margin-bottom: 14px; color: var(--text-mid); line-height: 1.85; }
.artikel-detail h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin: 24px 0 10px; color: var(--primary); }


/* ─── SUBDOMAIN HP ─── */
/* TARUH DI PALING BAWAH FILE STYLE.CSS 
   Agar tidak ditimpa oleh kode lain di atasnya
*/

@media screen and (max-width: 768px) {
    /* 1. Paksa hilangkan bagian kiri (sub-lembaga) */
    .subdomain-bar-left {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* 2. Pastikan container tidak menyisakan ruang kosong di kiri */
    .subdomain-bar .container {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* 3. Atur bagian kanan agar memenuhi lebar dan berada di tengah */
    .subdomain-bar-right {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important; /* Jarak antar tombol */
        margin: 0 auto !important;
    }
}

<style>
  /* Style Tambahan untuk Fitur Search & Pagination */
  #newsSearchInput:focus {
    border-color: #b71c1c !important; /* Warna hijau Assalam saat di-klik */
    box-shadow: 0 6px 15px rgba(17, 67, 49, 0.1) !important;
  }

  .page-btn {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .page-btn:hover:not(:disabled) {
    background: #b71c1c;
    color: #fff;
    border-color: #b71c1c;
  }

  .page-btn.active {
    background: #b71c1c;
    color: #fff;
    border-color: #b71c1c;
    cursor: default;
  }

  .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
</style>