/**
 * Styles principaux du plugin Anciens de Sainte Croix de Neuilly
 */

/* Formulaires */


:root {
    --sc-blue-primary: #172257;

    --sc-blue-secundary: #26428B;
    --sc-blue-tertiary: #516AC7;
    --sc-yellow: #e3af64;
    --sc-pink-light: #FBECD7;
    --sc-gray-light: #F5F5F5;
    --sc-font-color: #172257;
    --sc-font-gray: #6B7280;
    --sc-green: #02A27A;
    --sc-blue: #3F34AF;


    --sc-red: #d63638;

}

.asc-form-row {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.asc-form-field {
    flex: 1;
}

.asc-form-field-full {
    flex-basis: 100%;
}


.asc-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--sc-blue-secundary);
}

.asc-form-field input[type="text"],
.asc-form-field input[type="email"],
.asc-form-field input[type="tel"],
.asc-form-field input[type="url"],
.asc-form-field input[type="number"],
.asc-form-field select,
.asc-form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--sc-gray-light);
    border-radius: 4px;
    font-size: 14px;
}

.asc-form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.asc-form-field .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.asc-checkbox-label {
    display: block;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.asc-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.required {
    color: var(--sc-red);
}

.optional {
    font-weight: normal;
    color: #666;
    font-size: 14px;
}

.asc-form-actions {
    text-align: center;
    padding: 20px;
}







/* Messages */
.asc-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.asc-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.asc-message-error {
    background: #f8d7da;
    color: var(--sc-red);
    border: 1px solid #f5c6cb;
}

.message_reserve {
    color: var(--sc-red);
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    display: block;
}

/* ==========================================================
   ANNUAIRE — mise en page 1/4 filtres | 3/4 résultats
   ========================================================== */

/* Conteneur principal : side-by-side */
.asc-directory-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* ── Colonne gauche : filtres (1/4) ── */
.asc-directory-filters {
    flex: 0 0 25%;
    max-width: 25%;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
    position: sticky;
    top: 80px;
    /* reste visible en scrollant */
}

.asc-directory-filters h3 {
    margin: 0 0 16px;
    font-size: 16px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sc-blue-secundary);

}

/* Chaque filtre sur sa propre ligne */
.asc-directory-filters .filter-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.asc-directory-filters .filter-row-actions {
    margin-top: 6px;
}

.asc-directory-filters input,
.asc-directory-filters select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    background: #fff;
}

.asc-directory-filters input:focus,
.asc-directory-filters select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, .15);
}

/* Bouton reset */
.asc-btn-reset {
    width: 100%;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.asc-btn-reset:hover {
    background: var(--sc-red);
    color: #fff;
    border-color: var(--sc-red);
}

/* ── Colonne droite : résultats (3/4) ── */
.asc-directory-main {
    flex: 1 1 0;
    min-width: 0;
    /* empêche le débordement flex */
}

/* Barre de tri en haut de la colonne résultats */
.asc-directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.asc-btn-order {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.asc-btn-order:hover {
    background: var(--sc-blue-tertiary);
    color: #fff;
    border-color: var(--sc-blue-tertiary);
}

/* ── Barre supérieure : compteur + tri ── */
.asc-directory-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    /* border-bottom: 1px solid #e8e8e8; */
}

.asc-results-count {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

/* ── Grille résultats : 3 colonnes desktop ── */
.asc-member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ── Carte membre ── */
.asc-member-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

.asc-member-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
    transform: translateY(-3px);
    border-color: var(--sc-yellow);
}

/* Lien principal (avatar → secteur) */
.asc-member-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
}

/* Avatar */
.asc-member-avatar-wrap {
    margin-bottom: 14px;
}

.asc-member-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.asc-member-avatar-initials {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
    user-select: none;
}

