.badge_custom {
    padding: 2px 7px;
    font-weight: normal;
    color: var(--ecox-bleu);
    background-color: #f3f3f3;
    border: 1px solid #ccc;
}

.modals {
    font-size: 24px!important;
    line-height: 25px;
}

.fancybox__content {
    max-width: 90vw;
    max-height: 90vh;
}

.modal_publication {
    width: 100%;
    max-width: 800px;
}
.modal_publication_abstract {
    text-align: justify;
    font-weight: bold;
}

.modal_publication_type_date,
.modal_publication_halid_version {
    display: flex;
    justify-content: space-between;
}
.modal_publication_auteur {
    margin-top: 15px;
    margin-bottom: 15px;
}
.modal_publication_halid_version {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.modal_publication_soutenance,
.modal_publication_type_date {
    margin-bottom: 15px;
}

.modal_publication_file {
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-voir-publication {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: var(--ecox-bleu)!important;
    color: #fff!important;
}
.btn-voir-publication:hover {
    background-color: #fff!important;
    color: var(--ecox-bleu)!important;
}

.media-heading {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.icone {
    font-size: 24px !important;
    flex-shrink: 0;
}


.elite-card {
    line-height: 1.65;
    text-align: justify;
}

/* wrapper animé */
.elite-wrapper {
    position: relative;
    overflow: hidden;
    height: 6.5em;
    will-change: height;
}

/* contenu */
.elite-content {
    padding-right: 2px;
    font-weight: bold;
}

/* 🔥 fade + blur progressif (premium UI) */
.elite-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 110px;

    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            rgba(255,255,255,0.85),
            rgba(255,255,255,1)
    );

    backdrop-filter: blur(0px);

    transition: opacity 400ms ease, backdrop-filter 400ms ease;
}

/* état ouvert */
.elite-card.expanded .elite-fade {
    opacity: 0;
    backdrop-filter: blur(10px);
}

/* bouton */
.elite-toggle,
.elite-toggle > span {
    font-size: 12px!important;
    text-transform: uppercase;
}
.elite-actions {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.link {
    word-break: break-word;
}