.berita/* Default (Light Mode) */
body {
  background-color: #fff;
  color: #222;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.card {
  background-color: #fff;
  color: #212121;
}

.card-content h6 {
  color: #212121;
}

/* Dark Mode Variants */
body.dark-mode {
  background-color: #353535;
  color: #fff;
}

body.dark-mode a {
  color: #fff;
}


body.dark nav {
  background-color: #212121;
  color: #fff;
}

/* Hover untuk icon dark mode */
label .material-icons {
  transition: all 0.3s ease;
  cursor: pointer;
}

label:hover .material-icons {
  color: #e27406; /* warna kuning saat hover */
  transform: scale(1.15) rotate(10deg);
}

body.dark-mode .dark-icon {
  color: #fff !important;
}

body.dark-mode nav,
body.dark-mode .collection-header,
body.dark-mode #sekilas-berita .collection-item,
body.dark-mode #bekerjasama .collection-item,
body.dark-mode #hubungi-kami .collection-item {
  background-color: rgba(1, 1, 1, 0.8) !important;
}

body.dark-mode nav a,
body.dark-mode .grey-text,
body.dark-mode .text-darken-3 {
  color: #fff !important;
}

/* Section backgrounds */
body.dark-mode #pilihan,
body.dark-mode #video,
body.dark-mode #contact,
body.dark-mode #bekerjasama,
body.dark-mode #hubungi-kami,
body.dark-mode .collection.with-header,
body.dark-mode .card-panel,
body.dark-mode .white.lighten-3,
body.dark-mode #sekilas-berita .card,
body.dark-mode #sekilas-berita .card-content,
body.dark-mode #sekilas-berita .collection,
body.dark-mode #bekerjasama .collection,
body.dark-mode #hubungi-kami .collection {
  background-color: #353535  !important;
  color: #fff !important;
}

body.dark-mode p {
    color: #fff !important;
    font-weight: 300;
}

/* Berita Utama - Dark Mode */
body.dark-mode #berita h5,
body.dark-mode #berita h6,
body.dark-mode #berita p {
    color: #fff !important;
}


/* Card */
body.dark-mode .card {
  background-color: #353535 ;
  color: #fff;
}
body.dark-mode .card-content h6 {
  color: #fff !important;
}

/* Collection item */
body.dark-mode .collection-item {
  background-color: #333 !important;
  color: #ddd !important;
  border-bottom: 1px solid #353535 !important;
}

body.dark-mode #sekilas-berita .berita-list .collection-item {
    background-color: transparent !important;
}

/* Sekilas Berita detail */
body.dark-mode #sekilas-berita a.btn-small {
  background-color: grey !important;
  color: #fff !important;
}

/* Buttons */
body.dark-mode .btn:hover,
body.dark-mode .btn-small:hover,
body.dark-mode .btn-large:hover,
body.dark-mode .btn-floating:hover {
  background-color: #666 !important;
}

/* Contact section */
body.dark-mode #contact {
  background-color: #2e2e2e !important;
}

body.dark-mode #contact .card-panel {
  background-color: #353535 !important;
}

/* Item Dark Mode Start */
nav .dark-mode-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

/* Switch */
nav .dark-mode-item .switch {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: auto;
  transform: scale(0.8);
  position: relative;
  top: 4px;
  transition: all 0.3s ease; 
}

/* Label Switch */
nav .switch label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  height: auto;
}