/* Nom */
.asc-member-name {
    font-weight: 700;
    color: var(--sc-blue-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.asc-member-maiden {
    font-size: 12px;
    color: var(--sc-blue-primary);
    margin-bottom: 4px;
    font-weight: bold;

}

.asc-member-maiden em {
    font-weight: normal;
    font-size: 12px;
}

/* Promotion */
.asc-member-promotion {
    font-size: 13px;
    font-weight: 600;
    color: var(--sc-yellow);
    margin-bottom: 6px;
}

/* Poste (fonction – entreprise) */
.asc-member-poste {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Badge secteur */
.asc-member-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.asc-badge {
    display: inline-block;
    padding: 2px 12px;

    color: var(--sc-font-gray);
    border-radius: 20px;
    font-size: .8em;
    font-weight: 500;
    border: 1px solid var(--sc-font-gray);
}

/* Actions email + LinkedIn */
.asc-member-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    /* border-top: 1px solid #f0f0f0; */
    width: 100%;
    justify-content: center;
}

.asc-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--sc-blue-primary);
    color: var(--sc-blue-primary);
    text-decoration: none;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

.asc-action-btn svg {
    width: 18px;
    height: 18px;
}

.asc-action-btn:hover {
    background: #1b3a6b;
    color: #fff;
}

.asc-action-linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.asc-action-linkedin:hover {
    background: #0077b5;
    color: #fff;
}

/* Messages */
.asc-loading,
.asc-no-results {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

/* ── Pagination ── */
#asc-pagination {
    margin-top: 30px;
}

.asc-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.asc-pagination button {
    padding: 7px 13px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: background .2s, color .2s;
}

.asc-pagination button:hover {
    background: #f0f0f0;
}

.asc-pagination button.active {
    background: var(--sc-blue-secundary);
    color: #fff;
    border-color: var(--sc-blue-secundary);
    font-weight: 700;
}

.asc-pagination .asc-page-prev,
.asc-pagination .asc-page-next {
    font-weight: 600;
    color: var(--sc-blue-secundary);
}

.asc-page-ellipsis {
    padding: 7px 4px;
    color: #999;
    font-size: 13px;
    user-select: none;
}

/* Petites annonces */
.asc-classified-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.asc-classified-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}



/* Responsive */
@media (max-width: 768px) {
    .asc-form-row {
        flex-direction: column;
    }

    /* Annuaire : empilement vertical sur mobile */
    .asc-directory-wrapper {
        flex-direction: column-reverse;
    }

    .asc-directory-filters {
        flex: none;
        max-width: 100%;
        width: 100%;
        position: static;
    }

    .asc-directory-main {
        width: 100%;
    }

    /* 1 colonne sur mobile */
    .asc-member-grid {
        grid-template-columns: 1fr;
    }

    .asc-event-item {
        flex-direction: column;
    }

    .asc-event-thumbnail img {
        width: 100%;
    }
}

/* Tablette : 2 colonnes */
@media (min-width: 769px) and (max-width: 1024px) {
    .asc-member-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/** LOGIN POPUP **/

/* =========================================
   POPUP DE CONNEXION - STYLES
   ========================================= */

/* Bouton de déclenchement */
.asc-login-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.asc-login-trigger-button {
    background: #003A70;
    color: #fff;
}

.asc-login-trigger-button:hover {
    background: #002850;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 58, 112, 0.2);
}

.asc-login-trigger-link {
    background: transparent;
    color: #003A70;
    padding: 8px 12px;
}

.asc-login-trigger-link:hover {
    color: #002850;
    background: rgba(0, 58, 112, 0.05);
}

.asc-login-icon {
    font-size: 18px;
}

/* État connecté */
.asc-login-button-wrapper.asc-logged-in {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.asc-user-avatar {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.asc-user-link {
    color: #003A70;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.asc-user-link:hover {
    color: #002850;
}

/* Overlay de la popup */
.asc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 34, 87, 0.95);

    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ascFadeIn 0.3s ease;
}

@keyframes ascFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Container de la popup */
.asc-popup-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: ascSlideUp 0.3s ease;
    display: flex;
    gap: 40px;
    padding: 25px;
}

.asc-popup-container>div:nth-child(1) {
    width: 30%;
    background-size: contain;
    background-image: url(/wp-content/uploads/2026/02/image-6.png);
    background-repeat: no-repeat;
    background-position: center;
}

.asc-popup-container>div:nth-child(2) {
    flex: 1;
}

@media (max-width: 768px) {
    .asc-popup-container {
        flex-direction: column;
    }

    .asc-popup-container>div:nth-child(1) {
        width: 100%;
    }
}

