
/*
Theme Name: Cindy Child
Theme URI: https://www.webmandesign.eu/portfolio/cindy-wordpress-theme/
Description: Thème enfant du site officiel de l'Université de Bunia.
Author: Université de Bunia
Template: cindy
Version: 1.0.0
Text Domain: cindy-child
*/

/* =========================================
   UNIBU - PROFILS DES ENSEIGNANTS-CHERCHEURS
   ========================================= */

.unibu-profile-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 55px 20px 75px;
    color: #333;
    font-family: inherit;
}

.unibu-profile-header {
    background: #f7f7f7;
    border-left: 6px solid #c8102e;
    padding: 35px;
    margin-bottom: 40px;
    border-radius: 5px;
}

.unibu-profile-identity {
    display: flex;
    align-items: center;
    gap: 35px;
}

.unibu-profile-image {
    flex: 0 0 190px;
}

.unibu-profile-photo {
    width: 190px;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    border: 4px solid #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.12);
}

.unibu-profile-heading h1 {
    color: #b90016;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.unibu-profile-heading p {
    margin: 7px 0;
    font-size: 16px;
}

.unibu-profile-grade {
    font-weight: 700;
    color: #333;
    font-size: 19px !important;
}

.unibu-profile-institution {
    color: #b90016;
    font-weight: 600;
}

.unibu-profile-section {
    margin: 0 0 32px;
    padding: 25px 30px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
}

.unibu-profile-section h2 {
    color: #b90016;
    font-size: 21px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}

.unibu-profile-section p,
.unibu-profile-text {
    font-size: 15px;
    line-height: 1.85;
}

.unibu-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.unibu-profile-links a,
.unibu-profile-cv {
    display: inline-block;
    background: #b90016;
    color: #fff !important;
    padding: 11px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.unibu-profile-links a:hover,
.unibu-profile-cv:hover {
    background: #850010;
    color: #fff !important;
}

.unibu-profile-section a:not(.unibu-profile-cv) {
    color: #b90016;
}

@media (max-width: 700px) {
    .unibu-profile-page {
        padding: 30px 15px;
    }

    .unibu-profile-header {
        padding: 22px;
    }

    .unibu-profile-identity {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .unibu-profile-photo {
        width: 150px;
        height: 180px;
    }

    .unibu-profile-heading h1 {
        font-size: 24px;
    }

    .unibu-profile-section {
        padding: 20px;
    }

    .unibu-profile-section h2 {
        font-size: 19px;
    }
}
