#header .qhe-header-events {
    position: relative;
}

#header .qhe_events_nav > a {
    display: block;
    position: relative;
    overflow: visible;
    padding: 6px 0;
    text-decoration: none;
}

#header .qhe-events-icon {
    position: relative;
    display: inline-block;
}

#header .qhe-events-icon:before {
    content: "\f073";
    font-family: "FontAwesome";
    color: #fff;
    font-size: 18px;
    line-height: 18px;
}

#header .qhe-events-icon .qhe_events_count {
    left: 13px;
    right: auto;
    top: -8px;
}

#header .qhe-events-label {
    display: none;
}

@media (min-width: 768px) {
    #header .qhe_events_nav > a {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
    }

    #header .qhe-events-label {
        display: inline;
        margin-right: 10px;
        font-size: 17px;
        font-weight: 400;
        color: #fff;
        white-space: nowrap;
    }

    /* Soulignement au survol : uniquement via .header-top-link:hover (thème), pas sur le span */
    #header .qhe-events-nav-link:hover .qhe-events-label {
        border-bottom: none;
        text-decoration: none;
    }
}

@media (max-width: 767px) {
    #header .qhe_events_nav > a {
        min-width: 24px;
        text-align: center;
    }

    #header .qhe-header-events {
        margin-left: 20px;
    }
}

.qhe-events-page {
    margin-bottom: 30px;
}

.qhe-section-title {
    margin: 0 0 20px;
    font-size: 22px;
}

.qhe-event-card {
    margin-bottom: 15px;
}

.qhe-event-title {
    font-size: 18px;
    margin: 10px 0 8px;
}

.qhe-event-meta {
    color: #777;
    margin-bottom: 6px;
}

.qhe-event-thumb {
    border-radius: 4px;
    margin-bottom: 10px;
    max-height: 180px;
    object-fit: cover;
    width: 100%;
}

.qhe-event-detail-img {
    margin-bottom: 15px;
    border-radius: 4px;
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

.qhe-home-events .qhe-home-event-item {
    margin-bottom: 20px;
}

#qhe-front-calendar {
    min-height: 480px;
}

.qhe-event-description {
    margin: 15px 0;
}
