/* =========================
   PAGE HERO GLOBAL
========================= */
.page-hero {
    padding: 40px 0 20px;
    /* atas diperbesar supaya tidak mepet navbar */
}

.page-title {
    font-size: 36px;
    font-weight: 600;
    color: #444;
}

.page-divider {
    width: 120px;
    height: 3px;
    background-color: #0992C2;
    margin-top: 12px;
    border-radius: 2px;
}

.page-subtitle {
    font-size: 15px;
    color: #6c757d;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ================================
   STRUKTUR POSTER
================================ */

.struktur-poster img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: 0.4s ease;
}

.struktur-poster img:hover {
    transform: scale(1.01);
}


/* ================================
   GRID UTAMA (SIDEBAR + CONTENT)
================================ */

.struktur-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: start;
}


/* ================================
   SIDEBAR FILTER
================================ */

.struktur-sidebar {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 120px;
}

.struktur-sidebar h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.struktur-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.struktur-sidebar li {
    margin-bottom: 10px;
}

.struktur-sidebar a {
    text-decoration: none;
    color: #333;
    padding: 10px 14px;
    display: block;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-size: 14px;
}

.struktur-sidebar a:hover {
    background: rgba(44, 123, 229, 0.08);
    color: #0992C2;
    transform: translateX(5px);
}

.struktur-sidebar a.active {
    background: #0992C2;
    color: #fff;
    font-weight: 500;
}


/* ================================
   GURU GRID
================================ */

.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}


/* ================================
   GURU CARD
================================ */

.guru-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.guru-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}


/* PHOTO */

.guru-photo {
    overflow: hidden;
}

.guru-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.5s ease;
}

.guru-card:hover .guru-photo img {
    transform: scale(1.05);
}


/* INFO */

.guru-info {
    padding: 18px;
    text-align: center;
}

.guru-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.guru-jabatan {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
}


/* MAPEL TAG */

.guru-mapel span {
    display: inline-block;
    background: #f1f3f5;
    padding: 5px 10px;
    margin: 3px;
    border-radius: 20px;
    font-size: 12px;
    transition: 0.3s;
}

.guru-mapel span:hover {
    background: #2c7be5;
    color: #fff;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {

    .struktur-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .struktur-sidebar {
        position: relative;
        top: 0;
    }

}