* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Public Sans", Arial, sans-serif;
}

p {
  margin-bottom: 20px;
}

header {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #2c368b 0%, #01a54d 100%);
  z-index: 1000;

}

main,
.isi_footer {
  margin: 0 auto;
  max-width: 970px;
}

.desktop-header {
  max-width: 970px;
  margin: auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.isi_header {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.desktop-logo {
  margin: 0 20px 0 0; /* Jarak di sebelah kanan logo jika diperlukan */
  padding: 0;
  display: grid;
  place-items: center; /* Meratakan elemen secara vertikal dan horizontal */
}

.desktop-logo a {
  margin: 0;
  padding: 0;
}

/* Gambar logo */
.desktop-logo img {
  height: 25px; /* Menentukan tinggi logo */
  width: auto; /* Menjaga rasio gambar tetap terjaga */
  margin: 0;
  padding: 0;
  vertical-align: middle; /* Vertikal align center */
}

.desktop-search-field {
  flex-grow: 1;
}

.desktop-search-input {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.desktop-main-menu {
  display: flex;
  list-style: none;
  margin-left: 20px;
}

.desktop-main-menu li {
  margin: 0 5px;
  vertical-align: middle; /* Vertikal align center */
}

.desktop-main-menu a {
  text-decoration: none;
  color: #fff;
  padding: 5px 10px;
}

.desktop-hamburger-menu {
  display: none;
  cursor: pointer;
}
.desktop-hamburger-menu svg {
  vertical-align: middle; /* Vertikal align center */
}

.desktop-additional-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  list-style: none;
  display: none;
  flex-direction: column;
}

.desktop-additional-menu li {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.desktop-additional-menu li a {
  text-decoration: none;
  color: #333;
}

.mobile-header {
  display: none;
  justify-content: space-between;
  padding: 10px;
}

.mobile-logo {
  font-weight: bold;
  font-size: 27px;
}
.mobile-logo img {
  height: 26px;
  width: auto;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
.mobile-logo a {
  margin: 0;
  padding: 0;
}

.mobile-search-icon,
.mobile-hamburger {
  vertical-align: middle;
}

.mobile-search-icon svg,
.mobile-hamburger svg {
  margin: 0;
  padding: 0;
  fill: #ffffff;
}

.mobile-slide-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 250px;
  background: #fff;
  border-right: 1px solid #ccc;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 2000;
}

.mobile-slide-menu ul {
  list-style: none;
  padding: 20px;
}

.mobile-slide-menu li {
  margin-bottom: 15px;
}

.mobile-slide-menu li svg {
  margin-right: 5px; /* Memberikan jarak antara ikon dan teks */
  float: left;
  margin-top: -1px;
}

.mobile-slide-menu a {
  text-decoration: none;
  color: #333;
}

.mobile-slide-menu .submenu {
  display: none;
  margin-top: 5px;
  margin-left: 10px;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.mobile-search-field {
  width: 100%;
}

.mobile-search-dropdown {
  display: none;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.mobile-search-input {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

footer {
  margin-top: 30px;
  padding: 20px;
  background: #f4f4f4;
  text-align: center;
}

.headline {
  padding: 0px;
}

.news {
  padding: 20px;
}

.has-submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu-icon {
  margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }
  main {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .mobile-header,
  .mobile-slide-menu,
  .mobile-search-dropdown {
    display: none !important;
  }

  .desktop-hamburger-menu {
    display: block;
  }
}

.show {
  display: flex !important;
}

.show-block {
  display: block !important;
}

.mobile-slide-menu.open {
  transform: translateX(0);
}

/* STYLE ISI */

.halaman {
  margin: 0 0 35px 0;
}

.halaman h2 {
  margin: 10px 0;
}

.halaman .main-article h3 a {
  color: var(--warna-primer);
}

.halaman .main-article h3 a:hover {
  color: var(--warna-sekunder);
}

.halaman .kolom_kiri .article-details h3 { 
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -.024em;
    font-weight: 700;
}

.container {
  max-width: 1200px; /* Contoh lebar container */
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}

.kolom_kiri,
.kolom_kanan {
  padding: 0px;
}

/* Layout untuk desktop (min-width: 768px) */
@media (min-width: 768px) {
  .halaman > .container {
    /* Target container di dalam halaman */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dua kolom utama (kiri & kanan) */
    column-gap: 35px; /* Jarak antar kolom utama */
  }

  .kolom_kanan {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dua kolom di dalam kolom kanan */
    gap: 35px; /* Jarak antar artikel di kolom kanan */
  }
}

/* Layout untuk mobile (max-width: 767px) */
@media (max-width: 767px) {

.meta-info {
margin:0 0 5px 0;
}
.meta-info a{
padding:10px;
margin:5px 10px 5px 0;
}

  .halaman > .container {
    /* Target container di dalam halaman */
    display: block; /* Kembali ke tampilan block (atas bawah) */
  }

  .halaman {
    margin: 16px;
  }

  .kolom_kiri,
  .kolom_kanan {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .kolom_kanan {
    /* Ubah tampilan artikel di kolom kanan menjadi flex */
    display: flex;
    flex-direction: column; /* Defaultnya column, untuk artikel berurutan */
  }

  .kolom_kanan > .main-article {
    display: flex; /* Atur agar gambar dan detail berada dalam satu baris */
    margin-bottom: 15px; /* Sedikit jarak antar artikel */
    align-items: flex-start; /* Agar konten rata atas */
  }

  .kolom_kanan > .main-article .image-container {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    margin-bottom: 0; /* Hilangkan margin bottom untuk layout flex */
    flex-shrink: 0; /* Agar tidak mengecil jika konten di sampingnya panjang */
  }

  .kolom_kanan > .main-article .image-container .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar pas di dalam container square */
    border-radius: 5px;
  }

  .kolom_kanan > .main-article .article-details {
    flex-grow: 1; /* Agar detail artikel mengisi sisa ruang */
  }

  .kolom_kanan > .main-article .article-details h3 {
    font-size: 1em; /* Ukuran font lebih kecil untuk mobile */
    margin-bottom: 0.2em;
  }

  .kolom_kanan > .main-article .meta-info {
    font-size: 0.8em;
    margin-bottom: 0.2em;
  }

  .kolom_kanan > .main-article .excerpt {
    display: none; /* Sembunyikan excerpt di tampilan mobile ini */
  }
}

/* Styling umum untuk artikel */
.main-article {
  background-color: #fff;
  margin-bottom: 20px; /* Jarak antar artikel secara umum */
}

.main-article a {
  display: block;
  text-decoration: none;
  padding: 0px;
}

.main-article a:hover {
  color: var(--warna-sekunder);
}

.image-container {
  margin-bottom: 10px;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

.article-details h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: var(--warna-primer);
  font-size: 1em;
}

.meta-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  font-size: 0.8em;
  color:var(--warna-gray);
}

.category-link {
  color: var(--warna-sekunder);
  padding: 5px 8px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 10px;
}

.category-link a {
  color: var(--warna-sekunder);
}

.meta-info time {
  /* Styling untuk waktu */
  color:var(--warna-gray);
}

.excerpt {
  color: #000;
  font-size: 1em;
  line-height: 22px;
}

/* TERBARU */

#terbaru {
  margin: 0 0 35px 0;
}

#terbaru h2 {
  margin: 0 0 16px 0;
}

#terbaru .main-article h3 a {
  color: var(--warna-primer);
}

#terbaru .main-article h3 a:hover {
  color: var(--warna-sekunder);
}

#terbaru .container {
  display: grid;
  gap: 16px; /* Jarak antar kolom */
}