nav .switch label i.material-icons {
  display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.3s ease, color 0.3s ease;
 }
  
  nav .switch:hover i.material-icons {
    transform: rotate(20deg) scale(1.15);
    color: #e27406;
  }
  
  /* Tombol Dark Mode di Sidenav */
  .sidenav .switch {
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  /* Icon Dark Mode di Sidenav */
  .sidenav .switch i.material-icons {
    transition: transform 0.3s ease,
    color 0.3s ease,
    text-shadow 0.3s ease;
  }
  
  /* Hover */
  .sidenav .switch:hover i.material-icons {
    color: #b6895b !important;
    transform: rotate(20deg) scale(1.15);
    text-shadow: 0 0 8px rgba(182, 137, 91, 0.6);
  }
  
  /* Saat diklik */
  .sidenav .switch:active i.material-icons {
    transform: rotate(25deg) scale(0.95);
  }

  /* Dark Mode Populer */
.dark-mode .popular-news,
[data-theme="dark"] .popular-news {
    background: #353535;
}

.dark-mode .popular-header,
[data-theme="dark"] .popular-header {
    background: #353535;
    border-right: 1px solid #4a4a4a;
}

.dark-mode .popular-header .label,
[data-theme="dark"] .popular-header .label {
    color: #fff;
}

.dark-mode .ticker-track a,
[data-theme="dark"] .ticker-track a,
.dark-mode .ticker-item a,
[data-theme="dark"] .ticker-item a {
    color: #fff;
    font-weight: 400;
}

.dark-mode .ticker-controls,
[data-theme="dark"] .ticker-controls {
    border-left: 1px solid #4a4a4a;
}

.dark-mode .ticker-controls button,
[data-theme="dark"] .ticker-controls button {
    background: #353535;
}

.dark-mode .ticker-controls button i,
[data-theme="dark"] .ticker-controls button i,
.dark-mode .material-icons,
[data-theme="dark"] .material-icons {
    color: #fff;
}

.dark-mode .ticker-controls button:hover,
[data-theme="dark"] .ticker-controls button:hover {
    background: var(--primary);
}

.dark-mode .ticker-controls button:hover i,
[data-theme="dark"] .ticker-controls button:hover i {
    color: #fff;
}
/* Item Dark Mode End */
  
  /* Search */
  #search-button {
    margin-right: 0;
    padding-right: 0;
}

/* Dark Mode */
nav .dark-mode-item {
    margin-left: 15px; 
}

/* Desktop */
@media (min-width: 992px) {
nav .switch {
transform: scale(0.75);
margin-left: 10px;
position: relative;
top: 5px; 
 }

nav .switch .lever {
width: 30px;
height: 16px;
}

nav .switch .lever:after {
width: 14px;
height: 14px;
}

nav .switch input[type=checkbox]:checked + .lever:after {
left: 15px;
}
}

/* Search Form */
.search-form input {
  padding: 0 10px;
  margin-right: 10px;
}

/* Icons */
.light-icon,
.dark-icon,
nav .switch i.material-icons,
.switch .material-icons {
  font-size: 24px;
  margin: 0 5px;
  vertical-align: middle;
}

/* Youtube link khusus */
body.dark-mode a[href*="youtube.com"] {
  color: #fff !important;
  text-decoration: none;
}

/* Sidenav Dark Mode */
body.dark-mode .sidenav {
  background-color: #3a3a3a !important;
  color: #fff !important;
}

/* Trigger tombol dropdown di dark mode */
body.dark-mode .dropdown-trigger a {
  background-color: #fff !important;
  color: #222 !important;
}

/* Link dan icon di dalam sidenav */
body.dark-mode .sidenav a,
body.dark-mode .sidenav .material-icons,
body.dark-mode .sidenav .dropdown-trigger,
body.dark-mode .sidenav .user-view .name,
body.dark-mode .sidenav .user-view .email {
  color: #fff !important;
}

body.dark-mode .dropdown-content {
  background-color: #fff !important;  
  z-index: 9999 !important;           
}

body.dark-mode .dropdown-content li > a,
body.dark-mode .dropdown-content li > span {
  color: #000 !important;             
}


/* Default (Light Mode) */
#wilayah,
#gallery {
  background-color: #fff;  
  transition: background-color 0.3s ease;
}

/* Dark Mode (Semua layar) */
.dark-mode #berita,
.dark-mode #wilayah,
.dark-mode #gallery {
  background-color: #353535  !important;  
  color: #f5f5f5 !important;
}

/* Judul agar kontras di dark mode */
.dark-mode #berita h4,
.dark-mode #wilayah h4,
.dark-mode #gallery h4 {
  color: #f5f5f5 !important;
}

/* Responsive (Mobile) */
@media (max-width: 600px) {
  .dark-mode #berita,
  .dark-mode #wilayah,
  .dark-mode #gallery {
    background-color: #353535 !important; 
  }
}

/* Default (Light Mode) */
.gallery img {
  margin-bottom: 15px;
  background-color: #f0f0f0; 
  padding: 10px;
}

