.aavv-agenda {
    --aavv-navy: #022d41;
    --aavv-gold: #c9a24b;
    --aavv-gold-soft: #e5cca5;
    --aavv-cream: #faf6ef;
    --aavv-text: #46515a;
    --aavv-line: #e8ded0;
    width: 100%;
    max-width: 100%;
    color: var(--aavv-text);
    font-family: "Figtree", Arial, sans-serif;
}

.aavv-agenda *,
.aavv-agenda *::before,
.aavv-agenda *::after {
    box-sizing: border-box;
}

/* --------------------------------------------------------------
 * Onglets période : À venir / Événements passés
 * ----------------------------------------------------------- */
.aavv-period-tabs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
}

.aavv-period-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid var(--aavv-gold-soft);
    border-radius: 6px;
    background: #fff;
    color: var(--aavv-navy) !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.aavv-period-tab:hover,
.aavv-period-tab:focus-visible,
.aavv-period-tab.is-active {
    border-color: var(--aavv-navy);
    background: var(--aavv-navy);
    color: #fff !important;
}

.aavv-period-tab:hover {
    transform: translateY(-1px);
}

/* --------------------------------------------------------------
 * Filtres — même langage visuel que l'archive Actualités
 * ----------------------------------------------------------- */
.aavv-toolbar {
    margin: 0 0 42px;
}

.aavv-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    min-width: 0;
}

.aavv-filter-label {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin: 0 4px 0 0;
    color: var(--aavv-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1;
    white-space: nowrap;
}

.aavv-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aavv-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid var(--aavv-gold-soft);
    border-radius: 6px;
    background: #fff;
    color: var(--aavv-navy) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.aavv-filter-btn:hover,
.aavv-filter-btn:focus-visible,
.aavv-filter-btn.is-active {
    border-color: var(--aavv-navy);
    background: var(--aavv-navy);
    color: #fff !important;
}

.aavv-filter-btn:hover {
    transform: translateY(-1px);
}

/* --------------------------------------------------------------
 * Mise en page principale : calendrier compact / liste dominante
 * ----------------------------------------------------------- */
.aavv-upcoming-layout {
    display: grid;
    grid-template-columns: minmax(330px, .82fr) minmax(0, 1.58fr);
    gap: clamp(36px, 4vw, 66px);
    align-items: start;
    width: 100%;
    transition: opacity .15s ease;
}

.aavv-upcoming-layout.is-loading {
    opacity: .52;
    pointer-events: none;
}

.aavv-calendar-wrap,
.aavv-next-list-wrap,
[data-aavv-list] {
    min-width: 0;
}

/* --------------------------------------------------------------
 * Calendrier
 * ----------------------------------------------------------- */
.aavv-calendar {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--aavv-line);
    background: #fff;
}

.aavv-calendar-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--aavv-line);
}

.aavv-calendar-head h3,
.aavv-section-heading h3,
.aavv-card h4,
.aavv-single-program h2 {
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: var(--aavv-navy);
}

.aavv-calendar-head h3 {
    margin: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(18px, 1.45vw, 24px);
    letter-spacing: .02em;
    line-height: 1.1;
}

.aavv-month-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--aavv-gold-soft);
    background: #fff;
    color: var(--aavv-navy) !important;
    font-size: 15px;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.aavv-month-nav:hover,
.aavv-month-nav:focus-visible {
    border-color: var(--aavv-navy);
    background: var(--aavv-navy);
    color: #fff !important;
}

.aavv-calendar-weekdays,
.aavv-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.aavv-calendar-weekdays {
    border-bottom: 1px solid var(--aavv-line);
    background: var(--aavv-cream);
}

.aavv-calendar-weekdays span {
    padding: 13px 3px;
    color: #69747b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.aavv-day {
    position: relative;
    min-width: 0;
    min-height: 78px;
    padding: 9px 7px 7px;
    border-right: 1px solid var(--aavv-line);
    border-bottom: 1px solid var(--aavv-line);
    background: #fff;
}

