:root {
  --klikgentan-blue: #1976d2;    /* Biru utama */
  --klikgentan-yellow: #f4b400;  /* Kuning cerah */
}

.text-primary {
  color: var(--klikgentan-blue) !important;
}

.text-secondary {
  color: var(--klikgentan-yellow) !important;
}

body {
  background-color: #f0f0f5;
  font-family: 'Roboto', sans-serif;
}

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-app {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin-left: 8px;
}

.cart-icon {
  position: relative;
  color: #333;
  font-size: 28px;
  margin-right: 15px;
}

.cart-icon .badge {
  position: absolute;
  top: -4px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

.menu-icon {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  cursor: pointer;
  background-color: white;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  transition: left 0.3s ease-in-out;
  z-index: 1050;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sidebar.show {
  left: 0;
}

.sidebar-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  z-index: 1100;
}

.user-logo {
  font-size: 48px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.guest-label {
  font-size: 18px;
  font-weight: 600;
}

.point-badge {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.bottom-link {
  font-size: 14px;
  margin-bottom: 20px;
  color: white;
  opacity: 0.9;
}

.sidebar a.btn {
  width: 100%;
  margin-bottom: 10px;
  font-weight: 600;
}

.profile-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1049;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.search-input {
  border-radius: 10px;
  border: none;
  background-color: #ffffff;
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.search-input::placeholder {
  color: #6c757d;
}

@media (min-width: 992px) {
  .col-md-1-8 {
    width: 12.5%;
    flex: 0 0 auto;
  }
}

.icon-layanan {
  width: 40px;
  height: 40px;
  margin: 10px auto 5px;
}

.label-layanan {
  font-size: 12px;
  padding: 0 4px 10px;
  line-height: 1.2;
}

.card {
  border: none;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 10px;
}

.layanan-card:nth-child(n+9) {
  display: none;
}

.layanan-wrapper.show-all .layanan-card {
  display: block !important;
}

.layanan-grid {
  display: flex;
  flex-wrap: wrap;
}

.layanan-card {
  display: flex;
  flex-direction: column;
}

.layanan-card .card {
  flex: 1 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.label-layanan {
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.small-title {
  font-size: 14px;
  color: #666;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 6px;
  text-align: center;
}

@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

.bottom-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.bottom-navbar .nav-flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  padding: 0 16px;
  gap: 4px;
}

.nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #666;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-item .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.nav-center {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #007bff;
  border-radius: 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1010;
  border: 3px solid #fff;
}

.nav-center .material-icons {
  color: white;
  font-size: 32px;
}

.nav-spacer {
  width: 60px;
}

.carousel-inner.container {
  border-radius: 16px;
  overflow: hidden;
}

.carousel-bg {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 16px 20px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.carousel-caption h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.carousel-caption p {
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 626px) {
  .container {
    max-width: 626px !important;
  }
}

.card-umkm {
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      overflow: hidden;
      transition: transform 0.2s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .card-umkm:hover {
      transform: translateY(-3px);
    }
    .card-umkm img {
      object-fit: cover;
      height: 160px;
      width: 100%;
    }
    .card-umkm .card-body {
      padding: 12px 14px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .card-umkm .card-title {
      font-size: 14px;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .card-umkm .card-text {
      font-size: 12px;
      color: #666;
      margin-bottom: 6px;
    }

    @media (min-width: 992px) {
      .produk-grid.row {
        display: flex;
        flex-wrap: wrap;
      }
      .produk-grid.row > .col {
        width: 16.6667%;
        flex: 0 0 auto;
      }
    }
    @media (max-width: 991.98px) {
      .produk-grid.row > .col {
        width: 33.3333%;
        flex: 0 0 auto;
      }
      .card-umkm img {
        height: 100px;
      }
    }

.container.content-section:last-of-type {
  margin-bottom: 80px;
}

.klinik-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.klinik-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.klinik-info {
  flex-grow: 1;
}

.klinik-nama {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.klinik-alamat {
  font-size: 12px;
  color: #666;
  margin: 2px 0 0;
}

.klinik-link {
  color: #007bff;
  font-size: 20px;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .desktop-navbar-bottom {
    display: none !important;
  }
}

.android-input {
  border: none;
  border-bottom: 1.5px solid #ccc;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.android-input:focus {
  border-bottom-color: #007bff;
  outline: none;
  box-shadow: none;
}

.logo-tooltip-container {
  position: relative; /* penting: agar tooltip di atas elemen ini */
  display: inline-block;
  cursor: default;
}

.logo-tooltip-container .tooltip-info {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 20px); /* tampil di atas elemen */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fef6e4;    /* Cream pastel lembut */
  color: #3b3b3b;               /* Abu gelap */
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border: 1px solid #e0d8cc;    /* Aksen soft biar gak flat */

  white-space: normal;       /* ini paling penting: biar wrap */
  min-width: 600px;        /* batas lebarnya agar gak keluar layout */
  word-break: break-word;    /* kalau perlu, potong kata panjang */
  text-align: center;        /* biar lebih manis */
}

.logo-tooltip-container:hover .tooltip-info {
  visibility: visible;
  opacity: 1;
}

/* Segitiga (buntut) ke bawah */
.logo-tooltip-container .tooltip-info::after {
  content: "";
  position: absolute;
  top: 100%; /* di bawah tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fef6e4 transparent transparent transparent;

}

.deskripsi-wrapper {
  margin: 16px auto;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.deskripsi-text.collapsed {
  max-height: 70px;
  overflow: hidden;
  position: relative;
}

.selengkapnya-btn {
  background: none;
  border: none;
  color: var(--klikgentan-blue) !important;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
  text-align: center;
  display: block;
  margin: 10px auto 0;
}

.arrow-down, .arrow-up {
  display: inline-block;
  margin-left: 4px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.arrow-down { border-top: 6px solid var(--klikgentan-yellow) !important; }
.arrow-up { border-bottom: 6px solid var(--klikgentan-yellow) !important; }


.card-produk {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  padding: 0;
}

.card-produk img {
  width: 100%;
  height: auto; /* biar ikut rasio asli */
  display: block;
}

.card-body-produk {
  position: relative;
  background-color: #fff;
  margin-top: -10px;
  padding: 16px;
  z-index: 1;

  /* Rounded hanya kiri atas */
  border-top-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  /* Shadow tipis atas */
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}


.profil-toko-wrapper {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 14px;
}

.profil-toko-wrapper img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profil-toko-wrapper .btn-outline-primary {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--klikgentan-blue) !important;
}

.badge.bg-secondary {
  background-color: #e0f7fa !important;
  color: #00796b !important;
  font-weight: 500;
  border-radius: 6px;
}

.floating-beli {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 999;
  background-color: var(--klikgentan-yellow) !important;
  color: white;
  padding: 10px 16px;
  border-radius: 100px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: 3px solid white;
}


.floating-beli img {
  color: white;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #222; /* Hitam pekat */
  margin-top: 24px;
  margin-bottom: 12px;
  text-align: center;
}

.scroll-horizontal {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 10px 8px;
  scroll-snap-type: x mandatory;
}

.produk-card-link {
  text-decoration: none;
  flex: 0 0 31.5%; /* 3.5 item di layar */
  scroll-snap-align: start;
  color: #222;
}

.produk-card-mini {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 8px;
  font-size: 12px;
  text-align: center;
}

.produk-card-mini img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.judul-produk {
  font-weight: 500;
  margin-top: 6px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.harga-produk {
  color: #00796b;
  font-weight: 600;
  font-size: 12px;
  margin-top: 2px;
}


.btn-lg {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-belanja {
  background-color: #ffe066;
  color: #212529;
}

.btn-wishlist {
  border: 1px solid #ced4da;
  color: #495057;
  background-color: transparent;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  gap: 8px;
  justify-items: center;
}

.galeri-grid img {
  width: 100%;
  max-width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #eee;
  transition: transform 0.2s ease;
}

.galeri-grid img:hover {
  transform: scale(1.05);
  border-color: #ffe066;
}

/* 👇 Mobile mode: swipe aktif */
@media (max-width: 768px) {
  .galeri-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .galeri-grid img {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 80px;
    height: 80px;
    margin-right: 8px;
  }
}

.harga-produk-mobile {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.harga-promo {
  font-size: 1.1rem;
  color: #d32f2f;
}

.harga-asli {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}

.carousel-produk-kategori {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.carousel-produk-kategori::-webkit-scrollbar {
  height: 6px;
}
.carousel-produk-kategori::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.produk-item {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
}

.produk-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: 0.2s;
}

.produk-thumb:hover {
  transform: scale(1.03);
  border-color: #ffd700;
}

.produk-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  transition: box-shadow 0.2s ease;
  height: 100%;
}

.produk-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.produk-thumb {
  all: unset; /* Reset semua dulu */
  width: 100% !important;
}

/* layanan */
.section-masgentan-mobile {
  padding-top: 2rem;
  /* padding-bottom: 1rem; */
  background-color: transparent; /* background dihilangkan */
}

.img-wrapper-masgentan {
  width: 150px;
  flex-shrink: 0;
  margin-top: 0px; /* Naik sedikit ke atas */
  z-index: 2;
  position: relative;
}

.bubble-chat-masgentan {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid #eee;
  position: relative;
  flex: 1;
  font-size: 13px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.bubble-chat-masgentan::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #ffffff;
}

.img-flip-horizontal {
  display: inline-block;
  transform: scaleX(-1);
  transition: transform 0.3s ease;
}

/* Wrapper Umum */
.section-form-layanan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

/* Card Form */
.card-form-layanan {
  margin-top: 30px;
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  z-index: 2;
  width: 100%;
  max-width: 700px;
  min-height: 500px;
}

/* Card Form */
.card-form-layanan2 {
  margin-top: 30px;
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  z-index: 2;
  width: 100%;
  max-width: 700px;
}

/* Mas Gentan Wrapper */
.mas-gentan-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  width: 210px; /* Atau samakan dengan tinggi Mas Gentan sebelumnya */
  flex-shrink: 0;
}

/* Mas Gentan Image */
.mas-gentan-img {
  height: 220px;
  position: relative;
  z-index: -10;
  right: -60px;
}

/* Tooltip */
.tooltip-masgentan {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 4;
  margin-bottom: -10px;
  position: relative;
}

.tooltip-masgentan::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #ffffff;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .section-form-layanan {
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
  }

  .mas-gentan-wrapper {
    margin-bottom: -30px;
  }

  .card-form-layanan {
    margin-top: 0;
  }
}

.layananx-section {
      margin-bottom: 3rem;
    }
    .layananx-kategori-title {
      font-size: 1.4rem;
      margin-bottom: 1rem;
      border-bottom: 2px solid #ddd;
      padding-bottom: 0.5rem;
      color: var(--klikgentan-yellow) !important;
    }
    .layananx-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
    }
    .layananx-card {
      background: #fff;
      border-radius: 2rem;
      padding: 2rem 1rem 1rem;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: visible;
      transition: 0.2s ease-in-out;
    }
    .layananx-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
    .layananx-icon {
      width: 60px;
      height: 60px;
      border-radius: 16px;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }
    .layananx-icon img {
      width: 36px;
      height: 36px;
    }
    .layananx-title {
      margin-top: 1.5rem;
      font-size: 1rem;
      color: #333;
      font-weight: 500;
    }
    @media (min-width: 768px) {
      .layananx-icon {
        position: static;
        margin: 0 auto 1rem;
        transform: none;
        top: auto;
        left: auto;
      }
      .layananx-card {
        padding-top: 1.5rem;
      }
    }

    .a-clean {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

.layananx-oval-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease-in-out;
}

.layananx-oval-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.layananx-oval-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-right: 1rem;
  margin-top: -30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  background: white;
  padding: 5px;
}

.layananx-oval-text {
  flex-grow: 1;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

.layananx-oval-arrow {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: #2e86de;
}

.kategori-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-berita {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1px solid #007bff;
  background: white;
  color: #007bff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.badge-berita:hover,
.badge-berita.active {
  background: var(--klikgentan-yellow) !important;
  border: 1px solid var(--klikgentan-yellow) !important;
  color: white;
}

.card-berita {
  display: flex;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.thumb-berita {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.isi-berita {
  flex-grow: 1;
}
.judul-berita {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.cuplikan-berita {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.isi-berita p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.btn-share-berita {
  position: fixed;
  bottom: 90px; /* di atas navbar bottom */
  right: 20px;
  z-index: 100;
}

.btn-share-berita .btn {
  width: 48px;
  height: 48px;
}

.card-kades {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foto-kades img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.judul-kades {
  font-size: 0.8rem;
  color: var(--klikgentan-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.nama-kades {
  font-size: 1.05rem;
  font-weight: 600;
}

.jabatan-kades {
  font-size: 0.85rem;
  color: #888;
}

.modal-foto-kades {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  text-align: center;
}

.modal-content-kades {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.modal-foto-kades .close {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
.overlay-custom {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.overlay-content2 {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.overlay-peta {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  padding: 2rem 1rem;
  overflow-y: auto;
}

.peta-container {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  margin: auto;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.overlay-peta .material-icons {
  font-size: 20px;
  vertical-align: middle;
}

  .icon-infografis {
    font-size: 32px;
  }

  @media (min-width: 768px) {
    .icon-infografis {
      font-size: 40px;
    }
  }

  .infobox {
    transition: 0.2s ease;
  }

  .infobox:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  }

  .card-title .material-icons {
  vertical-align: middle;
}
.blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
}

.image-square {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.image-square img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; /* bisa diganti jadi 'contain' kalau mau full-fit tanpa crop */
}

.image-square2 {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.image-square2 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Responsive fix for extra small screen */
@media (max-width: 400px) {
  .row-cols-2 > .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}