/* Dark Mode */
body.dark-mode .gallery img {
  background-color: #2e2e2e; 
}

/* Default ukuran switch */
.switch label .lever {
  width: 40px;
  height: 20px;
}

/* Untuk layar kecil (misalnya max-width 600px) */
@media (max-width: 600px) {
  .sidenav .switch label .lever {
    width: 30px;  
    height: 15px;
  }  

  /* Atur ukuran teks label agar proporsional */
  .sidenav .switch label {
    font-size: 0.9rem;
  }

  /* Atur ukuran ikon atau padding jika ada */
  .sidenav .switch {
    transform: scale(0.8); 
    margin-left: 8px;      
  }
}

/* Perbesar di layar lebar */
@media (min-width: 992px) {
  .switch label .lever {
    width: 60px;   
    height: 25px;  
  }

  .switch label .lever:after {
    width: 30px;   
    height: 30px;
    top: -3px;     
  }

  /* Ikon kiri/kanan juga bisa diperbesar */
  .switch label i.material-icons {
    font-size: 25px; 
    vertical-align: middle;
  }
}

/* Tambahkan jarak vertikal */
.switch {
  margin-top: 10px;   
}

/* Perubahan Warna pada model dark */
/* Navbar */
nav .container {
background-color: transparent; 
}

/* Mode dark */
body.dark-mode nav.grey.darken-3 {
background-color: #b6895b !important;
}

body.dark-mode nav .container {
background-color: transparent;
}

/* Button Small */
.btn-small.grey {
  background-color: grey; 
}

/* Card */
.card.grey.darken-1 {
  background-color: grey; 
}

body.dark-mode .card.grey.darken-1 {
  background-color: #a6784d !important;
  color: #fff !important; 
}

/* Floating Button */
.btn-floating.btn-medium.grey.darken-2 {
  background-color: grey; 
}

body.dark-mode .btn-floating.btn-medium.grey.darken-2 {
  background-color: #a6784d !important;
  color: #fff !important; 
}

body.dark-mode .btn-floating.btn-medium.grey.darken-2:hover,
body.dark-mode .btn-floating.btn-medium.grey.darken-2:focus,
body.dark-mode .btn-floating.btn-medium.grey.darken-2:active {
  background-color: #8f6240 !important; 
}

/* Button Default */
.waves-effect.btn.grey {
  background-color: grey; 
}

body.dark-mode .waves-effect.btn.grey {
  background-color: #a6784d !important;
  color: #fff !important;
}

body.dark-mode .waves-effect.btn.grey:hover,
body.dark-mode .waves-effect.btn.grey:focus,
body.dark-mode .waves-effect.btn.grey:active {
  background-color: #8f6240 !important;
}

/* Footer Buttons */
footer .btn-floating.grey {
  background-color: #2e7d32; 
}

body.dark-mode footer .btn-floating.grey{
background-color: grey !important;
color: #fff !important;
}

body.dark-mode footer .btn-floating.grey:hover,
body.dark-mode footer .btn-floating.grey:hover,
body.dark-mode footer .btn-floating.grey:focus,
body.dark-mode footer .btn-floating.grey:active {
background-color: grey !important;
}

/* Footer Background */
footer.grey.darken-3 {
  background-color: #2e7d32; 
}

/* Default tombol (Materialize hijau) */
.btn-small.grey {
  background-color: #4caf50;
}

/* Saat dark mode aktif */
body.dark-mode .btn-small.grey {
  background-color: #8f6240 !important;
}

#darkToggle.dark-mode .btn-small.grey {
  background-color: #8f6240 !important;
}

/* Layar Mobile */
.nav-wrapper .switch {
  display: inline-flex;
  align-items: center;
}

/* icon lebih dekat switch */
.switch label i.material-icons {
  font-size: 28px;      
  margin: 0 1px;        
  vertical-align: middle;
}

/* Default tanpa border */
.navbar-fixed nav {
  border-bottom: none;
  transition: border-bottom 0.3s ease;
}

/* Saat dark mode aktif */
body.dark-mode .navbar-fixed nav {
  border-bottom: 2px solid #8f6240 ;
}

