
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
}

.sekolah {
    position: relative;
    background-color: #528275;
    color: white;
    padding: 40px 5%;
    display: flex;
    align-items: center;
    gap: 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sekolah .foto img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.sekolah .keterangan p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.9;
}

.sekolah .keterangan h1 {
    margin: 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.kategori-sekolah {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.kategori-navbar a {
    text-decoration: none;
    background-color: #e2ece9;
    color: #4a7568;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.kategori-navbar a:hover,
.kategori-navbar a.active {
    background-color: #528275;
    color: white;
}

.schedule-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 30px auto 20px auto;
    padding: 0 20px;
}

.schedule-top h2 {
    color: #3b5e53;
    font-size: 24px;
}

.nav-month {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 6px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-month h2.month-title {
    font-size: 16px;
    margin: 0;
    color: #333;
    min-width: 140px;
    text-align: center;
}

.month-prev,
.month-next {
    background-color: #528275;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.month-prev:hover,
.month-next:hover {
    background-color: #3b5e53;
}

hr {
    border: 0;
    height: 1px;
    background: #dcdcdc;
    max-width: 1100px;
    margin: 20px auto;
}

.daftar-kegiatan,
.card-kegiatan,
.container-kegiatan {
    max-width: 1060px;
    margin: 20px auto 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.daftar-kegiatan h3,
.card-kegiatan h3,
.container-kegiatan h3,
.daftar-kegiatan h4 {
    color: #3b5e53;
    margin-top: 0;
    font-size: 20px;
}

.daftar-kegiatan p,
.card-kegiatan p,
.container-kegiatan p {
    color: #666;
    font-size: 15px;
    margin-bottom: 0;
}


/* ================================
   DAFTAR JADWAL KEGIATAN
================================ */

.card-utama {
    width: 85%;
    max-width: 1100px;
    margin: 30px auto 50px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.second-card {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    padding: 22px 28px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #528779;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.second-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Tanggal kegiatan */
.card-tanggal {
    min-width: 95px;
    height: 95px;
    background-color: #e1efeb;
    color: #356b60;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.card-tanggal p {
    margin: 2px 0;
    font-weight: 600;
    text-align: center;
}

.card-tanggal p:first-child {
    font-size: 30px;
    font-weight: 700;
}

.card-tanggal p:nth-child(2) {
    font-size: 15px;
    text-transform: uppercase;
}

.card-tanggal p:last-child {
    font-size: 13px;
}

/* Informasi kegiatan */
.deskripsi {
    flex: 1;
    min-width: 0;
}

.deskripsi h2 {
    margin: 0 0 10px;
    color: #315f55;
    font-size: 21px;
}

.deskripsi p {
    margin: 5px 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}

/* Tampilan ketika belum ada kegiatan */
.card-utama > .second-card:has(.deskripsi h2:first-child) {
    min-height: 100px;
}

/* Responsive */
@media (max-width: 600px) {
    .card-utama {
        width: 92%;
        margin-top: 20px;
    }

    .second-card {
        padding: 16px;
        gap: 15px;
    }

    .card-tanggal {
        min-width: 75px;
        height: 85px;
    }

    .card-tanggal p:first-child {
        font-size: 25px;
    }

    .deskripsi h2 {
        font-size: 17px;
    }

    .deskripsi p {
        font-size: 13px;
    }
}