#terbaru .main-article {
  display: flex;
  align-items: flex-start; /* Agar konten sejajar atas */
  margin-bottom: 20px; /* Jarak antar artikel */
}

#terbaru .main-article .image-container {
  width: 100px;
  height: 100px;
  margin-right: 15px;
}

#terbaru .main-article .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Agar gambar mengisi container tanpa distorsi */
}

#terbaru .main-article .article-details {
  flex-grow: 1; /* Agar detail artikel mengisi sisa ruang */
  margin-top:8px;
}

/* Untuk tampilan desktop (lebar layar lebih dari ukuran tertentu, misal 768px) */
@media (min-width: 768px) {
  #terbaru .container {
    grid-template-columns: repeat(3, 1fr); /* Membuat 3 kolom */
  }
  #terbaru .main-article {
    flex-direction: row; /* Foto di kiri, teks di kanan */
  }
}

/* Untuk tampilan mobile (lebar layar kurang dari 768px) */
@media (max-width: 767px) {
  #terbaru .container {
    grid-template-columns: 1fr; /* Membuat 1 kolom */
  }
  #terbaru .main-article {
    flex-direction: row; /* Tetap foto kiri teks kanan untuk mobile juga */
  }
  #terbaru .main-article .article-details {
  margin-top:0px;
}
  #terbaru {
    margin: 16px;
  }
#terbaru .container {
  gap: 0px; /* Jarak antar kolom */
}  
}

/* POPULER */

#populer {
  margin: 0 0 35px 0;
}

#populer h2 {
  margin: 0 0 16px 0;
}

#populer .container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Untuk mobile default */
  overflow-x: auto; /* Enable horizontal scrolling for mobile */
  padding-bottom: 20px; /* Add some padding for scroll indicator */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
  display: flex; /* Make items flow horizontally for mobile */
}

@media (min-width: 768px) {
  #populer .container {
    grid-template-columns: repeat(4, 1fr); /* 4 kolom untuk desktop */
    display: grid; /* Revert to grid for desktop */
    overflow-x: visible; /* Disable horizontal scrolling on desktop */
    padding-bottom: 0;
  }
}

#populer .main-article {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex; /* Needed for positioning nomor */
  flex-direction: column; /* Stack image and details */
}

@media (min-width: 768px) {
  #populer .main-article {
    width: auto; /* Biarkan grid mengatur lebar */
  }
}

@media (max-width: 767px) {
  #populer .main-article {
    width: 80%; /* Adjust width for better mobile view */
    flex-shrink: 0; /* Prevent shrinking in flex container */
    margin-right: 16px; /* Add spacing between articles in mobile view */
  }

  #populer .container {
    scroll-snap-type: x mandatory;
  }

  #populer .main-article {
    scroll-snap-align: start;
  }
  #populer {
    margin: 16px;
  }
}