@keyframes ascSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header de la popup */
.asc-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 24px;

}

.asc-popup-header h2 {
    margin: 0;
    font-size: 24px;
    color: #003A70;
}

.asc-popup-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.asc-popup-close:hover {
    background: #f5f5f5;
    color: #000;
}

/* Body de la popup */
.asc-popup-body {
    padding: 0 24px;
}

/* Messages */
.asc-login-messages {
    margin-bottom: 20px;
}

.asc-login-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.asc-login-message.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.asc-login-message.error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Formulaire */
#asc-popup-login-form .asc-form-field {
    margin-bottom: 20px;
}

#asc-popup-login-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

#asc-popup-login-form input[type="email"],
#asc-popup-login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

#asc-popup-login-form input[type="email"]:focus,
#asc-popup-login-form input[type="password"]:focus {
    outline: none;
    border-color: #003A70;
    box-shadow: 0 0 0 3px rgba(0, 58, 112, 0.1);
}

.asc-form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.asc-form-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.required {
    color: #dc3545;
}

/* Actions */
.asc-form-actions {
    margin: 24px 0;
}



/* Champ mot de passe avec toggle */
.asc-password-field {
    position: relative;
}

.asc-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.asc-password-wrapper input {
    flex: 1;
    padding-right: 45px;
    /* Espace pour le bouton */
}

.asc-password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    line-height: 1;
    transition: opacity 0.2s;
    user-select: none;
}

.asc-password-toggle:hover {
    opacity: 0.7;
}

.asc-password-toggle:focus {
    outline: 2px solid #003A70;
    outline-offset: 2px;
    border-radius: 4px;
}

.asc-password-toggle svg {
    display: block;
    color: #666;
}

.asc-password-toggle:hover svg {
    color: #003A70;
}



/* Liens */
.asc-form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.asc-link-secondary,
.asc-link-primary {
    text-decoration: none;
    transition: color 0.3s ease;
}

.asc-link-secondary {
    color: #666;
}

.asc-link-secondary:hover {
    color: #333;
}

.asc-link-primary {
    color: #003A70;
    font-weight: 600;
}

.asc-link-primary:hover {
    color: #002850;
}


/**** LOGIN ****/

.asc-login-form-wrapper {
    max-width: 400px;
    margin: 40px auto;
}

.asc-login-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.asc-login-form-container h2 {
    text-align: center;
    color: #003A70;
    margin: 0;
    font-size: 24px;
}

.asc-login-form-container .asc-form-field {
    margin-bottom: 20px;
}

.asc-login-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.asc-login-form-container input[type="text"],
.asc-login-form-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.asc-login-form-container input[type="text"]:focus,
.asc-login-form-container input[type="password"]:focus {
    outline: none;
    border-color: #003A70;
}

.asc-remember {
    margin-bottom: 25px;
}

.asc-remember label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.asc-remember input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.asc-form-actions {
    margin-bottom: 20px;
}

.asc-form-actions .asc-btn-danger {
    background-color: var(--sc-red) !important;

}

.asc-form-problem {
    font-size: .75em;
    width: 100%;
    margin-top: 10px;
    color: gray;
}

.asc-notice asc-notice-warning {
    text-align: center !important;
}

.asc-btn-block {
    width: 100%;
    text-align: center;
}

/* .asc-login-links {
    text-align: center;
    font-size: 14px;
}

.asc-login-links a {
    color: #003A70;
    text-decoration: none;
}

.asc-login-links a:hover {
    text-decoration: underline;
} */

.asc-separator {
    margin: 0 10px;
    color: #999;
}

.asc-login-connected {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}



.asc-login-info h3 {
    color: #003A70;
    margin: 0 0 10px;
}

.asc-login-info p {
    color: #666;
    margin: 0 0 20px;
}

.asc-login-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .asc-popup-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .asc-popup-header {
        padding: 16px 20px;
    }

    .asc-popup-body {
        padding: 20px;
    }

    .asc-form-links {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* Animation de fermeture */
.asc-popup-overlay.closing {
    animation: ascFadeOut 0.3s ease;
}

@keyframes ascFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.asc-popup-overlay.closing .asc-popup-container {
    animation: ascSlideDown 0.3s ease;
}

@keyframes ascSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(30px);
        opacity: 0;
    }
}

