/* Resetting all margins to be consistent */
h2, h3, h4, h5, h6 {
    margin-left: 0;
    margin-bottom: 0.5rem;
    font-weight: 700; /* Bold for all headers */
}

/* H1 - Title of the Regulation */
h1 {
    font-size: 2rem; /* Slightly larger than Buku */
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}

/* H2 - Buku */
h2 {
    font-size: 1.85rem;
    color: #0f172a;
    padding-bottom: 5px;
    margin-top: 3rem;
    text-align: center;
}

/* H3 - Bab */
h3 {
    font-size: 1.6rem;
    color: #1e3a8a;
    margin-top: 2.5rem;
}

/* H4 - Bagian */
h4 {
    font-size: 1.45rem;
    color: #334155;
    margin-top: 0.5rem;
}

/* H5 - Paragraf */
h5 {
    font-size: 1.3rem;
    color: #475569;
    margin-top: 1.5rem;
}

/* H6 - Pasal */
h6 {
    font-size: 1.15rem;
    color: #2563eb; /* A distinct blue to make Pasal "pop" */
    margin-top: 0.5rem;
}

h6 + p {
    margin-top: 0;
}

/* Main text of the law (Ayat or single paragraph) */
.pasal-content, .ayat-list li {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* ============================================== */
/* ========= MOBILE PHONE DISPLAY =============== */
/* ============================================== */
@media screen and (max-width: 600px) {
    h1, h2, h3 {
        font-size: 1.6rem;
    }
}