body {
    font-family: "Poppins", sans-serif;
    background-color: #fff6ea;
}

.news-container {
    width: 80%;
    max-width: 10000px;
    background: transparent;
    padding: 30px;
    margin: 40px auto;
    border-radius: 0px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* ======== Header ======== */
.news-header {
    text-align: center;
    margin-bottom: 20px;
}

.nav-logo1 {
    display: inline-flex;
    align-items: center; /* Mengatur vertikal ke tengah */
}

.nav-logo1 img {
    max-width: 190px;
    margin-left: -30px;
}

.news-title {
    color: #432e6e;
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
    text-align: center;
    margin-top: 5rem;
}

/* ======== Content ======== */
.news-content {
    color: #444;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

/* ======== Image Styling ======== */
/* ======== Image Styling ======== */
.news-image-container {
    display: flex; /* Menggunakan Flexbox */
    justify-content: center; /* Memposisikan elemen anak di tengah secara horizontal */
    align-items: center; /* Memposisikan elemen anak di tengah secara vertikal */
    margin: 20px 0;
}

.news-image {
    width: 70%;
    aspect-ratio: 4/3;
    object-fit: cover;
    /* max-width: 700px; */
    display: block; /* Pastikan gambar tidak inline agar margin auto berfungsi */
    margin: 0 auto; /* Memusatkan gambar */
}

/* ======== Footer ======== */
.news-footer {
    text-align: center;
    margin-top: 30px;
}

.return-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: #432e6e;
    color: white;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.return-link:hover {
    background-color: #2b5c6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 91, 187, 0.4);
}

/* Jika tidak ada gambar */
.no-picture {
    text-align: center;
    font-size: 1em;
    color: #888;
    font-style: italic;
}

.container1 {
    width:83%;
    max-width: 10000px;
    padding: 30px;
    margin: 40px auto;
    
}
h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}
.border-b-2 {
    border-bottom: 2px solid #432e6e;
    margin-bottom: 16px;
}
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.card {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card .content {
    padding: 16px;
}
.card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.card p {
    color: #4b5563;
    font-size: 14px;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh; /* atau sesuai kebutuhan tinggi container */
}

.btn1 {
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #fff;
    background: #432e6e;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease; /* perbaiki typo '0.3sease' */
    text-decoration: none; /* hilangkan underline */
}


/* ======== Responsiveness ======== */
@media (max-width: 768px) {
    .news-container {
        width: 90%;
        padding: 20px;
    }

    .news-title {
        font-size: 2em;
    }

    .news-content {
        font-size: 1em;
        line-height: 1.6;
    }

    .return-link {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}
