/* ===========================================================
   RESONANCE ART — mobile-fixes.css
   Maj 2026-05-06 par Claude — VERSION MINIMALE
   Le hero est laisse a Divi (comportement natif identique a la prod).
   On ne touche PLUS a #home, .et_pb_slide_title, .et_pb_more_button, etc.
   =========================================================== */

/* === MENU MOBILE : fond BLANC quand ouvert === */
@media (max-width: 980px) {
    #et_mobile_nav_menu .mobile_menu_bar { background: #ffffff !important; }
    .et_mobile_menu,
    #main-header .et_mobile_menu {
        background: #ffffff !important;
        border-top: 3px solid #f4a850 !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
    }
    .et_mobile_menu li a,
    #main-header .et_mobile_menu li a {
        color: #2c2c2c !important;
        background: #ffffff !important;
        font-weight: 600 !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .et_mobile_menu li a:hover,
    #main-header .et_mobile_menu li a:hover {
        background: #f8f8f8 !important;
        color: #346889 !important;
    }
    .et_mobile_menu .current-menu-item > a {
        color: #346889 !important;
        background: #fff7ed !important;
    }
}

/* === MENU desktop : compact entre 981-1280px === */
@media (min-width: 981px) and (max-width: 1280px) {
    #top-menu > li > a { font-size: 13px !important; letter-spacing: 0 !important; }
    #top-menu > li { padding-right: 14px !important; }
    #logo { max-height: 60px !important; }
}

/* === Footer pousse en bas sur pages courtes === */
body { display: flex; flex-direction: column; min-height: 100vh; }
#page-container { display: flex; flex-direction: column; flex: 1; }
#et-main-area { display: flex; flex-direction: column; flex: 1 0 auto; }
#main-content { flex: 1 0 auto; }
#main-footer { flex-shrink: 0; margin-top: auto; }

/* === BANNIERE CTA (shortcode resonance_membership_cta) === */
.cta-membership-banner {
    text-align: center;
    padding: 22px 20px;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    margin: 20px auto;
    border: 1px solid #eee;
    max-width: 620px;
}
.cta-membership-banner h3 {
    color: #346889;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.cta-membership-banner p {
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.4;
}
.cta-membership-button {
    background: linear-gradient(135deg, #f4a850 0%, #e89030 100%);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin: 5px 6px;
    box-shadow: 0 3px 10px rgba(244,168,80,0.35);
    transition: transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}
.cta-membership-button:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(244,168,80,0.5); }
.cta-membership-button.secondary { background: #346889; box-shadow: 0 3px 10px rgba(52,104,137,0.3); }
.cta-membership-button.secondary:hover { box-shadow: 0 5px 14px rgba(52,104,137,0.45); }

/* === Formulaires UsersWP (Login/Register) === */
.uwp-content-wrap input, .uwp_form_wrap input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e1e8ed !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
}
.uwp-content-wrap button[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    background: #346889 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
}

/* === HERO HOMEPAGE : CENTRER le contenu slider DANS la video ===
   Bug Divi : le padding calcule pour centrer le contenu (~356px) le pousse
   hors de la section quand la section a max-height < viewport. Fix avec flex.
*/
.home #home.et_pb_section_0 .et_pb_slider,
.home #home.et_pb_section_0 .et_pb_slides,
.home #home.et_pb_section_0 .et_pb_slide,
.home #home.et_pb_section_0 .et_pb_container,
.home #home.et_pb_section_0 .et_pb_slider_container_inner {
    height: 100% !important;
    min-height: 0 !important;
}
.home #home.et_pb_section_0 .et_pb_slide_description {
    padding: 40px 30px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
@media (max-width: 980px) {
    .home #home.et_pb_section_0 .et_pb_slide_description {
        padding: 30px 20px !important;
    }
}

/* === MY PROFILE — Gate pour visiteurs non connectes === */
.resonance-profile-gate {
    max-width: 720px;
    margin: 60px auto;
    padding: 40px 30px;
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    text-align: center;
}
.resonance-profile-gate h2 {
    color: #346889;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.profile-gate-intro {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.profile-gate-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}
.profile-gate-features {
    text-align: left;
    color: #346889;
    font-size: 1.05rem;
    margin: 28px 0 12px;
    border-top: 1px solid #eee;
    padding-top: 24px;
}
.profile-gate-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #444;
    font-size: 0.98rem;
    line-height: 1.6;
}
.profile-gate-list li {
    padding: 6px 0;
}
@media (max-width: 600px) {
    .resonance-profile-gate { padding: 28px 20px; margin: 30px 15px; }
    .profile-gate-buttons { flex-direction: column; align-items: stretch; }
    .profile-gate-buttons .cta-membership-button { margin: 4px 0; }
}

/* === PAGE PROFILES (annuaire artistes) === */
.resonance-profiles-wrap {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.resonance-profiles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #eee;
}
.resonance-profiles-filters .filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}
.resonance-profiles-filters label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #346889;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.resonance-profiles-filters select {
    padding: 9px 10px !important;
    border: 1.5px solid #d8dde2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}
