@charset "utf-8";
/* CSS Document */
      .researcher-detail-page {
            background: #ffffff;
        }

        .researcher-detail-hero {
            position: relative;
            padding: 74px 0;
            background:
                linear-gradient(135deg, rgba(37, 50, 70, .96), rgba(29, 41, 57, .94)),
                radial-gradient(circle at top right, rgba(223, 90, 27, .26), transparent 34%);
            color: #ffffff;
            overflow: hidden;
        }

        .researcher-detail-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                repeating-linear-gradient(
                    135deg,
                    rgba(255,255,255,.045) 0,
                    rgba(255,255,255,.045) 1px,
                    transparent 1px,
                    transparent 22px
                );
            pointer-events: none;
        }

        .researcher-detail-hero::after {
            content: "";
            position: absolute;
            right: -130px;
            bottom: -150px;
            width: 390px;
            height: 390px;
            border-radius: 50%;
            background: rgba(223, 90, 27, .18);
        }

        .researcher-detail-hero .container {
            position: relative;
            z-index: 2;
        }

        .researcher-kicker {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            background: var(--cires-orange, #df5a1b);
            color: #ffffff;
            padding: 9px 15px;
            font-size: 12px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 18px;
        }

        .researcher-detail-hero h1 {
            font-size: clamp(2rem, 5vw, 4rem);
            font-weight: 900;
            line-height: 1.08;
            letter-spacing: -1.2px;
            margin-bottom: 18px;
        }

        .researcher-detail-hero p {
            max-width: 850px;
            color: rgba(255,255,255,.84);
            font-size: 16px;
            line-height: 1.85;
            margin: 0;
        }

        .researcher-breadcrumb {
            margin-top: 28px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .5px;
            flex-wrap: wrap;
        }

        .researcher-breadcrumb a {
            color: rgba(255,255,255,.76);
            text-decoration: none;
        }

        .researcher-breadcrumb a:hover {
            color: #ffffff;
        }

        .researcher-breadcrumb span {
            color: var(--cires-orange, #df5a1b);
        }

        .researcher-detail-section {
            padding: 80px 0;
            background: var(--cires-bg, #f7f8fa);
        }

        .researcher-detail-grid {
            display: grid;
            grid-template-columns: 370px minmax(0, 1fr);
            gap: 32px;
            align-items: start;
        }

        .researcher-profile-card,
        .researcher-content-card,
        .researcher-side-card,
        .researcher-not-found {
            background: #ffffff;
            border: 1px solid var(--cires-border, #dfe5ec);
            box-shadow: 0 18px 45px rgba(37,50,70,.08);
        }

        .researcher-profile-card {
            position: sticky;
            top: 110px;
            overflow: hidden;
        }

        .researcher-profile-card::before,
        .researcher-content-card::before {
            content: "";
            display: block;
            height: 6px;
            background: var(--cires-orange, #df5a1b);
        }

        .researcher-photo-zone {
            padding: 30px 30px 0;
        }

        .researcher-photo {
            width: 100%;
            aspect-ratio: 1 / 1;
            background: linear-gradient(135deg, rgba(223,90,27,.12), rgba(37,50,70,.08));
            border: 1px solid #e5e7eb;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .researcher-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .researcher-photo::before {
            content: attr(data-initials);
            position: absolute;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            color: var(--cires-navy, #253246);
            font-size: 56px;
            font-weight: 950;
            letter-spacing: 1px;
        }

        .researcher-photo.is-empty::before {
            display: flex;
        }

        .researcher-profile-body {
            padding: 28px 30px 32px;
            text-align: center;
        }

        .researcher-profile-body h2 {
            color: var(--cires-navy, #253246);
            font-size: 1.45rem;
            font-weight: 900;
            line-height: 1.35;
            margin-bottom: 10px;
        }

        .researcher-grade-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            background: rgba(223,90,27,.10);
            color: var(--cires-orange, #df5a1b);
            padding: 8px 12px;
            font-size: 12px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .researcher-speciality {
            color: #4b5563;
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 22px;
        }

        .researcher-contact-list {
            display: grid;
            gap: 10px;
            text-align: left;
            margin-top: 22px;
        }

        .researcher-contact-item {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            color: #4b5563;
            font-size: 14px;
            line-height: 1.55;
            padding: 12px 14px;
            background: #f7f8fa;
            border-left: 3px solid var(--cires-orange, #df5a1b);
            text-decoration: none;
            word-break: break-word;
        }

        .researcher-contact-item:hover {
            color: var(--cires-orange, #df5a1b);
        }

        .researcher-contact-item i {
            color: var(--cires-orange, #df5a1b);
            margin-top: 4px;
            min-width: 16px;
        }

        .researcher-content-card {
            padding: 0;
            overflow: hidden;
        }

        .researcher-content-inner {
            padding: 40px 42px;
        }

        .researcher-section-title {
            color: var(--cires-navy, #253246);
            font-size: clamp(1.35rem, 2vw, 2rem);
            font-weight: 900;
            margin-bottom: 18px;
            padding-bottom: 16px;
            position: relative;
        }

        .researcher-section-title::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 72px;
            height: 3px;
            background: var(--cires-orange, #df5a1b);
        }

        .researcher-text {
            color: #374151;
            font-size: 16px;
            line-height: 1.9;
            text-align: justify;
            margin-bottom: 24px;
        }

        .researcher-info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin: 28px 0;
        }

        .researcher-info-box {
            background: #f7f8fa;
            border: 1px solid #e5e7eb;
            padding: 20px;
            min-height: 112px;
        }

        .researcher-info-box i {
            color: var(--cires-orange, #df5a1b);
            font-size: 22px;
            margin-bottom: 12px;
        }

        .researcher-info-box span {
            display: block;
            color: var(--cires-muted, #6b7280);
            font-size: 12px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .researcher-info-box strong {
            display: block;
            color: var(--cires-navy, #253246);
            font-size: 15px;
            line-height: 1.55;
            font-weight: 850;
        }

        .researcher-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 28px;
        }

        .researcher-side-card {
            margin-top: 28px;
            padding: 28px;
        }

        .researcher-side-card h3 {
            color: var(--cires-navy, #253246);
            font-size: 1.25rem;
            font-weight: 900;
            margin-bottom: 20px;
        }

        .related-list {
            display: grid;
            gap: 14px;
        }

        .related-card {
            display: flex;
            gap: 14px;
            align-items: center;
            padding: 14px;
            background: #f7f8fa;
            border: 1px solid #e5e7eb;
            text-decoration: none;
            transition: .25s ease;
        }

        .related-card:hover {
            transform: translateY(-2px);
            border-color: rgba(223,90,27,.35);
            background: #ffffff;
        }

        .related-avatar {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            flex: 0 0 54px;
            background: rgba(223,90,27,.12);
            color: var(--cires-navy, #253246);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 17px;
            font-weight: 950;
            overflow: hidden;
        }

        .related-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .related-card strong {
            display: block;
            color: var(--cires-navy, #253246);
            font-size: 14px;
            font-weight: 900;
            line-height: 1.35;
        }

        .related-card span {
            display: block;
            color: var(--cires-muted, #6b7280);
            font-size: 12px;
            margin-top: 3px;
        }

/* =========================
   NAVIGATION PROFIL PRÉCÉDENT / SUIVANT - CORRIGÉE
========================= */

.researcher-navigation {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 34px;
    margin-bottom: 35px;
}

.researcher-navigation > div {
    min-width: 0;
}

.nav-researcher {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 86px;
    background: #ffffff;
    border: 1px solid var(--cires-border, #dfe5ec);
    padding: 18px 22px;
    color: var(--cires-navy, #253246);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37,50,70,.05);
    transition: .25s ease;
    overflow: hidden;
}

.nav-researcher:hover {
    transform: translateY(-2px);
    border-color: rgba(223,90,27,.35);
    color: var(--cires-orange, #df5a1b);
    background: #ffffff;
}

.nav-researcher small {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--cires-muted, #6b7280);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 7px;
    line-height: 1.2;
}

.nav-researcher strong {
    display: block;
    color: var(--cires-navy, #253246);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    word-break: normal;
}

.nav-researcher:hover strong {
    color: var(--cires-orange, #df5a1b);
}

.nav-researcher.next {
    align-items: flex-end;
    text-align: right;
}

.nav-researcher.next small {
    justify-content: flex-end;
}

/* espace avant le footer */
.researcher-detail-section {
    padding-bottom: 95px;
}

@media(max-width: 575.98px) {
    .researcher-navigation {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }

    .nav-researcher.next {
        align-items: flex-start;
        text-align: left;
    }

    .nav-researcher.next small {
        justify-content: flex-start;
    }
}
        .researcher-not-found {
            padding: 50px 34px;
            text-align: center;
        }

        .researcher-not-found i {
            color: var(--cires-orange, #df5a1b);
            font-size: 48px;
            margin-bottom: 18px;
        }

        .researcher-not-found h2 {
            color: var(--cires-navy, #253246);
            font-size: 2rem;
            font-weight: 900;
            margin-bottom: 12px;
        }

        .researcher-not-found p {
            color: var(--cires-muted, #6b7280);
            line-height: 1.8;
            margin-bottom: 24px;
        }

        @media(max-width: 991.98px) {
            .researcher-detail-hero {
                padding: 58px 0;
            }

            .researcher-detail-section {
                padding: 65px 0;
            }

            .researcher-detail-grid {
                grid-template-columns: 1fr;
            }

            .researcher-profile-card {
                position: relative;
                top: auto;
                max-width: 520px;
                margin: 0 auto;
            }

            .researcher-info-grid {
                grid-template-columns: 1fr;
            }
        }

        @media(max-width: 575.98px) {
            .researcher-detail-hero h1 {
                font-size: 2rem;
            }

            .researcher-detail-hero p {
                font-size: 14px;
            }

            .researcher-content-inner {
                padding: 30px 22px;
            }

            .researcher-text {
                text-align: left;
                font-size: 15px;
                line-height: 1.8;
            }

            .researcher-navigation {
                grid-template-columns: 1fr;
            }

            .nav-researcher.next {
                text-align: left;
            }

            .researcher-actions .btn-cadres,
            .researcher-actions .btn-outline-cires-dark {
                width: 100%;
                justify-content: center;
            }
        }

        @media print {
            .site-header,
            .header-topbar,
            .header-branding,
            .header-navline,
            .researcher-detail-hero,
            .researcher-actions,
            .researcher-side-card,
            .researcher-navigation,
            .footer-sober,
            #backToTop {
                display: none !important;
            }

            body {
                background: #ffffff !important;
            }

            .researcher-detail-section {
                padding: 0 !important;
                background: #ffffff !important;
            }

            .researcher-detail-grid {
                grid-template-columns: 270px 1fr;
                gap: 24px;
            }

            .researcher-profile-card,
            .researcher-content-card {
                box-shadow: none !important;
            }

            .researcher-profile-card {
                position: relative;
                top: auto;
            }

            @page {
                size: A4 portrait;
                margin: 12mm;
            }
        }