/* Bloquer le scroll du body quand la popup est ouverte */
body.asc-popup-open {
    overflow: hidden;
}

/* ==========================================================================
   PETITES ANNONCES — [asc_classifieds]
   S'appuie sur .asc-directory-wrapper / .asc-directory-filters / .asc-directory-main
   Couleurs du plugin : #003A70 (bleu) | #c8973a (or) | #1b3a6b (bleu foncé)
   ========================================================================== */

/* ── Sidebar spécifique annonces ──────────────────────────────────────────── */
.asc-cl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

.asc-cl-filter-block {

    padding: 16px 18px;
}

.asc-cl-filter-title {
    letter-spacing: .08em;
    text-transform: uppercase !Important;
    color: #888;
    margin: 0 0 12px;
}

/* Tabs nature (Toutes / Offres / Demandes) */
.asc-cl-nature-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.asc-cl-tab {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    border-radius: 6px;
    border: 2px solid transparent;
    background: #fff;
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
    max-width: 120px;
}

.asc-cl-tab.btn_demande {
    color: var(--sc-blue-secundary);
}



.asc-cl-tab.btn_offre {
    color: #26428B;
    padding-left: 33px;
}

.asc-cl-tab.btn_demande {
    color: var(--sc-green);
    padding-left: 33px;
}

.asc-cl-tab.btn_demande.asc-cl-tab--active {

    border-color: var(--sc-green);
    ;

}

.asc-cl-tab.btn_offre.asc-cl-tab--active {

    border-color: #003A70;

}

.asc-cl-tab.btn_demande:before,
.asc-cl-tab.btn_offre:before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: -33px;

}

.asc-cl-tab.btn_demande:before {
    background-image: url(../img/demande.png);
}

.asc-cl-tab.btn_offre:before {
    background-image: url(../img/offre.png);
}

.asc-cl-tab:hover {
    background: #e5e5e5;
}



/* Checklist secteurs */
.asc-cl-checklist {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.asc-cl-check-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0px 6px;
    border-radius: 5px;
    color: #444;
    text-decoration: none;
    transition: background .12s;
    cursor: pointer;
}

.asc-cl-check-item:hover {
    background: #f5f5f5;
}

.asc-cl-checkbox {
    width: 14px;
    height: 14px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    flex-shrink: 0;
    transition: background .12s, border-color .12s;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px;
}

.asc-cl-check-item--active .asc-cl-checkbox {
    background-color: #003A70;
    border-color: #003A70;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.asc-cl-check-label {
    flex: 1;
    line-height: 1.05;
    color: #003A70;
    font-size: .85em;
}

.asc-cl-check-count {
    background: #fff;
    border-radius: 50%;
    color: #003A70;
    width: 30px;
    font-size: 14px;
    text-align: center;
    font-weight: 100;
    ;
}

/* Tabs zones — multi-sélection */
.asc-cl-zone-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.asc-cl-zone-tab {
    padding: 2px 10px;
    border-radius: 95px;
    font-size: 14px;
    background: #fff;
    color: #1E429F;
    text-decoration: none;
    transition: background .12s, color .12s;
    white-space: nowrap;
    border: 1px solid #eaeaea;
}

.asc-cl-zone-tab:hover {
    background: #1E429F;
    color: #fff;
}

.asc-cl-zone-tab--active {
    background: #003A70;
    color: #fff;
}

/* Chips départements sélectionnés */
.asc-cl-zone-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.asc-cl-zone-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 20px;
    background: #e8eef5;
    color: #003A70;
    text-decoration: none;
    border: 1px solid #c5d4e3;
    transition: background .12s;
}

.asc-cl-zone-chip:hover {
    background: #fdecea;
    border-color: #e0b0ab;
    color: #b00;
}

.asc-cl-zone-chip-x {
    opacity: .6;
}

.asc-cl-reset {
    display: inline-block;

    color: #003A70;
    text-decoration: none;
    opacity: .7;
    transition: opacity .12s;
    margin-top: 4px;
}

.asc-cl-reset:hover {
    opacity: 1;
}

/* CTA déposer */
.asc-cl-cta {
    background: #003A70;
    border-radius: 10px;
    padding: 20px 18px;
    text-align: center;
    color: #fff;
}

