/* OMEGA EVENTI – Elenco eventi. Prende caratteri e colori del sito che lo ospita; l'accento si sceglie da Elementor. */
.oee { --oee-accento: currentColor; --oee-sfondo: #fff; --oee-colonne: 3; --oee-linea: rgba(0,0,0,.1); --oee-tenue: rgba(0,0,0,.6); font: inherit; color: inherit; }
.oee *, .oee *::before, .oee *::after { box-sizing: border-box; }
.oee a { text-decoration: none; color: inherit; }

/* Schede */
.oee-griglia { display: grid; grid-template-columns: repeat(var(--oee-colonne), minmax(0, 1fr)); gap: 24px; }
.oee-scheda { display: flex; flex-direction: column; background: var(--oee-sfondo); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.oee-scheda:hover, .oee-scheda:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.oee-scheda:focus-visible { outline: 2px solid var(--oee-accento); outline-offset: 3px; }
.oee-foto { position: relative; display: block; aspect-ratio: 4 / 5; background: #e9e6df; overflow: hidden; }
.oee-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; margin: 0; }
.oee-data { position: absolute; left: 12px; bottom: 12px; background: #fff; color: #15181F; border-radius: 10px; padding: 7px 10px; min-width: 52px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); line-height: 1; }
.oee-data b { display: block; font-size: 21px; font-weight: 800; }
.oee-data span { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.oee-bollino { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #15181F; padding: 4px 11px 4px 4px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.oee-bollino img { position: static; width: 28px !important; height: 28px !important; max-width: none; border-radius: 50%; display: block; margin: 0; object-fit: contain; }
.oee-corpo { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.oee-cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oee-accento); }
.oee-titolo { font-size: 1.25em; font-weight: 700; line-height: 1.25; }
.oee-meta { display: flex; flex-direction: column; gap: 2px; font-size: .9em; color: var(--oee-tenue); }
.oee-iscr { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.05); }
.oee-piede { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--oee-linea); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.oee-firma { color: var(--oee-tenue); }
.oee-firma strong { color: #15181F; }
.oee-omega { letter-spacing: .02em; }
.oee-omega i, .oee-firma-omega i { display: inline-block; width: 5px; height: 5px; background: #FF6F59; margin-left: 2px; }
.oee-vai { font-weight: 700; color: var(--oee-accento); white-space: nowrap; }

/* Lista compatta */
.oee-righe { list-style: none; margin: 0; padding: 0; }
.oee-righe li { margin: 0; padding: 0; }
.oee-righe li + li { border-top: 1px solid var(--oee-linea); }
.oee-riga { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.oee-mini { flex: 0 0 52px; text-align: center; border-radius: 10px; background: rgba(0,0,0,.05); padding: 7px 0; line-height: 1; }
.oee-mini b { display: block; font-size: 19px; font-weight: 800; color: var(--oee-accento); }
.oee-mini span { display: block; margin-top: 3px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--oee-tenue); }
.oee-riga-testo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oee-riga-testo strong { font-size: 15px; line-height: 1.3; }
.oee-riga-testo small { font-size: 13px; color: var(--oee-tenue); }
.oee-firma-bibi { display: inline-flex; align-items: center; gap: 6px; }
.oee-firma-bibi img { width: 18px; height: 18px; border-radius: 50%; margin: 0; }
.oee-firma-omega { font-weight: 700; letter-spacing: .02em; }

.oee-tutti { display: inline-block; margin-top: 22px; font-weight: 700; border-bottom: 2px solid var(--oee-accento); padding-bottom: 2px; }
.oee-vuoto { margin: 0; color: var(--oee-tenue); }
.oee-avviso { padding: 14px 16px; border: 1px dashed #c00; background: #fff5f5; color: #900; font-size: 14px; }

@media (max-width: 1024px) { .oee-griglia { grid-template-columns: repeat(min(var(--oee-colonne), 2), minmax(0, 1fr)); } }
@media (max-width: 640px) { .oee-griglia { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .oee-scheda { transition: none; } .oee-scheda:hover { transform: none; } }
