/* ================================== */
/* GAYA UNTUK HALAMAN EVENT           */
/* ================================== */

/* CATATAN: Aturan .page-banner sudah dipindahkan ke style.css */


/* Judul Bagian */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* Bagian Terpopuler */
.popular-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.news-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* KARTU BERITA DENGAN CUSTOM SHAPE ANDA */
.news-card {
    /* Lebar diubah menjadi 320px */
    width: 320px;
    height: 200px;
    background-image: linear-gradient( 109.6deg,  rgba(75,228,255,1) 11.2%, rgba(188,204,251,1) 100.6% );
    
    /* === DIPERBAIKI: Nilai path disesuaikan untuk lebar 320px === */
    clip-path: path("M 14,0 L 306,0 A 14,13.33 0,0,1 320,13.33 L 320,133.33 A 14,13.33 0,0,1 306,146.67 L 150,146.67 A 14,13.33 0,0,0 140,160 L 140,186.67 A 14,13.33 0,0,1 130,200 L 14,200 A 14,13.33 0,0,1 0,186.67 L 0,13.33 A 14,13.33 0,0,1 14,0 Z");

    position: relative;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.12);
}

.card-content {
    width: 155px; /* Lebar area teks disesuaikan */
}
.news-date {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}
.news-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    max-height: 100px;
    max-width: 120.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    
}
.news-image {
    width: 167.5px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    right: 10px;
    top: 13px;
}
.read-more-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    position: absolute;
    bottom: 15px;
    left: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.read-more-btn:hover {
    background-color: #0056b3;
}

/* Bagian Berita Lainnya */
.other-news-section {
    padding: 80px 0;
}
.other-news-item {
    display: flex;
    gap: 30px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.other-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.other-news-image {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.other-news-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}
.other-news-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.other-news-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}