.asc-cl-cta-icon {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.asc-cl-cta-text {

    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 14px;
}

.asc-cl-cta-btn {
    display: block;
    padding: 10px 14px;
    background: #c8973a;
    color: #fff;

    border-radius: 7px;
    text-decoration: none;
    transition: background .15s;
}

.asc-cl-cta-btn:hover {
    background: #ae8030;
    color: #fff;
}

/* ── Topbar résultats / tri ───────────────────────────────────────────────── */
.asc-cl-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.asc-cl-count {

    color: #666;
}

.asc-cl-sort {
    display: flex;
    align-items: self-end;
    gap: 8px;
}

.asc-cl-sort-label {

    color: #888;
}

.asc-cl-sort-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;

    background: #fff;
    cursor: pointer;
    color: #444;
}

/* ── Cartes annonces ──────────────────────────────────────────────────────── */
.asc-cl-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.asc-cl-card {
    background: #fff;

    padding: 18px 20px;
    transition: box-shadow .2s, border-color .2s;
}

.asc-cl-card:hover {
    border-color: #c8973a;
    box-shadow: 0 4px 18px rgba(0, 58, 112, .07);
}

/* Header carte */
.asc-cl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.asc-cl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* Badge nature (Offre / Demande) */
.asc-cl-badge-nature {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 100;
    text-transform: uppercase;
}

.asc-cl-nat--offre {
    border-left: 5px solid var(--sc-blue);
}

.asc-cl-nat--demande {

    border-left: 5px solid var(--sc-green);
    ;
}

.asc-cl-nat--demande .asc-cl-card-title {
    color: var(--sc-green);
}


.asc-cl-nat--offre .asc-cl-badge-nature {
    background: #E8E7F4;
    color: var(--sc-blue);
}





.asc-cl-nat--demande .asc-cl-badge-nature {
    background: #E5EFED;
    color: var(--sc-green);
    ;
}



.asc-cl-nat--offre .asc-cl-btn-contact {
    background: var(--sc-blue);
}

.asc-cl-nat--demande .asc-cl-btn-contact {

    background: var(--sc-green);
    ;
}

.asc-cl-nat--demande .asc-cl-card-footer {
    background: #E5EFED;
}

.asc-cl-nat--offre .asc-cl-card-footer {
    background: #E8E7F4;
}

/* Bouton contacter */
.asc-cl-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: #fff;
    border-radius: 7px;
    border: none !important;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}

.asc-cl-btn-contact:hover {
    background: #ae8030;
    color: #fff;
}

/* Corps */
.asc-cl-card-body {
    margin-bottom: 12px;
}

.asc-cl-card-title {

    color: var(--sc-blue);
    margin: 0 0 3px;
    line-height: 1.35;
}

.asc-cl-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .12s;
}

.asc-cl-card-title a:hover {
    color: #003A70;
}

.asc-cl-company {
    font-size: .8em;
    color: var(--sc-font-gray);
    margin: 0 0 8px;
    padding-bottom: 5px;
}

.asc-cl-excerpt {

    color: var(--sc-font-gray);
    line-height: 1.6;
    margin: 0 0 10px;
    padding-bottom: 5px;
}

.asc-cl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.asc-cl-meta svg {
    color: var(--sc-yellow);
}

.asc-cl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .8em;
    color: var(--sc-blue-secundary);
}

.asc-cl-meta-item p {
    padding: 0;
}


/* Pied de carte */
.asc-cl-card-footer {
    border-top: 1px solid #f2f2f2;
    margin-left: -20px;
    margin-right: -20PX;
    padding: 10px 5px 10px 10px;
    margin-bottom: -18px;

}

.asc-cl-author {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.asc-cl-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e0e0e0;
    flex-shrink: 0;
}

.asc-cl-author-name {
    color: var(--sc-font-color);
}



.asc-cl-date {
    color: var(--sc-font-color);
    font-size: .9em;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.asc-cl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 24px;
}



.asc-cl-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: background .12s, color .12s, border-color .12s;
}

.asc-cl-page-btn:hover {
    background: #f0f5ff;
    border-color: #003A70;
    color: #003A70;
}

