/* ===== GLOBAL STYLE ===== */
.jadwal-table tbody tr{
    cursor:pointer;
    transition:0.3s;
}

.jadwal-table tbody tr:hover{
    background:rgba(255,255,255,0.08);
    transform:scale(1.01);
}
.jadwal-table tbody tr {
    cursor: pointer;
}
.news-item img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:12px;
}
:root {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f1f5f9;
    --primary: #2563eb;
    --secondary: #06b6d4;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
}

.section {
    padding: 80px 10%;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== HEADER STYLE ===== */
.detail-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 10%;
    color: white;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.detail-header h1 {
    margin: 0;
}

/* ===== CARD GRID ===== */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.detail-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* ===== LIST STYLE ===== */
ul {
    padding-left: 20px;
    line-height: 1.8;
}

/* ===== BACK BUTTON ===== */
.back-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 25px;
    border-radius: 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.back-btn:hover {
    background: var(--secondary);
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    h1 {
        font-size: 28px;
    }
}
/* ===== BERITA GRID ===== */
.berita-container{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:25px;
    margin-top:30px;
}

/* CARD BERITA */
.berita-card{
    background:#1c2a3a;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition:0.3s;
}

.berita-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.berita-content{
    padding:20px;
}

.berita-content h3{
    font-size:18px;
    margin-bottom:10px;
}

.berita-content a{
    color:#3aa8ff;
    text-decoration:none;
}

/* ===== MODE LIGHT ===== */

body.light .berita-card{
    background:white;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

body.light .berita-content h3{
    color:#222;
}

body.light .berita-content a{
    color:#0077ff;
}


/* ===== RESPONSIVE HP ===== */

@media (max-width:768px){

    .berita-container{
        grid-template-columns:1fr;
        padding:0 15px;
    }

    .berita-card img{
        height:220px;
    }

    .berita-content h3{
        font-size:16px;
    }
/* =========================
   RESPONSIVE BERITA MOBILE
========================= */

@media screen and (max-width: 768px){

/* container berita */
.berita-container{
    display:flex;
    flex-direction:column;
    gap:20px;
    padding:20px;
}

/* card berita */
.berita-card{
    width:100%;
    border-radius:20px;
    overflow:hidden;
}

/* gambar berita */
.berita-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

/* isi berita */
.berita-content{
    padding:15px;
}

.berita-content h3{
    font-size:16px;
    line-height:1.4;
}

}
}