.aavv-day:nth-child(7n) {
    border-right: 0;
}

.aavv-day.is-empty {
    background: #fcfbf9;
}

.aavv-day.has-events {
    padding: 0;
    background: #fffdf9;
}

.aavv-day-select {
    display: block;
    width: 100%;
    min-height: 77px;
    padding: 9px 7px 7px;
    border: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: inherit !important;
    font: inherit;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.aavv-day:not(.is-empty) .aavv-day-select:hover,
.aavv-day:not(.is-empty) .aavv-day-select:focus-visible {
    background: var(--aavv-cream);
}

.aavv-day-select--empty {
    color: var(--aavv-navy) !important;
}


.aavv-day.is-selected .aavv-day-select {
    background: var(--aavv-navy);
}

.aavv-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    color: var(--aavv-navy);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.aavv-day.has-events .aavv-day-number {
    color: var(--aavv-gold);
}

.aavv-day.is-selected .aavv-day-number {
    color: #fff;
}

.aavv-day-dot {
    display: none;
    width: 5px;
    height: 5px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--aavv-gold);
}

.aavv-day-events {
    display: grid;
    gap: 3px;
    margin-top: 6px;
}

.aavv-day-events span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 5px;
    background: var(--aavv-cream);
    color: var(--aavv-navy);
    font-size: 8px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aavv-day.is-selected .aavv-day-events span {
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* --------------------------------------------------------------
 * Colonne activités
 * ----------------------------------------------------------- */
.aavv-section-heading {
    margin: -4px 0 20px;
}

.aavv-section-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--aavv-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aavv-section-heading h3 {
    margin: 0;
    font-size: clamp(30px, 2.25vw, 40px);
    line-height: 1.08;
}

.aavv-section-heading__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.aavv-day-reset {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--aavv-gold-soft);
    border-radius: 5px;
    background: #fff;
    color: var(--aavv-navy) !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.aavv-day-reset:hover,
.aavv-day-reset:focus-visible {
    border-color: var(--aavv-navy);
    background: var(--aavv-navy);
    color: #fff !important;
}

.aavv-activity-list {
    display: grid;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--aavv-line);
}

.aavv-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    min-width: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--aavv-line);
}

.aavv-card[data-aavv-url] {
    cursor: pointer;
    transition: background-color .18s ease;
}

.aavv-card[data-aavv-url]:hover,
.aavv-card[data-aavv-url]:focus-visible {
    background: #fbfaf8;
}

.aavv-card[data-aavv-url]:focus-visible {
    outline: 1px solid var(--aavv-gold);
    outline-offset: 4px;
}

.aavv-card.has-thumb {
    grid-template-columns: 88px minmax(145px, 175px) minmax(0, 1fr);
}

.aavv-card.no-thumb .aavv-card-body {
    grid-column: 2;
}

.aavv-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 142px;
    padding: 12px 6px;
    background: var(--aavv-navy);
}

.aavv-card-date strong {
    color: #fff;
    font-family: var(--et_global_heading_font), Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: .95;
}

.aavv-card-date span {
    margin-top: 10px;
    color: var(--aavv-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1;
}

.aavv-card-thumb {
    display: block;
    min-width: 0;
    min-height: 142px;
    overflow: hidden;
    background: var(--aavv-cream);
}

.aavv-card-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 142px;
    object-fit: cover;
}

.aavv-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 2px 0;
}

.aavv-card-type {
    display: block;
    margin-bottom: 7px;
    color: var(--aavv-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.2;
}

.aavv-card h4 {
    margin: 0 0 10px;
    max-width: 720px;
    font-size: clamp(22px, 1.55vw, 28px);
    line-height: 1.12;
}

.aavv-card h4 a {
    color: inherit !important;
    text-decoration: none !important;
}

.aavv-card h4 a:hover,
.aavv-card h4 a:focus-visible {
    color: var(--aavv-gold) !important;
}

.aavv-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 0;
    margin-top: 1px;
    color: #747b80;
    font-size: 11px;
    line-height: 1.45;
}

