/* =========================================================
   PRESTASI
========================================================= */

.home-prestasi {
    padding: 70px 0;
    background: #fff;
}

.home-prestasi-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.home-prestasi-header h2 {
    margin: 8px 0 8px;
    color: #062b52;
    font-size: 32px;
    font-weight: 700;
}

.home-prestasi-header p {
    margin: 0;
    color: #54708f;
    font-size: 16px;
}

.home-prestasi-link {
    color: #0067c5;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.home-prestasi-link i {
    margin-left: 6px;
}


/* =========================
   SLIDER
========================= */

.home-prestasi-slider {
    position: relative;
    overflow: hidden;
    padding: 0 2px 10px;
}

.home-prestasi-slider .swiper-wrapper {
    align-items: stretch;
}

.home-prestasi-slider .swiper-slide {
    height: auto;
}


/* =========================
   CARD
========================= */

.home-prestasi-card {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5eaf0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    display: block;
    color: inherit;
    text-decoration: none;
}
.home-prestasi-card:hover {
    color: inherit;
    text-decoration: none;
}


/* =========================
   FOTO
========================= */

.home-prestasi-photo {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f4f7;
}

.home-prestasi-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.home-prestasi-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a98a8;
    font-size: 14px;
}


/* =========================
   CONTENT
========================= */

.home-prestasi-content {
    padding: 20px;
}

.home-prestasi-content h3 {
    margin: 0 0 10px;
    color: #062b52;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.home-prestasi-siswa {
    margin-bottom: 15px;
    color: #0067c5;
    font-size: 15px;
    font-weight: 600;
}

.home-prestasi-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
    color: #60758b;
    font-size: 14px;
}

.home-prestasi-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}

.home-prestasi-meta i {
    width: 16px;
    text-align: center;
    color: #0067c5;
    flex-shrink: 0;
}


/* =========================
   TOMBOL SLIDER
========================= */

.home-prestasi-slider .swiper-button-prev,
.home-prestasi-slider .swiper-button-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.home-prestasi-slider .swiper-button-prev {
    left: 10px;
}

.home-prestasi-slider .swiper-button-next {
    right: 10px;
}

.home-prestasi-slider .swiper-button-prev::after,
.home-prestasi-slider .swiper-button-next::after {
    font-size: 17px;
    font-weight: 700;
    color: #062b52;
}


/* =========================
   KOSONG
========================= */

.home-prestasi-slider .home-news-empty {
    padding: 40px;
    text-align: center;
    color: #777;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .home-prestasi {
        padding: 55px 0;
    }

    .home-prestasi-header h2 {
        font-size: 28px;
    }

    .home-prestasi-photo {
        height: 200px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .home-prestasi {
        padding: 45px 0;
    }

    .home-prestasi-header {
        display: block;
        margin-bottom: 25px;
    }

    .home-prestasi-header h2 {
        font-size: 26px;
    }

    .home-prestasi-link {
        display: inline-block;
        margin-top: 15px;
    }

    .home-prestasi-photo {
        height: 210px;
    }

    .home-prestasi-content {
        padding: 16px;
    }

    .home-prestasi-content h3 {
        font-size: 16px;
    }

}
/* =====================================================
   HALAMAN DAFTAR PRESTASI
===================================================== */

.prestasi-page {
    padding: 60px 0 70px;
    background: #fff;
}

.prestasi-page-header {
    margin-bottom: 35px;
}

.prestasi-page-header .home-section-label {
    display: block;
    margin-bottom: 12px;
}

.prestasi-page-header h1 {
    margin: 0 0 12px;
    color: #003b70;
    font-size: 42px;
    font-weight: 700;
}

.prestasi-page-header p {
    margin: 0;
    color: #52739b;
    font-size: 16px;
}


/* GRID */

.prestasi-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* CARD */

.prestasi-page-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.prestasi-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


/* FOTO */

.prestasi-page-photo {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f3f6f9;
}

.prestasi-page-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.prestasi-page-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a9aaa;
}


/* CONTENT */

.prestasi-page-content {
    padding: 20px;
}

.prestasi-page-content h2 {
    margin: 0 0 12px;
    color: #12395f;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.prestasi-page-siswa {
    margin-bottom: 18px;
    color: #0876d1;
    font-size: 15px;
    font-weight: 700;
}


/* META PRESTASI */
.prestasi-page-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #e5e9ee;
    color: #66809b;
    font-size: 14px;
}

.prestasi-page-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.prestasi-page-meta i {
    width: 16px;
    text-align: center;
    color: #0876d1;
    flex-shrink: 0;
}

/* EMPTY */

.prestasi-page-empty {
    grid-column: 1 / -1;
    padding: 45px 20px;
    border: 1px solid #e3eaf2;
    border-radius: 18px;
    text-align: center;
    color: #66809b;
}


/* TABLET */

@media (max-width: 991px) {

    .prestasi-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* HP */

@media (max-width: 767px) {

    .prestasi-page {
        padding: 40px 0 50px;
    }

    .prestasi-page-header h1 {
        font-size: 32px;
    }

    .prestasi-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .prestasi-page-photo {
        height: 220px;
    }

}
/* KARTU PRESTASI BISA DIKLIK */
.prestasi-page-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.prestasi-page-card:hover {
    color: inherit;
    text-decoration: none;
}
/* =====================================================
   DETAIL PRESTASI
===================================================== */

.prestasi-detail-page {
    padding: 60px 0 70px;
    background: #fff;
}

.prestasi-detail {
    max-width: 1100px;
    margin: 0 auto;
}


/* FOTO DETAIL */

.prestasi-detail-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f6f9;
    margin-bottom: 35px;
}

.prestasi-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* CONTENT */

.prestasi-detail-content {
    max-width: 900px;
}

.prestasi-detail-content h1 {
    margin: 10px 0 20px;
    color: #12395f;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 700;
}

.prestasi-detail-siswa {
    margin-bottom: 20px;
    color: #0876d1;
    font-size: 18px;
    font-weight: 700;
}


/* META DETAIL */
.prestasi-detail-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #e5e9ee;
    color: #66809b;
    font-size: 15px;
}

.prestasi-detail-meta div {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.prestasi-detail-meta i {
    width: 18px;
    text-align: center;
    color: #0876d1;
    flex-shrink: 0;
}

.prestasi-detail-meta strong {
    color: #12395f;
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 767px) {

    .prestasi-detail-page {
        padding: 40px 0 50px;
    }

    .prestasi-detail-image {
        height: 300px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .prestasi-detail-content h1 {
        font-size: 30px;
    }

    .prestasi-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

}

/* Meta Prestasi */
.prestasi-page-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}


