/* Cartes événements — hauteur uniforme (carousel principal) */
.events .pubs.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.events .pubs.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.events .pubs .pub {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.events .pubs .pub .image {
    flex-shrink: 0;
}

.events .pubs .pub .image img {
    object-fit: cover;
}

.events .pubs .pub .descript {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.events .pubs .pub .descript .txt {
    flex: 1;
}

.events .pubs .pub .descript .date {
    margin-top: auto;
}

/* Événements récents — bannière droite */
.top_banniere .news-elements .element {
    align-items: stretch;
    min-height: 90px;
}

.top_banniere .news-elements .element .image {
    flex-shrink: 0;
}

.top_banniere .news-elements .element .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Autorités académiques — avatars circulaires compacts */
.corps-academique {
    padding-bottom: 2rem;
}

.corps-academique-inner.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.corps-academique-inner.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.corps-academique-inner .bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    padding: 12px 10px;
}

.corps-academique-inner .bloc .image {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    position: static;
}

.corps-academique-inner .bloc .image .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--color-mainlight);
    box-shadow: 0 2px 8px var(--color-shadow);
}

.corps-academique-inner .bloc .descript {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
}

.corps-academique-inner .bloc .descript .niveau {
    font-size: 12px;
    margin-bottom: 4px;
}

.corps-academique-inner .bloc .descript .nom {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.corps-academique-inner .bloc .descript .fx {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.corps-academique-inner .bloc .descript .mail {
    font-size: 11px;
    margin-top: auto;
    word-break: break-word;
}

.top_banniere .news-elements a.element {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.top_banniere .annonces .elements a.element {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.25s ease;
}

.top_banniere .annonces .elements a.element:hover {
    opacity: 0.85;
}

.events .pubs .pub-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