.filter-actions { flex-direction: row !important; gap: 8px; }
.filter-submit-btn {
    background: #346889; color: #fff !important;
    padding: 9px 18px; border-radius: 6px; border: none;
    font-weight: 600; cursor: pointer; font-size: 0.9rem;
}
.filter-submit-btn:hover { background: #2a5673; }
.filter-reset-btn {
    background: #f0f0f0; color: #555 !important;
    padding: 9px 14px; border-radius: 6px;
    font-size: 0.9rem; text-decoration: none;
    display: inline-block;
}
.profile-count {
    color: #777;
    font-size: 0.9rem;
    margin: 10px 5px 18px;
}
.resonance-profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.profile-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.profile-card-header {
    position: relative;
    margin-bottom: 12px;
}
.profile-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f4a850;
    display: block;
    margin: 0 auto;
}
.profile-type-sponsor .profile-avatar { border-color: #d4a017; }
.profile-type-connection .profile-avatar { border-color: #87a9bd; }
.profile-badge {
    position: absolute;
    top: 0; right: 0;
    background: #fff7ed;
    color: #346889;
    font-size: 0.72rem;
    padding: 4px 9px;
    border-radius: 12px;
    font-weight: 600;
}
.profile-name {
    text-align: center;
    margin: 8px 0 4px !important;
    color: #2c2c2c;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}
.profile-location {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}
.profile-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}
.domain-tag {
    background: #fff7ed;
    color: #b86a00;
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 500;
}
.profile-type-sponsor .domain-tag { background: #fef9e7; color: #8a6d00; }
.profile-type-connection .domain-tag { background: #eef4f8; color: #2a5673; }
.profile-bio {
    font-size: 0.85rem !important;
    color: #555 !important;
    line-height: 1.45;
    margin-top: auto;
    text-align: center;
}
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    font-style: italic;
    grid-column: 1/-1;
}
@media (max-width: 600px) {
    .resonance-profiles-filters .filter-group { min-width: 100% !important; }
    .filter-actions { flex-direction: column !important; }
    .filter-submit-btn, .filter-reset-btn { width: 100%; text-align: center; }
}

/* === FIX : Page PROFILES + MY PROFILE — filtres caches sous le menu fixed === */
.page-id-29565 #main-content,
.page-id-29584 #main-content {
    padding-top: 100px;
}
.resonance-profiles-wrap {
    margin-top: 30px;
}
.resonance-profiles-filters {
    position: relative;
    z-index: 1;
}
@media (max-width: 980px) {
    .page-id-29565 #main-content,
    .page-id-29584 #main-content {
        padding-top: 80px;
    }
}

/* === Page PUBLIC EVENTS unifiee === */
.page-id-29512 #main-content {
    padding-top: 100px;
}
.resonance-events-wrap {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.events-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    background: #fdfdfd;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.event-tab {
    padding: 9px 16px;
    border-radius: 24px;
    background: #f0f0f0;
    color: #555 !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.event-tab:hover {
    background: #e6e6e6;
    transform: translateY(-1px);
}
.event-tab.active {
    background: #346889;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(52,104,137,0.3);
}
.event-tab-ra.active     { background: #f4a850; box-shadow: 0 3px 10px rgba(244,168,80,0.4); }
.event-tab-artist.active { background: #c87a3a; box-shadow: 0 3px 10px rgba(200,122,58,0.4); }
.event-tab-public.active { background: #5e9e6e; box-shadow: 0 3px 10px rgba(94,158,110,0.4); }

.events-country-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 5px 18px;
    flex-wrap: wrap;
}
.events-country-filter label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    margin: 0 !important;
}
.events-country-filter select {
    padding: 8px 14px !important;
    border: 1.5px solid #d8dde2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 200px;
}
.events-count {
    color: #777;
    font-size: 0.9rem;
    margin: 5px 5px 18px;
}
.resonance-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.event-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    border-left: 4px solid #87a9bd;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.event-card.event-origin-resonance_art { border-left-color: #f4a850; background: linear-gradient(135deg, #fff 0%, #fff7ed 100%); }
.event-card.event-origin-artist        { border-left-color: #c87a3a; }
.event-card.event-origin-public        { border-left-color: #5e9e6e; }
.event-date-badge {
    background: #346889;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}
.event-origin-resonance_art .event-date-badge { background: #f4a850; }
.event-origin-artist .event-date-badge        { background: #c87a3a; }
.event-origin-public .event-date-badge        { background: #5e9e6e; }
.event-origin-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    color: #777;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
}
.event-title {
    margin: 8px 0 6px !important;
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    color: #2c2c2c !important;
}
.event-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.event-title a:hover { color: #346889 !important; }
.event-location {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 6px;
}
.event-author {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
}
.event-excerpt {
    font-size: 0.88rem !important;
    color: #555 !important;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 12px !important;
}
.event-cta {
    color: #346889 !important;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.9rem;
}
.event-cta:hover { text-decoration: underline !important; }
@media (max-width: 600px) {
    .events-tabs { flex-direction: column; }
    .event-tab { text-align: center; }
}

/* === MY PROFILE enrichi (UWP + Mes events + Mes produits) === */
.page-id-29510 #main-content,
.page-id-29512 #main-content {
    padding-top: 100px;
}
.resonance-my-profile-wrap {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}
.my-profile-uwp {
    margin-bottom: 40px;
}
.my-profile-section-title {
    color: #346889 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 30px 0 18px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #f4a850;
}
.my-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.my-profile-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #87a9bd;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    position: relative;
}
.my-profile-card.status-publish { border-left-color: #5e9e6e; }
.my-profile-card.status-pending { border-left-color: #f4a850; }
.my-profile-card.status-draft   { border-left-color: #999; }
.my-profile-card h4 {
    margin: 6px 0 6px !important;
    font-size: 1rem !important;
}
.my-profile-card h4 a {
    color: #2c2c2c !important;
    text-decoration: none !important;
}
.my-profile-card h4 a:hover { color: #346889 !important; }
.my-profile-status {
    font-size: 0.72rem;
    color: #777;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}
.my-profile-card.status-publish .my-profile-status { background: #e8f5ec; color: #2d6e3f; }
.my-profile-card.status-pending .my-profile-status { background: #fff7ed; color: #b86a00; }
.my-profile-meta {
    font-size: 0.82rem;
    color: #777;
    margin: 6px 0 10px;
}
.my-profile-edit {
    color: #346889 !important;
    font-size: 0.85rem;
    text-decoration: none !important;
    font-weight: 500;
}
.my-profile-edit:hover { text-decoration: underline !important; }
.my-profile-empty {
    grid-column: 1/-1;
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 24px;
    background: #fafafa;
    border-radius: 8px;
}

/* === Events filters bar (Sort + Country) === */
.events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    background: #fdfdfd;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 16px 0;
    border: 1px solid #eee;
}
.events-filters .filter-group {
    flex: 1;
    min-width: 180px;
}

/* === Sticky "Soutenir" button === */
.resonance-sticky-support {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: linear-gradient(135deg, #f4a850 0%, #e89030 100%);
    color: #fff !important;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(244,168,80,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.resonance-sticky-support:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 26px rgba(244,168,80,0.7);
    color: #fff !important;
}
@media (max-width: 600px) {
    .resonance-sticky-support {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .resonance-sticky-support .sticky-text { display: none; }
}

/* === Protect names from Google Translate === */
.notranslate { unicode-bidi: isolate; }

/* === Art Market === */
.page-id-2 #main-content { padding-top: 100px; }
.resonance-market-wrap { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.market-filters {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
    background: #fdfdfd; padding: 14px 18px; border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 20px;
    border: 1px solid #eee;
}
.market-filters .filter-group { flex: 1; min-width: 180px; }
.resonance-market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.art-item-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06); border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
}
.art-item-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.art-item-image {
    position: relative; aspect-ratio: 4/3; background: #f5f5f5;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.art-item-image img { width: 100%; height: 100%; object-fit: cover; }
.art-item-placeholder { font-size: 4rem; opacity: 0.3; }
.art-item-type-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(255,255,255,0.95); color: #346889;
    font-size: 0.78rem; padding: 4px 10px; border-radius: 12px;
    font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.art-item-type-badge.type-auction  { background: #fff7ed; color: #b86a00; }
.art-item-type-badge.type-donation { background: #fef9e7; color: #8a6d00; }
.art-item-type-badge.type-free     { background: #e8f5ec; color: #2d6e3f; }
.art-item-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.art-item-title { font-size: 1.05rem !important; margin: 0 0 8px !important; line-height: 1.3 !important; }
.art-item-title a { color: #2c2c2c !important; text-decoration: none !important; }
.art-item-title a:hover { color: #346889 !important; }
.art-item-cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.art-item-cats .domain-tag { font-size: 0.7rem; padding: 2px 7px; }
.art-item-excerpt { font-size: 0.85rem !important; color: #666 !important; flex: 1; margin-bottom: 12px !important; }
.art-item-footer {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    justify-content: space-between; padding-top: 10px; border-top: 1px solid #f0f0f0;
}
.art-item-price { font-weight: 700; color: #346889; font-size: 1.05rem; }
.art-item-link { font-size: 0.8rem; color: #777 !important; text-decoration: none !important; }
.art-item-link:hover { color: #346889 !important; }

/* === Protection noms propres contre GTranslate === */
/* Via meta tag dans header (filter wp_head injecte) */
.notranslate, .notranslate * { 
    unicode-bidi: isolate !important; 
}

/* === Search input box dans filtres === */
.filter-group-search {
    flex: 2 !important;
    min-width: 220px !important;
}
.filter-group-search input[type="search"],
.filter-group-search input[type="text"] {
    padding: 9px 12px !important;
    border: 1.5px solid #d8dde2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    width: 100% !important;
}
.filter-group-search input:focus {
    outline: none !important;
    border-color: #346889 !important;
    box-shadow: 0 0 0 3px rgba(52,104,137,0.15) !important;
}

/* === Bannière Woman Life Freedom (Market) === */
.wlf-banner {
    background: linear-gradient(135deg, #4a1f3d 0%, #8a2a4a 50%, #c8412a 100%);
    color: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(138,42,74,0.25);
    position: relative;
    overflow: hidden;
}
.wlf-banner::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.wlf-banner h3 {
    color: #fff !important;
    font-size: 1.4rem !important;
    margin: 0 0 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}
.wlf-banner p {
    color: rgba(255,255,255,0.92) !important;
    margin: 0 0 12px !important;
    line-height: 1.5;
    font-size: 0.95rem !important;
    max-width: 720px;
}
.wlf-cta {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: background 0.2s;
    border: 1.5px solid rgba(255,255,255,0.35);
}
.wlf-cta:hover { background: rgba(255,255,255,0.3); color: #fff !important; }

/* === Filtres MY PROFILE (events + articles) === */
.my-profile-filters {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px;
    background: #fafafa; padding: 10px 14px; border-radius: 8px;
    border: 1px solid #eee;
}
.my-profile-filters select, .my-profile-filters input {
    padding: 7px 10px !important;
    border: 1px solid #d8dde2 !important;
    border-radius: 5px !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    background: #fff !important;
}

/* === Cacher message debug WP Armour (visible aux admins seulement) === */
.wpa-test-msg { display: none !important; }

/* === STACK widgets fixes en bas-droite : reorganiser pour ne pas se superposer ===
   Position de bas en haut :
   - Sticky Support  (le plus visible, en bas)
   - Google Translate (dropdown)  -> ON LE LAISSE EN BAS-DROITE par defaut, on monte support
   - reCAPTCHA badge  -> tout en haut (obligatoire mais discret)
*/

/* reCAPTCHA badge : remonter au-dessus pour ne pas chevaucher */
.grecaptcha-badge {
    bottom: 100px !important;
    z-index: 9990 !important;
}

/* Google Translate widget : bottom right toujours, au-dessus de Support */
.gt_switcher_wrapper {
    bottom: 90px !important;
    right: 20px !important;
    z-index: 9995 !important;
}

/* Sticky Support : tout en bas-droite */
.resonance-sticky-support {
    bottom: 24px !important;
    right: 20px !important;
    z-index: 9998 !important;
}

@media (max-width: 600px) {
    .gt_switcher_wrapper { bottom: 80px !important; right: 12px !important; }
    .grecaptcha-badge { bottom: 90px !important; }
}

/* === WLF banner : ajustement texte coming soon === */
.wlf-coming-soon {
    color: rgba(255,255,255,0.95) !important;
    margin: 8px 0 0 !important;
    font-size: 0.88rem !important;
    font-style: italic;
    background: rgba(255,255,255,0.12);
    padding: 8px 14px;
    border-radius: 20px;
    display: inline-block;
}

/* ============================================================
   SESSION 2 — 4 colonnes uniformes (responsive)
   ============================================================ */

/* Forcer 4 colonnes sur tous les grids principaux */
.resonance-profiles-grid,
.resonance-events-grid,
.resonance-market-grid,
.my-profile-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Tablet large : 3 cols */
@media (max-width: 1100px) {
    .resonance-profiles-grid,
    .resonance-events-grid,
    .resonance-market-grid,
    .my-profile-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet : 2 cols */
@media (max-width: 768px) {
    .resonance-profiles-grid,
    .resonance-events-grid,
    .resonance-market-grid,
    .my-profile-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile : 1 col */
@media (max-width: 480px) {
    .resonance-profiles-grid,
    .resonance-events-grid,
    .resonance-market-grid,
    .my-profile-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === Poster image dans event-card === */
.event-poster {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 14px -20px;
    width: calc(100% + 40px);
    display: block;
}
.event-poster-placeholder {
    width: calc(100% + 40px);
    margin: -20px -20px 14px -20px;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #346889 0%, #2a5370 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.event-origin-resonance_art .event-poster-placeholder { background: linear-gradient(135deg, #f4a850 0%, #e08830 100%); }
.event-origin-artist .event-poster-placeholder  { background: linear-gradient(135deg, #c87a3a 0%, #a05c25 100%); }
.event-origin-public .event-poster-placeholder  { background: linear-gradient(135deg, #5e9e6e 0%, #3d7d52 100%); }

/* Adapter le padding de event-card quand poster présent */
.event-card { overflow: hidden; }

/* === Profile card cliquable === */
.profile-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}
.profile-card-link:hover .profile-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(52,104,137,0.15);
}
.profile-card-link:hover .profile-name {
    color: #346889 !important;
}

/* === MY PROFILE — section events + créations en 4 cols === */
.my-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
}
@media (max-width: 1100px) { .my-events-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { .my-events-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .my-events-grid { grid-template-columns: 1fr !important; } }

.my-event-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #87a9bd;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    font-size: 0.88rem;
}
.my-event-card.status-publish { border-left-color: #5e9e6e; }
.my-event-card.status-pending { border-left-color: #f4a850; }
.my-event-card.status-draft   { border-left-color: #999; }
.my-event-card h4 {
    margin: 6px 0 6px !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
}
.my-event-card h4 a { color: #2c2c2c !important; text-decoration: none !important; }
.my-event-card h4 a:hover { color: #346889 !important; }
.my-event-card .my-event-meta { font-size: 0.8rem; color: #777; margin-bottom: 8px; }
.my-event-card .my-event-edit { 
    color: #346889 !important; font-size: 0.82rem; font-weight: 500;
    text-decoration: none !important;
}
.my-event-card .my-event-edit:hover { text-decoration: underline !important; }

/* === Bouton "Create an Event" dans MY PROFILE === */
.my-profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}
.my-profile-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.15s;
}
.my-profile-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    text-decoration: none !important;
}
.btn-create-event {
    background: linear-gradient(135deg, #346889 0%, #2a5370 100%);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(52,104,137,0.3);
}
.btn-add-creation {
    background: linear-gradient(135deg, #f4a850 0%, #e08830 100%);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(244,168,80,0.3);
}

/* === Add Creation form — belle mise en page === */
.resonance-art-form-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    max-width: 760px;
    margin: 0 auto;
}
.resonance-art-form-wrap h2 {
    color: #346889 !important;
    font-size: 1.6rem !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #f4a850;
}
.resonance-art-form .form-row {
    margin-bottom: 20px;
}
.resonance-art-form .form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 7px !important;
}
.resonance-art-form .form-hint {
    font-weight: 400;
    color: #888;
    font-size: 0.82rem;
}
.resonance-art-form input[type="text"],
.resonance-art-form input[type="url"],
.resonance-art-form input[type="number"],
.resonance-art-form textarea,
.resonance-art-form select {
    width: 100%;
    padding: 10px 14px !important;
    border: 1.5px solid #d8dde2 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    background: #fafbfc !important;
    color: #333 !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box;
    margin: 0 !important;
}
.resonance-art-form input:focus,
.resonance-art-form textarea:focus,
.resonance-art-form select:focus {
    border-color: #346889 !important;
    outline: none !important;
    background: #fff !important;
}
.resonance-art-form textarea { min-height: 120px; resize: vertical; }
.resonance-art-form input[type="file"] {
    padding: 8px 10px !important;
    background: #f0f4f7 !important;
    border-style: dashed !important;
    cursor: pointer;
}
.resonance-art-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 600px) {
    .resonance-art-form .form-row-2 { grid-template-columns: 1fr; }
    .resonance-art-form-wrap { padding: 20px 18px; }
}
.resonance-art-form .form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.resonance-art-form .form-actions .filter-submit-btn {
    padding: 12px 24px;
    font-size: 1rem;
}
.resonance-art-form .form-actions .filter-reset-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
}
.resonance-art-form .form-note {
    font-size: 0.82rem !important;
    color: #888 !important;
    margin-top: 14px !important;
    font-style: italic;
}
.resonance-art-form .form-current-photo {
    margin-bottom: 10px;
}
.resonance-success {
    background: #e8f5ec;
    border: 1px solid #c3e6cb;
    color: #2d6e3f;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.resonance-error {
    background: #fde8e8;
    border: 1px solid #f5c6cb;
    color: #7a1e1e;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ============================================================
   SESSION 2 — Page Artiste (29620)
   ============================================================ */
.page-id-29620 #main-content { padding-top: 80px; }

.resonance-artist-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.artist-back-link {
    display: inline-block;
    color: #346889 !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: #f0f6fa;
    border-radius: 20px;
    transition: background 0.2s;
}
.artist-back-link:hover { background: #ddeef7; }

.artist-header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 40px;
    border: 1px solid #eee;
}
@media (max-width: 600px) {
    .artist-header { flex-direction: column; align-items: center; text-align: center; padding: 20px; }
}
.artist-avatar-big {
    width: 140px; height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f4a850;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.artist-header-info { flex: 1; }
.artist-type-badge {
    display: inline-block;
    background: #fff7ed;
    color: #b86a00;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.artist-name {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    margin: 6px 0 8px !important;
    line-height: 1.2 !important;
}
.artist-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
}
.artist-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.artist-bio {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}
.artist-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.artist-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f6fa;
    color: #346889 !important;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.2s;
}
.artist-link-btn:hover { background: #ddeef7; }

.artist-section { margin-bottom: 48px; }
.artist-section-title {
    color: #346889 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 0 0 20px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #f4a850;
}

/* Add Creation page styling */
.page-id-29615 #main-content { padding-top: 80px; }
.page-id-29615 .et_pb_section { padding-top: 20px !important; padding-bottom: 40px !important; }

/* ============================================================
   SESSION 2 — Full-width sur pages shortcode (pas de sidebar)
   ============================================================ */

/* Pages sans builder Divi → forcer full-width */
.page-id-29584 #left-area,
.page-id-29615 #left-area,
.page-id-29620 #left-area,
.page-id-29512 #left-area {
    width: 100% !important;
    float: none !important;
    padding-right: 0 !important;
}
.page-id-29584 #sidebar,
.page-id-29615 #sidebar,
.page-id-29620 #sidebar,
.page-id-29512 #sidebar {
    display: none !important;
}
/* Masquer le h1 "Artist Profile" / "My Profile" / "Add Creation" (titre de page Divi parasite) */
.page-id-29620 .main_title,
.page-id-29584 .main_title,
.page-id-29615 .main_title {
    display: none !important;
}
/* Max-width sur le contenu des pages full-width */
.page-id-29512 .resonance-events-wrap,
.page-id-29584 .resonance-my-profile-wrap {
    max-width: 100% !important;
}

/* ============================================================
   SESSION 2 — Full-width override (supprimer sidebar Divi)
   ============================================================ */

/* Supprimer le sidebar sur toutes les pages custom */
.page-id-29620 #sidebar,
.page-id-29615 #sidebar,
.page-id-29512 #sidebar,
.page-id-29565 #sidebar,
.page-id-29584 #sidebar,
.page-id-2 #sidebar {
    display: none !important;
}

/* Forcer full-width sur ces pages */
.page-id-29620 #main-content .container,
.page-id-29615 #main-content .container,
.page-id-29512 #main-content .container,
.page-id-29565 #main-content .container,
.page-id-29584 #main-content .container,
.page-id-2 #main-content .container {
    max-width: 100% !important;
}

.page-id-29620 #left-area,
.page-id-29615 #left-area,
.page-id-29512 #left-area,
.page-id-29565 #left-area,
.page-id-29584 #left-area,
.page-id-2 #left-area {
    width: 100% !important;
    float: none !important;
    padding-right: 0 !important;
}

/* Artist page : forcer contenu plus large */
.page-id-29620 .entry-content,
.page-id-29615 .entry-content {
    max-width: 100% !important;
}

/* ============================================================
   SESSION 3 — Corrections diverses
   ============================================================ */

/* 1. Avatar popup UWP — z-index au-dessus du menu */
.uwp-modal,
.uwp-profile-cover-modal,
.uwp-profile-avatar-modal,
.uwp-avatar-modal,
div[class*="uwp"][class*="modal"],
div[id*="uwp"][id*="modal"] {
    z-index: 999999 !important;
    position: fixed !important;
}
.uwp-modal-backdrop,
div[class*="uwp"][class*="backdrop"] {
    z-index: 999998 !important;
}
/* S'assurer que le header ne cache pas les modals */
#main-header, .et-fixed-header {
    z-index: 99999 !important;
}

/* 2. Réduire l'espace blanc excessif sous le menu (padding-top) */
.page-id-29565 #main-content,
.page-id-29512 #main-content,
.page-id-29584 #main-content,
.page-id-2 #main-content,
.page-id-29620 #main-content,
.page-id-29615 #main-content {
    padding-top: 60px !important;
}

/* Réduire padding Divi sur toutes les pages custom */
.et_full_width_page .entry-content > .et_pb_section:first-child,
.et_right_sidebar .entry-content > .et_pb_section:first-child {
    padding-top: 0 !important;
}

/* Espace entre menu et contenu des pages "normales" */
.page-id-45 #main-content { padding-top: 40px !important; }
.page-id-36 #main-content { padding-top: 0 !important; }

/* 3. UWP Profile — bouton "Change photo" toujours visible */
.uwp-profile-avatar-wrap .uwp-profile-photo-btn,
.uwp-cover-photo-wrap .uwp-profile-photo-btn,
.uwp-profile-photo-wrap .uwp-change-photo,
.uwp-avatar-wrap .uwp-change-btn,
[class*="uwp"][class*="photo"][class*="btn"],
[class*="uwp"][class*="avatar"][class*="edit"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
/* Hover toujours montré */
.uwp-profile-avatar-wrap:hover .uwp-profile-photo-btn,
.uwp-cover-photo-wrap:hover .uwp-profile-photo-btn {
    opacity: 1 !important;
}

/* 4. Page CONTACT — supprimer le footer Divi superflu */
.page-id-45 .et_pb_section_1,
.page-id-45 .et_pb_section_2 {
    display: none !important;
}
/* Rapprocher Facebook module du formulaire */
.page-id-45 .et_pb_section:last-of-type {
    padding-top: 20px !important;
    margin-top: 0 !important;
}
/* Supprimer les espaces Divi vides */
.page-id-45 .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================================
   SESSION 3 — Admin Moderation page (29625)
   ============================================================ */
.page-id-29625 #main-content { padding-top: 60px !important; }

.resonance-admin-moderation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.ra-mod-section { margin-bottom: 40px; }
.my-profile-section-title .ra-count {
    background: #f4a850;
    color: #fff;
    font-size: 0.85rem;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 700;
}
.ra-mod-table {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    overflow: hidden;
}
.ra-mod-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    background: #f8f9fa;
    padding: 12px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #eee;
}
.ra-mod-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
    font-size: 0.88rem;
    transition: background 0.15s;
}
.ra-mod-row:last-child { border-bottom: none; }
.ra-mod-row:hover { background: #fafafa; }
.ra-mod-title a { color: #346889 !important; font-weight: 600; text-decoration: none !important; }
.ra-mod-title a:hover { text-decoration: underline !important; }
.ra-mod-type { font-size: 0.82rem; color: #666; }
.ra-mod-date { font-size: 0.8rem; color: #888; }
.ra-mod-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ra-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.15s;
}
.ra-btn:hover { opacity: 0.85; }
.ra-btn-approve { background: #e8f5ec; color: #2d6e3f !important; }
.ra-btn-reject  { background: #fde8e8; color: #7a1e1e !important; }
.ra-btn-delete  { background: #f5f5f5; color: #666 !important; }
.ra-mod-empty {
    padding: 24px 20px;
    color: #888;
    font-style: italic;
    text-align: center;
}
.ra-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .ra-stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .ra-stats-grid { grid-template-columns: repeat(2, 1fr); } .ra-mod-header, .ra-mod-row { grid-template-columns: 2fr 1fr 1.2fr; } .ra-mod-header span:nth-child(3), .ra-mod-row span:nth-child(3), .ra-mod-header span:nth-child(4), .ra-mod-row span:nth-child(4) { display: none; } }
.ra-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}
.ra-stat-emoji { font-size: 1.8rem; margin-bottom: 6px; }
.ra-stat-count { font-size: 2rem; font-weight: 700; color: #346889; }
.ra-stat-label { font-size: 0.8rem; color: #888; margin-top: 4px; }

/* ============================================================
   SESSION 3 — Page CONTACT nettoyée
   ============================================================ */
/* Cacher le footer Divi de la page CONTACT */
.page-id-45 .et_pb_section_1,
.page-id-45 .et_pb_section_2,
.page-id-45 .et_pb_section_3 { display: none !important; }

/* Réduire l'espace entre le formulaire contact et le reste */
.page-id-45 .et_pb_section:first-child {
    padding-bottom: 20px !important;
}

/* ============================================================
   SESSION 3 — Réduire espace blanc global sous menu
   ============================================================ */
/* Supprimer le padding-top Divi inutile sur les colonnes */
.page-id-29565 .et_pb_column,
.page-id-29512 .et_pb_column,
.page-id-2 .et_pb_column,
.page-id-29584 .et_pb_column,
.page-id-29615 .et_pb_column,
.page-id-29620 .et_pb_column,
.page-id-45 .et_pb_column {
    padding-top: 0 !important;
}

/* ============================================================
   PRIORITÉ 2 — Page détail Art Item (single-art_item.php)
   ============================================================ */
.post-type-archive-art_item #main-content,
.single-art_item #main-content {
    padding-top: 60px !important;
}
.resonance-art-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.art-detail-breadcrumb {
    font-size: 0.88rem;
    color: #777;
    margin-bottom: 24px;
}
.art-detail-breadcrumb a {
    color: #346889 !important;
    text-decoration: none !important;
    font-weight: 500;
}
.art-detail-breadcrumb a:hover { text-decoration: underline !important; }

.art-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) {
    .art-detail-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* Image */
.art-detail-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: block;
}
.art-detail-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f4f7 0%, #e8eef4 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(52,104,137,0.2);
}
.art-detail-wlf-badge {
    margin-top: 12px;
    background: linear-gradient(135deg, #8e2b5a 0%, #c0392b 100%);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
}

/* Infos */
.art-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.art-detail-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    line-height: 1.2 !important;
    margin: 0 0 16px !important;
}
.art-detail-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
}
.art-detail-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f4a850;
}
.art-detail-by { font-size: 0.82rem; color: #888; display: block; }
.art-detail-author-name {
    font-weight: 600;
    color: #346889 !important;
    text-decoration: none !important;
    font-size: 0.95rem;
}
.art-detail-author-name:hover { text-decoration: underline !important; }

.art-detail-price {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3e2 100%);
    border-radius: 12px;
    border: 1px solid #f4d4a0;
}
.art-detail-price-label {
    font-size: 0.82rem;
    color: #888;
    display: block;
    margin-bottom: 4px;
}
.art-detail-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #346889;
}

.art-detail-description {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}
.art-detail-ext-link {
    display: inline-block;
    color: #346889 !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none !important;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: #f0f6fa;
    border-radius: 20px;
    transition: background 0.2s;
}
.art-detail-ext-link:hover { background: #ddeef7; }

/* Action forms */
.art-detail-action-form {
    margin-top: 8px;
}
.art-detail-message-row {
    margin-bottom: 14px;
}
.art-detail-message-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px !important;
}
.art-detail-message-row input,
.art-detail-message-row textarea {
    width: 100%;
    padding: 10px 14px !important;
    border: 1.5px solid #d8dde2 !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box;
    background: #fafbfc !important;
    transition: border-color 0.2s;
    margin: 0 !important;
}
.art-detail-message-row input:focus,
.art-detail-message-row textarea:focus {
    border-color: #346889 !important;
    outline: none !important;
    background: #fff !important;
}
.art-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none !important;
}
.art-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-buy    { background: linear-gradient(135deg, #346889, #2a5370); color: #fff !important; }
.btn-bid    { background: linear-gradient(135deg, #c87a3a, #a05c25); color: #fff !important; }
.btn-donate { background: linear-gradient(135deg, #f4a850, #e08830); color: #fff !important; }
.btn-free   { background: linear-gradient(135deg, #5e9e6e, #3d7d52); color: #fff !important; }

.art-detail-login-gate {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.art-detail-login-gate p { margin-bottom: 14px !important; color: #666; }
.art-detail-confirm { margin-top: 16px; }

/* ============================================================
   PRIORITÉ 2 — Woman Life Freedom checkbox + filtre
   ============================================================ */
.wlf-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #8e2b5a 0%, #c0392b 100%);
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}
.wlf-filter-btn:hover { opacity: 0.9; }
.wlf-filter-btn.active {
    box-shadow: 0 0 0 3px rgba(142,43,90,0.3);
}
.art-item-card.wlf-item {
    border-top: 3px solid #c0392b;
}
.art-item-wlf-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, #8e2b5a, #c0392b);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* ============================================================
   PRIORITÉ 2 — Edit Event/Product frontend (bouton Edit)
   ============================================================ */
.resonance-edit-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.page-id-edit-event #main-content,
.page-id-edit-creation #main-content {
    padding-top: 60px !important;
}

/* ============================================================
   SESSION 4 — Filter bar unifiée (MARKET = PROFILES style)
   ============================================================ */
.resonance-filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    margin-bottom: 24px;
}
.filter-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 14px;
}
.filter-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.resonance-filter-bar .filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 140px;
}
.resonance-filter-bar .filter-group-search { flex: 2; min-width: 200px; }
.resonance-filter-bar label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.resonance-filter-bar input[type="search"],
.resonance-filter-bar select {
    padding: 9px 13px;
    border: 1.5px solid #d8dde2;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fafbfc;
    color: #333;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.resonance-filter-bar input:focus,
.resonance-filter-bar select:focus {
    border-color: #346889;
    outline: none;
    background: #fff;
}
@media (max-width: 768px) {
    .filter-row { flex-direction: column; }
    .resonance-filter-bar .filter-group { min-width: 100%; }
    .filter-actions-row { flex-direction: column; align-items: stretch; }
    .filter-actions-row .filter-submit-btn,
    .filter-actions-row .filter-reset-btn,
    .filter-actions-row .wlf-filter-btn { text-align: center; justify-content: center; }
}

/* ============================================================
   SESSION 4 — Fix filtre PROFILES sous le menu + padding global
   ============================================================ */

/* Le menu fixe Divi fait ~80px, le secondary nav ~30px = 110px total */
/* On force le page-container de toutes les pages custom à avoir assez de padding */
.page-id-29565 #page-container,
.page-id-29512 #page-container,
.page-id-2 #page-container,
.page-id-29584 #page-container {
    padding-top: 0 !important;
}

/* Le contenu doit commencer sous le menu */
.page-id-29565 .entry-content,
.page-id-29512 .entry-content,
.page-id-2 .entry-content,
.page-id-29584 .entry-content {
    padding-top: 120px !important;
    margin-top: 0 !important;
}

/* Sur ces pages, le .et_pb_section ne doit pas avoir de padding-top Divi */
.page-id-29565 .et_pb_section:first-child,
.page-id-29512 .et_pb_section:first-child,
.page-id-2 .et_pb_section:first-child,
.page-id-29584 .et_pb_section:first-child {
    padding-top: 0 !important;
}

/* Forcer la filter-bar à être cliquable (z-index au dessus de tout sauf modals) */
.resonance-filter-bar,
.resonance-profiles-filter,
.events-filters,
.market-filters {
    position: relative !important;
    z-index: 1000 !important;
}

/* Fix titre page EVENTS */
.page-id-29512 h1.page-title,
.page-id-29512 .entry-title {
    display: none !important;
}

/* ============================================================
   SESSION 4 — Popup Auth
   ============================================================ */
.ra-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
}
.ra-auth-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: raPopupIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes raPopupIn {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ra-auth-close {
    position: absolute;
    top: 14px; right: 18px;
    background: none; border: none;
    font-size: 1.6rem; color: #bbb;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
.ra-auth-close:hover { color: #555; }
.ra-auth-logo { font-size: 3.5rem; margin-bottom: 10px; }
.ra-auth-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    margin: 0 0 12px !important;
}
.ra-auth-text {
    font-size: 0.95rem !important;
    color: #666 !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}
.ra-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.ra-btn-signin {
    display: block;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid #346889;
    color: #346889 !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}
.ra-btn-signin:hover { background: #346889; color: #fff !important; }
.ra-btn-register {
    display: block;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f4a850, #e08830);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(244,168,80,0.35);
    transition: opacity 0.2s, transform 0.15s;
}
.ra-btn-register:hover { opacity: 0.92; transform: translateY(-1px); }
.ra-auth-skip { margin-top: 4px !important; }
.ra-auth-skip a { color: #aaa !important; font-size: 0.85rem !important; text-decoration: none !important; }
.ra-auth-skip a:hover { color: #666 !important; text-decoration: underline !important; }

/* ============================================================
   SESSION 4 — Titre EVENTS custom + filtre
   ============================================================ */
.resonance-page-title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #346889 !important;
    margin: 0 0 24px !important;
}

/* ============================================================
   SESSION 4 — CONTACT extra (calendar + FB)
   ============================================================ */
.resonance-contact-extra {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.contact-extra-section {
    margin-bottom: 40px;
}
.contact-calendar-wrap,
.contact-fb-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-calendar-wrap iframe,
.contact-fb-wrap iframe {
    display: block;
    max-width: 100%;
}

/* ============================================================
   SESSION 4 — EVENTS filter bar spacing + padding fix
   ============================================================ */
.resonance-events-wrap .resonance-filter-bar {
    margin-top: 16px;
}
.resonance-events-wrap .events-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

/* ============================================================
   SESSION 4 — Fix PROFILES filter masqué sous le menu (définitif)
   La structure Divi : body.et_fixed_nav > #page-container > #et-main-area > #main-content > article > .entry-content
   Le nav fixe fait 80px + secondary nav 31px = 111px total
   ============================================================ */

/* Forcer padding-top sur #page-container pour les pages custom */
body.et_fixed_nav.page-id-29565 #page-container,
body.et_fixed_nav.page-id-29512 #page-container,
body.et_fixed_nav.page-id-2 #page-container,
body.et_fixed_nav.page-id-29584 #page-container,
body.et_fixed_nav.page-id-29620 #page-container {
    padding-top: 120px !important;
}

/* Si secondary nav activé */
body.et_fixed_nav.et_secondary_nav_enabled.page-id-29565 #page-container,
body.et_fixed_nav.et_secondary_nav_enabled.page-id-29512 #page-container,
body.et_fixed_nav.et_secondary_nav_enabled.page-id-2 #page-container,
body.et_fixed_nav.et_secondary_nav_enabled.page-id-29584 #page-container {
    padding-top: 140px !important;
}

/* Annuler padding-top sur entry-content pour ne pas doubler */
body.page-id-29565 .entry-content,
body.page-id-29512 .entry-content,
body.page-id-2 .entry-content,
body.page-id-29584 .entry-content {
    padding-top: 0 !important;
}

/* SESSION 4 fix padding */
body.et_fixed_nav.page-id-29565 #page-container,
body.et_fixed_nav.page-id-29512 #page-container,
body.et_fixed_nav.page-id-2 #page-container,
body.et_fixed_nav.page-id-29584 #page-container {
    padding-top: 140px !important;
}
body.page-id-29565 .entry-content,
body.page-id-29512 .entry-content,
body.page-id-2 .entry-content,
body.page-id-29584 .entry-content {
    padding-top: 0 !important;
}

/* ============================================================
   SESSION 4 — Fix filtres sous menu + popup login + contact
   ============================================================ */

/* Fix PROFILES filter — assez de padding pour passer sous le menu fixe (hauteur ~80px) */
.page-id-29565 #main-content { padding-top: 110px !important; }
.page-id-29512 #main-content { padding-top: 110px !important; }
.page-id-2     #main-content { padding-top: 20px  !important; }

/* Le filtre PROFILES doit être z-index > 0 mais < header */
.resonance-profiles-filters,
.resonance-filter-bar,
.resonance-events-wrap .resonance-filter-bar {
    position: relative;
    z-index: 100;
}

/* Popup login overlay */
.ra-login-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ra-popup-fade 0.3s ease;
}
@keyframes ra-popup-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.ra-login-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px 44px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    position: relative;
    animation: ra-popup-slide 0.3s ease;
}
@keyframes ra-popup-slide {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.ra-login-popup-logo {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.ra-login-popup h2 {
    color: #346889 !important;
    font-size: 1.5rem !important;
    margin: 0 0 10px !important;
}
.ra-login-popup p {
    color: #666 !important;
    font-size: 0.95rem !important;
    margin: 0 0 24px !important;
    line-height: 1.5 !important;
}
.ra-login-popup-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.ra-popup-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #346889, #2a5370);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform 0.15s;
}
.ra-popup-btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #f4a850, #e08830);
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform 0.15s;
}
.ra-popup-btn-primary:hover,
.ra-popup-btn-secondary:hover { transform: translateY(-2px); }
.ra-popup-close {
    position: absolute;
    top: 14px; right: 18px;
    font-size: 1.4rem;
    color: #aaa;
    cursor: pointer;
    background: none; border: none;
    line-height: 1;
    padding: 4px;
}
.ra-popup-close:hover { color: #555; }
.ra-popup-skip {
    display: block;
    margin-top: 16px;
    font-size: 0.82rem;
    color: #aaa;
    cursor: pointer;
    text-decoration: underline;
}

/* Contact page — nouvelle mise en page */
.page-id-45 .resonance-contact-below {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 768px) {
    .page-id-45 .resonance-contact-below { grid-template-columns: 1fr; }
}
.resonance-contact-below .ra-contact-block {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}
.resonance-contact-below h3 {
    color: #346889 !important;
    font-size: 1.05rem !important;
    margin: 0 0 14px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #f4a850;
}
.resonance-contact-below iframe { border-radius: 10px; }

/* Cacher TOUS les blocs Divi après le formulaire contact (sections 1+) */
.page-id-45 .et_pb_section:not(:first-child) {
    display: none !important;
}
/* Notre nouveau bloc 2-colonnes en dessous */
.page-id-45 .resonance-contact-below {
    display: grid !important;
}

/* Session 5 — Loading state pour filtres AJAX */
.resonance-filter-bar.loading { opacity: 0.6; pointer-events: none; }
.ajax-grid.loading-shimmer .event-card,
.ajax-grid.loading-shimmer .art-item-card {
    opacity: 0.4;
    pointer-events: none;
}
.ra-filter-spinner {
    display: none;
    width: 20px; height: 20px;
    border: 3px solid #e0e7ef;
    border-top-color: #346889;
    border-radius: 50%;
    animation: ra-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}
.resonance-filter-bar.loading .ra-filter-spinner { display: inline-block; }
@keyframes ra-spin { to { transform: rotate(360deg); } }

/* ============================================================
   SESSION 6 — Stripe payment UI
   ============================================================ */
.ra-stripe-wrap {
    margin-top: 6px;
}
.ra-stripe-test-notice {
    background: linear-gradient(135deg, #fff3cd, #ffe8a3);
    border: 1px solid #f4c842;
    color: #7a5900;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-weight: 500;
}
.ra-stripe-card-element {
    padding: 12px 14px;
    border: 1.5px solid #d8dde2;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.2s;
    min-height: 44px;
}
.ra-stripe-card-element.StripeElement--focus {
    border-color: #346889;
    background: #fff;
}
.ra-stripe-card-element.StripeElement--invalid {
    border-color: #c0392b;
}
.ra-stripe-error-msg {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 6px;
    padding: 6px 10px;
    background: #fde8e8;
    border-radius: 6px;
}

/* Logo popup fix */
.ra-login-popup-logo img {
    max-width: 160px !important;
    height: auto !important;
    margin: 0 auto 10px !important;
    display: block !important;
}

/* ============================================================
   SESSION 7 — Fix espace excessif sous menu (Divi inline override)
   ============================================================ */
/* Divi injecte padding-top inline sur .container — on force à zéro */
.page-id-29512 .container,
.page-id-29565 .container,
.page-id-2 .container,
.page-id-29584 .container,
.page-id-29620 .container,
.page-id-29615 .container,
.page-id-29625 .container {
    padding-top: 0 !important;
}
/* Et on met le padding sur #main-content uniquement */
.page-id-29512 #main-content { padding-top: 80px !important; }
.page-id-29565 #main-content { padding-top: 80px !important; }
.page-id-2     #main-content { padding-top: 20px !important; }
.page-id-29584 #main-content { padding-top: 60px !important; }

/* Session 7 — Popup logo fix */
.ra-login-popup-logo img {
    max-width: 140px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 12px !important;
    object-fit: contain !important;
}
/* Popup boutons améliorés */
.ra-popup-btn-primary, .ra-popup-btn-secondary {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    margin-bottom: 10px !important;
}

/* Session 7 — Facebook iframe fix */
.ra-contact-block iframe[src*="facebook"] {
    min-height: 400px;
    width: 100% !important;
    display: block !important;
}

/* ============================================================
   SESSION 9 — LIKE BUTTON STYLING
   ============================================================ */
.ra-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    color: #555;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ra-like-btn:hover {
    background: #fff7ed;
    border-color: #f4a850;
    transform: scale(1.05);
}
.ra-like-btn .ra-like-heart {
    font-size: 1rem;
    line-height: 1;
}
.ra-like-btn .ra-like-count {
    font-weight: 600;
    min-width: 12px;
    text-align: center;
}
.ra-like-btn.is-liked {
    background: #ffe9e9;
    border-color: #e74c3c;
    color: #c0392b;
}
.ra-like-btn.is-anon { opacity: 0.85; }
.ra-like-btn.ra-like-pulse { animation: raLikePulse .32s ease; }
@keyframes raLikePulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    100% { transform: scale(1.05); }
}
/* Card needs position:relative so absolute heart works */
.profile-card, .event-card, .art-item-card { position: relative; }
/* Below-card variant (when used in a footer line, not absolute) */
.ra-like-btn.ra-like-inline {
    position: static;
    box-shadow: none;
}

/* ============================================================
   SESSION 10 — GLOBAL FIXES
   ============================================================ */

/* ISSUE 2 — Darker input/select/textarea borders */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select,
.uwp_form_row input,
.uwp_form_row select,
.uwp_form_row textarea,
.dig_ma-box input,
.dig_ma-box select,
.et_pb_contact_field input,
.et_pb_contact_field textarea,
.wpcf7-form-control,
.resonance-add-creation-form input,
.resonance-add-creation-form textarea,
.resonance-add-creation-form select {
    border: 1.5px solid #999 !important;
    border-radius: 6px !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #346889 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(52,104,137,0.15) !important;
}

/* ISSUE 6 — Remove large empty gap on HOME between sections when logged in */
.et_pb_section_2.et_section_regular {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Hide empty sections that only show for non-logged-in (popup placeholder) */
body.logged-in .ra-login-popup-overlay { display: none !important; }


/* Event/Creation form improvements */
.tribe-community-events input,
.tribe-community-events select,
.tribe-community-events textarea { border: 1.5px solid #999 !important; }

/* Remove <p> tags inside description fields */
.tribe-ce-description p:empty { display: none; }

/* ISSUE 9 — Fix Venue/Organizer popup position and close button */
.wpem-modal { z-index: 999999 !important; }
.wpem-modal-content-wrapper {
    margin-top: 60px !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
}
#wpem-modal-close {
    font-size: 1.4rem !important;
    color: #333 !important;
    font-weight: bold !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
}
/* Fix <p> tag appearing under description boxes */
.wpem-form-builder-item p { display: none !important; }
/* Fix ADD ORGANIZER button not working - ensure it's visible */
.wpem_add_organizer, .wpem_add_venue {
    cursor: pointer !important;
    pointer-events: auto !important;
}
/* ISSUE 11 - Remove empty <p> in Edit creation description */
.resonance-add-creation-form .edit-description p:empty { display: none; }

/* ISSUE 5bis — Hide duplicate language selector at bottom of pages */
.et_pb_row .wpml-ls-statics-footer,
.et_pb_widget .wpml-ls,
footer .wpml-ls,
.et_pb_footer_area .wpml-ls,
.et_pb_section .wpml-ls-statics-footer { display: none !important; }

/* Keep only the one in the header/nav */
.et_pb_header .wpml-ls,
.et-menu-nav .wpml-ls { display: block !important; }

/* ISSUE 7 — Fix WP admin bar items overlap with Instagram/Facebook icons */
#wpadminbar { z-index: 999998 !important; }
.et-l.-post > .et_builder_inner_content { padding-top: 0; }




