/* area kanan */
div.recent-news {
    display: flex;
    flex-direction: column;
    width: 25%;
    gap: 20px;
}

div.recentnews{
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #D0E1CF;
    border-radius: 5px;
    padding: 10px;
}

div.list-recent{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

div.item{
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-height: 60px;
}

div.item img{
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

div.recent-news h1{
    font-family: 'Yeseva One',sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: rgba(20, 106, 14, 1);
}
div.item p{
    font-family: 'Work Sans' , sans-serif;
}
div.item p.date{
    color: rgba(25, 236, 21, 1);
    font-size: 12px;
    font-weight: 400;
}
div.item p.title a{
    color: rgba(33, 33, 36, 1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none; /* Menghilangkan underline */
}

div.search form{
    width: 100%;


}

div.search form div{
    display: flex; 
    align-items: center; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(20, 106, 14, 1);
    height: 50px;
}

div.search form div input{
    border: none; 
    outline: none; 
    flex: 1;
    background-color: rgba(20, 106, 14, 1);
    color: rgba(252, 254, 254, 1);
    font-family: 'Work Sans',sans-serif;
    font-weight: 400;
    size: 16px;
}

div.search form div input::placeholder{
    color: rgba(252, 254, 254, 1);
    font-family: 'Work Sans',sans-serif;
    font-weight: 400;
    size: 16px;
}

div.search form div img{
    width: 20px; 
    height: 20px; 
    cursor: pointer;
}

div.category{
    border: 1px solid #D0E1CF;
    border-radius: 5px;
    padding: 10px;
}

div.category h1{
    font-family: 'Yeseva One',sans-serif;
    font-weight: 400;
    size: 32px;
    color: rgba(20, 106, 14, 1);
}

div.circle {
    width: 25px; /* Tentukan lebar tetap */
    height: 25px; /* Pastikan tinggi sama dengan lebar */
    display: flex; /* Agar teks di tengah */
    justify-content: center; /* Pusatkan secara horizontal */
    align-items: center; /* Pusatkan secara vertikal */
    background-color: rgba(25, 236, 21, 1);
    border-radius: 50%; /* Jadikan elemen berbentuk lingkaran */
    padding: auto;
}

div.categories {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    gap: 5px;
}

div.categories button p{
    font-size: 18px;
    color: rgba(33, 33, 36, 1);
    transform: translateY(0px);
}
div.categories button div p{
    font-size: 16px;
    color: rgba(252, 254, 254, 1);
    text-align: center;
    transform: translateY(0px);
}

.category-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* Atur lebar sesuai kebutuhan */
    padding: 10px;
    border: none;
    background: none; /* Hilangkan background default */
    cursor: pointer; /* Tambahkan pointer untuk menunjukkan interaktivitas */
    text-align: left;
    flex-direction: row;

}

.category-item:hover {
    background-color: rgba(200, 200, 200, 0.2); /* Tambahkan efek hover */
    border-radius: 5px; /* Opsional: buat lebih menarik */

}

.category-item.active {
    background-color: rgba(200, 200, 200, 0.1); /* Warna saat aktif */
    border: 1px solid #D0E1CF; /* Border untuk jejak klik */
    border-radius: 5px;
    font-weight: 600;
    transform: translateX(8px);
}

