body {
    background: linear-gradient(to right, white,rgb(240, 249, 255));
}

.all-event {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  padding: 40px 60px;
}

.image {
    border-radius: 20px;
}

.Content {
    width: 400px;
    word-wrap: break-word;
}

.content h4{
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(0, 35, 73);
}

hr {
    border: solid 1px rgb(0, 0, 0);
    margin: 20px auto;
}

.tanggal {
    font-family: sans-serif;
    font-size: 15px;
    font-weight: lighter;
}


.kategori {
    margin: 0 auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    border-radius: 20px;
    background-color: #003871;
    color: white;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.132);
    padding: 5px 10px;
}

.date {
    max-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coes {
    /* Properti layout yang mungkin spesifik untuk penempatan COE */
    max-width: 100px;
    display: flex;
    align-items: end; /* Ini membuat konten di dalam flexbox sejajar di akhir */
    justify-content: end; /* Ini membuat konten di dalam flexbox sejajar di akhir */
    
    /* Properti visual yang disesuaikan agar sama dengan .kategori */
    margin: 1; /* Ini akan memusatkan elemen jika ada ruang yang cukup */
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    border-radius: 20px;
    background-color: #003871;
    color: white;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.132);
    padding: 5px;
}
.box-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tags {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.box-tags h6 {
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.132);
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #003871;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
}

.box {
    max-width: 450px;
    max-height: fit-content;
    border-radius: 20px;
    justify-content: flex-end;
}

.news-item {
    display: flex;
    padding: 5px 20px;
    width: 450px;
}

.news-item img {
    max-width: 150px;
    max-height: 100px;
    object-fit: cover;
}

.title {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: rgb(0, 35, 73);
}

.text .isi {
    color: rgba(0, 0, 0, 0.557);
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    font-weight: lighter;
    word-wrap: break-word;
}

.Date {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.Kategori {
    color: rgba(0, 0, 0, 0.409);
}

.tangal { 
    justify-content: flex-end;
}

.news-recent {
    max-width: 400px;
    margin: 0 auto 10px;
}

.header-news-recent {
    margin: 10px 20px 20px;
    font-weight: 900;
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(0, 44, 94);
}


.flex-tanggal {
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-tempat {
    border-radius: 10px;
    padding: 10px 20px;
    width: 350px;
    max-width: 350px;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.132);
    gap: 0.5rem;
}
.box-tanggal {
    border-radius: 10px;
    padding: 10px 20px;
    width: 350px;
    max-width: 350px;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.132);
    gap: 0.5rem;
}

.box-icon .icon{
    width: 35px;
    margin: 0px;
    height: 35px;
}

@media (max-width :1200px) {
    .box {
        display: none;
    }
}
@media (max-width :992px) {
    .box {
        display: none;
    }

    .flex-tanggal {
        gap: 1rem;
    }
}
@media (max-width :767px) {
    .box {
        display: none;
    }

    .flex-tanggal {
        gap: 1rem;
    }
}
@media (max-width :576px) {
    .box-tags .date {
        flex-direction: column;
    }
    .box-tags .coes {
        flex-direction: column;
    }
    .all-event {
        padding: 20px 10px;
    }

    .box {
        display: none;
    }
    .flex-tanggal {
        gap: 1rem;
        padding: 0 20px;
        justify-content: center;
        flex-direction: column;
    }

    .box-tanggal {
        width: 320px;
    }

    .box-tempat {
        width: 320px;
    }
}

@media (max-width:360px) {
    .box-tanggal {
        width: 290px;
    }

    .box-tempat {
        width: 290px;
    }
}