.slider-dark img {
  min-height: 100vh;
  align-items: center;
  background-image: url('../img/header-bg1.jpeg');
  background-repeat: no-repeat;
  background-size: cover;   
  background-position: center;
  position: relative;

  /* Efek gradasi bawah */
  -webkit-mask-image: linear-gradient(rgb(22, 22, 22) 85%, rgba(0, 0, 0, 0));
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(rgb(24, 24, 24) 85%, rgba(0, 0, 0, 0));
  mask-repeat: no-repeat;
  mask-size: cover;
}

  .slider .slides li img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  }

  /* Default tombol */
  .btn-theme {
  color: white !important;
  transition: background-color 0.3s ease;
  }

  body.light-mode a.btn.btn-theme {
  background-color: green !important;
  }

  body.dark-mode a.btn.btn-theme {
  background-color: grey !important;
  }

  /* Perbaiki warna Modal */
  .modal {
  background-color: white !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .modal .modal-content {
  background-color: white !important;
  }

  .modal-footer .btn-flat {
  color: #333;            
  }

  .modal .modal-content h6,
  .modal .modal-content p {
  color: #212121 !important;
  }

    /* Pastikan teks tabel selalu hitam */
    #donationTable table,
    #donationTable table th,
    #donationTable table td,
    #donationTable h4,
    #donationTable p {
      color: #000 !important;
    }

    /* Default (light mode) */
    #donationTable h4,
    #donationTable p {
      color: #212121; 
    }

    /* Dark mode */
    @media (prefers-color-scheme: dark) {
      #donationTable h4,
      #donationTable p {
        color: #fff !important;
      }
    }

    /* Button Dark Mode Fix */
    body.dark-mode .btn,
    body.dark-mode .btn-small,
    body.dark-mode .btn-large,
    body.dark-mode .btn-floating,
    body.dark-mode .btn-theme,
    body.dark-mode .waves-effect.btn,
    body.dark-mode .btn.green,
    body.dark-mode .btn-small.grey,
    body.dark-mode .btn-large.grey,
    body.dark-mode .btn-floating.grey,
    body.dark-mode .btn-floating.btn-medium.grey.darken-2,
    body.dark-mode a.btn,
    body.dark-mode a.btn-small {
    background-color: gray !important;
    color: #fff !important;
    }

     /* Hover */
    body.dark-mode .btn:hover,
    body.dark-mode .btn-small:hover,
    body.dark-mode .btn-large:hover,
    body.dark-mode .btn-floating:hover,
    body.dark-mode .btn-theme:hover,
    body.dark-mode .waves-effect.btn:hover {
    background-color: gray !important;
    color: #fff !important;
    }

    /* Dark Mode */
    body.dark-mode .fixed-action-btn > a.btn-floating {
    background-color: #4caf50 !important; /* Green */
    }

    body.dark-mode .fixed-action-btn > a.btn-floating:hover {
    background-color: #43a047 !important; /* Green lebih gelap saat hover */
    }

    /* Tombol utama FAB */
    body.dark-mode .fixed-action-btn > a.btn-floating {
    background-color: #4caf50 !important;
    }

    body.dark-mode .fixed-action-btn > a.btn-floating:hover {
    background-color: #43a047 !important;
    }

    body.dark-mode .fixed-action-btn ul li a.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
    }

    /* Hover */
    body.dark-mode .social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
   }

    /* Footer Social Links Dark Mode */
    body.dark-mode footer .social-links .btn-floating {
    background-color: #b6895b !important;
    color: #fff !important;
    }

    body.dark-mode footer .social-links .btn-floating i {
    color: #fff !important;
    }

    body.dark-mode footer .social-links .btn-floating:hover,
    body.dark-mode footer .social-links .btn-floating:focus,
    body.dark-mode footer .social-links .btn-floating:active { background-color: #a6784d !important;
    }

    /* Navbar Light Mode */
    .navbar-fixed nav,
    nav.grey.darken-3 {
      background-color: #b6895b !important;
    }

    body.dark-mode .navbar-fixed nav,
    body.dark-mode nav.grey.darken-3 {
      background-color: rgba(1, 1, 1, 0.8) !important;
      border-bottom: 2px solid #a6784d;
    }

    /* Warna link navbar */
    nav a,
    nav .brand-logo {
    color: #fff !important;
    }

    /* Border bawah saat dark mode */
    body.dark-mode .navbar-fixed nav {
    border-bottom: 2px solid #a6784d !important;
    }

    /* Footer Background */
    footer.grey.darkin-3 {
    background-color: #b6895b; 
    }

    /* Footer Dark Mode */
    footer.grey.darken-3 {
      background-color: #2e7d32;
    }

    body.dark-mode footer,
    body.dark-mode footer.page-footer,
    body.dark-mode footer.grey.darken-3 {
      background-color: grey !important;
      color: #fff !important;
    }

    body.dark-mode footer * {
      color: #fff !important;
    }

