:root {
    --bg-light: #FAF8F5;
    --text-dark: #2C2623;
    --text-muted: #7E716A;
    --border-color: #EBDCD2;
    --accent-gold: #C07A3E;
    --accent-gold-light: #FAF3EC;
    --accent-gold-dark: #A37C4D;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Container styling */
.librarians-container {
    width: 92%;
    max-width: 1400px;
    margin: 40px auto 80px;
    position: relative;
    z-index: 10;
}

/* Grid Wrapper: Two-column layout */
.librarians-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1100px) {
    .librarians-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

/* LEFT COLUMN: Kepala Card */
.kepala-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(192, 122, 62, 0.05);
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kepala-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(192, 122, 62, 0.1);
}

@media (max-width: 768px) {
    .kepala-card {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
}

/* Image Wrapper */
.kepala-image-wrapper {
    width: 42%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 3/4;
}

@media (max-width: 768px) {
    .kepala-image-wrapper {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

.kepala-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Star Badge */
.kepala-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-gold-light);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 10;
}

/* Details Section */
.kepala-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kepala-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.kepala-role {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

/* Quote Box */
.kepala-quote-box {
    display: flex;
    gap: 10px;
    background: #FCF8F5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-gold);
}

.quote-icon {
    font-size: 28px;
    color: var(--border-color);
    line-height: 1;
    font-family: serif;
}

.kepala-quote-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #5C524E;
    margin: 0;
}

/* Meta List */
.kepala-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    border-top: 1px solid #F3EBE3;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: #5C524E;
}

.meta-item i {
    width: 16px;
    color: var(--text-muted);
    font-size: 15px;
}

/* Send Message Button */
.btn-send-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3c2a21;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(60, 42, 33, 0.15);
}

.btn-send-message:hover {
    background: #2a1d17;
    transform: translateY(-1px);
}


/* RIGHT COLUMN: Staff List */
.staff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Staff Card */
.staff-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(192, 122, 62, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 122, 62, 0.08);
}

@media (max-width: 576px) {
    .staff-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
}

.staff-card-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.staff-image {
    width: 76px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.staff-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.staff-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.staff-role {
    font-size: 13px;
    color: var(--text-muted);
}

.staff-tag {
    background: var(--accent-gold-light);
    color: var(--accent-gold-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-top: 6px;
    border: 1px solid #F3EBE3;
}

/* Contact buttons inside card */
.staff-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 576px) {
    .staff-contact-buttons {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.contact-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #FAF8F5;
    color: #5C524E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-circle-btn:hover {
    background: #3c2a21;
    color: #FFFFFF;
    border-color: #3c2a21;
}