.asc-cl-page-btn--active {
    background: #003A70;
    color: #fff;
    border-color: #003A70;
    pointer-events: none;
}

.asc-cl-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #aaa;
}

/* Bouton reset */
.asc-cl-btn-reset {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.asc-cl-btn-reset:hover {
    border-color: #003A70;
    color: #003A70;
}


/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .asc-classifieds-wrapper.asc-directory-wrapper {
        flex-direction: column;
    }

    .asc-cl-sidebar {
        position: static;
    }

    .asc-cl-nature-tabs {
        flex-wrap: wrap;
    }

    .asc-cl-card-top {
        align-items: flex-start;
    }
}


/* ==========================================================================
   MODAL DE CONTACT
   ========================================================================== */

.asc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

body.asc-modal-open {
    overflow: hidden;
}

.asc-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    animation: asc-modal-in .2s ease;
}

@keyframes asc-modal-in {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.asc-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color .15s;
}

.asc-modal-close:hover {
    color: #333;
}

.asc-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #003A70;
    margin: 0 0 6px;
}

.asc-modal-to {
    font-size: 13px;
    color: #777;
    margin: 0 0 16px;
}

.asc-modal-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color .15s;
}

.asc-modal-textarea:focus {
    outline: none;
    border-color: #003A70;
    box-shadow: 0 0 0 3px rgba(0, 58, 112, .1);
}

.asc-modal-feedback {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.asc-modal-feedback--success {
    background: #e6f4ea;
    color: #276b32;
}

.asc-modal-feedback--error {
    background: #fde8e8;
    color: #a01818;
}

.asc-modal-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   REVEAL EMAIL
   ========================================================================== */

.asc-reveal-email-wrap {
    display: inline-flex;
    align-items: center;
    min-width: 99px;
    position: relative;
}

.asc-reveal-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 11px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12.5px;
    color: #555;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}

.asc-reveal-email-btn:hover {
    background: #e8edf5;
    color: #003A70;
    border-color: #b8cce4;
}

.asc-email-revealed {
    display: inline-flex;
    position: absolute;
    align-items: center;
    padding: 5px 10px;
    background: #eef3fb;
    border: 1px solid #b8cce4;
    border-radius: 6px;
    font-size: 12.5px;
    color: #003A70;
    font-weight: 500;
    text-decoration: none;
    animation: asc-reveal-in .2s ease;
    right: 0;

}

.asc-email-revealed:hover {
    text-decoration: underline;
    color: #002850;
}

@keyframes asc-reveal-in {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Boutons contact dans les annonces */
.asc-cl-contact-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.asc-cl-reveal-btn {
    font-size: 12px !important;
    padding: 9px 10px !important;
}

/* Bouton contact modal annuaire */
.asc-action-contact {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s;
}

.asc-action-contact:hover {
    background: #eef3fb;
    color: #003A70;
    border-color: #b8cce4;
}

.asc-action-contact svg {
    width: 16px;
    height: 16px;
}

/* Reset global sidebar annonces */
.asc-cl-filter-block--reset {
    background: transparent;
    border: none;
    padding: 0;
}

.asc-cl-reset-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #666;
    background: #fff;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

.asc-cl-reset-all:hover {
    background: #fde8e8;
    color: #a01818;
    border-color: #f5c6c6;
}


/* ==========================================================================
   DASHBOARD ESPACE MEMBRE
   ========================================================================== */

.asc-dash {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Notice compte en attente */
.asc-dash-notice {
    background: #fff8e6;
    border-left: 4px solid #c8973a;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: #7a5a10;
    line-height: 1.5;
}

.asc-dash-notice strong {
    display: block;
    margin-bottom: 4px;
}

/* ── Grilles ─────────────────────────────────────────────────────────────── */
.asc-dash-row {
    display: grid;
    gap: 20px;
}

.asc-dash-row--top {
    grid-template-columns: repeat(3, 1fr);
}

.asc-dash-row--bottom {
    grid-template-columns: 3fr 2fr;
}

@media (max-width: 900px) {
    .asc-dash-row--top {
        grid-template-columns: 1fr 1fr;
    }

    .asc-dash-row--bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .asc-dash-row--top {
        grid-template-columns: 1fr;
    }
}

/* ── Carte générique ─────────────────────────────────────────────────────── */
.asc-dash-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.asc-dash-card-icon {
    width: 48px;
    height: 48px;
    background: #f5f0e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8973a;
    flex-shrink: 0;
}

.asc-dash-card-title {

    text-transform: uppercase;
    color: #003A70;
    margin: 0;
}

.asc-dash-card-desc {
    font-size: .9em;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* ── Boutons spécifiques dashboard ──────────────────────────────────────── */
.asc-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    background: #003A70;
    color: #fff !important;
    border-radius: 8px;
    font-size: .9em;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.asc-btn-dark:hover {
    background: #002850;
}

.asc-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    background: #c8973a;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    border: none;
    cursor: pointer;
}

.asc-btn-gold:hover {
    background: #b07f2e;
}

.asc-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: transparent;
    color: #003A70 !important;
    border: 1.5px solid #003A70;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
    cursor: pointer;
}

.asc-btn-outline:hover {
    background: #003A70;
    color: #fff !important;
}

/* ── Barre de progression profil ────────────────────────────────────────── */
.asc-dash-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asc-dash-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.asc-dash-progress-pct {
    font-weight: 600;
    color: #c8973a;
}

.asc-dash-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 99px;
    overflow: hidden;
}

.asc-dash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c8973a, #e0b865);
    border-radius: 99px;
    transition: width .6s ease;
}

