/* ============================================================
   TAULIGNAN AGENDA — front, mobile first
   ============================================================ */
.tlg-agenda {
    --ag-lav:   #7b5ea7;
    --ag-lav-l: #c9aee8;
    --ag-lav-d: #2e1f4a;
    --ag-border:#e4e0db;
    max-width: 620px;
    margin: 0 auto;
    padding: 1.4rem 1rem 3rem;
    font-family: inherit;
}

/* ── Sélecteur de langue ── */
.tlg-agenda-lang {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.4rem;
}
.tlg-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.tlg-lang-btn span { font-size: 15px; line-height: 1; }
.tlg-lang-btn:hover { border-color: var(--ag-lav); color: var(--ag-lav); }
.tlg-lang-btn.active {
    background: var(--ag-lav);
    border-color: var(--ag-lav);
    color: #fff;
}

.tlg-agenda-intro {
    text-align: center;
    font-size: 14.5px;
    color: #777;
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 1.6rem;
}

/* ── Liste ── */
.tlg-agenda-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Événement ── */
.tlg-event {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.16s;
}
.tlg-event:hover {
    box-shadow: 0 8px 26px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Photo + pastille date */
.tlg-event-media {
    position: relative;
    width: 120px;
    flex-shrink: 0;
}
.tlg-event-photo {
    width: 100%;
    height: 100%;
    min-height: 160px;
}
.tlg-event-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ag-lav), var(--ag-lav-l));
}
.tlg-event-photo-empty span { font-size: 34px; }

.tlg-event-datebadge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 4px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
}
.tlg-badge-jour {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ag-lav-d);
}
.tlg-badge-mois {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ag-lav);
    margin-top: 1px;
}

/* Corps */
.tlg-event-body {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
}
.tlg-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1510;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}
.tlg-event-when {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 0.6rem;
}
.tlg-event-date,
.tlg-event-heure {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ag-lav);
}
.tlg-event-resume {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
    margin: 0 0 0.7rem;
    flex: 1;
}
.tlg-event-lieu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 0.6rem;
    border-top: 1px solid #f0ecf6;
}
.tlg-event-lieu-txt {
    font-size: 12.5px;
    color: #555;
    line-height: 1.4;
}
.tlg-event-maps {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ag-lav);
    text-decoration: none;
    align-self: flex-start;
}
.tlg-event-maps:hover { text-decoration: underline; }

/* ── Pagination ── */
.tlg-agenda-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.tlg-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--ag-lav);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    text-decoration: none;
    transition: filter 0.15s, transform 0.14s;
}
.tlg-page-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}
.tlg-page-info {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

/* ── Vide ── */
.tlg-agenda-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #999;
}
.tlg-agenda-empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 1rem;
}
.tlg-agenda-empty p { font-size: 15px; }

/* ── Masquer barre Google Translate ── */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { height: 0; overflow: hidden; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ── Responsive : très petits écrans ── */
@media (max-width: 440px) {
    .tlg-event {
        flex-direction: column;
    }
    .tlg-event-media {
        width: 100%;
    }
    .tlg-event-photo, .tlg-event-photo-empty {
        min-height: 150px;
        aspect-ratio: 16/9;
    }
}
