/* Custom styles for Puskesmas Gedangan */
:root {
    --primary-color: #fff;
    --hover-color: #333;
    --test-color: #48AA81;
    /* Tambahkan variabel untuk warna khusus mobile menu */
    --mobile-menu-bg-color: #343a40; /* Warna background untuk menu yang terbuka di mobile */
    --mobile-menu-link-color: #ffffff; /* Warna teks link di mobile menu */
    --mobile-menu-link-hover-color: #adb5bd; /* Warna teks link saat di-hover di mobile menu */
    --mobile-dropdown-bg-color: #495057; /* Warna background dropdown di mobile */
    --mobile-dropdown-item-color: #1E201E; /* Warna teks item dropdown di mobile */
    --mobile-dropdown-item-hover-bg: #6c757d; /* Warna background item dropdown saat di-hover di mobile */
}


.bg-dark.text-white.py-2.small {
  height: 100px; 
  margin-left: auto;
  margin-right: auto;
  font-size: 24px;
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  font-family: 'Poppins', sans-serif;
  background-color: var(--test-color) !important;
}

.icon{
    padding-right: 10px;
}

.bg-dark.text-white.py-2.small .container div i.fas.fa-phone {
    margin-right: 8px;
}

/* Gaya untuk layout artikel poster */

.content-image img {
    width: auto; /* Gambar akan memenuhi lebar kolomnya */
    height: auto; /* Tinggi akan menyesuaikan agar rasio gambar tidak rusak */
    object-fit: cover; /* Penting: Memastikan gambar menutupi area tanpa penyet (stretch) */
    border-radius: 8px; /* Sudut gambar menjadi sedikit melengkung */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Memberikan efek bayangan halus */
}


/* Footer Styles */
footer {
    margin-top: 4rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    background-color: var(--test-color) !important;
}

footer .text{
  text-align: justify;
  font-family: 'Poppins', sans-serif;
}

footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #fff;
}

footer h3.link::after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 2px;
    background-color: #fff;
}

.social-icons a {
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Tablet (width <= 991px) */
@media (max-width: 991.98px) {
  footer iframe,
  footer .map-placeholder {
  width: 100%;
  height: 250px;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  }

  footer .text {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.6;
  }
}

/* Phone (width <= 767px) */
@media (max-width: 767.98px) {

    .bg-dark.text-white.py-2.small {
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    }

    .post-title {
            font-size: 1.8rem; /* Perkecil ukuran judul di mobile */
            text-align: center; /* Judul di tengah pada mobile */
            margin-top: 1.5rem; /* Beri jarak dari gambar di atasnya */
        }
    .content-text {
            font-size: 1rem;
        }

    .footer-img-placeholder {
        width: 150px;
        height: auto;
    }

    footer h3 {
        font-size: 1rem;
    }

    footer .text{
    text-align: center;
    font-family: 'Poppins', sans-serif;
    }

    footer h3::after {
        content: '';
        position: absolute;
        left: 45%;
        bottom: 0;
        width: 30px;
        height: 2px;
        background-color: #fff;
    }

    footer h3.link::after {
        content: '';
        position: absolute;
        transform: translateX(-50%);
        left: 50%;
        bottom: 0;
        width: 80px;
        height: 2px;
        background-color: #fff;
    }

    .social-icons a:hover {
        opacity: 0.7;
    }
}