.elementor-8155 .elementor-element.elementor-element-9f44618{--display:flex;}.elementor-8155 .elementor-element.elementor-element-5431698{border-style:solid;border-width:1px 1px 1px 1px;border-color:#E7E7E7;border-radius:15px 15px 15px 15px;}.elementor-8155 .elementor-element.elementor-element-1f9dca7{--display:flex;}.elementor-8155 .elementor-element.elementor-element-49610de{border-style:solid;border-width:1px 1px 1px 1px;border-color:#E7E7E7;border-radius:15px 15px 15px 15px;}/* Start custom CSS for shortcode, class: .elementor-element-5431698 *//* --- HEADER PROFIL --- */

.evenca-profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 14px;
}

/* Avatar */
.evenca-profile-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Bloc principal */
.evenca-profile-main {
    flex: 1;
    min-width: 250px;
}

/* Ligne nom + boutons */
.evenca-profile-topline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.evenca-profile-topline h2 {
    margin: 0;
    font-size: 24px;
    color: #0C0D0E;
    font-weight: 600;
}

/* Boutons */
/* Ligne 1 : Suivre + Message OU Modifier mon profil */
.evenca-profile-actions-line1 {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 6px;
}

/* Ligne 2 : Inviter + Partager */
.evenca-profile-actions-line2 {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

/* Mobile : on passe en 2 lignes propres */
@media (max-width: 480px) {

    .evenca-profile-actions-line1,
    .evenca-profile-actions-line2 {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .evenca-profile-actions-line2 button,
    .evenca-profile-actions-line2 a {
        width: auto;
    }
}

.evenca-follow-btn,
.evenca-message-btn {
    padding: 8px 14px;
    background:f4395a;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
    display: inline-block;
}

/* Partager */
.evenca-share-profile-btn {
    padding: 7px 14px;
    background: #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
    display: inline-block;
    border: none;
}

/* Inviter à un événement */
.evenca-invite-btn {
    padding: 7px 14px;
    background: #ffbf7b;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
    display: inline-block;
    border: none;
}

/* Evencalist */
.evenca-evencalist-btn {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.evenca-evencalist-btn.evenca-in-list {
    background: #4caf50;
    color: white;
}

/* Stats */
.evenca-profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.evenca-profile-stats a {
    text-decoration: none;
    color: #0C0D0E;
    opacity:0.8;
    font-size: 15px;
}

.evenca-profile-stats, .evenca-profile-events-count a {
    font-size: 15px;
}

.evenca-profile-stats strong {
    font-size: 15px;
}

/* Bio */
.evenca-profile-bio {
    font-size: 15px;
    color: #0C0D0E;
    opacity: 1;
    line-height: 1.4;
    width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .evenca-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .evenca-profile-avatar img {
        width: 100px;
        height: 100px;
    }

    .evenca-profile-stats {
        justify-content: center;
    }
}

.evenca-edit-profile-btn {
    padding: 8px 14px;
    background: #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
    display: inline-block;
}


/* ====== BOUTON SUIVRE PREMIUM ====== */
.evenca-follow-btn {
    background: #111;
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Hover */
.evenca-follow-btn:hover {
    background: #333;
}

/* État "Déjà abonné" */
.evenca-follow-btn.following {
    background: #eaeaea;
    color: #111;
}

.evenca-follow-btn.following:hover {
    background: #d5d5d5;
}

/* ====== ANIMATION CLICK (ripple) ====== */
.evenca-follow-btn::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.evenca-follow-btn:active::after {
    transform: scale(12);
    opacity: 0;
    left: var(--x);
    top: var(--y);
}




/* ============================
   BOUTON ET MESSAGERIE INTERNE
============================ */
.evenca-message-btn {
    padding: 8px 16px;
    background: #ddd;
    border-radius: 8px;
    margin-left: 10px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
}




.evenca-profile-events-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

@media (max-width: 900px) {
    .evenca-profile-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .evenca-profile-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Conteneur de la carte */
.evenca-profile-event-item {
    position: relative;
    width: 100%;
}

/* Image carrée */
.evenca-profile-event-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.evenca-profile-event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Overlay sur l'image */
.evenca-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ALIGNE TOUT À GAUCHE */
}

/* Titre sur l'image */
.evenca-event-title {
    font-size: 12px; /* même taille que la date */
    font-weight: 600;
    margin: 0;
    line-height: 0.9;
    color: rgba(255,255,255,0.9); /* même couleur que la date */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Date sur l'image */
.evenca-event-date {
    font-size: 12px;
    color: rgba(255,255,255,0.9); /* même couleur que le titre */
    margin: 3px 0 0;
}


/* Fix mobile alignment for overlay title */
.evenca-event-overlay h3.evenca-event-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    width: 100% !important;
    display: block !important;
    left: 0 !important;
}

.evenca-event-overlay {
    padding-left: 8px !important;
    padding-right: 8px !important;
    
}

/* Neutralise les styles Elementor / thème sur le titre dans l'overlay */
.evenca-event-overlay h3.evenca-event-title {
    all: unset; /* supprime TOUT style global */
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.evenca-event-overlay .evenca-event-date {
    all: unset;
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    margin-top: 3px;
    text-align: left;
}




/* NAVIGATION DES ONGLETES */
.evenca-tabs-nav {
    display: flex;
    gap: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.evenca-tabs-nav button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 0;
    cursor: pointer;
    color: #666;
}

.evenca-tabs-nav button.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.evenca-tabs-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    padding: 10px 0;
    border-radius: 14px;
}


/* CONTENU DES ONGLETES */
.evenca-tabs-content {
    margin-top: 20px;
}

.evenca-tab {
    display: none;
}

.evenca-tab.active {
    display: block;
}

.evenca-tabs-content {
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* TITRE ÉVÉNEMENTS A VENIR ET PASSÉS */
.evenca-small-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
    opacity: .7;
}/* End custom CSS */