/* /agenda-commune, the mairies' agenda offer (lib/data-offer.mjs). Two mock-ups side by side: free, and the mairie's own. */
.agenda-offre .ag-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; margin: 1rem 0 1.4rem; }
.agenda-offre figure { margin: 0; }
.agenda-offre figcaption { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; margin-bottom: 0.4rem; }
.ag-cadre { background: var(--surface); border: 1px solid var(--rule); border-radius: 0.5rem; padding: 0.8rem 1rem 1rem; }
.ag-liste, .ag-liste ul { list-style: none; margin: 0; padding: 0; }
.ag-jour { margin: 0.5rem 0 0; }
.ag-quand { margin: 0; font-weight: 700; font-size: 0.92rem; }
.ag-quand::first-letter { text-transform: uppercase; }
.ag-liste ul li { margin: 0.2rem 0 0.35rem; display: flex; flex-direction: column; }
.ag-liste ul li a { color: var(--ink); font-weight: 600; }
.ag-liste ul li span { color: var(--ink-soft); font-size: 0.85rem; }
.ag-marque { margin: 0 0 0.3rem; font-size: 0.9rem; }
.ag-marque strong { font-family: var(--display); text-transform: uppercase; color: #C4122F; }
.ag-annonce { border-top: 1px dashed var(--rule); margin-top: 0.6rem; padding-top: 0.4rem; font-size: 0.88rem; }
.ag-annonce p { margin: 0; }
.ag-annonce-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.ag-credit { margin: 0.5rem 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.ag-mairie .ag-cadre { border: 2px solid #1D3A8A; font-family: Georgia, 'Times New Roman', serif; }
.ag-tete { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.4rem; padding-bottom: 0.5rem; border-bottom: 2px solid #1D3A8A; }
.ag-tete small { display: block; color: var(--ink-soft); font-size: 0.8rem; }
.ag-tete strong { display: block; font-size: 1.15rem; }
.ag-logo { flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #1D3A8A; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: 0.04em; }
.ag-mairie .ag-quand { color: #1D3A8A; }
.ag-ici { font-size: 0.72rem; text-transform: uppercase; color: #1D3A8A; }
.ag-prix-commune { border-left: 4px solid var(--yellow, #F2C230); padding: 0.5rem 0.8rem; }
.ag-form, .ag-cherche { display: flex; flex-direction: column; gap: 0.6rem; max-width: 34rem; }
.ag-form label, .ag-cherche label { display: flex; flex-direction: column; gap: 0.2rem; font-weight: 600; }
.ag-form input, .ag-form textarea, .ag-cherche input { font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--rule); border-radius: 0.3rem; background: var(--surface); color: var(--ink); }
.ag-form fieldset { border: 1px solid var(--rule); border-radius: 0.3rem; padding: 0.4rem 0.8rem 0.6rem; }
.ag-form .ag-choix { flex-direction: row; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
.ag-cherche-petit { display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem; margin-top: 0.4rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ag-mairie .ag-cadre, :root:not([data-theme="light"]) .ag-tete { border-color: #7C95D6; } :root:not([data-theme="light"]) .ag-mairie .ag-quand, :root:not([data-theme="light"]) .ag-ici { color: #9DB1E6; } }
