:root {
  /* Warna Primer dari logo 'alghoffaar.id' */
  --primary-color: #2e8540; /* Hijau Tua Solid */
  /* Warna Sekunder dari aksen logo */
  --secondary-color: #00a99d; /* Toska/Hijau Muda */
  /* Warna Aksen dari aksen logo */
  --accent-color: #f37021; /* Oranye */
  /* Warna Pendukung */
  --light-color: #f1f8e9;
  --dark-color: #263238;
  --text-color: #333;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.3;
  background-color: #f9f9f9;
}

/* Header Styles */
header {
  background: var(--white);
  /* color: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  margin-right: 15px;
}

/* Fallback jika logo bukan gambar, warnanya akan mengikuti warna teks utama */
.logo a {
    color: var(--text-color);
}

.logo-text h1 {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.logo-text p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

/* === MENU UTAMA === */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 1.5rem;
  position: relative;
}

nav ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover, 
nav ul li a.active,
nav .current-menu-item > a {
  border-bottom: 2px solid var(--accent-color);
}

/* === SUBMENU === */
nav ul ul {
  display: none !important; /* Pastikan disembunyikan awalnya */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

nav ul li:hover > ul {
  display: block !important;
}

nav ul ul li {
  margin: 0;
}

nav ul ul li a {
  padding: 0.5rem 1rem;
  display: block;
  color: var(--primary-color);
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

nav ul ul li a:hover {
  background-color: var(--accent-color);
  color: #fff;
}

nav .menu-item-has-children > a::after {
  content: " ▼";
  font-size: 0.6em;
  margin-left: 0.3rem;
}

/* === RESPONSIVE: Mobile View === */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
  }

  nav ul.active {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-container {
    position: relative;
  }

  nav ul li {
    margin-left: 0;
  }

  nav ul ul {
    position: static;
    box-shadow: none;
  }

  nav ul ul li a {
    padding-left: 2rem;
  }

  /* Hapus hover di mobile */
  nav ul li:hover > ul {
    display: none !important;
  }

  /* Tampilkan submenu saat item induk diklik (JS toggle class .open) */
  nav ul li.open > ul {
    display: block !important;
  }
}

/* =========================
   HERO SECTION (FINAL CLEAN)
   ========================= */

.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  margin-top: 82px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

/* Slide */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease-in-out, visibility 0s linear 1.2s;
}

/* Active */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0s;
}

/* Overlay – SATU-SATUNYA */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.75)
  );
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* Typography */
.hero h2 {
  font-family: 'Lato', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

/* Primary */
.cta-primary {
  background: var(--accent-color);
  color: var(--dark-color);
  border: 2px solid var(--accent-color);
}

.cta-primary:hover {
  background: transparent;
  color: var(--white);
}

/* Outline */
.cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-outline:hover {
  background: var(--white);
  color: var(--dark-color);
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 420px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   PAGE TEMPLATE IMPROVEMENT  
   Styling agar lebih rapi, nyaman dibaca, konsisten dengan single post
   ============================================================ */

/* ====== PAGE LAYOUT FIX ====== */

/* Header halaman */
.page-header {
    padding: 3rem 2rem; /* tadinya 5rem, kebangetan tingginya */
    margin-top: 90px;  /* disamakan dengan single post */
    background: var(--light-color);
    text-align: center;
}

.page-header .container {
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Konten halaman */
.page-content {
    padding: 3rem 1.5rem; /* lebih ringan */
}

.page-content .container {
    max-width: 820px; /* biar enak dibaca, sama seperti blog */
    margin: 0 auto;
}

.page-content .entry-content {
    font-size: 1rem;
    line-height: 1.3;
    color: #333;
}

.page-content .entry-content p {
    margin-bottom: 1.5rem;
}

/* Biar gambar di halaman tetap elegan */
.page-content .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 2rem auto;
}


/* Heading di dalam page content */
.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* List */
.page-content .entry-content ul,
.page-content .entry-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-content .entry-content li {
    margin-bottom: 0.5rem;
}

/* Blockquote */
.page-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

/* Table */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
}
.page-content table th,
.page-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
}
.page-content table th {
    background: #f8f8f8;
    font-weight: 600;
}

/* Responsiveness */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1rem 2rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .page-content {
        padding: 3rem 1rem;
    }
}

/* SECTION WRAPPER */
#jadwal-sholat.container {
  text-align: center;
  padding: 2rem 1rem;
}

/* TITLE */
#jadwal-sholat .section-title h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* GRID LAYOUT */
#jadwal-sholat .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 2rem;
}

/* CARD STYLE */
#jadwal-sholat .card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
  text-align: center;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#jadwal-sholat .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* CARD BODY */
#jadwal-sholat .card-body h4 {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

#jadwal-sholat .card-body .time {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

/* FOOTER INFO */
#sholat-location {
  margin-top: 1.5rem !important;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  #jadwal-sholat .grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
  }

  #jadwal-sholat .card {
    padding: 0.8rem 0.3rem;
  }

  #jadwal-sholat .card-body h4 {
    font-size: 1rem;
  }

  #jadwal-sholat .card-body .time {
    font-size: 1.1rem;
  }
}

