/* =========================================
   MOBILE GLOBAL – BBPMP
   Semua halaman
========================================= */

@media (max-width: 768px) {

  /* =========================
     CONTAINER
  ========================= */

  .container,
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-pad {
    padding: 50px 0;
  }

  .section-card {
    padding: 18px;
    border-radius: 14px;
  }

  /* =========================
     HEADER
  ========================= */

  .top-logo-bar .container-fluid {
    min-height: 70px;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-banner {
    height: 48px !important;
    max-width: 260px !important;
  }

  .brand-mini {
    height: 22px !important;
  }

  /* =========================
     NAVBAR
  ========================= */

  .navbar-bbpmp .navbar-collapse {

    padding: 14px;

    border-radius: 14px;

  }

  .navbar-bbpmp .nav-link {

    padding: 10px 12px !important;

    font-size: 14px;

  }

  .navbar-bbpmp .dropdown-item {

    padding: 12px 14px !important;

    font-size: 14px;

  }

  /* =========================
     HERO
  ========================= */

  .hero-slide {

    min-height: 280px;

  }

  .carousel-frame {

    height: 280px !important;

  }

  .hero-title {

    font-size: 18px;

    line-height: 1.3;

  }

  /* =========================
     CARD GLOBAL
  ========================= */

  .card,
  .idx-card,
  .section-card {

    margin-bottom: 16px;

  }

  /* =========================
     GRID
  ========================= */

  .row > div {

    margin-bottom: 16px;

  }

  /* =========================
     TABLE
  ========================= */

  table {

    font-size: 13px;

  }

  table th,
  table td {

    padding: 6px;

  }

  .table-responsive {

    overflow-x: auto;

  }

  /* =========================
     BUTTON
  ========================= */

  .btn {

    font-size: 14px;

    padding: 8px 14px;

  }

  /* =========================
     IMAGE
  ========================= */

  img {

    max-width: 100%;

    height: auto;

  }

  /* =========================
     TITLE
  ========================= */

  h1 {

    font-size: 22px;

  }

  h2 {

    font-size: 20px;

  }

  h3 {

    font-size: 18px;

  }

  p {

    font-size: 14px;

    line-height: 1.7;

  }

}






/* =========================================
   MOBILE – PENGUMUMAN
========================================= */

@media (max-width: 768px) {

  .section-pengumuman {

    height: auto;

    padding: 24px 16px;

    border-radius: 16px;

    align-items: flex-start;

  }

  #pengumumanSlider {

    height: auto;

  }

  #pengumumanSlider .carousel-inner {

    height: auto;

  }

  #pengumumanSlider .carousel-item {

    height: auto;

  }

  .pengumuman-item {

    height: auto;

    padding: 20px;

    border-radius: 16px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

  }

  .icon-box {

    width: 50px;

    height: 50px;

    font-size: 20px;

    flex-shrink: 0;

  }

  .pengumuman-item .title {

    font-size: 16px;

    line-height: 1.4;

  }

  .pengumuman-item .date {

    font-size: 13px;

  }

  .pengumuman-item .desc {

    font-size: 14px;

    line-height: 1.6;

    max-height: none;

    overflow: visible;

  }

}

/* =========================================
   MOBILE – LAYANAN
========================================= */

@media (max-width: 768px) {

  .layanan-page .svc-thumb {

    height: 150px;

  }

  .layanan-page .svc-title {

    font-size: 15px;

  }

  .layanan-page .svc-desc {

    font-size: 13px;

  }

}






/* =========================================
   MOBILE – BERITA / ARTIKEL
========================================= */

@media (max-width: 768px) {

  .berita-title {

    font-size: 16px;

  }

  .berita-excerpt {

    font-size: 13px;

  }

  .berita-meta {

    font-size: 12px;

  }

}






/* =========================================
   MOBILE – SOCIAL MEDIA
========================================= */

@media (max-width: 768px) {

  .socmed-icons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

  }

}

/* =========================================
   MOBILE – FLOATING BUTTON
========================================= */

@media (max-width: 768px) {

  .floating-stack {

    right: 8px;

    bottom: 90px;

  }

}
