/* EPSS Directory Profiles
   ----------------------------------------- */

.epss-profile {
    max-width: 1100px;
    margin: 40px auto;
    color: #222;
    box-sizing: border-box;
}

.epss-profile *,
.epss-profile *::before,
.epss-profile *::after {
    box-sizing: border-box;
}

/* ---------- Banner ---------- */
.epss-banner {
    display: flex;
    gap: 32px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border-left: 6px solid #FFD100; /* UCLA gold */
}

.epss-banner-photo {
    flex-shrink: 0;
}

.epss-photo-img,
.epss-photo-initials {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.epss-photo-initials {
    background: linear-gradient(135deg, #2774AE 0%, #1d5d8c 100%); /* UCLA blue */
    color: #fff;
    font-size: 56px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.epss-banner-info {
    flex: 1;
    min-width: 0;
}

.epss-name {
    margin: 0 0 6px 0 !important;
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.2;
}

.epss-title {
    margin: 0 0 20px 0 !important;
    font-size: 20px;
    color: #2774AE;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- Contact list ---------- */
.epss-contact {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 10px;
}

.epss-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
    margin: 0 !important;
    padding: 0 !important;
}

.epss-contact li::before {
    content: none !important;
}

.epss-contact a {
    color: #2774AE;
    text-decoration: none;
    word-break: break-all;
}

.epss-contact a:hover {
    text-decoration: underline;
}

.epss-icon {
    width: 18px;
    height: 18px;
    fill: #2774AE;
    flex-shrink: 0;
}

/* ---------- Details (full layout for faculty) ---------- */
.epss-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.epss-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.epss-section h2 {
    margin: 0 0 14px 0 !important;
    font-size: 18px;
    color: #2774AE;
    border-bottom: 2px solid #FFD100;
    padding-bottom: 8px;
    font-weight: 600;
}

.epss-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.epss-section a {
    color: #2774AE;
    word-break: break-all;
}

.epss-list {
    margin: 0 !important;
    padding-left: 20px !important;
}

.epss-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .epss-profile {
        margin: 20px auto;
        padding: 0 16px;
    }

    .epss-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }

    .epss-banner-info {
        width: 100%;
    }

    .epss-contact {
        justify-items: center;
    }

    .epss-contact li {
        justify-content: center;
    }

    .epss-name {
        font-size: 26px;
    }

    .epss-photo-img,
    .epss-photo-initials {
        width: 130px;
        height: 130px;
    }

    .epss-photo-initials {
        font-size: 44px;
    }
}