#populer .main-article a {
  text-decoration: none;
  display: block; /* Make the entire link clickable */
  position: relative; /* For positioning the nomor */
}

#populer .main-article h3 a {
  color: var(--warna-primer);
}

#populer .main-article h3 a:hover {
  color: var(--warna-sekunder);
}

#populer .image-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* Contoh aspect ratio landscape */
  overflow: hidden;
}

#populer .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Prevent extra space below image */
  border-radius: 8px 8px 0 0;
}

#populer .nomor {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: var(--warna-sekunder);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 0 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}

#populer .article-details {
  padding: 15px;
}

#populer .meta-info {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8em;
  color: #777;
}

#populer .category-link {
  color: var(--warna-gray);
  text-decoration: none;
}

#populer .category-link:hover {
  text-decoration: underline;
}

#populer .article-details h3 {
  margin-top: 0;
  font-size: 1em;
  line-height: 1.4;
}

/* INFOGRAFIK */

#infografik {
  margin: 0 0 35px 0;
}

#infografik h2 {
  margin: 0 0 16px 0;
}

#infografik .container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Untuk mobile default */
  overflow-x: auto; /* Enable horizontal scrolling for mobile */
  padding-bottom: 20px; /* Add some padding for scroll indicator */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
  display: flex; /* Make items flow horizontally for mobile */
}

@media (min-width: 768px) {
  #infografik .container {
    grid-template-columns: repeat(3, 1fr); /* 3 kolom untuk desktop */
    display: grid; /* Revert to grid for desktop */
    overflow-x: visible; /* Disable horizontal scrolling on desktop */
    padding-bottom: 0;
  }
}

#infografik .main-article {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#infografik .main-article a {
  text-decoration: none;
  color:var(--warna-primer);
  display: block;
}

#infografik .image-container {
  width: 100%;
  aspect-ratio: 9 / 16; /* Contoh aspect ratio landscape */
  overflow: hidden;
}

#infografik .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

#infografik .article-details {
  padding: 15px;
}

#infografik .meta-info {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8em;
  color: #777;
}

#infografik .category-link {
  color: blue;
  text-decoration: none;
}

#infografik .category-link:hover {
  text-decoration: underline;
}

#infografik .article-details h3 {
  margin-top: 0;
  font-size: 1em;
  line-height: 1.4;
}

@media (max-width: 767px) {
  #infografik .main-article {
    width: 80%; /* Adjust width for better mobile view */
    flex-shrink: 0; /* Prevent shrinking in flex container */
    margin-right: 16px; /* Add spacing between articles in mobile view */
  }

  #infografik .container {
    scroll-snap-type: x mandatory;
  }

  #infografik .main-article {
    scroll-snap-align: start;
  }
  #infografik {
    margin: 16px;
  }  
}

/* VIDEO */

#video {
  margin: 0 0 35px 0;
}

#video h2 {
  margin: 0 0 16px 0;
}

#video .container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Untuk mobile default */
  overflow-x: auto; /* Enable horizontal scrolling for mobile */
  padding-bottom: 20px; /* Add some padding for scroll indicator */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
  display: flex; /* Make items flow horizontally for mobile */
}

@media (min-width: 768px) {
  #video .container {
    grid-template-columns: repeat(3, 1fr); /* 3 kolom untuk desktop */
    display: grid; /* Revert to grid for desktop */
    overflow-x: visible; /* Disable horizontal scrolling on desktop */
    padding-bottom: 0;
  }
}

#video .main-article {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative; /* Untuk memposisikan tombol play */
}

#video .main-article a {
  text-decoration: none;
  color:var(--warna-primer);
  display: block;
  position: relative; /* Ensure play button is positioned relative to this */
}

#video .image-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* Contoh aspect ratio landscape */
  overflow: hidden;
}

#video .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

#video .play {
  position: absolute;
  inset: 0; /* Mengisi seluruh area parent yang relative */
  background-color: rgba(
    255,
    0,
    0,
    0.7
  ); /* Tambahkan sedikit transparansi jika perlu */
  color: white;
  border-radius: 50%;
  width: 60px; /* Sesuaikan ukuran tombol */
  height: 60px; /* Sesuaikan ukuran tombol */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 2em; /* Sesuaikan ukuran ikon */
  margin: auto; /* Pusatkan secara visual jika inset tidak bekerja sempurna */
}

#video .play svg {
  fill: white;
  width: 50%;
  height: 50%;
}

#video .article-details {
  padding: 15px;
}

#video .meta-info {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8em;
  color: #777;
}

#video .category-link {
  color: blue;
  text-decoration: none;
}

#video .category-link:hover {
  text-decoration: underline;
}

#video .article-details h3 {
  margin-top: 0;
  font-size: 1em;
  line-height: 1.4;
}