/* Warna Sosial-Media */
/* WhatsApp */
body.dark-mode .social-links .green.darken-2 {
    background-color: #25D366 !important;
}

/* Instagram */
body.dark-mode .social-links .purple.darken-1 {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    ) !important;
}

/* Facebook */
body.dark-mode .social-links a[href*="facebook"] {
    background: #1877F2 !important;
}

/* YouTube */
body.dark-mode .social-links .red.darken-3 {
    background-color: #FF0000 !important;
}

/* TikTok */
body.dark-mode .social-links .fa-tiktok {
    color: #fff !important;
    background-color: #000 !important;
}
/* Darkmode css End */


/* Video css Start */
.preview-container {
  position: relative;
  width: 100%;
  max-width: 800px;   
  margin: 0 auto 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* jaga rasio 16:9 */
  background-color: transparent;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);

}

.preview-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
}

body.dark-mode .video-description .btn-subscribe{
  margin: 0;
  background:#f30202 !important;
  color:#fff !important;
  border-radius:5px;
  padding:0 24px;
  font-weight:600;
  text-transform:none;
  box-shadow:0 4px 12px rgba(255,0,0,.3);
  transition:all .3s ease;
}

/* Galeri sejajar dengan preview */
.galleries {
  width: 100%;
  max-width: 800px;   
  margin: 0 auto;     
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* jarak antar item */
  justify-items: center;
  background-color: transparent;
  }

.galleries iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background-color: transparent;
  transition: transform 0.2s ease;
}

.galleries iframe:hover {
  transform: scale(1.05);
}

.galleries img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;       /* biar thumbnail pas */
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.galleries img:hover {
  transform: scale(1.05);
}


/* Responsive untuk tablet */
@media (max-width: 1024px) {
  .preview-container,
  .galleries {
    max-width: 75%; /* tetap sama agar sejajar */
  }
}

/* Responsive untuk HP sedang */
@media (max-width: 768px) {
  .preview-container,
  .galleries {
    max-width: 95%; /* tetap sama agar sejajar */
  }
  .galleries {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom agar lebih kecil */
    gap: 10px;
  }
}

/* Responsive untuk HP kecil */
@media (max-width: 480px) {
  .preview-container {
    margin-bottom: 12px;
    max-width: 90%; /
  }
  .galleries {
    max-width: 90%; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 6px; 
    margin-top: 0;
  }
  .galleries iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
}
/* Video css End */

/* Photo/Gallery css Start */
/* Style Gallery */
img {
  max-width: 80% auto;
  border: 1px solid var(--bg1);
  position: relative;
}

.preview-img {
  height: 50%;
  width: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
}

.galleries {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.galleries img {
  width: 100px;
  height: 100px;
  cursor: pointer;
  box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
}

/* Laptop */
@media (max-width: 1366px) {
  .preview-img {
    width: 100%;
    height: 687px;
  }
}

@media (max-width: 768px) {
  .preview-img {
    width: 250px;
    height: 250px;
  }
  .galleries img {
    width: 80px;
    height: 80px;
  }
}
/* Photo/Gallery css End */


/* Puskesmas css Start */
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

/* Infografis */
.infografis-wrapper img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.3);
}

.infografis-description {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
  line-height: 1.6;
}

@media screen and (max-width: 480px) {
  .infografis-wrapper iframe {
    max-width: 100%;
    height: 240px;
  }
}

/* Scroll To Top */
.buttonToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 999;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.buttonToTop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  font-size: 25px;
  background-color: var(--bg1);
  color: #fff;
  font-family: monospace;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: 0.5s ease;
}

.buttonToTop a:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: rotate(360deg);
}
/* Puskesmas css End */