/* ── Annonces mini ──────────────────────────────────────────────────────── */

.asc-cl-author-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--sc-blue);
    /* ta couleur */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
    vertical-align: middle;
}

.asc-cl-nat--demande .asc-cl-author-initials {
    background: var(--sc-green);
}

.asc-dash-classifieds {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.asc-dash-classified-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}

.asc-dash-classified-item:last-child {
    border-bottom: none;
}

.asc-dash-classified-title {

    color: #333;
    text-decoration: none;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asc-dash-classified-title:hover {
    color: #003A70;
}

.asc-dash-status {
    font-size: .8em;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.asc-dash-status--publish {
    background: #e6f4ea;
    color: #276b32;
}

.asc-dash-status--pending {
    background: #fff8e6;
    color: #8a6010;
}

.asc-dash-status--draft {
    background: #f0f0f0;
    color: #666;
}

/* ── Stats annuaire ─────────────────────────────────────────────────────── */
.asc-dash-annuaire-stats {
    display: flex;
    gap: 12px;
}

.asc-dash-stat {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    flex: 1;
}

.asc-dash-stat-num {
    display: block;
    font-size: 1.5em;
    font-weight: 800;
    color: #003A70;
    line-height: 1.1;
}

.asc-dash-stat-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* ── Événements ─────────────────────────────────────────────────────────── */
.asc-dash-events {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.asc-dash-event {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.asc-dash-event-cal {
    flex-shrink: 0;
    width: 72px;
    background: var(--sc-yellow);
    border-radius: 0px 0px 30px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    color: #fff;
    text-align: center;
}

/* Alternance de couleur pour les événements */
.asc-dash-event:nth-child(2) .asc-dash-event-cal {
    background: var(--sc-blue-tertiary);
}

.asc-dash-event:nth-child(3) .asc-dash-event-cal {
    background: var(--sc-blue-primary);
}

.asc-dash-event-day {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.asc-dash-event-month {
    font-size: 12px;
    font-weight: 600;

    margin-top: 2px;
}

.asc-dash-event-body {
    flex: 1;
    min-width: 0;
}

.asc-dash-event-title {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.3;
}

.asc-dash-event-title:hover {
    color: #003A70;
}

.asc-dash-event-excerpt {
    color: #777;
    line-height: 1.5;
    margin: 0 0 6px;
    padding-bottom: 4px;
}

.asc-dash-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.asc-dash-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #888;
}

/* ── Mes informations ───────────────────────────────────────────────────── */
.asc-dash-card--info {
    gap: 10px;
}

.asc-dash-card-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.asc-dash-visibility-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 4px;
}

.asc-dash-visibility-badge--on {
    background: #e6f4ea;
    color: #276b32;
}

.asc-dash-visibility-badge--off {
    background: #f5f5f5;
    color: #999;
}

.asc-dash-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.asc-dash-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
}

.asc-dash-info-row:last-child {
    border-bottom: none;
}

.asc-dash-info-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    line-height: 1.2em;
}

.asc-dash-info-label {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;

    font-weight: 600;
}

.asc-dash-info-value {
    font-size: 13px;
    color: #222;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asc-dash-info-eye {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.asc-dash-info-eye--on {
    color: #276b32;
}

.asc-dash-info-eye--off {
    color: #ccc;
}

/* ══════════════════════════════════════════════════════════════════════════
   SHORTCODE [asc_events] — Liste publique des événements
   ══════════════════════════════════════════════════════════════════════════ */

.asc-events-wrap {
    max-width: 860px;
    margin: 0 auto;
    font-family: inherit;
}

/* En-tête ---------------------------------------------------------------- */
.asc-ev-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.asc-ev-header-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.asc-ev-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.asc-ev-title {
    margin: 0 0 4px !important;
    color: var(--sc-blue-secundary);

}

.asc-ev-subtitle {
    margin: 0 !important;
    font-size: .875rem;

}

/* Onglets ---------------------------------------------------------------- */
.asc-ev-tabs {
    width: 100%;
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 6px;
    margin-bottom: 10px !important;
    justify-content: flex-end;
    margin-top: -20px;
}

.asc-ev-tab {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 0 0 10px 0;
    border: 1px solid #e0e0e0;
    font-weight: 600;
    text-decoration: none !important;
    background: #f0f0f0;
    color: #003A70;
    transition: background .2s, color .2s;
}


.asc-ev-tab--active,
.asc-ev-tab:hover {
    background: #003A70;
    color: #fff !important;
    border-color: #003A70;
}


/* Liste ------------------------------------------------------------------ */
.asc-ev-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Carte événement -------------------------------------------------------- */
.asc-ev-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 560px) {
    .asc-ev-item {
        flex-direction: column;
    }

}