@media (max-width: 767px) {
  #video .main-article {
    width: 80%; /* Adjust width for better mobile view */
    flex-shrink: 0; /* Prevent shrinking in flex container */
    margin-right: 16px; /* Add spacing between articles in mobile view */
  }

  #video .container {
    scroll-snap-type: x mandatory;
  }

  #video .main-article {
    scroll-snap-align: start;
  }
  #video {
    margin: 16px;
  }   
}

/* FOTO */
#foto {
  margin: 0 0 35px 0;
}

#foto h2 {
  margin: 0 0 16px 0;
}

#foto .main-article h3 a {
  color: #005757;
}

#foto .main-article h3 a:hover {
  color: var(--warna-sekunder);
}

#foto figcaption {
  background-color: #f4f4f4;
  border-radius: 0 0 8px 8px;
}

#foto .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#foto .foto_utama {
  width: 100%;
}

#foto .foto_utama .image-container {
  position: relative;
}

#foto .foto_utama .main-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}

#foto .foto_utama .viewfoto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

#foto .foto_utama .viewfoto svg {
  width: 30px;
  height: 30px;
  display: block;
}

#foto .foto_utama .image-container:hover .viewfoto {
  opacity: 1;
}

#foto .foto_utama .article-details {
  padding: 10px;
  text-align: center;
}

#foto .foto_lainnya {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Untuk desktop */
  gap: 35px;
}

#foto .foto_lainnya .image-container {
  position: relative;
  overflow: hidden; /* Untuk memastikan viewfoto tidak keluar container */
}

#foto .foto_lainnya .main-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Efek zoom saat hover */
  border-radius: 8px 8px 0 0;
}

#foto .foto_lainnya .image-container:hover .main-image {
  transform: scale(1.05);
}

#foto .foto_lainnya .viewfoto {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 10; /* Pastikan di atas gambar */
}

#foto .foto_lainnya .viewfoto svg {
  width: 20px;
  height: 20px;
  display: block;
}

#foto .foto_lainnya .image-container:hover .viewfoto {
  opacity: 1;
}

#foto .foto_lainnya .article-details {
  padding: 10px;
  text-align: center;
  min-height: 70px;
}

/* Styling untuk tampilan mobile (swipe) */
@media (max-width: 768px) {
  #foto .foto_lainnya {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px; /* Ruang untuk indikator swipe jika diperlukan */
    scroll-snap-type: x mandatory;
  }

  #foto .foto_lainnya > article {
    flex: 0 0 auto;
    width: 80%; /* Sesuaikan lebar item swipe */
    scroll-snap-align: start;
  }

  /* Tampilkan viewfoto di mobile saat di-tap (atau selalu visible jika diinginkan) */
  #foto .foto_lainnya .image-container .viewfoto,#foto .foto_utama .image-container .viewfoto {
    /* Tambahkan hover untuk konsistensi */
    opacity: 1;
  }
  #foto {
    margin: 16px;
  }   
}

/* AKHIR */
footer {
  padding: 20px 0;
  background: linear-gradient(90deg, #2c368b 0%, #01a54d 100%);
  color: #fff; /* Contoh warna teks */
  font-size: 0.9em;
}

footer .container {
  max-width: 970px;
  margin: 0 auto;
  padding: 0 20px;
}

footer .special-channel {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  overflow-x: auto; /* Jika konten terlalu lebar di mobile */
  padding-bottom: 10px; /* Ruang untuk scrollbar jika ada */
  justify-content: center; /* Rata tengah horizontal untuk item di desktop */
}

footer .special-channel > a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0; /* Agar tidak mengecil saat overflow */
}

footer .special-channel a > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .special-channel .thumbnail-square {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .special-channel .thumbnail-square img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

footer .special-channel .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .special-channel .wa-icon {
  fill: #25d366; /* Contoh warna WhatsApp */
  width: 100%;
  height: 100%;
}

footer .special-channel .color-gray {
  color: var(--warna-gray);
  font-size: 0.85em;
}

footer .special-channel .text-large {
  font-size: 1em;
  font-weight: bold;
}

footer .sn-channel {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Agar ikon social media turun ke baris baru jika tidak cukup ruang */
  justify-content: center; /* Agar rata tengah di desktop juga */
}

footer .sn-channel > a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 5px;
}

footer .sn-channel .icon-small {
  width: 20px;
  height: 20px;
}

footer .sn-channel svg {
  width: 100%;
  height: 100%;
  fill: #fff; /* Contoh warna ikon social media */
}

footer .sn-channel a:hover {
  background-color: #fff;
  color:#000
}

footer .sn-channel a:hover svg {
  fill: var(--warna-primer); /* Warna ikon saat hover */
}


footer .isi_footer {
  text-align: center;
  padding-top: 20px;
  margin-top:20px;
  border-top: 1px solid #ccc;  
}

