:root {
    --nunito: "Nunito Sans", sans-serif;
    --neutral: rgba(42, 42, 46, 1);
    --white: rgba(255, 255, 255, 1);
    --grey: rgba(87, 87, 91, 1);
    --blue: rgba(0, 105, 177, 1);
    --lightblue: rgb(4, 140, 170);
    --green: rgba(152, 201, 60, 1);
    --block: block;
    --flex: flex;
    --none: none;
    --absolute: absolute;
    --relative: relative;
    --center: center;
    --left: left;
    --fw700: 700;
}

/* Global */
body {
   font-family: var(--nunito);
   font-size: 1rem;
   font-weight: 400;
   line-height: 1.5rem;
}
.py-20 {padding: 20px 0}
.py-40 {padding: 40px 0}
.py-80 {padding: 80px 0}
.pt-60 {padding-top: 60px}
.pt-140 {padding-top: 140px}
.mb-15 {margin-bottom: 15px}
.mb-56 {margin-bottom: 56px!important}
a,a:hover,.btn-link:hover {
    text-decoration: var(--none);
}
.btn:not(:disabled):not(.disabled) {
    text-decoration: none;
}
.card-header[aria-expanded="true"] .btn-link {
    color: #102f45;
}
.pagination {justify-content: var(--center)}
.page-link {border: var(--none)}
.pagination .page-item {margin-right: 8px}
.pagination .page-item:last-child {margin-right: 0}
.page-item.active .page-link,
.page-item .page-link:hover {border-radius: 6px}
.pagination .page-item.prev {
    margin-right: 12px;
    border-right: 1px solid #ddd;
}
.pagination .page-item.next {
    padding-left: 1px;
    border-left: 1px solid #ddd;
}
#overlay {
    position: var(--absolute);
    top: 0;
    left: 0;
    transform: translate(0, 0);
    background: rgba(255, 255, 255, .5);
    height: 100%;
    width: 100%;
}
ul {
    list-style: none;
    margin-left: 0;
    padding-left: 12px;
}
ol {
    margin-left: 22px;
}
li a {
    color: var(--grey);
}
*:focus {
    box-shadow: none !important;
    outline: none !important;
}
.btn-link.focus, .btn-link:focus {background: transparent}
.bg-white {background-color: var(--white)}
.btn-chat {
    background-color: var(--lightblue);
    font-weight: var(--fw700);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
}
.input-group-prepend {
    margin-right: -55px;
    z-index: 1;
}
#autocomplete-search {
    background-color: var(--white);
    height: 3.75rem;
    padding-left: 55px;
    border-radius: 8px;
}
.loading {
    display: var(--none);
    position: var(--absolute);
    right: 15px;
    line-height: 3.75rem;
}
#suggestion-box {
    width: 100%;
    border: 1px solid #cccccc;
    background: var(--white);
    position: var(--absolute);
    padding: 1rem 0 0;
    top: 60px;
    z-index: 1000;
    border-radius: .5rem;
    height: 25rem;
    overflow-y: scroll;
}
#suggestion-box div {
    padding: 5px 15px;
    text-align: var(--left);
    color: #264966;
    cursor: pointer;
    opacity: .8;
}
#suggestion-box div:hover {
    background: #f0f0f0;
}
#suggestion-box div.suggestion-header {
    display: var(--flex);
    justify-content: space-between;
    font-weight: var(--fw700);
    font-size: 1.25rem;
    color: #264966;
    opacity: 1;
}
#suggestion-box div.suggestion-header,
#suggestion-box div.suggestion-header .recent-title,
#suggestion-box div.suggestion-header .clear-all,
#suggestion-box .suggestion-view-all,
#suggestion-box .suggestion-view-all:hover {
    background: var(--white);
    cursor: default;
}
#suggestion-box div.suggestion-header .recent-title,
#suggestion-box div.suggestion-header .clear-all {
    padding: 0;
}
#suggestion-box div.suggestion-header .no-recent,
#suggestion-box div.suggestion-header .clear-all {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25rem;
}
#suggestion-box div.suggestion-header .no-recent {
    margin-top: 10px;
    color: var(--neutral);
}
#suggestion-box div.suggestion-header .clear-all {
    color: #2C5CC5;
    cursor: pointer;
}
#suggestion-box .suggestion-view-all {
    padding: 10px 16px 12px;
    border-top: 1px solid rgba(224, 224, 224, 1);
}
#suggestion-box .suggestion-view-all a {
    font-size: .875rem;
    font-weight: var(--fw700);
    line-height: 1.25rem;
    color: var(--lightblue);
}

