/* ===============================
   STRUKTUR ORGANISASI
================================= */

/* divider */
.struktur-divider {
    display: inline-block;
    width: 80px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, #5e1992, #efa735);
}

/* ===============================
   HEADER STRUKTUR
================================= */

.struktur-header {
    max-width: 700px;
    margin: 0 auto;
}

/* label kecil */
.struktur-label {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
    background: rgba(94, 25, 146, 0.1);
    color: #5e1992;
    margin-bottom: 10px;
}

/* title */
.struktur-title {
    font-weight: 800;
    font-size: 2rem;
    color: #3d105f;
}

/* subtitle */
.struktur-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 10px;
    line-height: 1.7;
}

/* ===============================
   CARD STRUKTUR
================================= */

.staff-card {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.2s ease;
}

/* hover halus */
.staff-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* ===============================
   FOTO STRUKTUR
================================= */
.staff-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 10px;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
/* placeholder */
.staff-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
}

/* ===============================
   TEXT STAFF
================================= */

/* nama */
.staff-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

/* jabatan */
.staff-role {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

/* ===============================
   RESPONSIVE
================================= */

/* tablet */
@media (max-width: 992px) {
    .struktur-title {
        font-size: 1.7rem;
    }

    .staff-photo {
        height: 200px;
    }
}

/* mobile */
@media (max-width: 576px) {
    .struktur-title {
        font-size: 1.4rem;
    }

    .struktur-subtitle {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .staff-photo {
        height: 180px;
    }

    .staff-name {
        font-size: 0.9rem;
    }

    .staff-role {
        font-size: 0.8rem;
    }
}

/* ===============================
   MOBILE STRUCTURE
================================= */

@media (max-width: 576px) {
    /* container padding */
    .py-5 {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    /* header */
    .struktur-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .struktur-subtitle {
        font-size: 0.82rem;
        padding: 0 10px;
    }

    /* card */
    .staff-card {
        padding: 10px;
        border-radius: 12px;
    }

    /* foto */
    .staff-photo {
        height: 150px;
        border-radius: 10px;
    }

    /* nama */
    .staff-name {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    /* jabatan */
    .staff-role {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

.staff-photo img {
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 576px) {
    .row.g-4 {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 14px;
    }
}

.staff-name,
.staff-role {
    word-break: break-word;
}

/* ===============================
   ANIMASI STRUKTUR
================================= */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* aktif */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* fallback kalau JS gagal */
.no-js .fade-up {
    opacity: 1;
    transform: none;
}

/* ===============================
   STRUKTUR DIVIDER
================================= */

.struktur-divider {
    width: 64px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #5e1992 0%, #7d2bb8 55%, #efa735 100%);
    position: relative;
}

.struktur-divider::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(10px);
    opacity: 0.35;
}
@media (max-width: 768px) {
    .struktur-divider {
        width: 52px;
        margin-top: 14px;
    }
}

.staff-card {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);

    backdrop-filter: blur(10px);

    box-shadow: 0 10px 25px rgba(93, 25, 146, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.03);

    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}
.staff-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(90deg, #5e1992, #7d2bb8, #efa735);
}
.staff-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 35px rgba(93, 25, 146, 0.14),
        0 6px 14px rgba(0, 0, 0, 0.06);
}
.staff-photo img {
    transition: transform 0.4s ease;
}

.staff-card:hover .staff-photo img {
    transform: scale(1.04);
}
#struktur {
    background: radial-gradient(
            circle at top right,
            rgba(142, 60, 172, 0.05),
            transparent 30%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(239, 167, 53, 0.05),
            transparent 30%
        ),
        #f7f7fb;
}
.staff-bidang {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 6px 12px;
    margin-top: 8px;

    max-width: 100%;

    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;

    color: #5e1992;

    background: rgba(94, 25, 146, 0.08);

    border: 1px solid rgba(94, 25, 146, 0.12);

    border-radius: 999px;

    word-break: break-word;

    transition: all 0.25s ease;
}

.staff-role {
    display: inline-block;

    padding: 5px 12px;
    margin-top: 6px;

    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;

    color: #5e1992;

    background: rgba(94, 25, 146, 0.08);

    border: 1px solid rgba(94, 25, 146, 0.12);

    border-radius: 999px;

    max-width: 100%;

    word-break: break-word;

    transition: all 0.25s ease;
}

.staff-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.staff-card:hover .staff-role {
    background: #5e1992;
    color: #fff;
}
.staff-card:hover .staff-bidang {
    background: #5e1992;
    color: #fff;
}
@media (max-width: 576px) {
    .staff-role {
        font-size: 0.7rem;

        padding: 4px 10px;

        border-radius: 20px;

        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .staff-bidang {
        font-size: 0.7rem;

        padding: 5px 10px;

        gap: 4px;

        border-radius: 20px;

        line-height: 1.3;
    }
}