footer .isi_footer a { color:#fff; text-decoration: none; font-weight:bold;}
footer .isi_footer a:hover { color:var(--warna-sekunder);}

footer .isi_footer p {
  margin-bottom: 10px;
  color:#fff;
}

footer .isi_footer p:last-child {
  margin-bottom: 0;
}

/* footer perusahaan */

footer .container2 {
	max-width:970px;
	margin:0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolom yang sama lebarnya */
  gap: 35px; /* Jarak antar kolom */
  padding: 16px 0;
}

footer .kolom_footer {
  /* Gaya umum untuk setiap kolom footer */
  text-align:left;
  line-height:1.5em;
}

footer .kolom_footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .kolom_footer li {
  margin-bottom: 8px;
}

footer .kolom_footer a {
  text-decoration: none;
  color: #fff; /* Contoh warna teks */
}

footer .kolom_footer img {
  max-width: 210px; /* Contoh lebar logo */
  display: block; /* Membuat img menjadi block-level element */
  margin-left: auto;
  margin-right: auto;
}

footer .kolom_footer .color-ink {
  color: #007bff; /* Contoh warna link email */
}

/* Mobile View */
@media (max-width: 768px) {
  footer .container2 {
    grid-template-columns: 1fr; /* Satu kolom saja di mobile */
    gap: 20px; /* Jarak antar bagian di mobile */
	margin:16px;
	padding-top:35px;
  }
}

/* end footer perusahaan */


/* Utility classes */
.pl-16 {
  padding-left: 16px;
}

.pl-8 {
  padding-left: 0px;
}

.flex {
  display: flex;
}

.flex-center {
  align-items: center;
}

.bg-contain {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.text-large {
  font-size: 1.1em;
}

.text-sans-semibold {
  font-family: sans-serif; /* Atau font yang Anda gunakan */
  font-weight: 600;
}

/* Media query untuk tampilan mobile */
@media (max-width: 768px) {
  footer .special-channel {
    flex-direction: column;
    align-items: center; /* Rata tengah horizontal untuk item di mobile */
    justify-content: flex-start; /* Kembalikan alignment item ke awal */
  }

  footer .special-channel > a {
    width: 100%;
  }

  footer .sn-channel > a > div:last-child {
    /* Target teks nama medsos */
    display: none;
  }

  footer .sn-channel {
    justify-content: center; /* Tetap rata tengah di mobile */
  }

  footer .sn-channel > a {
    padding: 7px; /* Sedikit penyesuaian padding untuk mobile */
  }
}


/* DETAIL */

#detail {
  line-height: 1.6;
  margin:16px 0;
}

/* Breadcrumb */
#detail .breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color:var(--warna-sekunder);
}

#detail .breadcrumb a {
  text-decoration: none;
  color:var(--warna-primer);
}

#detail .breadcrumb span {
  color:var(--warna-primer);
}

/* Header */
#detail article header {
  margin-bottom: 20px;
  position: unset;
  box-shadow: unset;
  border:0;
  background: white;
}

#detail article .kategori {
  font-size: 16px;
  color:var(--warna-sekunder);
  margin-bottom: 5px;
}

#detail article h1 {
font-size: 28px;
    line-height: 32px;
    letter-spacing: -.028em;
  margin: 10px 0;
}

#detail article p {
  font-size: 18px;
  line-height:1.5;
}

/* Foto utama */
#detail .foto_utama figure {
  margin-bottom: 20px;
}

#detail .foto_utama img {
  width: 100%;
  object-fit: cover;
}

#detail .foto_utama figcaption {
  text-align: center;
  font-size: 12px;
  color:var(--warna-gray);
}

/* Article content */
#detail .article-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

#detail .content {
  flex: 1;
  margin-right: 20px;
}

#detail .content h2, #detail .content h3, #detail .content h4, #detail .content h5, #detail .content h6 {
  margin-top: 20px;
  color: var(--warna-sekunder);
}

#detail .content p {
  margin-bottom: 15px;
}

#detail .sidebar {
  width: 300px;
}

#detail .sidebar .banner {
  position: sticky;
  top: 65px; /* Jarak dari atas saat elemen menjadi sticky */
  z-index: 10; /* Agar banner tetap berada di atas konten lainnya */
  background-color: #fff; /* Memberi latar belakang putih agar tidak transparan saat sticky */
}

#detail .sidebar .banner img {
  width: 100%;
}

/* Footer */
#detail footer {
  margin: 35px 0;
  font-size: 14px;
  color: var(--warna-gray);
  text-align: center;
  padding:0;
  background-color:white;
  background:none;
  text-align: left;
  border-bottom: 2px solid #eee;
}

/* Mobile Styles */
@media (max-width: 768px) {
  #detail {
    margin: 16px;
  }

  #detail .breadcrumb {
    font-size: 12px;
  }

  #detail article h1 {
    font-size: 24px;
  }
  
  #detail article .metainfo {
	  font-size:12px;
  }
  
  #detail article .metainfo span {
        color: var(--warna-sekunder);
    }

  #detail .foto_utama img {
    height: 250px;
    object-fit: cover;
  }

  #detail .article-content-wrapper {
    flex-direction: column;
  }

  #detail .content {
    margin-right: 0;
  }

  #detail .sidebar {
    width: 100%;
    margin-top: 20px;
  }

  #detail footer {
    font-size: 12px;
  }
}

/* Share buttons */
.share-buttons {
  display: flex;
  justify-content: center; /* Rata tengah horizontal */
  gap: 16px; /* Jarak antar kolom */
  flex-wrap: wrap; /* Agar tombol tetap dalam satu baris pada layar besar dan membungkus di layar kecil */
  width: 100%;
  margin: 0 0 20px 0;
}