/* Kelurahan css Start */
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

@media screen and (max-width: 480px) {
  .infografis-wrapper iframe {
    max-width: 100%;
    height: 240px;
  }
}

/* Scroll To Top */
.buttonToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 999;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.buttonToTop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  font-size: 25px;
  background-color: var(--bg1);
  color: #fff;
  font-family: monospace;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: 0.5s ease;
}

.buttonToTop a:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: rotate(360deg);
}
/* Kelurahan css End */


/* Informasi Kebijakan kami  */
#informasi {
    padding: 50px 0;
}

#informasi .container {
    max-width: 850px;
    margin: 0 auto;
}

#informasi h4 {
    margin-top: 40px;
    margin-bottom: 30px;
    font-weight: 400;
}


/* Khusus paragraf di section Tentang Kami */
/* Tentang Kami */
#informasi {
    padding: 60px 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

#informasi .container {
    max-width: 850px;
    margin: 0 auto;
}

/* Judul */
#informasi h4 {
    margin: 40px 0 15px;
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: #222;
    text-align: center;
}

/* Isi Artikel */
#informasi p {
    margin-bottom: 22px;
    font-size: clamp(15px, 1vw + 13px, 17px);
    line-height: 1.2;
    color: #444;
    text-align: justify;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Alamat redaksi & website */
#informasi p.alamat-redaksi,
#informasi p.website {
    text-align: left;
    text-indent: 0;
    font-size: 15px;
    line-height: 1.2;
}

#informasi p:last-child {
    margin-bottom: 0;
}

/* Tablet */
@media (max-width: 768px) {

    #informasi {
        padding: 45px 18px;
    }

    #informasi h4 {
        font-size: 1.7rem;
        margin-top: 25px;
        margin-bottom: 20px;
    }

    #informasi p {
        font-size: 18px;
        line-height: 1.2;
    }

    #informasi p.rata-kiri {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 480px) {

    #informasi {
        padding: 35px 15px;
    }

    /* Judul lebih besar */
    #informasi h4 {
        font-size: 2rem;
        font-weight: 600;
        margin-top: 50px;
        margin-bottom: 10px;
        line-height: 0.9;
    }

    /* Isi lebih kecil */
    #informasi p {
        font-size: 15px;
        line-height: 1.8;
        text-align: left;
        text-align: justify;
    }

    /* Alamat & website */
    #informasi p.alamat-redaksi,
    #informasi p.website {
        font-size: 14px;
        line-height: 1.7;
        font-weight: 600;
    }
}


/* Informasi Redaksi */
#informasi {
  padding: 50px 0;
  background: #f8f9fa;
}

#informasi h4 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 30px;
  position: relative;
}

#informasi h4::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #757575;
  margin: 10px auto 0;
  border-radius: 10px;
}

#informasi .card-panel {
  max-width: 850px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;

}

#informasi p {
  margin: 12px 0;
  line-height: 1.8;
  color: #424242;
  font-size: 1.5rem;
  text-indent: 0 !important;
  padding-left: 0 !important;
}

#informasi strong {
  display: inline-block;
  min-width: 140px;
  font-weight: 600;
  color: #212121;
}

/* Hover Card */

#informasi .card-panel:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

/* Dark Mode */
body.dark-mode #informasi {
  background: #1f1f1f;
}

body.dark-mode #informasi h4 {
  color: #f5f5f5;
}

body.dark-mode #informasi .card-panel {
  background: #2d2d2d;
  border-top-color: #9e9e9e;
}

body.dark-mode #informasi p,
body.dark-mode #informasi strong {
  color: #eeeeee;
}

/* Tablet */
@media (max-width: 768px) {

  #informasi {
    padding: 40px 0;
  }

  #informasi h2 {
    font-size: 1.7rem;
  }

  #informasi .card-panel {
    padding: 25px;
  }

  #informasi strong {
    display: block;
    margin-bottom: 4px;
  }
}

/* Mobile */
@media (max-width: 480px) {

  #informasi h4 {
    font-size: 1.5rem;
  }

  #informasi .card-panel {
    padding: 20px;
    border-radius: 10px;
  }

  #informasi p {
    font-size: 1.2rem;
    line-height: 1.7;
  }
}