/* About Section */
.about {
  padding: 2rem 0;
  background-color: linear-gradient(135deg, var(--light-color), #e0e0e0);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  font-family: 'Amiri', serif;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent-color);
  bottom: -10px;
  left: 25%;
}

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

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Programs Section */
.programs {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--light-color), #e0e0e0);
}

.programs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.program-image {
  height: 200px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-content {
  padding: 1.5rem;
}

.program-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
}

/* News Section */
.news {
  padding: 2rem 0;
  background-color: var(--white);
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.news-content h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.testimonial-item {
  background-color: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  margin: 0 auto;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-color);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--light-color), #e0e0e0);
     display: flex;
    flex-direction: column; /* Menyusun elemen anak (judul dan wrapper) secara vertikal */
    align-items: center;   /* Menengahkan semua elemen anak secara horizontal */
    text-align: center;      /* Menengahkan teks di dalam elemen-elemen anak */
    padding: 2rem 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding: 0 2rem;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.contact-item p {
	text-align:left;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.social-media {
  margin-top: 2rem;
}

.social-media h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: left;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.contact-form {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.footer-links h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  background-color: #1a1a1a;
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 3rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #bbb;
  margin: 0;
}
.footer-bottom-nav ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.agenda-table-wrapper {
  margin: 2rem auto;
  max-width: 100%;
  overflow-x: auto; /* kalau tabel lebar */
  background: var(--light-color);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: var(--text-color);
  background: var(--white);
}

.agenda-table th,
.agenda-table td {
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  text-align: left;
}

.agenda-table th {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

.agenda-table tbody tr:nth-child(even) {
  background: var(--light-color);
}

.agenda-table a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}
.agenda-table a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  body.admin-bar header {
      top: 46px;
  }

  nav ul {
    position: fixed;
    top: 66px; /* Adjusted for smaller header */
    left: -100%;
    width: 100%;
    height: calc(100vh - 66px);
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    margin: 1rem 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .about-container, .contact-container {
    grid-template-columns: 1fr;
  }

  .hero {
      margin-top: 66px;
  }
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
.agenda-table thead {
    display: none;
  }

  .agenda-table,
  .agenda-table tbody,
  .agenda-table tr,
  .agenda-table td {
    display: block;
    width: 100%;
  }

  .agenda-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  }

  .agenda-table td {
    padding: 0.75rem;
    text-align: right;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .agenda-table td:last-child {
    border-bottom: none;
  }

  .agenda-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: capitalize;
    position: absolute;
    left: 0.75rem;
    text-align: left;
    color: var(--dark-color);
  }
}
/* ========== DETAIL AGENDA ========== */

.agenda-detail {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
}

.agenda-title {
  color: var(--primary-color);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--secondary-color);
  display: inline-block;
  padding-bottom: 0.4rem;
}

.agenda-thumbnail {
  text-align: center;
  margin-bottom: 1.5rem;
}

.agenda-thumbnail img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.agenda-meta {
  margin-bottom: 2rem;
}

.agenda-meta p {
  margin: 0.5rem 0;
  background: var(--light-color);
  padding: 1rem;
  border-left: 5px solid var(--accent-color);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.agenda-description h2 {
  color: var(--dark-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.agenda-description {
  line-height: 1.7;
  color: var(--text-color);
}

.agenda-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.agenda-back-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.agenda-back-btn:hover {
  background-color: var(--primary-color);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .agenda-detail {
    padding: 1.5rem;
  }

  .agenda-meta p {
    font-size: 0.9rem;
  }

  .agenda-title {
    font-size: 1.5rem;
  }
}

/* Convert table into cards on very small screens */
@media (max-width: 600px) {
  .alghoffaar-agenda-table,
  .alghoffaar-agenda-table thead,
  .alghoffaar-agenda-table tbody,
  .alghoffaar-agenda-table th,
  .alghoffaar-agenda-table td,
  .alghoffaar-agenda-table tr {
    display: block;
    width: 100%;
  }

  .alghoffaar-agenda-table thead {
    display: none;
  }

  .alghoffaar-agenda-table tr {
    margin-bottom: 1rem;
    background: var(--light-color);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .alghoffaar-agenda-table td {
    border: none;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
  }

  .alghoffaar-agenda-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: var(--dark-color);
  }
}

/* ===== DETAIL AGENDA STYLING ===== */
.page-content .agenda-detail {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 2rem;
  margin: 0 auto;
  max-width: 850px;
}

.page-content .agenda-thumbnail {
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-content .agenda-thumbnail img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-content .agenda-meta {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.page-content .agenda-meta p {
  margin: 0.5rem 0;
  color: #333;
  font-size: 0.95rem;
}

.page-content .agenda-description {
  line-height: 1.7;
  color: #333;
}

.page-content .agenda-description h2 {
  color: #000;
  border-bottom: 2px solid #198754;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.agenda-back-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #198754;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.agenda-back-btn:hover {
  background-color: #146c43;
}

/* =======================================
   SINGLE POST WRAPPER
======================================= */
.single-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Header */
.single-header {
    margin-bottom: 1.5rem;
}

.single-header .entry-title {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: .4rem;
}

.single-header .entry-meta {
    font-size: .97rem;
    color: #666;
}

/* Thumbnail */
.single-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem; /* INI YANG KURANG */
}

.single-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* lebih cocok untuk hero image */
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

/* Content */
.single-body .entry-content p {
    margin-bottom: 1.4rem;
    font-size: 1.07rem;
    line-height: 1.3;
    text-align: left;
}

.single-body .entry-content h2,
.single-body .entry-content h3,
.single-body .entry-content h4 {
    margin: 1.8rem 0 1rem;
    line-height: 1.3;
    color: var(--primary-color);
}

/* Tags */
.entry-tags {
    margin-top: 2rem;
    font-size: .95rem;
}

.entry-tags a {
    background: var(--light-color);
    padding: 0.35rem 0.8rem;
    margin-right: 0.4rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-color);
    transition: 0.3s;
}

.entry-tags a:hover {
    background: var(--accent-color);
    color: #fff;
}

/* =======================================
   COMMENT AREA
======================================= */
#comments {
    max-width: 760px;
    margin: 2rem auto;
    padding: 1rem;
}

#comments h3,
#reply-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Comment List */
.comment-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.comment-list li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f7f7f7;
    border-left: 4px solid var(--accent-color);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.comment-meta {
    color: #777;
    font-size: .85rem;
    margin-bottom: 0.8rem;
}

.comment-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Reply Link */
.comment-reply-link {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
}

.comment-reply-link:hover {
    background: var(--secondary-color);
}

/* =======================================
   COMMENT FORM (MATCH CONTACT-FORM)
======================================= */
.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fafafa;
    transition: 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.comment-form .submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--secondary-color);
}

