/* NAVBAR */
.navbar-custom { background-color: #0e4400; }
.navbar-brand img {
  width: 50px;
  height: 50px;
  background: white;
  padding: 4px;
  border-radius: 8px;
}
.navbar-brand .school-name {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1;
  color: white;
}
.navbar-brand .school-address {
  font-size: 0.75rem;
  opacity: 0.9;
  color: white;
}
.navbar .nav-link {
  color: #ffffff !important;
  font-size: 1rem;
  padding: 6px 11px !important;
}
.navbar .nav-link:hover {
  background-color: rgba(255,255,255,0.15);
  border-radius: 10px;
}
.navbar .nav-link.active {
  background-color: #ffffff;
  color: #0e4400 !important;
  border-radius: 10px;
}

/* ========== DROPDOWN - UDAH DI LOCK 100% ========== */
.dropdown-menu { 
  background-color: #0d5f2a !important; /* BACKGROUND IJO */
  border: none; 
} 
.dropdown-menu .dropdown-item { 
  color: #fff !important; /* TEKS PUTIH */
}
.dropdown-menu .dropdown-item:hover, 
.dropdown-menu .dropdown-item:focus { 
  background-color: #0a4a22 !important; /* HOVER IJO LEBIH TUA */
  color: #fff !important; 
}
.dropdown-menu .dropdown-item.active, 
.dropdown-menu .dropdown-item:active { 
  background-color: #1e3a8a !important;
  color: #fff !important; 
}
/* ========== SELESAI DROPDOWN ========== */

.hero-section {
  position: relative;
  background: url('../gambar/depan.jpeg') center/cover no-repeat; /* TAMBAH ../gambar/ */
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-bottom: 100px;
  color: white;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 68, 0, 0.6), rgba(0, 0, 0, 0.5));
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.btn-selengkapnya {
  background-color: #1e3a8a;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  color: white;
}
.btn-selengkapnya:hover { background-color: #166534; color: white; }

.sambutan-section {
  margin-top: -90px; 
  position: relative;
  padding-bottom: 40px;
  z-index: 3;
}
.sambutan-card {
  background: white;
  border-radius: 20px;
  padding: 30px 35px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.foto-kepsek {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #0e4400;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.nama-kepsek { font-size: 1.15rem; color: #666; font-weight: 600; margin-bottom: 8px; }
.teks-sambutan { 
  color: #444; 
  line-height: 1.7; 
  font-size: 1rem; 
  text-align: justify;
}
.teks-sambutan p { margin-bottom: 12px; }

.statistik-box {
  border-left: 1px solid #e0e0e0;
  padding-left: 20px;
  height: 100%;
}
.angka-statistik {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0e4400;
  line-height: 1;
}
.label-statistik {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* TENTANG KAMI */
.section-padding { padding: 30px; }
.section-title { 
  color: #0e4400; 
  font-weight: 700; 
  font-size: 2.5rem; 
  text-align: center; 
  margin-bottom: 20px; 
}
.section-title::after { 
  content: ''; width: 80px; 
  height: 4px; 
  background: #0a5779; 
  display: block; 
  margin: 15px auto 0; 
}
.profil-singkat { background: #f8fafc; }
.profil-text-box { 
  background: white; 
  border-radius: 20px; 
  padding: 30px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto; 
}
.profil-text-box p { 
  color: #444; 
  font-size: 1.1rem; 
  line-height: 1.8; 
  margin-bottom: 25px; 
  text-align: justify; 
}
.btn-selengkapnya-profil { 
  background-color: #1e3a8a; 
  color: white; 
  border-radius: 50px; 
  padding: 12px 30px; 
  font-weight: 600; 
  text-decoration: none; 
  display: inline-block; 
  transition: all 0.3s ease; 
}
.btn-selengkapnya-profil:hover { background-color: #166534; color: white; transform: translateY(-2px); }

/* ========== BERITA DI BERANDA ========== */
.berita-card-home {
  background: white; 
  border-radius: 16px; 
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,87,121,0.08); 
  transition: .3s;
  height: 100%; 
  display: flex; 
  flex-direction: column;
  border-top: 4px solid #0a5779; /* GARIS ATAS BIRU SAMA KYK BERITA */
}
.berita-card-home:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 30px rgba(10,87,121,0.18); 
  border-top-color: #f97316; /* HOVER JADI ORANGE */
}
.berita-img-home { 
  width: 100%; 
  height: 180px; 
  object-fit: cover; 
  transition: transform 0.4s ease; 
}
.berita-card-home:hover .berita-img-home { transform: scale(1.05); }
.berita-body-home { 
  padding: 18px; 
  display: flex; 
  flex-direction: column; 
  flex-grow: 1; 
}
.berita-tanggal-home { 
  font-size: 0.8rem; 
  color: #0a5779; 
  font-weight: 700; 
  margin-bottom: 8px; 
}
.berita-title-home { 
  font-size: 1rem; 
  font-weight: 700; 
  color: #1e293b; 
  margin-bottom: 10px; 
  line-height: 1.4; 
  flex-grow: 1;
}
.btn-lihat-berita {
  display: inline-block; 
  padding: 8px 18px; 
  border-radius: 50px;
  background: #f97316; /* ORANGE */
  color: white; 
  font-size: 0.85rem; 
  font-weight: 700;
  text-decoration: none; 
  transition: all 0.3s; 
  align-self: flex-start; 
  border: none; 
}
.btn-lihat-berita:hover { 
  background: #ea580c; 
  color: white; 
  transform: scale(1.05); 
}

/* JADWAL PEMBELAJARAN */
.jadwal-card-new{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,.06);
  transition:.3s;
  height:100%;
  border:1px solid #e5e7eb;
}
.jadwal-card-new:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(14,68,0,.12);
}
.jadwal-header{
  color:#fff;
  font-weight:700;
  font-size:1.05rem;
  padding:12px 16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.jadwal-list{
  list-style:none;
  padding:16px;
  margin:0;
  font-size:0.92rem;
}
.jadwal-list li{
  display: flex;
  align-items: flex-start; 
  gap: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
  color:#374151;
}
.jadwal-list li span{
  font-weight:700;
  color:#0e4400;
  flex-shrink: 0; 
  width: 95px;
  white-space: nowrap;
}

/* FOOTER 4 KOLOM */
footer {
  background: linear-gradient(180deg, #0a2f00 0%, #0e4400 100%); 
  color:#fff; 
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; 
  font-size: 0.9rem; 
  padding: 45px 0 0; 
}
.footer-inner {
  padding-left: 40px; 
  padding-right: 40px; 
  padding-bottom: 40px;
}
.footer-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 5px;
}
.footer-link:hover {
  color: #4ade80;
  padding-left: 4px; 
}
.footer-link i {
  font-size: 0.9rem;
  width: 12px;
}
.footer-copyright {
  border-top:1px solid rgba(255,255,255,.15); 
  color:#d1fae5; 
  font-size:0.85rem;
  padding: 12px 40px; 
  text-align: center;
}

/* ========== TOMBOL HAMBURGER BARU ========== */
.navbar-toggler {
  background-color: white !important; /* KOTAKNYA PUTIH */
  border: 2px solid white !important; 
  border-radius: 8px;
  padding: 6px 10px;
}
.navbar-toggler:focus {
  box-shadow: none !important; /* HILANGIN BAYANGAN BIRU */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f97316' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; 
  /* %23f97316 = KODE WARNA ORANGE */
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-section { padding-bottom: 120px; }
  .foto-kepsek { width: 120px; height: 120px; }
  .statistik-box { border-left: none; border-top: 2px solid #e0e0e0; padding-left: 0; padding-top: 25px; margin-top: 25px; }
  .footer-inner, .footer-copyright { padding-left: 20px; padding-right: 20px; } 
}

/* ========== CSS KHUS SEJARAH ========== */
.section-padding { padding: 30px 0; }
.section-title { 
  color: #0e4400; 
  font-weight: 700; 
  font-size: 2.5rem; 
  text-align: center; 
  margin-bottom: 20px; 
}
.section-title::after { 
  content: ''; width: 80px; 
  height: 4px; 
  background: #0a5779; 
  display: block; 
  margin: 15px auto 0; 
}
.sejarah-hero { background: #f8fafc; } 
.foto-sejarah {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 5px solid white;
}
.label-foto {
  text-align: center;
  font-weight: 600;
  color: #0e4400;
  margin-top: 10px;
  font-size: 0.95rem;
}
.artikel-sejarah { 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 0 15px;
}
.artikel-sejarah p { 
  color: #444; 
  font-size: 1.05rem; 
  line-height: 1.8; 
  margin-bottom: 20px; 
  text-align: justify; 
}
/* TOMBOL NAVIGASI BAWAH */
.btn-nav-sejarah {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0e4400;
}
.btn-nav-prev {
  background: white;
  color: #0e4400;
}
.btn-nav-prev:hover {
  background: #1e3a8a;
  color: white;
}
.btn-nav-next {
  background: #0e4400;
  color: white;
}
.btn-nav-next:hover {
  background: #166534;
  border-color: #166534;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .foto-sejarah { height: 220px; }
  .btn-nav-sejarah { width: 100%; justify-content: center; }
}

/* ========== CSS KHUS STACKED VISIMISI ========== */
.profil-bg { background: #f8fafc; }

/* STACKED CARD KEBAWAH */
.vmk-stack {
  display: flex;
  flex-direction: column;
  gap: 10px; /* JARAK ANTAR BOX */
}
.vmk-card {
  background: white;
  border-radius: 20px;
  padding: 15px 25px;
  box-shadow: 0 8px 12px rgba(0,0,0,0.06);
  border-left: 6px solid #1e3a8a; /* UDAH AKU GANTI JADI IJO BIAR KONSISTEN */
  transition: .3s;
  display: flex;
  gap: 25px;
  align-items: flex-start;
}
.vmk-card:hover {
  transform: translateX(8px); /* GESER KAN DIKIT PAS HOVER */
  box-shadow: 0 12px 30px rgba(14,68,0,0.12);
}
.vmk-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: #e8f5e9;
  color: #0e4400;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.vmk-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0e4400;
  margin-bottom: 12px;
}
.vmk-text {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}
.vmk-text ul { padding-left: 20px; margin: 0; }
.vmk-text li { margin-bottom: 8px; }

@media (max-width: 768px) {
  .vmk-card { flex-direction: column; text-align: center; padding: 30px; }
  .vmk-icon { margin: 0 auto; }
}

/* ========== KHUS FASILITAS DOANG - UDAH DIKUNCI ========== */
.fasilitas-page .fasilitas-bg { background: #f8fafc; }

.fasilitas-page .fasilitas-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: .3s;
  height: 100%;
  border-bottom: 5px solid #1e3a8a;
}
.fasilitas-page .fasilitas-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14,68,0,0.15);
}
.fasilitas-page .fasilitas-img-wrapper {
  overflow: hidden;
  height: 240px;
}
.fasilitas-page .fasilitas-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fasilitas-page .fasilitas-card:hover .fasilitas-img {
  transform: scale(1.1);
}
.fasilitas-page .fasilitas-body { padding: 25px 30px; }
.fasilitas-page .fasilitas-icon { color: #0e4400; font-size: 1.5rem; margin-right: 10px; }
.fasilitas-page .fasilitas-title { font-size: 1.3rem; font-weight: 700; color: #0e4400; margin-bottom: 10px; display: flex; align-items: center; }
.fasilitas-page .fasilitas-text { color: #555; font-size: 1rem; line-height: 1.7; margin: 0; }

.fasilitas-page .section-title::after {
  margin: 15px auto 40px; /* JARAK BAWAH LEBIH JAUH */
}
.fasilitas-page .btn-nav-sejarah {
  padding: 14px 35px;
  font-size: 1.05rem;
  background: #0e4400;
  color: white;
  box-shadow: 0 4px 15px rgba(14,68,0,0.2);
}
.fasilitas-page .btn-nav-sejarah:hover { 
  background: #166534; 
  border-color: #166534; 
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14,68,0,0.3);
}

@media (max-width: 768px) {
  .fasilitas-page .fasilitas-img-wrapper { height: 200px; }
}

/* ========== KHUS GURU DOANG - UDAH DIKUNCI ========== */
.guru-page .guru-bg { background: #f8fafc; }

.guru-page .section-title::after {
  margin: 15px auto 40px; /* JARAK BAWAH LEBIH JAUH */
}

/* CARD KEPSEK TENGAH */
.guru-page .kepsek-wrapper {
  max-width: 600px;
  margin: 0 auto 50px;
}
.guru-page .kepsek-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-top: 5px solid #1e3a8a;
  transition: .3s;
}
.guru-page .kepsek-card:hover { transform: translateY(-5px); }
.guru-page .foto-kepsek-guru {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #0e4400;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}
.guru-page .nama-kepsek-guru { font-size: 1.5rem; font-weight: 700; color: #0e4400; margin-bottom: 5px; }
.guru-page .jabatan-kepsek { font-size: 1rem; color: #1e3a8a; font-weight: 600; margin-bottom: 15px; }
.guru-page .data-kepsek { font-size: 0.9rem; color: #555; margin: 5px 0; }
.guru-page .data-kepsek i { color: #0e4400; width: 18px; }
.guru-page .quote-kepsek { font-style: italic; color: #444; }

/* GRID GURU 4 + 4 */
.guru-page .guru-card {
  background: white;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: .3s;
  height: 100%;
}
.guru-page .guru-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14,68,0,0.12);
}
.guru-page .foto-guru {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e0e0e0;
  margin-bottom: 15px;
  transition: .3s;
}
.guru-page .guru-card:hover .foto-guru {
  border-color: #1e3a8a;
  transform: scale(1.05);
}
.guru-page .nama-guru { font-size: 1.1rem; font-weight: 700; color: #0e4400; margin-bottom: 8px; }
.guru-page .jabatan-guru { font-size: 0.9rem; color: #666; font-weight: 600; margin-bottom: 12px; }
.guru-page .data-guru { font-size: 0.85rem; color: #555; margin: 4px 0; text-align: left; }
.guru-page .data-guru i { color: #0e4400; width: 16px; margin-right: 5px; }
.guru-page .data-guru-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .guru-page .foto-kepsek-guru { width: 160px; height: 160px; }
  .guru-page .kepsek-card { padding: 30px 20px; }
}

/* =======================================
   ========== KHUS HALAMAN KEGIATAN ==========
   ======================================= */

.kegiatan-page html {
  scroll-behavior: smooth;
}

/* BACKGROUND */
.kegiatan-page .kegiatan-bg {
  background: #f8fafc;
}

.kegiatan-page .lomba-bg {
  background: white;
}

/* JUDUL */
.kegiatan-page .section-title::after {
  margin: 15px auto 40px;
}

/* CARD EKSKUL 2 KOLOM */
.kegiatan-page .kegiatan-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: .3s;
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}

.kegiatan-page .kegiatan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14,68,0,0.15);
}

.kegiatan-page .kegiatan-img-wrapper {
  overflow: hidden;
  height: 240px;
}

.kegiatan-page .kegiatan-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kegiatan-page .kegiatan-card:hover .kegiatan-img {
  transform: scale(1.1);
}

.kegiatan-page .kegiatan-body {
  padding: 25px 30px;
}

.kegiatan-page .kegiatan-icon {
  color: #0e4400;
  font-size: 1.5rem;
  margin-right: 10px;
}

.kegiatan-page .kegiatan-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0e4400;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.kegiatan-page .kegiatan-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ========== KHUS CARD LOMBA 4 KOLOM ========== */
.kegiatan-page .lomba-card .kegiatan-img-wrapper {
  height: 200px;
} 

.kegiatan-page .lomba-card .kegiatan-body {
  padding: 10px;
  text-align: center;
}

.kegiatan-page .lomba-card .kegiatan-title {
  font-size: 1.15rem;
  justify-content: center;
  margin-bottom: 15px;
}

/* TOMBOL SELENGKAPNYA */
.kegiatan-page .btn-selengkapnya {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: #f97316;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.kegiatan-page .btn-selengkapnya:hover {
  background: #f97316;
  color: white;
}

.kegiatan-page .btn-selengkapnya i {
  margin-left: 5px;
  font-size: 0.8rem;
}

/* RESPONSIVE HP */
@media (max-width: 768px) {
  .kegiatan-page .kegiatan-img-wrapper {
    height: 200px;
  }
  
  .kegiatan-page .lomba-card .kegiatan-img-wrapper {
    height: 180px;
  }
}

/* =======================================
   ========== KHUS HALAMAN DETAIL LOMBA ==========
   ======================================= */

.lomba-detail-page html {
  scroll-behavior: smooth;
}

.lomba-detail-page .lomba-detail-bg {
  background: #f8fafc;
}

.lomba-detail-page .section-title::after {
  margin: 15px auto 40px;
}

.lomba-detail-page .lomba-foto {
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.lomba-detail-page .lomba-info-box {
  max-width: 800px;
  margin: 0 auto 30px;
  background: white;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.lomba-detail-page .lomba-info-box p {
  margin: 0;
  font-size: 1.1rem;
  color: #0e4400;
  font-weight: 600;
}

.lomba-detail-page .lomba-info-box i {
  margin-right: 8px;
}

.lomba-detail-page .lomba-text {
  max-width: 800px;
  margin: 0 auto;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
}

.lomba-detail-page .lomba-text p {
  margin-bottom: 1rem;
}

.lomba-detail-page .btn-kembali {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  background: #1e3a8a;
  color: white;
  transition: all 0.3s;
}

.lomba-detail-page .btn-kembali:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .lomba-detail-page .section-title {
    font-size: 2rem;
  }
}

/* =======================================
   ========== KHUS HALAMAN BERITA ==========
   ======================================= */
.berita-page {
  --warna-utama: #0a5779;
  --warna-aksen: #f06c0e;
  --warna-bg: #f0f9ff;
}

.berita-page .berita-bg { background: var(--warna-bg); }
.berita-page .section-title::after { background: var(--warna-aksen); border-radius: 10px; }

.berita-page .berita-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,87,121,0.08); transition: .3s;
  height: 100%; display: flex; flex-direction: column;
  border-top: 5px solid var(--warna-utama);
}
.berita-page .berita-card:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(10,87,121,0.18); border-top-color: var(--warna-aksen); }
.berita-page .berita-img-wrapper { overflow: hidden; height: 200px; }
.berita-page .berita-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.berita-page .berita-card:hover .berita-img { transform: scale(1.08); }
.berita-page .berita-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.berita-page .berita-tanggal { font-size: 0.8rem; color: var(--warna-utama); font-weight: 700; margin-bottom: 8px; background: #e0f2fe; padding: 4px 10px; border-radius: 20px; display: inline-block; }
.berita-page .berita-title { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; line-height: 1.4; }
.berita-page .berita-text { color: #475569; font-size: 0.92rem; line-height: 1.6; margin: 0 0 15px 0; flex-grow: 1; }

.berita-page .btn-selengkapnya {
  display: inline-block; padding: 9px 22px; border-radius: 50px;
  background: var(--warna-aksen); color: white; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; transition: all 0.3s; align-self: flex-start; border: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.berita-page .btn-selengkapnya:hover { background: #032546; color: white; transform: scale(1.05); }

.berita-page .modal-content { border-radius: 20px; border: none; }
.berita-page .modal-header { background: #0e4400; color: white; border-top-left-radius: 20px; border-top-right-radius: 20px; }
.berita-page .modal-body { padding: 25px 30px; text-align: center; }
.berita-page .modal-body img { width: 100%; max-width: 380px; height: auto; border-radius: 15px; margin: 0 auto 20px auto; display: block; }
.berita-page .modal-body p { color: #333; line-height: 1.8; text-align: left; margin: 0; }

@media (max-width: 768px) {
  .berita-page .berita-img-wrapper { height: 180px; }
  .berita-page .modal-body { padding: 20px; }
}

/* =======================================
   ========== KHUS HALAMAN GALERI ==========
   ======================================= */
.galeri-page {
  --warna-utama: #7c3aed;
  --warna-aksen: #f97316;
  --warna-bg: #faf5ff;
}

.galeri-page .galeri-bg { background: var(--warna-bg); }
.galeri-page .section-title::after { background: var(--warna-aksen); border-radius: 10px; }

.galeri-page .sub-section-title {
  color: var(--warna-utama);
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  margin: 60px 0 30px 0;
  position: relative;
}
.galeri-page .sub-section-title::before,
.galeri-page .sub-section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--warna-aksen);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px;
}
.galeri-page .sub-section-title::before { left: calc(50% - 180px); }
.galeri-page .sub-section-title::after { right: calc(50% - 180px); }

.galeri-page .galeri-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(124,58,237,0.15);
  transition: .4s;
}
.galeri-page .galeri-item:hover { 
  transform: translateY(-12px) scale(1.03); 
  box-shadow: 0 15px 35px rgba(236,72,153,0.25); 
}
.galeri-page .galeri-img-wrapper { overflow: hidden; height: 240px; }
.galeri-page .galeri-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galeri-page .galeri-item:hover .galeri-img { transform: scale(1.15); }

.galeri-page .galeri-caption {
  background: white;
  padding: 15px;
  text-align: center;
}
.galeri-page .galeri-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--warna-utama);
  margin: 0;
}
.galeri-page .galeri-item:hover .galeri-title {
  color: var(--warna-aksen);
}

@media (max-width: 768px) {
  .galeri-page .galeri-img-wrapper { height: 200px; }
  .galeri-page .section-title { font-size: 2.2rem; }
  .galeri-page .sub-section-title::before, .galeri-page .sub-section-title::after { display: none; }
}

/* =======================================
   ========== KHUS HALAMAN KONTAK ==========
   ======================================= */
.kontak-page .kontak-bg { background: #f8fafc; }

.kontak-page .kontak-card {
  background: white; border-radius: 20px; padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06); margin-bottom: 30px;
}
.kontak-page .kontak-item {
  display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px;
}
.kontak-page .kontak-icon {
  width: 60px; height: 60px; background: #e6f4ea; color: #0e4400;
  border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.kontak-page .kontak-text h4 { font-size: 1.2rem; font-weight: 700; color: #0e4400; margin-bottom: 5px; }
.kontak-page .kontak-text p, .kontak-page .kontak-text a { font-size: 1rem; color: #555; margin: 0; text-decoration: none; }
.kontak-page .kontak-text a:hover { color: #0e4400; }
.kontak-page .maps-wrapper { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.kontak-page .maps-wrapper iframe { width: 100%; height: 450px; border: 0; display: block; }

@media (max-width: 768px) {
  .kontak-page .kontak-card { padding: 25px; }
  .kontak-page .maps-wrapper iframe { height: 300px; }
}