#hero{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* min-height: 100vh; */
}


.dot{
    height: 6px;
    width: 6px;
    background-color: black;
    border-radius: 50%;
}

.input-sastra{
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(240, 240, 240, 1);
    border-radius: 24px;
    box-shadow: 0px 4px 30px 0px #00000014;
    backdrop-filter: blur(5px)

}

.dropdown-toggle-lp::after {
    display: none !important;
}
.dropdown-toggle-kamar-data::after {
    display: none !important;
}

.dropdown-toggle-lp{
    color: #BFBFBF;
    background-color: #FFFFFF;
}

.dropdown-toggle-kamar-data{
    color: rgba(0, 0, 0, 0.4);
    background-color: rgba(236, 255, 206, 1);
    font-weight: 500;
    font-size: 18px;
}

.search-kamar-btn{
    background: linear-gradient(85.66deg, #FFBF00 -5.78%, #022512 66.73%);
}

.data-img-container{
    background-color: #ECFFCE;
    border-radius: 16px;
    width: 56px;
    height: 56px;
}

.data-title{
    color: #696C71;
    font-size: 22px;
}
.data-desc{
    color: #696C71;
    font-size: 14px;
    /* width: 334px; */
    height: 40px;
}

.selayang-pandang-btn{
    background-color: #ECFFCE;
    border-radius: 16px;
    font-size: 14px;
    color: #022512;
}

.vid-btn{
    background: linear-gradient(85.66deg, #FFBF00 -5.78%, #022512 66.73%);
    border-radius: 16px;
    border: 10px solid rgba(255, 255, 255, 0.36);
    background-clip: padding-box;
    cursor: pointer;
}

    .jenis-kamar-item {
        height: 300px;
        padding: 0; /* biar padding dari g-3 yang bekerja */
        overflow: hidden; /* supaya gambar tidak keluar dari area card */
        border-radius: 0.375rem; /* sama dengan .rounded */
    }

    .overlay-hover {
        background: rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: flex; /* langsung flex dari awal */
        flex-direction: column;
    }

    .jenis-kamar-item .overlay,
    .jenis-kamar-item .position-absolute.bottom-0 {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .jenis-kamar-item:hover .overlay,
    .jenis-kamar-item:hover .position-absolute.bottom-0 {
        opacity: 0;
        visibility: hidden;
    }

    .jenis-kamar-item:hover .overlay-hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    .jenis-kamar-item .jenis-item-bg,
    .jenis-kamar-item .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: inherit; /* ikut border parent */
        background: linear-gradient(185.12deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 96.24%);
    }
.jenis-kamar-item .overlay {
    position: absolute;
    inset: 0; /* top:0, right:0, bottom:0, left:0 */

    pointer-events: none; /* biar overlay nggak ganggu klik */
}

.jenis-kamar-item span{
    font-size: 32px;
    font-weight: 500;
}

.narasi-btn{
    background-color: rgba(236, 255, 206, 1);
    color: rgba(2, 37, 18, 1);
    border-radius: 18px;
}

.berita-title-item {
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


    .berita-wrapper {
        height: 100%; /* biar mengikuti container luar */
    }
    .berita-container {
        height: 500px; /* tinggi tetap yang jadi acuan */
    }

    .berita-item {
    flex: 0 0 auto; /* supaya tidak memaksa tumbuh */
    height: 113px;  /* contoh tinggi tetap */
    }

    .author-text-item{
        font-weight: 400;
        font-style: Regular;
        font-size: 12px;
        color: rgba(152, 162, 179, 1);
    }

    #faq {
        background-color: rgba(248, 248, 248, 1);
    }

.slider-redaksi-wrapper {
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.slider-redaksi {
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.slider-redaksi::-webkit-scrollbar {
  display: none;             /* Chrome, Safari */
}

.slide-track-redaksi {
    display: flex;
    gap: 20px;
    padding: 10px;
    height: auto;
    box-sizing: border-box;
}

.slider-buttons {
  gap: 10px;
}

.slide-btn-right {
  width: 40px;
  height: 40px;
  background-color: rgba(236, 255, 206, 1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn-left {
  width: 40px;
  height: 40px;
  background-color: rgba(248, 248, 250, 1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-nav-btn-left {
  width: 40px;
  height: 40px;
  background-color: rgba(248, 248, 250, 1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-nav-btn-right {
  width: 40px;
  height: 40px;
  background-color: rgba(236, 255, 206, 1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    height: 50%;
    width: 100%;
}

.slide-redaksi{
    width: 400px;
    flex-shrink: 0;
    border-radius: 20px;
    cursor: pointer;
}

.slide-redaksi:hover{
    background-color: #ECFFCE;
    transition: .3s;
}

.redaksi-job{
    font-weight: 400;
    font-size: 14px;
    color: rgba(166, 166, 166, 1);
}
.redaksi-title{
    font-weight: 500;
    font-size: 20px;
}

.redaksi-desc{
    font-weight: 400;
    font-size: 16px;
    color: rgba(166, 166, 166, 1);
}

.dropdown-menu-lp {
    width: 100%;
    min-width: unset;
}

/* Default: make form controls full width on non-desktop
#jenisDropdownBtn, #kategoriDropdownBtn, .search-kamar-btn {
    width: 100%;
} */

.dropdown-item-lp{
    box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: .3s;
}
.dropdown-item-lp:hover{
    background-color: #ECFFCE;
}

.faq-item{
    border-radius: 16px;
    transition: .3s;
    cursor: pointer;
}

.faq-item.active{
    background-color: #FFFFFF; /* background putih saat item terbuka */
}

/* Animasi rotasi ikon FAQ */
.faq-item .toggle-faq img{
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}
.faq-item.active .toggle-faq img{
    transform: rotate(180deg);
}

.faq-item:hover{
    background-color: rgba(236, 255, 206, 1);
}

.faq-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease; /* durasi dan animasi */
}

.faq-content.show {
max-height: 500px; /* atur sesuai perkiraan tinggi konten */
}

#jenisDropdown, #kategoriMenu{
border-radius: 24px;   
}

.artikel-btn-mobile{
    display: none;
}

.selayang-pandang-name-mobile{
    display: none;
}

.selayang-img-mobile{
    display: none;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .icon-dropdown-lp{
        width: 40px;
        height: 40px;
    }
    .data-item-count{
        font-size: 40px;
    }

    .selayang-pandang-name-mobile{
        display: none;
    }

    .selayang-img-mobile{
        display: none;
    }

    .selayang-deskripsi{
        font-size: 24px ;
    }
    .berita-first-container-mobile{
        display: none;
    }
}

/* Handphone */
@media (max-width: 576px) {
    .icon-dropdown-lp{
        width: 25px;
        height: 25px;
    }

    .faq-no{
        font-size: 14px !important;
    }

    .faq-item .toggle-faq img{
        width: 25px;
        height: 25px;
    }
    
    .faq-content{
        font-size: 12px;
    }

    .lp-hastag{
        min-width: auto !important;
        height: 22px !important;
    }

    .lp-hastag span{
        font-size: 9px !important;
    }

    .input-sastra{
        width: 100%;
        /* height: 344px; */
    }
    .data-item-container{
        height: 260px;
    }

    .selayang-img{
        display: none;
    }

    .selayang-deskripsi{
        font-size: 18px !important;
    }

    .selayang-pandang-name{
        display: none;
    }

    .berita-container {
        height: auto !important; /* biar ngikut konten */
    }
    .berita-wrapper {
    height: auto;
    }
    .berita-item {
    height: auto;
    }

    .vid-btn{
        font-size: 9px;
    }

    /* gambar kiri jangan absolute di HP */
    .berita-container .col-md-8 .position-relative img {
        position: static !important;
        height: auto !important;
    }

    .berita-container .col-md-8 .position-absolute h4{
        font-size: 12px;
    }
    .berita-container .col-md-8 .position-absolute p{
        font-size: 8px;
    }

    #hero h1{
        font-size: 32px !important;
    }
    #hero button{
        font-size: 12px !important;
    }

    #kategoriDropdownBtn span, #jenisDropdownBtn span{
        font-size: 10px !important;
    }

    .selayang-img{
        width: 50% !important;
    }

    .artikel-btn{
        display: none !important;
    }

    .artikel-btn-mobile{
        display: flex !important;
    }
    .data-item-count{
        font-size: 25px;
    }
    
    .berita-first-container{
        display: none;
    }

    .faq-title{
        font-size: 12px;
    }

    .selayang-img-mobile{
        display: block;
    }

    .selayang-pandang-name-mobile{
        display: block;
    }
}

@media (min-width: 992px) {
    /* style khusus desktop */
    .padding-lg{
        padding: 0 80px;
    }

    .headline{
        font-size: 64px;
    }   

    .selayang-deskripsi{
        font-size: 32px;
        min-height: 459px !important;
    }

    .input-sastra{
        width: 520px;
        height: 344px;
    }
    #jenisDropdownBtn, #kategoriDropdownBtn,.search-kamar-btn{
        width: 440px !important;
        height: 72px !important;
    }

    .data-item-count{
        font-size: 48px;
    }

    .berita-first-container-mobile{
        display: none;
    }
}

/* Membatasi teks menjadi 3 baris */
.text-truncate-3 {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 4.2em; /* 3 baris x 1.4 line-height */
}