/* Share Buttons */
.share-buttons button {
  display: flex;
  align-items: center; /* Rata tengah vertikal */
  justify-content: center; /* Rata tengah horizontal */
  padding: 10px 15px;
  background-color: var(--warna-sekunder);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%; /* Memastikan tombol lebar penuh pada masing-masing kolom */
  max-width: 120px; /* Membatasi lebar tombol agar tetap proporsional */
}

.share-buttons button svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.share-buttons button svg path {
  fill: white;
}

.share-buttons button:hover {
  background-color: darkred; /* Hover efek */
}

/* Mobile Styles */
@media (max-width: 768px) {
  .share-buttons {
    flex-direction: row;
    gap: 16px;
    justify-content: center; /* Rata tengah */
  }

  .share-buttons button {
    width: 100%; /* Tombol mengambil lebar penuh di layar kecil */
    max-width: 98px; /* Menjaga ukuran tombol tetap konsisten */
  }
}

/* INDEKS */
/* === UMUM === */
#indeks {
  margin: 0 0 35px 0;
}

#indeks h2 {
  margin: 0 0 16px 0;
}

#indeks .main-article h3 a {
  color: var(--warna-primer);
  font-size:18px;
}

#indeks .main-article h3 a:hover {
  color: var(--warna-sekunder);
}

#indeks .container {
  display: flex;
  gap: 20px;
}

/* === KOLOM KIRI (DAFTAR BERITA) === */
#indeks .kiri {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

#indeks .main-article {
  display: flex;
  gap: 16px;
}

#indeks .main-image {
  width: 250px;
  height: auto;
  object-fit: cover;
}

#indeks .article-details {
  flex: 1;
}

#indeks .article-details h3 {
  margin: 0 0 10px;
  font-size: 1em;
}

#indeks .meta-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

#indeks .excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* === KOLOM KANAN (IKLAN) === */
#indeks .kanan {
  width: 300px;
}

#indeks .banner {
  position: sticky;
  top: 65px; /* Jarak dari atas saat elemen menjadi sticky */
  z-index: 10; /* Agar banner tetap berada di atas konten lainnya */
  background-color: #fff; /* Memberi latar belakang putih agar tidak transparan saat sticky */
}

#indeks .banner img {
  width: 100%;
}

/* === RESPONSIF MOBILE === */
@media (max-width: 768px) {
	
#indeks .main-article h3 a {
  font-size:1em;
}	

#indeks {
  margin: 16px;
}	
#indeks .kiri {
    gap: 0px;
}
#indeks .kanan {
    width:100%;
}
  #indeks .container {
    flex-direction: column;
  }

  #indeks .main-article {
    flex-direction: row;
  }

  #indeks .main-image {
    width: 100px;
    height: 100px;
  }

  #indeks .excerpt {
    display: none;
  }
}

/* UMUM */
/* Paragraf */
#detail p {
    margin-bottom: 1em;
}

/* Heading */
#detail h2, #detail h3, #detail h4, #detail h5, #detail h6 {
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 700;
}
#detail h1 {
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: var(--warna-primer);
}
#detail h2 { font-size: 1.8em; }
#detail h3 { font-size: 1.5em; }
#detail h4 { font-size: 1.3em; }
#detail h5 { font-size: 1.1em; }
#detail h6 { font-size: 1em; }

/* Teks khusus */
#detail strong { font-weight: bold; }
#detail em { font-style: italic; }
#detail small { font-size: 0.875em; color: #595959; }
#detail u { text-decoration: underline; }
#detail s, #detail del {
    text-decoration: line-through;
    color: #4A4A4A;
}
#detail ins {
    text-decoration: underline;
    background-color: #e6ffe6;
}
#detail mark {
    background-color: #fff3b0;
    padding: 0 4px;
    border-radius: 2px;
}

/* Link */
#detail a {
    color: var(--warna-sekunder);
    text-decoration: none;
}
#detail a:hover {
    text-decoration: underline;
}

/* Superscript dan subscript */
#detail sup, #detail sub {
    font-size: 0.8em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
#detail sup { top: -0.5em; }
#detail sub { bottom: -0.25em; }

/* Blockquote */
#detail blockquote {
    margin: 1em 0;
    padding: 0.5em 1em;
    background-color: #f4f4f4;
    border-left: 4px solid #ccc;
    font-style: italic;
    color: #4A4A4A;
}

#detail blockquote a {color: var(--warna-primer); font-weight:bold;}

/* List */
#detail ul, #detail ol {
    margin-left: 2em;
    margin-bottom: 1em;
}
#detail ul ul, #detail ol ol {
    margin-bottom: 0;
}
#detail li {
    margin-bottom: 0.4em;
}

/* Tabel */
#detail table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    background-color: #fff;
    border: 1px solid ##595959;
}
#detail th, #detail td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid ##595959;
}
#detail thead {
    background-color: #f0f0f0;
    font-weight: bold;
}
#detail tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* TOPIK */
#topik {
	  margin: 0 0 35px 0;
	  background: linear-gradient(90deg, #2c368b 0%, #01a54d 100%);
    padding: 15px 15px 0 15px;
    border-radius: 0 0 15px 15px;
}

