html {
    scroll-behavior: smooth;
  }
  .list-mobile {
    display: none; /* Hide select dropdown on larger screens */
}
/* Kontainer utama informasi umum */
.informasi_umum{
    padding: 48px 40px;
    justify-content: flex-start;
    align-items: flex-start;
    margin:0 auto;
    gap: 20px;
    width: 95%;
    display: flex; /* Mengatur elemen menjadi flexbox untuk desktop */
}

/* Kolom kiri (judul dan lainnya) */
.informasi_umum .left{
    width: 33%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    display: inline-flex;
    position: -webkit-sticky; /* Untuk browser berbasis Webkit */
    position: sticky; /* Menjadikan elemen sticky */
    top: 0; /* Menetapkan jarak dari bagian atas halaman */
    z-index: 1000; /* Memastikan elemen berada di atas konten lain */
    background-color: white; /* Pastikan latar belakang elemen sticky jelas */
    padding: 10px; /* Tambahkan padding jika perlu */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Tambahkan bayangan untuk efek visual */
}

.informasi_umum .left .judul{
    color: black;
    font-size: 40px;

    font-weight: 700;
    line-height: 44px;
    word-wrap: break-word;    
}

.informasi_umum .left .updated, 
.informasi_umum .left .views {
    color: black;
    font-size: 16px;

    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.08px;
    word-wrap: break-word;
}

.informasi_umum .left .list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch; /* Pastikan kolom menggunakan lebar penuh */
    width: 100%;
}

.informasi_umum .left .list .box {
    width: 100%; /* Memastikan lebar penuh */
    height: 60px; /* Set a fixed height for all boxes */
    margin-bottom: 2px;
    padding: 16px;
    background: white;
    border: 1px solid black;
    display: flex; /* Gunakan flex untuk konten di dalam box */
    justify-content: space-between; /* Menjaga jarak antara isi dan panah */
    align-items: center; /* Vertikal center */
}

.informasi_umum .left .list .box .isi_box {
    color: black;
    font-size: 12px; /* Ukuran font lebih kecil */

    font-weight: 400;
    line-height: 20px; /* Adjust line height accordingly */
    flex: 1; /* Allow this to grow */
    word-wrap: break-word;
}

.informasi_umum .left .list .box .box_panah {
    width: 32px;
    height: 32px;
}

.informasi_umum .left .list .box .box_panah img {
    width: 32px;
    height: 32px;
    rotate:65deg;
}


/* Kolom kanan (konten teks) */
.informasi_umum .right {
    width: auto; 
    text-align: justify;
    padding-left: 60px;
    flex-direction: column; 
    justify-content: flex-end; 
    align-items: flex-start; 
    gap: 20px; 
    display: inline-flex;
    scroll-behavior: smooth;

}

.informasi_umum .right .content {
    align-self: stretch;
    width: 100%;
}

.informasi_umum .right .content span {
    color: black; 
    font-size: 20px; 

    font-weight: 400; 
    line-height: 28px; 
    letter-spacing: 0.10px; 
    word-wrap: break-word;
}

.informasi_umum .right .content .title {
    color: black;
    font-size: 24px;

    font-weight: 700;
    line-height: 28px;
    word-wrap: break-word;
}

/* Tombol melayang di sudut kanan bawah */
.btn-floating {
    position: fixed;
    right: 25px;
    bottom: 100px;
    overflow: hidden;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 0;
    z-index: 9999;
    color: white;
    background-color: #34af23;
    border: 2px solid white;
    transition: width 0.2s ease, padding 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.btn-floating img {
    width: 25px;
    height: 25px;
}

.btn-floating span {
    font-size: 16px;
    margin-left: 10px;
    display: none;
    white-space: nowrap;
    font-weight: bold;
}

.btn-floating:hover {
    width: auto;
    padding: 0 20px;
}

.btn-floating:hover span {
    display: inline-block;
}

/* Responsif untuk mobile (max-width 480px) */
@media (max-width: 480px) {
    .informasi_umum {
        padding: 2px 2px;
        gap: 10px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .informasi_umum .left {
        width: 100%;
        display: block; /* Show the select dropdown on mobile */
        position: -webkit-sticky; /* For Safari support */
        position: sticky;
        top: 0; /* Sticks to the top of the viewport */
        z-index: 1000; /* Ensures it stays above other elements */
        background-color: white; /* Background to avoid content overlay */
        padding-top: 40px; /* Padding for aesthetics */

    }

    .informasi_umum .right {
        padding-left: 0;
        margin: 0 auto;
    }

    .btn-floating {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 80px;
    }

    .btn-floating img {
        width: 20px;
        height: 20px;
    }
    .informasi_umum .left .judul{
        color: black;
        font-size: 24px;

        font-weight: 700;
        line-height: 28px;
        word-wrap: break-word;    
    }
    .informasi_umum .left .updated, 
    .informasi_umum .left .views {
        color: black;
        font-size: 12px;

        font-weight: 400;
        line-height: 14px;
        letter-spacing: 0.08px;
        word-wrap: break-word;
    }
    .informasi_umum .left .list {
        display: none; /* Hide the list on mobile */
    }

    .informasi_umum .left .list-mobile {
        display: flex; /* Show the select dropdown on mobile */
        padding-bottom:20px;
        white-space: normal; /* Izinkan teks untuk membungkus */
        word-wrap: break-word; /* Putus kata jika terlalu panjang */
    }

    .informasi_umum .left .list-mobile select {
        width: 100%;
        flex-direction: row-reverse;
        padding: 12px;
        margin: 10px;
        font-size: 16px;

        border: 1px solid #000;
        background-color: white;
        white-space: nowrap; /* Tidak membungkus teks */
        overflow: hidden; /* Sembunyikan teks yang berlebih */
        text-overflow: ellipsis; /* Tambahkan "..." jika teks panjang */
    }
    .informasi_umum .right .content span {
        color: black; 
        font-size: 14px; 

        font-weight: 400; 
        line-height: 28px; 
        letter-spacing: 0.10px; 
        /* word-wrap: break-word; */
    }

    
    
    .informasi_umum .right .content .title {
        color: black;
        font-size: 20px;

        font-weight: 700;
        line-height: 28px;

        /* word-wrap: break-word; */
    }


/* Layout untuk ukuran layar lebih besar (481px ke atas) */
@media (min-width: 481px) {
    .informasi_umum {
        flex-direction: column; /* Mengatur elemen menjadi kolom di mobile */
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: center; /* Horizontal centering */
    }

    .list-mobile {
        display: none; /* Hide select dropdown on larger screens */
    }

    .btn-floating {
        right: 25px;
        bottom: 100px;
        width: 50px;
        height: 50px;
    }

    .btn-floating img {
        width: 25px;
        height: 25px;
    }
}