.aavv-card-meta span {
    display: inline-flex;
    align-items: center;
}

.aavv-card-meta span + span::before {
    content: "•";
    margin: 0 9px;
    color: var(--aavv-gold);
}

.aavv-card-excerpt {
    max-width: 720px;
    margin: 11px 0 0;
    color: var(--aavv-text);
    font-size: 13px;
    line-height: 1.55;
}

.aavv-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.aavv-card-link,
.aavv-register-link {
    display: inline-flex;
    align-items: center;
    color: var(--aavv-navy) !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
}

.aavv-card-link:hover,
.aavv-card-link:focus-visible,
.aavv-register-link:hover,
.aavv-register-link:focus-visible {
    color: var(--aavv-gold) !important;
}

.aavv-register-link {
    color: var(--aavv-gold) !important;
}

.aavv-full-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid #cfa8a8;
    background: #fff;
    color: #8c3d3d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------
 * Pagination
 * ----------------------------------------------------------- */
.aavv-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.aavv-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 11px;
    border: 1px solid var(--aavv-gold-soft);
    border-radius: 5px;
    background: #fff;
    color: var(--aavv-navy) !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.aavv-pagination-page:hover,
.aavv-pagination-page:focus-visible,
.aavv-pagination-page.is-active {
    border-color: var(--aavv-navy);
    background: var(--aavv-navy);
    color: #fff !important;
}

.aavv-pagination-arrow {
    font-size: 15px;
    font-weight: 500;
}

.aavv-pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 40px;
    color: #7b7f82;
    font-size: 13px;
}

.aavv-empty {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--aavv-line);
    background: var(--aavv-cream);
    color: var(--aavv-navy);
}

/* --------------------------------------------------------------
 * Fiche activité
 * ----------------------------------------------------------- */
.aavv-activity-detail {
    --aavv-detail-navy: #022d41;
    --aavv-detail-gold: #c9a24b;
    --aavv-detail-gold-soft: #e5cca5;
    --aavv-detail-cream: #faf6ef;
    --aavv-detail-text: #46515a;
    --aavv-detail-line: #e8ded0;
    width: 100%;
    color: var(--aavv-detail-text);
    font-family: "Figtree", Arial, sans-serif;
}

/* Barre d'informations sous le titre */
.aavv-activity-meta-bar {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 !important;
    margin: 18px 0 34px !important;
    padding: 0 !important;
    border-top: 1px solid var(--aavv-detail-line) !important;
    border-bottom: 1px solid var(--aavv-detail-line) !important;
    background: transparent !important;
}

.aavv-activity-meta-item {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0;
    min-height: 82px;
    padding: 17px 24px !important;
    background: transparent !important;
    border: 0 !important;
}

.aavv-activity-meta-item + .aavv-activity-meta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: var(--aavv-detail-gold-soft);
}

.aavv-activity-meta-item--type {
    padding-left: 0 !important;
}

.aavv-activity-meta-label {
    display: block !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: var(--aavv-detail-gold) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
}

.aavv-activity-meta-value {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--aavv-detail-navy) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

.aavv-activity-meta-item--type .aavv-activity-meta-value {
    font-size: 11px !important;
    letter-spacing: .035em !important;
}

.aavv-activity-meta-dates {
    display: grid;
    gap: 3px;
}

.aavv-activity-meta-time {
    color: #727b81 !important;
    font-weight: 500 !important;
}

/* Texte principal */
.aavv-activity-detail--content {
    max-width: 1120px;
}

.aavv-single-text {
    max-width: 1080px;
    color: var(--aavv-detail-text) !important;
    font-size: 16px !important;
    line-height: 1.78 !important;
}

