@media (min-width: 720px) {

    .section__pencarian__mobile {
        display: none;
    }

    .box__picture {
        height: 650px;
    }
}

@media (max-width: 720px) {

    .section__pencarian__mobile {
        display: flex;
    }
}

.index-page.scrolled .header {
    background-color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    background: none !important;
}

.color_white {
    color: white !important;
}

.bg_white {
    background-color: white !important;
}

.produk_hukum__row {
    padding-top: 30px;
}

.produk_hukum__box {
    background-color: white;
    padding: 20px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-out 0s;
}


.berita__img {
    width: 100%;
    min-height: 320px;
    max-height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.berita__img:hover {
    transform: scale(1.1);
}

.peraturan__title {
    white-space: nowrap;
    overflow-x: hidden;
}

.peraturan__desc {
    height: 45px;
    overflow-y: hidden;
}

.padding-form-control {
    padding: 6px 12px;
}

.black-font {
    color: black;
}

.kotak__pencarian {
    background-color: blue;
    height: 100%;
    width: 100%;
}

.row__pencarian {
    position: relative;
    background-color: blue;
    height: 33rem;
}


.box__text {
    position: absolute;
    left: 0px;
    height: 33rem;
    width: 60%;
    /* background-image: linear-gradient(to bottom, #771414, #771414, #1e0202, #1e0202, #771414, #771414); */
    background-image: linear-gradient(to bottom, #991d1d, #1e0202, #991d1d);
    color: white;
    clip-path: polygon(0% 0%, 95% 0, 100% 50%, 95% 100%, 0% 100%);
    padding: 7.5rem 3rem 0rem 3rem;
}

.input__search {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.btn__search {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.pencarian__lanjutan__box {
    position: relative;
}

.pencarian__lanjutan {
    margin-top: 0.8rem;
    background-color: white;
    padding: 0.8rem 1rem !important;
    z-index: 2;
    border-radius: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1px solid gray;
}


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

.item-infografis {
    height: 250px;
    background-color: #ff3f4d;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}


.star-rating {
    direction: rtl;
    /* Reverse order for correct hover effect */
    display: inline-block;
}

.star-rating input {
    display: none;
    /* Hide the radio buttons */
}

.star-rating label {
    font-size: 3rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked~label {
    color: var(--accent-color);
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: var(--accent-color);
}


.star-rating-hasil {
    direction: rtl;
    /* Reverse order for correct hover effect */
    display: inline-block;
}

.star-rating-hasil label {
    font-size: 3rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}


/* PRODUK HUKUM */
.xproduk_hukum-title {
    font-weight: bold !important;
    text-align: center !important;
    font-size: 20px !important;
}

.service-item {
    padding-top: 20px !important;
}

.services .service-item .title {
    font-size: 14px !important;
    margin-bottom: 10px !important;
}


/** RATING BARU */
.custom_star-rating {
    display: inline-block;
    font-size: 0;
    /* Hides the extra space between inline-block elements */
}

.custom_star {
    position: relative;
    display: inline-block;
    font-size: 50px;
    color: lightgray;
    /* Bintang kosong */
}

.custom_star::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-color);
    /* Warna bintang terisi */
    width: 0;
    overflow: hidden;
}

/* Full custom_star */
.full::before {
    width: 100%;
}

/* Half custom_star */
.half::before {
    width: 50%;
}

/* Custom percentage-filled custom_star */
.custom::before {
    width: 50%;
    /* Ganti dengan persentase yang diinginkan */
}

.percen_1::before {
    width: 10%;
}

.percen_2::before {
    width: 20%;
}

.percen_3::before {
    width: 30%;
}

.percen_4::before {
    width: 40%;
}

.percen_5::before {
    width: 50%;
}

.percen_6::before {
    width: 60%;
}

.percen_7::before {
    width: 70%;
}

.percen_8::before {
    width: 80%;
}

.percen_9::before {
    width: 90%;
}

.percen_10::before {
    width: 100%;
}