/* Feedback - clean layout */
.feedback { padding: 40px 0; background: #f8f9fa; }
.feedback .container { max-width:1200px; margin:0 auto; padding:0 16px; }

.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items:start; }
@media (max-width:900px){ .feedback-grid{grid-template-columns:1fr} }

.feedback-contact { background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,.04);}
.feedback-form-section { background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,.04);}

.feedback-contact h3, .feedback-form-section h3 { margin-top:0; color: #064a3b; }

.feedback-contact p { margin:8px 0; font-size: 15px; color:#222; }

.alghoffaar-form label { display:block; margin-top:12px; font-weight:600; color:#333; }
.alghoffaar-form input[type="text"],
.alghoffaar-form input[type="email"],
.alghoffaar-form select,
.alghoffaar-form textarea {
    width:100%; padding:10px 12px; border:1px solid #e0e0e0; border-radius:8px; margin-top:6px;
    font-size:15px; box-sizing:border-box;
}
.alghoffaar-form textarea { min-height:120px; resize:vertical; }

.rating-row { display:flex; gap:8px; margin-top:8px; }
.rating-row label { display:inline-flex; align-items:center; gap:6px; background:#fff; padding:6px 10px; border-radius:8px; border:1px solid #eee; cursor:pointer; }
.rating-row input { margin-right:6px; }

.captcha-wrap { margin-top:14px; }

.btn-submit { display:inline-block; margin-top:14px; padding:12px 18px; background:#008f3c; border:none; color:#fff; border-radius:10px; cursor:pointer; font-weight:600; }
.btn-submit:hover { background:#007a33; }

.feedback-result { margin-top:12px; font-weight:600; }

/* Admin table tweaks for readability */
.wrap table.widefat td { vertical-align: middle; word-break: break-word; }

/* ================= Admin Feedback Page ================= */
.feedback-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ccc;
}

.feedback-table th,
.feedback-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.feedback-table th {
    background: #0a3b70;
    color: #fff;
}

/* Buttons */
.feedback-action-btn {
    padding: 5px 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
}

.feedback-reply-btn {
    background: #0073aa;
}

.feedback-reply-btn:hover {
    background: #005c87;
}

.delete-feedback-btn {
    background: #d63638;
}

.delete-feedback-btn:hover {
    background: #ab1e20;
}

/* Reply Popup */
#feedback-reply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.feedback-reply-content {
    background: #fff;
    width: 420px;
    padding: 20px;
    border-radius: 6px;
    margin: 8% auto;
}

.feedback-reply-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
}
.button.disabled {
    background: #ccc !important;
    border-color: #999 !important;
    color: #555 !important;
    pointer-events: none;
}
.replied-label {
    background: #bbb;
    border-color: #888;
    color: #444;
    pointer-events: none;
}
.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.section-footer .btn-outline {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 2px solid var(--accent-color);
  border-radius: 40px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}

.section-footer .btn-outline:hover {
  background: var(--accent-color);
  color: #000;
}

/* ===============================
   FIX: ICON MOBILE TIDAK MUNCUL DI DESKTOP
   =============================== */
@media (min-width: 769px) {
  nav ul li::before,
  nav ul li a::before {
    content: none !important;
    display: none !important;
  }

  .mobile-menu-btn {
    display: none !important;
  }
}