.asc-ev-item:last-child {
    border-bottom: none;
}

/* Bloc date coloré ------------------------------------------------------- */
.asc-ev-date-box {
    flex-shrink: 0;
    width: 100px;
    min-height: 130px;
    border-radius: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    color: #fff;
    text-align: center;
}

.asc-ev-date-day {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
}

.asc-ev-date-month {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Corps de la carte ------------------------------------------------------ */
.asc-ev-body {
    flex: 1;
    min-width: 0;
}

.asc-ev-item-title {
    margin: 0 0 8px !important;
    color: var(--sc-blue-secundary);

}

.asc-ev-item-title a {
    color: var(--sc-blue-secundary);
    text-decoration: none;
}

.asc-ev-item-title a:hover {
    color: #e3af64;
}

.asc-ev-item-title a:hover {}

.asc-ev-excerpt {

    margin: 0 0 10px;
}

.asc-ev-excerpt p {
    margin: 0;
}

/* Méta (lieu / date / heure) -------------------------------------------- */
.asc-ev-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.asc-ev-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: var(--sc-blue-secundary);
}

.asc-ev-meta-item svg {
    flex-shrink: 0;
    color: #E3AF64;
}

/* Vide ------------------------------------------------------------------- */
.asc-ev-empty {
    padding: 30px 0;
    color: #888;
    font-style: italic;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 560px) {
    .asc-ev-header {
        flex-direction: column;
    }

    .asc-ev-date-box {
        width: 56px;
        min-height: 56px;
    }

    .asc-ev-date-day {
        font-size: 1.3rem;
    }

    .asc-ev-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* ── Formulaire annonce — pastilles multi-sélection ─────────────────────── */
.asc-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 6px;
}

.asc-pill-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 5px;
    font-size: 12px !important;
    border-radius: 20px;
    border: 1.5px solid #d0d5dd;
    background: #f8f9fa;
    color: #444;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
    text-align: center;
    min-width: 30px;
}

.asc-pill-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.asc-pill-checkbox:hover {
    border-color: #003A70;
    color: #003A70;
    background: #eef2f7;
}

.asc-pill-checkbox--checked {
    background: #003A70;
    border-color: #003A70;
    color: #fff !important;
}

.asc-pill-checkbox--checked:hover {
    background: #002a55;
    border-color: #002a55;
    color: #fff;
}