.aavv-single-text > :first-child { margin-top: 0 !important; }
.aavv-single-text > :last-child { margin-bottom: 0 !important; }

.aavv-single-text p {
    margin: 0 0 19px !important;
    color: inherit !important;
    font: inherit !important;
}

.aavv-single-text a {
    color: var(--aavv-detail-navy) !important;
    font-weight: 600 !important;
    text-decoration-color: var(--aavv-detail-gold) !important;
    text-underline-offset: 3px;
}

.aavv-single-text h2,
.aavv-single-text h3,
.aavv-single-text h4 {
    margin: 34px 0 14px !important;
    color: var(--aavv-detail-navy) !important;
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.aavv-single-text ul,
.aavv-single-text ol {
    margin: 14px 0 22px 22px !important;
}

.aavv-single-text li {
    margin-bottom: 7px;
}

/* Programme / planning */
.aavv-section-kicker {
    margin: 0 0 7px;
    color: var(--aavv-detail-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aavv-single-program {
    margin-top: 44px !important;
    padding: 30px 34px 26px !important;
    border: 1px solid var(--aavv-detail-line) !important;
    background: var(--aavv-detail-cream) !important;
}

.aavv-single-program h2 {
    margin: 0 0 20px !important;
    color: var(--aavv-detail-navy) !important;
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}

.aavv-schedule-front {
    border-top: 1px solid var(--aavv-detail-gold-soft) !important;
}

.aavv-schedule-front__row {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: start;
    padding: 18px 0 !important;
    border-bottom: 1px solid var(--aavv-detail-line) !important;
}

.aavv-schedule-front__time {
    color: var(--aavv-detail-gold) !important;
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

.aavv-schedule-front__description {
    color: var(--aavv-detail-navy) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Réservation */
.aavv-single-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 34px 0 0 !important;
    padding: 22px 26px !important;
    border: 1px solid var(--aavv-detail-gold-soft) !important;
    background: var(--aavv-detail-cream) !important;
}

.aavv-single-actions__text {
    display: grid;
    gap: 2px;
}

.aavv-single-actions strong {
    color: var(--aavv-detail-navy) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.aavv-single-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    min-height: 48px;
    padding: 13px 20px !important;
    border: 1px solid var(--aavv-detail-navy) !important;
    background: var(--aavv-detail-navy) !important;
    color: #f4d6a0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}

.aavv-single-button:hover,
.aavv-single-button:focus {
    background: #fff !important;
    color: var(--aavv-detail-navy) !important;
}

.aavv-single-actions--full {
    justify-content: flex-start !important;
}

.aavv-single-actions--full .aavv-full-badge {
    margin-left: auto;
}

/* --------------------------------------------------------------
 * Responsive
 * ----------------------------------------------------------- */
@media (max-width: 1180px) {
    .aavv-upcoming-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .aavv-calendar-wrap {
        width: 100%;
        max-width: 720px;
    }
}

@media (max-width: 780px) {
    .aavv-toolbar {
        margin-bottom: 30px;
    }

    .aavv-card,
    .aavv-card.has-thumb {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
    }

    .aavv-card-date {
        grid-row: 1 / span 2;
        min-height: 94px;
        align-self: start;
    }

    .aavv-card-date strong {
        font-size: 30px;
    }

    .aavv-card-thumb {
        grid-column: 2;
        min-height: 190px;
        max-height: 230px;
    }

    .aavv-card-img {
        min-height: 190px;
    }

    .aavv-card-body {
        grid-column: 2;
    }

    .aavv-day {
        min-height: 62px;
        padding: 7px;
    }

    .aavv-day-events {
        display: none;
    }

    .aavv-day.has-events .aavv-day-dot {
        display: block;
    }

    .aavv-pagination {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .aavv-period-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 7px;
        margin-bottom: 18px;
    }
    .aavv-period-tab {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 10px;
        text-align: center;
    }
    .aavv-filter-group {
        align-items: flex-start;
        gap: 9px;
    }

    .aavv-filter-label {
        width: 100%;
        min-height: auto;
        margin: 0 0 2px;
        font-size: 11px;
    }

    .aavv-filter-buttons {
        gap: 7px;
    }

    .aavv-filter-btn {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 9px;
    }

    .aavv-calendar-head {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        min-height: 62px;
        padding: 12px;
    }

    .aavv-month-nav {
        width: 32px;
        height: 32px;
    }

    .aavv-calendar-head h3 {
        font-size: 17px;
    }

    .aavv-calendar-weekdays span {
        padding: 10px 2px;
        font-size: 8px;
    }

    .aavv-day {
        min-height: 48px;
        padding: 5px;
    }

    .aavv-day.has-events {
        padding: 0;
    }

    .aavv-day-select {
        min-height: 47px;
        padding: 5px;
    }

    .aavv-day-number {
        font-size: 10px;
    }

    .aavv-card,
    .aavv-card.has-thumb {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }

    .aavv-card-date {
        min-height: 78px;
        padding: 8px 4px;
    }

    .aavv-card-date strong {
        font-size: 25px;
    }

    .aavv-card-date span {
        margin-top: 7px;
        font-size: 8px;
    }

    .aavv-card-thumb {
        min-height: 155px;
    }

    .aavv-card-img {
        min-height: 155px;
    }

    .aavv-card h4 {
        font-size: 21px;
    }

    .aavv-card-meta {
        display: grid;
        gap: 3px;
    }

    .aavv-card-meta span + span::before {
        display: none;
    }

    .aavv-card-excerpt {
        font-size: 12px;
    }

    .aavv-section-heading__row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .aavv-day-reset {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 9px;
    }

    .aavv-pagination {
        gap: 6px;
        margin-top: 22px;
    }

    .aavv-pagination-page {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 10px;
    }
}

/* Responsive fiche activité */
@media (max-width: 820px) {
    .aavv-activity-meta-bar {
        grid-template-columns: 1fr !important;
        margin-bottom: 28px !important;
    }
    .aavv-activity-meta-item {
        min-height: auto;
        padding: 14px 0 !important;
    }
    .aavv-activity-meta-item + .aavv-activity-meta-item::before {
        left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px;
    }
    .aavv-single-program {
        padding: 24px !important;
    }
    .aavv-schedule-front__row {
        grid-template-columns: 115px minmax(0, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 560px) {
    .aavv-single-text {
        font-size: 14px !important;
        line-height: 1.72 !important;
    }
    .aavv-single-program {
        margin-top: 34px !important;
        padding: 20px !important;
    }
    .aavv-single-program h2 {
        font-size: 25px !important;
    }
    .aavv-schedule-front__row {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        padding: 15px 0 !important;
    }
    .aavv-single-actions {
        align-items: stretch !important;
        flex-direction: column !important;
        padding: 20px !important;
    }
    .aavv-single-button {
        width: 100%;
    }
    .aavv-single-actions--full .aavv-full-badge {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* --------------------------------------------------------------
 * v1.15.0 — Programme de la fiche activité
 * Mise en page éditoriale selon la charte Vaux : marine, doré, crème.
 * ----------------------------------------------------------- */
.aavv-activity-detail .aavv-single-program.aavv-single-schedule {
    margin-top: 48px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e5cca5 !important;
    border-radius: 2px !important;
    background: #faf6ef !important;
    box-shadow: none !important;
}

.aavv-activity-detail .aavv-program-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: 26px 30px 24px !important;
    background: #022d41 !important;
}

.aavv-activity-detail .aavv-program-head .aavv-section-kicker {
    margin: 0 0 5px !important;
    color: #e5cca5 !important;
}

.aavv-activity-detail .aavv-program-head h2 {
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
}

.aavv-activity-detail .aavv-program-head__mark {
    flex: 0 0 auto !important;
    color: #c9a24b !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

.aavv-activity-detail .aavv-schedule-front {
    padding: 6px 30px 24px !important;
    border-top: 0 !important;
    background: #faf6ef !important;
}

.aavv-activity-detail .aavv-schedule-group {
    padding-top: 22px !important;
}

.aavv-activity-detail .aavv-schedule-group + .aavv-schedule-group {
    margin-top: 12px !important;
    padding-top: 28px !important;
    border-top: 1px solid #e5cca5 !important;
}

.aavv-activity-detail .aavv-schedule-group__head {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 7px !important;
}

.aavv-activity-detail .aavv-schedule-group__day {
    flex: 0 0 auto !important;
    color: #022d41 !important;
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.aavv-activity-detail .aavv-schedule-group__line {
    display: block !important;
    width: 44px !important;
    height: 1px !important;
    background: #c9a24b !important;
}

.aavv-activity-detail .aavv-schedule-group__rows {
    display: grid !important;
}

.aavv-activity-detail .aavv-schedule-front__row {
    display: grid !important;
    grid-template-columns: 185px minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: center !important;
    min-height: 78px !important;
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e8ded0 !important;
    background: transparent !important;
}

.aavv-activity-detail .aavv-schedule-group__rows .aavv-schedule-front__row:last-child {
    border-bottom: 0 !important;
}

.aavv-activity-detail .aavv-schedule-front__time-wrap {
    display: flex !important;
    align-items: center !important;
}

.aavv-activity-detail .aavv-schedule-front__time {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 9px 12px !important;
    border: 1px solid #e5cca5 !important;
    background: #fff !important;
    color: #022d41 !important;
    font-family: "Figtree", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.aavv-activity-detail .aavv-schedule-front__description {
    display: grid !important;
    gap: 4px !important;
    color: #46515a !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.aavv-activity-detail .aavv-schedule-front__description strong {
    color: #022d41 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.aavv-activity-detail .aavv-schedule-front__description span {
    color: #6b6b6b !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Ancien programme HTML : garde une présentation propre si aucune ligne structurée n'existe. */
.aavv-activity-detail .aavv-single-program:not(.aavv-single-schedule) {
    border-color: #e5cca5 !important;
    background: #faf6ef !important;
}
.aavv-activity-detail .aavv-single-program:not(.aavv-single-schedule) h3 {
    margin: 26px 0 10px !important;
    color: #c9a24b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
}
.aavv-activity-detail .aavv-single-program:not(.aavv-single-schedule) h4 {
    margin: 28px 0 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #e5cca5 !important;
    color: #022d41 !important;
    font-family: var(--et_global_heading_font), Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}
.aavv-activity-detail .aavv-single-program:not(.aavv-single-schedule) p {
    margin: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e8ded0 !important;
    color: #46515a !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 820px) {
    .aavv-activity-detail .aavv-program-head {
        padding: 22px 24px !important;
    }
    .aavv-activity-detail .aavv-schedule-front {
        padding: 4px 24px 20px !important;
    }
    .aavv-activity-detail .aavv-schedule-front__row {
        grid-template-columns: 150px minmax(0, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 560px) {
    .aavv-activity-detail .aavv-program-head {
        padding: 20px !important;
    }
    .aavv-activity-detail .aavv-program-head h2 {
        font-size: 27px !important;
    }
    .aavv-activity-detail .aavv-program-head__mark {
        font-size: 22px !important;
    }
    .aavv-activity-detail .aavv-schedule-front {
        padding: 2px 20px 18px !important;
    }
    .aavv-activity-detail .aavv-schedule-group__day {
        font-size: 20px !important;
    }
    .aavv-activity-detail .aavv-schedule-front__row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 14px 0 !important;
    }
    .aavv-activity-detail .aavv-schedule-front__time {
        width: auto !important;
        min-height: 36px !important;
        justify-content: flex-start !important;
        padding: 7px 10px !important;
    }
}
