/* ==========================================================================
   6.4.1 TEAM ARCHIVE PAGE (Template: archive-team.php)
   ========================================================================== */

/* --- A. Container & Foundation --- */
.Team_container {
    width: 1134px;
    margin: 0 auto;
    /* Tengah secara horizontal */
    padding: 25px 50px; /* Tambahkan 'px' setelah angka 25 */
    font-family: "Hubballi", sans-serif;
    background-color: #F2F0EB;
    /* Menyesuaikan Background Utama Serasa */
}

/* --- B. Typography & Headers --- */
.Team_center {
    width: 100%;
    font-size: 32px;
    font-weight: 700;
    /* UBAH DARI 100px MENJADI 0 atau 20px agar konten naik */
    margin: 20px 0 50px !important; 
    text-align: center;
    text-transform: lowercase;
    color: #1A1A1A;
}

/* --- C. Grid Layout System --- */
.Team_board_member {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 50px;
}

/* --- D. Person Card (Board & Team - With Photo) --- */
.Team_single_person {
    width: 300px;
    height: 597px;
    /* Tinggi terkunci agar grid rata */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px 100px 0;
}

.Team_single_person img {
    width: 225px;
    height: 300px;
    object-fit: cover;
    display: block;
    border: 1px solid #D1CDC7;
    /* Aksen garis Serasa */
}

.Team_name {
    font-family: "Hubballi", sans-serif;
    font-size: 18px;
    font-weight: 900;
    margin: 18px 0 5px;
    color: #1A1A1A;
    text-align: center;
}

.Team_position {
    font-weight: 100;
    font-style: italic;
    color: #1A1A1A;
    text-align: center;
    font-size: 14px;
}

/* --- E. Bio / Injected Rich Text (Proteksi Overflow) --- */
.Team_injected_rich_text {
    width: 300px;
    height: 210px;
    /* Tinggi bio terkunci sesuai spek */
    margin: 16px 0;
    text-align: justify;
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
    /* Scroll aktif jika teks terlalu panjang */
    padding-right: 10px;
}

/* --- F. Contributor Layout (No Photo - 195x55) --- */
.Team_single_person.no-photo {
    width: 195px;
    height: 55px;
    margin: 20px;
    justify-content: center;
}

.Team_single_person.no-photo .Team_name {
    margin-top: 0;
}

/* --- G. Custom Scrollbar for Bio --- */
.Team_injected_rich_text::-webkit-scrollbar {
    width: 3px;
}

.Team_injected_rich_text::-webkit-scrollbar-thumb {
    background: #4acca5;
    /* Warna Aksen Hijau */
    border-radius: 10px;
}

/* ==========================================================================
   6.4.2 SINGLE TEAM PAGE (Template: single-team.php)
   ========================================================================== */

.single-team-container {
    width: 100%;
    min-height: 100vh;
    background-color: #F2F0EB;
    padding: 25px 5%;
    display: flex;
    justify-content: center;
}

.team-detail-wrapper {
    width: 1134px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.team-visual {
    flex: 0 0 400px;
}

.team-visual img {
    width: 100%;
    height: auto;
    border: 1px solid #D1CDC7;
}

.team-info-content {
    flex: 1;
}

.team-name {
    font-family: "Hubballi", sans-serif !important;
    /* Disamakan dengan .award-title agar konsisten sebagai judul konten */
    font-size: 32px !important; 
    font-weight: 700 !important;
    color: #1A1A1A;
    margin: 0 0 10px !important;
    text-transform: uppercase;
    line-height: 1.1 !important;
}

.team-meta {
    font-family: "Hubballi", sans-serif !important;
    /* Disamakan dengan .award-date */
    font-size: 16px !important;
    color: #4acca5;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 30px !important;
}

.bio-text {
    font-family: "Hubballi", sans-serif !important;
    /* Disamakan dengan .award-text-body (15px) */
    font-size: 15px !important;
    /* Mengikuti line-height award yang lebih padat & profesional */
    line-height: 1.5 !important; 
    color: #1A1A1A;
    /* Mengikuti gaya award (left) agar lebih mudah dibaca daripada justify */
    text-align: left; 
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    font-family: "Hubballi", sans-serif;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 700;
    border-bottom: 2px solid #D1CDC7;
    transition: 0.3s;
}

.back-link:hover {
    border-color: #4acca5;
}

