* {
    box-sizing: border-box;
}

body{
    margin: 0;
}

.judul-wrapper,
.container-cat{
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.judul-wrapper{
    margin-top: 40px;
    margin-bottom: 20px;
}

#judul_catatan{
    color: var(--dark-blue-color);
    font-size: 36px;
    font-weight: 800;
    text-align: left;
    border-bottom: 5px solid var(--orange-color);
    width: fit-content;
    line-height: 1.2;
    padding-bottom: 10px;
}

/* container */
.container-cat{
    margin-bottom: 80px;
}

/* Gambar utama */
.gambar-utama{
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.gambar-utama img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Penulis */
.penulis{
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #ddd;
}

.penulis span{
    font-size: 16px;
    color: #333;
}

.penulis strong{
    color: var(--dark-blue-color);
}

.penulis p{
    color: grey;
    font-size: 14px;
    margin: 5px 0 0 0;
}


/* isi */
.description{
    margin: 30px 0;
    line-height: 1.6;
}

.desc-text,
li {
    color: var(--dark-blue-color);
    font-size: 18px;
    margin-bottom: 15px;
}

ul{
    padding: 0;
}

ul li{
    margin: 0;
}

figure{
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0 20px 0;
}

.desc-pic{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .judul-wrapper,
    .container-cat {
        width: 95%; 
        max-width: 100%;
    }

    #judul_catatan {
        font-size: 28px; 
        border-bottom-width: 3px;
    }

    .judul-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Kecilkan font body text */
    .desc-text{
        font-size: 16px;
        text-align: justify; /* Opsional: agar teks rata kiri-kanan di HP */
    }

    .penulis {
        margin-left: 0;
        padding-left: 10px;
    }
}