.loader {
    position: var(--absolute);
    top: 50%;
    left: 50%;
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
            mask: var(--_m);
    -webkit-mask-composite: source-out;
            mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}



/* Landing Page */
.main-banner {
    padding-top: 110px;
    background: linear-gradient(135deg, #00548E 9.37%, #0069B1 53.65%, #00ADC6 100%);
}
.main-banner.small-banner .search-wrapper {
    padding: 22px 0 10px;
}
.search-wrapper {
    padding: 9.375rem 0;
}
.search-wrapper h1,
.main-featured h2,
article h1,
.related-article h3,
.chat-kami h3,
.result-article-item .article-title {
    font-size: 1.5rem;
    font-weight: var(--fw700);
    line-height: 2rem;
}
.search-wrapper h1 {
    color: var(--white);
    margin-bottom: 20px;
}
.search-wrapper .form-control {
    border: 0;
    background-color: var(--white);
}
.search-wrapper .form-control,
.search-wrapper .form-control:focus {
    font-size: 1rem;
    line-height: 1.5rem;
    height: 3.75rem;
    color: var(--grey);
    border-top-right-radius: .5rem;
    border-bottom-right-radius: .5rem;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.search-wrapper .input-group-text {
    background-color: transparent;
    padding: 0 1rem;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
    border: 0;
}

.main-featured .box-wrapper,
.contact-us .button-wrapper {
    display: var(--flex);
    align-items: var(--center);
    justify-content: var(--center);
}
.main-featured .box-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 50px;
}
.main-featured h2 {
    color: var(--neutral);
    margin-bottom: 24px;
}
.main-featured .box-item {
    width: 25%;
    text-align: var(--center);
    padding: 6px;
}
.main-featured .box-icon {
    background: var(--white);
    width: 80px;
    height: 80px;
    position: var(--relative);
    left: 18px;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 10px;
    border-radius: 12px;
}
.main-featured .box-title, 
.main-featured .btn-link,
.main-featured .btn-link:active {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: var(--neutral);
    background-color: transparent;
    letter-spacing: -0.005em;
    padding: 0;
}
.main-featured .btn-link {
    display: var(--flex);
    align-items: var(--center);
    justify-content: space-between;
    width: 100%;
    text-wrap: auto;
    text-align: var(--left);
}
.main-featured .accordion .card-header {
    padding: 12px 16px;
    background-color: transparent;
}
.main-featured .accordion .card-body,
.chat-kami p {
    font-size: .875rem;
    line-height: 1.5rem;
    color: var(--grey);
}
.main-featured .accordion .more a {
    font-size: .875rem;
    font-weight: var(--fw700);
    color: var(--lightblue);
}
.main-featured .accordion .more a:hover {
    color: #021519;
}
.contact-us {
    background-color: var(--blue);
    text-align: var(--center);
    color: var(--white);
}
.contact-us h2 {
    font-size: 29px;
    font-weight: var(--fw700);
    line-height: 37px;
    margin-bottom: 20px;
}
.contact-us .button-wrapper {
    gap: 40px;
    margin-top: 50px;
}
.contact-us .btn {
    font-weight: 600;
    color: var(--white);
    padding: 10px 40px;
    border-radius: 3.125rem;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.contact-us .btn:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.contact-us .btn-success {
    background-color: var(--green);
}
.contact-us .btn-outline-light:hover {
    background-color: transparent;
}

/* search results */
.search-result-wrapper {min-height: 450px}
.search-result-wrapper .page-title {
    font-size: 28px;
    font-weight: var(--fw700);
    line-height: 36px;
    color: var(--neutral);
}
.search-result-wrapper .messsage {
    display: var(--block);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}
.result-article-item {
    border-bottom: 1px solid rgba(216, 216, 217, 1);
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.result-article-item .article-title a {
    color: var(--neutral);
}
.no-results {
    pointer-events: var(--none);
    margin: 8em auto!important;
}
.related-article ul {
    list-style: disc;
    padding-left: 20px;
}

/* Sidebar */
.sidebar .dropdown-toggle {
    position: var(--relative);
    background: rgba(212, 230, 242, 1);
    font-weight: var(--fw700);
    color: var(--neutral);
    padding: 14px 8px;
    text-align: var(--left);
    border: 0;
    border-radius: .5rem;
}
.sidebar .dropdown-toggle .icon {
    position: var(--absolute);
    right: 0;
    top: 50%;
    transform: translate(-100%, -50%);
    transition: transform 0.3s ease;
}
.sidebar .dropdown-toggle .icon.rotate-chevron {
    transform: translate(-100%, -50%) rotate(180deg); /* Gabungkan dengan rotasi */
}
.sidebar .dropdown-toggle span {
    margin-left: 8px;
}
.sidebar .dropdown-toggle::after {
    display: var(--none);
}
.sidebar .dropdown-menu {
    width: 100%;
}
.sidebar .dropdown-item {
    padding: .75rem 0.65rem;
}
.sidebar .dropdown-item:hover {
    background-color: rgba(212, 230, 242, 1);
}
.sidebar .dropdown-item img {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .5rem;
}
.sidebar .accordion .card {border: 0}
.sidebar .accordion .card-header {
    background-color: transparent;
    padding: .5rem .25rem;
    border-bottom: 0;
}
.sidebar .accordion .card-header .btn-link {
    display: var(--flex);
    align-items: var(--center);
    justify-content: space-between;
    width: 100%;
    text-wrap: auto;
    text-align: var(--left);
    font-weight: var(--fw700);
    color: var(--neutral);
}
.sidebar .accordion .card-header .btn-link,
.sidebar .accordion .card-body,
.sidebar .accordion .card-body li a {
    font-size: .875rem;
    line-height: 1.25rem;
}
.sidebar .accordion .card-body {
    padding: 0 1rem;
}
.sidebar .accordion .card-body li {margin-bottom: 12px}
.sidebar .accordion .card-body li a:hover {
    color: var(--grey);
}
.sidebar .accordion .card-body li.active a {
    font-weight: var(--fw700);
    color: var(--lightblue);
}
.btn-secondary:not(:disabled):not(.disabled).active, 
.btn-secondary:not(:disabled):not(.disabled):active, 
.show>.btn-secondary.dropdown-toggle {
    background: #D4E6F2;
    border-color: #D4E6F2;
    color: #2A2A2E;
}

/* Breadcrumbs */
.breadcrumbs ol {
    display: var(--block);
    gap: 10px;
    margin-left: 0;
    list-style: var(--none);
    word-wrap: break-word;
}
.breadcrumbs li {
    display: inline;
    font-size: 12px;
    line-height: 18px;
    color: var(--grey);
}

/* Single */
article,
.breadcrumbs ol {
    padding: 0 1rem!important;
}
article h1 {margin-bottom: 15px}
article img {margin: 20px 0}

@media screen and (max-width: 767px) {
    body {
        font-family: var(--nunito)!important;
    }
    .main-banner {padding-top: 100px}
    .search-wrapper {padding: 5.375rem 0}
    .search-wrapper h1,
    .main-featured h2 {
        font-size: inherit;
        line-height: inherit;
    }
    .main-featured .box-wrapper {
        gap: 0 15px;
    }
    .main-featured .box-item {
        width: 30%;
    }
    .main-featured .box-title,
    .main-featured .btn-link {
        font-size: 12px;
        line-height: 18px;
    }
    .main-featured .collapse:not(.show),
    .contact-us p > br {
        display: var(--none);
    }
    .contact-us h2 {
        font-size: 24px;
    }
    .contact-us p {
        font-size: 14px;
    }
    .contact-us .button-wrapper {
        flex-direction: column;
        gap: 12px 0;
    }
}