.page-template-evenements-template .ast-container .associations-page-header .container {
    max-width: 1206px;
    padding: 0 15px;
    margin: 0 auto;
}

.page-template-evenements-template .ast-container {
    max-width: 100%;
    padding: 0;
}

.page-template-evenements-template .page-title {
    color: #171717;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -0.07px;
    margin: 24px 0;
}

.page-template-evenements-template div#content {
    overflow-x: initial !important;
}

.association-events-container {
    padding: 0 15px;
    max-width: 1206px;
    margin: 0 auto;
}

.page-template-evenements-template .association-events-grid {
    gap: 24px;
}

.filter-group.date-range-filter {
    position: relative;
}

.date-range-filter-popup .flatpickr-calendar {
    left: 0 !important;
    top: 0px !important;
    min-width: 306px;
    z-index: 20;
    border-radius: 14px;
    background: #FFF;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.04);
}

.filter-group.date-range-filter input#event-date-range,
.filter-group.date-range-filter button.calendar-btn {
    display: none;
}

/* pagination */

.custom-pagination .pagination-arrow {
    cursor: pointer;
    font-size: 16px;
    display: flex;
    height: 44px;
    align-items: center;
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
    background: #FFF;
}

.custom-pagination .pagination-arrow:hover {
    border-radius: 10px;
    border-style: dotted;
}

button.pagination-next {
    display: flex;
    height: 44px;
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    background: #171717;
}

a.go-to-first-page {
    display: flex;
    height: 44px;
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 10px;
    background: #FFF;
    color: #171717;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

a.go-to-first-page span {
    display: flex;
    align-items: center;
}

.custom-pagination .pagination-arrow[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-pagination .pagination-next[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc !important;
}

.custom-pagination input[type="number"] {
    display: flex;
    width: 68px;
    height: 44px;
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
    background: #FFF;
    color: #171717;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;

}

.associations-pagination.custom-pagination.container {
    padding: 0 15px;
    max-width: 1206px;
    margin: 0 auto;
}

.pagination-page-number {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

/* Responsive */

@media (max-width: 1024px) {
    .associations-filters .reset-filters {
        margin-bottom: 12px;
    }
}

/* === Événements: Loading Skeleton (scoped) === */
body.page-template-evenements-template .evt-skeleton-box {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: #f1f1f1;
}

body.page-template-evenements-template .evt-skeleton-box::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 100%);
    animation: evt-skeleton-shimmer 1.2s infinite;
}

@keyframes evt-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Card skeleton */
body.page-template-evenements-template .association-event-card.evt-skeleton {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-img {
    width: 100%;
    padding-top: 56%;
    display: block;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-chip {
    width: 72px;
    height: 20px;
    border-radius: 12px;
    margin-right: 8px;
    display: inline-block;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-title {
    width: 70%;
    height: 22px;
    border-radius: 6px;
    display: inline-block;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: inline-block;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-text {
    width: 40%;
    height: 14px;
    border-radius: 6px;
    display: inline-block;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-text.sm {
    width: 30%;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-text.md {
    width: 60%;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-line {
    width: 100%;
    height: 1px;
    display: block;
    background: #eee;
    position: relative;
    overflow: hidden;
}

body.page-template-evenements-template .association-event-card.evt-skeleton .evt-skel-btn {
    width: 240px;
    height: 36px;
    border-radius: 8px;
    display: inline-block;
}

/* Pagination skeleton */
body.page-template-evenements-template .custom-pagination-skeleton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 23px;
}

@media (max-width: 767px) {

    .association-events-container,
    .associations-container {
        padding: 0;
    }

    .sec-contact {
        gap: 5px;
        font-size: 16px;
    }
}