.sidebar-information {
    position: sticky;
    top: 150px;
    background: #fff;
    padding: 10px 20px 10px 10px;
    height: calc(100vh - 140px);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.sidebar-menu a {
    color: #333; 
    text-decoration: none;
    padding: 8px 12px; 
    margin-bottom: 2px;
    border-radius: 5px; 
    transition: all 0.2s ease-in-out;
    line-height: 1.3; 
}

/* Hover State */
.sidebar-menu a:hover {
    background: #fde8e9; 
    color: #ed1c24; 
}

/* Level 1: Heading Utama */
.sidebar-menu a.heading-link {
    font-weight: 600;
    font-size: 15px; 
}

/* Level 2: Sub-heading */
.sidebar-menu a.subheading-link {
    font-weight: 400;
    font-size: 14px; 
    padding-left: 30px; 
    border-left: 3px solid transparent; 
}

/* State Aktif - Heading Utama (Blok Merah Pekat) */
.sidebar-menu a.heading-link.active {
    background: #ed1c24; 
    color: white; 
    font-weight: 600;
}

/* State Aktif - Sub-heading (Blok Merah Muda + Garis Kiri) */
.sidebar-menu a.subheading-link.active {
    background: #fde8e9; 
    color: #141414; 
    font-weight: 600;
    border-left: 3px solid #ed1c24; 
    border-radius: 0 5px 5px 0; 
}

/* CONTENT */
.scroll-target {
    scroll-margin-top: 150px; 
}

.content-information {
    padding: 10px 20px;
}

/* Styling Heading Konten (H2) */
.content-information h2 {
    margin-top: 48px;
    margin-bottom: 24px;
    font-size: 48px;
    line-height: 64px;
    font-weight: 100;
    color: #141414;
    border-bottom: none; 
}

/* Styling Sub-heading Konten (H3) */
.content-information h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 40px;
    font-weight: 100;
    color: #141414;
}

.text-danger {
    color: #ed1c24 !important;
}
.code_red {
    color: #ed1c24; background: #fff5f5; padding: 2px 6px; border-radius: 4px;
}

.code_blue {
    color: #008000; background: #f0fff0; padding: 2px 6px; border-radius: 4px;
}

/* Menghilangkan margin atas yang berlebihan untuk item pertama */
#pendahuluan h2 {
    margin-top: 0 !important;
}

/* PENYESUAIAN CLASS TERM MENJADI PARAGRAF P (<p>) */
.content-information {
    max-width: 860px;
}

.content-information p.term {
    color: #141414;
    font-size: 17px !important;
    margin-bottom: 1em;
    transition: none;
    letter-spacing: 0.012em !important; 
    font-kerning: none; /* Mematikan kerning bawaan agar jarak antar huruf lebih merata */
    text-rendering: geometricPrecision;
    word-spacing: 0.019em;
}

.content-information p.term a {
    color: #ed1c24;
}

.glossary__area a {
    color: #ed1c24;
    text-decoration: none;
}

/* Kustomisasi List Utama (Menampilkan Tanda - Merah) */
.content-information ul.term-list {
    margin: 0 0 16px 0;
    padding: 0;
    list-style: none;
}

.content-information ul.term-list > li {
    color: #141414;
    font-size: 17px !important;
    margin: 0 0 16px 0;
    transition: none;
    letter-spacing: 0.012em !important; /* Bereksperimenlah di angka 0.1px hingga 0.5px */
    font-kerning: none; /* Mematikan kerning bawaan agar jarak antar huruf lebih merata */
    text-rendering: geometricPrecision;
    word-spacing: 0.019em;
    
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px; 
}

.content-information ul.term-list > li::before {
    content: "-"; 
    position: absolute;
    left: 0;
    color: #ed1c24; 
    font-weight: bold;
}

/* Kustomisasi Sub-List / Anak List (Menampilkan Tanda Disc Merah) */
.content-information ul.term-list ul {
    margin: 8px 0 8px 0;
    padding: 0;
    list-style: none;
}

.content-information ul.term-list ul li {
    font-size: 1em;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 6px;
    position: relative;
    padding-left: 20px;
}

.content-information ul.term-list ul li::before {
    content: "•"; 
    position: absolute;
    left: 2px;
    color: #ed1c24;
    font-size: 2.5em;
}

/* --- FIX UNTUK GARIS JUDUL BAWAAN TEMPLATE --- */
.page__title-2 {
    position: relative;
    padding-bottom: 15px; 
    display: inline-block; 
}

.page__title-2::before {
    bottom: 0 !important; 
}

@media only screen and (max-width: 767px) {
    .sidebar-information {
        display: none !important;
    }
    
    .content-information h2 {
        font-size: 32px;
        line-height: 40px;
    }
    .content-information h3 {
        font-size: 24px;
        line-height: 32px;
    }
}