#topik .topik_banner {
  width: 100%;
  margin-bottom: 1em;
}

#topik .topik_banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Container berita */
#topik .topik_berita {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

/* Artikel berita */
#topik .topik_berita .main-article {
  flex: 1 1 calc(25% - 1em); /* 4 kolom */
  box-sizing: border-box;
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;  
}

#topik .main-article .image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px 5px 0 0;
}

#topik .article-details {
  padding: 0.5em;
}

#topik .meta-info {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 0.5em;
  display: flex;
  justify-content: space-between;
}

#topik .article-details h3 {
  font-size: 1em;
  margin: 0;
}

#topik .article-details h3 a {
  text-decoration: none;
  color: #333;
}

#topik .article-details h3 a:hover {
  text-decoration: underline;
  color: var(--warna-sekunder);
}

/* Mobile responsive dan swipe */
@media (max-width: 768px) {
	#topik { margin: 0px; border-radius:0;}
  #topik .topik_berita {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #topik .topik_berita .main-article {
    flex: 0 0 80%;
    min-width: 80%;
    scroll-snap-align: start;
  }
}

/* BANNER */
.banner {
	margin:35px 0;
}
@media (max-width: 768px) {
	.banner img {
	width:100%;
	}
.banner {
	margin:16px 0;
}	
}

/* banner 2 */
.banner2 {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: center;
  margin:35px 0;
}

.iklan2 {
  flex: 1 1 auto;
  max-width: calc(50% - 17px); /* 2 banner = 100% - 34px gap */
}

.iklan2 img {
  width: 100%;
  height: auto;
  display: block;
}

.banner3 {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  margin:35px 0;
}

.iklan3 {
  flex: 1 1 auto;
  max-width: calc((100% - 70px) / 3); /* 3 kolom - 2 gap (35px * 2) */
}

.iklan3 img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tampilan mobile: di bawah 768px ubah jadi kolom */
@media (max-width: 768px) {
  .banner2 {
    flex-direction: unset;
    gap: unset; /* Boleh lebih kecil jika ingin */
	margin:16px 0;
  }

  .iklan2 {
    max-width: 100%;
	margin:8px 0;
  }
  
  .banner3 {
    flex-direction: unset;
    gap: unset; /* jarak vertikal antar banner */
	margin:16px 0;
  }

  .iklan3 {
    max-width: 100%;
	margin:8px 0;
  }  
  
}

/* POLLING */
#poling {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom sama besar */
  gap: 35px;                             /* jarak antar kolom */
  max-width: 1200px;
  margin: 35px 0;
  color: #333;
  padding: 0;
}

#poling .poling {
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.05);
  overflow: hidden;
}

#poling .poling_foto {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

#poling .poling_foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#poling .poling_isi {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: top;
}

#poling .poling_isi h3 {
  margin: 0 0 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

#poling .poling_isi button {
  background-color: #0056b3;
  border: none;
  color: white;
  padding: 10px 18px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

#poling .poling_isi button:hover {
  background-color: #45a049;
}

#poling .poling_isi time {
  display: block;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
  font-style: normal;
}

#poling .bar {
  margin-bottom: 10px;
}

#poling .hasil {
  display: flex;
  align-items: center;
}

#poling .bar_full {
  position: relative;
  background-color: #e0e0e0;
  height: 37px;
  flex: 1;
  border-radius: 13px;
  overflow: hidden;
  margin-right: 12px;
}

#poling .bar_terpilih {
  background: linear-gradient(90deg, #4caf50, #388e3c);
  height: 100%;
  border-radius: 13px 0 0 13px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  box-sizing: border-box;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9rem;
}

#poling .jawaban span {
  pointer-events: none;
  color: black;
}

#poling .persen {
  min-width: 40px;
  text-align: right;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

/* Tampilan Mobile: stack atas-bawah */
@media (max-width: 768px) {
  #poling {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 16px;
	margin: 0 0 0 16px;
  }

  #poling .poling {
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
  }
}

/* =======================================
   CSS untuk Mobile Menu Header
   ======================================= */

/* Sembunyikan tombol mobile secara default */
#mobile-theme-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px; /* Atur padding sesuai kebutuhan */
        background: linear-gradient(90deg, #2c368b 0%, #01a54d 100%);
    }

    #mobile-theme-toggle {
        display: flex;
        position: static; /* Ubah dari 'fixed' ke 'static' agar inline */
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    /* Styling ikon di dalam tombol toggle */
    #mobile-theme-toggle svg {
        fill: #fff; /* Menggunakan variabel warna dari default.css */
        transition: fill 0.3s ease;
    }
    
    /* Sembunyikan ikon yang tidak aktif */
    #mobile-theme-toggle .sun-icon, 
    #mobile-theme-toggle .moon-icon {
        display: none;
    }
    
    /* Tampilkan ikon yang aktif */
    #mobile-theme-toggle .active-icon {
        display: block;
    }
}

/* Gaya untuk dark mode */
body.dark-mode #mobile-theme-toggle svg {
    fill: #fff; /* Menggunakan variabel warna dari dark.css */
}

/* Sembunyikan tombol desktop di layar mobile */
@media (max-width: 768px) {
    #desktop-theme-toggle {
        display: none;
    }
}

/*INSPIRASI*/
.halaman.inspirasi .kolom_kanan {
  gap: 20px;
}
.halaman.inspirasi {
  background: linear-gradient(90deg, #2c368b 0%, #01a54d 100%);
  padding: 40px 20px;
  font-family: system-ui, sans-serif;
  color: #333;
  border-radius: 10px;
}

.halaman.inspirasi h2 {
  font-size: 2rem;
  text-align: center;
  color: #f97316; /* Orange */
  margin-bottom: 32px;
  font-weight: 700;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.halaman.inspirasi .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.halaman.inspirasi .kolom_kiri,
.halaman.inspirasi .kolom_kanan {
  flex: 1;
  min-width: 300px;
}

.halaman.inspirasi .main-article {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.halaman.inspirasi .main-article:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.halaman.inspirasi .image-container img.main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3); /* hanya bawah */
}

.halaman.inspirasi .main-article:hover .image-container img.main-image {
  transform: scale(1.03);
}

.halaman.inspirasi .article-details {
  padding: 16px;
}

.halaman.inspirasi .article-details h3 {
  font-size: 1.1rem;
  margin: 10px 0;
  line-height: 1.4;
}

.halaman.inspirasi .article-details h3 a {
  color: #111827;
  text-decoration: none;
  transition: color 0.3s ease;
}

.halaman.inspirasi .article-details h3 a:hover {
  color: #3b82f6;
}

.halaman.inspirasi .meta-info {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.halaman.inspirasi .meta-info .category-link {
  background: linear-gradient(90deg, #facc15, #f97316);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background 0.3s;
}

.halaman.inspirasi .meta-info .category-link:hover {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.halaman.inspirasi .excerpt {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
	
	.halaman.inspirasi .kolom_kanan .meta-info { display:none}
	.halaman.inspirasi .kolom_kanan .image-container img.main-image { height:100%; border-radius:0}
	.halaman.inspirasi .kolom_kanan .article-details h3 {font-size:14px;}
	.halaman.inspirasi .kolom_kanan .article-details {padding:0;}
	.halaman.inspirasi .kolom_kanan {gap: 10px; }
	
   .halaman.inspirasi {
	   margin:0;
	   border-radius:0;
   }
	
  .halaman.inspirasi .container {
    flex-direction: column;
  }

  .halaman.inspirasi .kolom_kiri,
  .halaman.inspirasi .kolom_kanan {
    width: 100%;
  }

  .halaman.inspirasi h2 {
    font-size: 2rem;
	color:#fff;
  }
}

/* --- Desain untuk Blok Kanal Lifestyle --- */

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: var(--warna-primer);
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  background-color: var(--warna-sekunder);
  color: #fff;
  border-color: var(--warna-sekunder);
}

.pagination .page-link.active {
  background-color: var(--warna-primer);
  color: #fff;
  border-color: var(--warna-primer);
  font-weight: bold;
}

@media (max-width: 768px) {
  .pagination {
    margin: 20px 16px;
  }
  .pagination .page-link {
    min-width: 35px;
    height: 35px;
    font-size: 13px;
    padding: 0 8px;
  }
}

/* POLLING */
#polling {
  margin: 0 0 35px 0;
}

#polling h2 {
  margin: 0 0 16px 0;
}

#polling .container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

#polling .polling_banner .image-container {
  border-radius: 8px;
  overflow: hidden;
}

#polling .polling_banner .main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

#polling .polling_konten {
  padding: 0;
}

#polling .polling-date {
  font-size: 0.85em;
  color: var(--warna-gray);
  margin-bottom: 8px;
}

#polling .polling_konten h3 {
  font-size: 1.2em;
  margin: 0 0 15px 0;
  color: var(--warna-primer);
}

#polling .polling-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#polling .polling-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #f5f5f5;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

#polling .polling-option:hover {
  background: #e8e8e8;
}

#polling .polling-option input[type="radio"] {
  accent-color: var(--warna-sekunder);
}

#polling .polling-submit {
  padding: 10px 20px;
  background: var(--warna-sekunder);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
  align-self: flex-start;
  margin-top: 5px;
}

#polling .polling-submit:hover {
  background: var(--warna-primer);
}

#polling .polling-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#polling .polling-result-item {
  background: #f5f5f5;
  padding: 8px 12px;
  border-radius: 5px;
}

#polling .polling-result-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  margin-bottom: 5px;
}

#polling .polling-result-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  overflow: hidden;
}

#polling .polling-result-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--warna-sekunder), var(--warna-primer));
  border-radius: 4px;
  transition: width 0.5s ease;
}

#polling .polling-total {
  font-size: 0.85em;
  color: var(--warna-gray);
  margin-top: 5px;
}

@media (max-width: 768px) {
  #polling {
    margin: 16px;
  }
  #polling .container {
    grid-template-columns: 1fr;
  }
  #polling .polling_banner {
    max-width: 300px;
    margin: 0 auto;
  }
}
