/* Pagina eventi — layout da sito live UNIMC (briciole, banner, card agenda/incontro). */

.eventi-briciole {
    background: var(--primary-color, #7E0341);
    color: #fff;
    padding: 1.15rem 0;
}

.eventi-briciole .u-list-inline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0;
}

.eventi-briciole a,
.eventi-briciole .voce-attiva {
    color: #fff;
    text-decoration: none;
}

.eventi-briciole a:hover {
    color: #fff;
    opacity: 0.85;
}

.eventi-briciole .voce-attiva {
    text-decoration: underline;
}

.eventi-briciole .sep {
    margin: 0 0.45rem;
}

.page-eventi .agenda-card {
    border: 0;
    margin-bottom: 0;
    background: #fff;
    overflow: visible;
}

.page-eventi .agenda-card > .card-header {
    position: sticky;
    top: var(--eventi-sticky-top, 0px);
    z-index: 1020;
    background: var(--primary-color, #7E0341);
    color: #fff;
    border: 0;
    padding: 1rem 1.25rem;
}

.page-eventi .agenda-card > .card-header h2 {
    margin: 0;
    font-weight: 700;
    font-size: 1.75rem;
    color: #fff;
}

.page-eventi .agenda-descrizione {
    color: #000;
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
}

.page-eventi .agenda-percorsi {
    margin: 0 0 1rem;
    color: #333;
    font-size: 0.95rem;
}

.evento-card {
    border: 1px solid #eee;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    margin: 0 0 1.5rem;
    background: #fff;
    overflow: hidden;
}

.evento-card-header {
    background: var(--evento-accent, var(--primary-color, #7E0341));
    border: 0;
    padding: 0.85rem 1.25rem;
}

.evento-card-header a {
    color: #fff;
    text-decoration: none;
}

.evento-card-header a:hover {
    color: #fff;
    text-decoration: none;
}

.evento-card-header h2 {
    margin: 0;
    font-weight: 700;
    font-size: 1.45rem;
    color: #fff;
}

.evento-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.evento-dateband {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: var(--evento-accent, var(--primary-color, #7E0341));
    color: #fff;
    padding: 1.15rem 1.25rem 1rem;
    margin-bottom: 1rem;
}

.evento-dateband .day-wrap {
    display: flex;
    align-items: flex-end;
}

.evento-dateband .day {
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 0.7;
}

.evento-dateband .month {
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 0.75;
    margin-left: 0.4rem;
}

.evento-dateband .times span {
    display: block;
    font-size: 1.25rem;
    line-height: 1.35;
    text-align: right;
}

.evento-side-label {
    font-size: 12px;
    margin-bottom: 0.15rem;
    color: #222;
}

.evento-side ul {
    list-style: circle;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: #000;
}

.evento-side li p {
    margin: 0;
}

.btn-evento {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 30px;
    padding: 0.55rem 1rem;
    font-size: 1.05rem;
    text-decoration: none;
    margin-top: auto;
}

.btn-evento-outline {
    border: 1px solid var(--primary-color, #7E0341);
    color: var(--primary-color, #7E0341);
    background: #fff;
}

.btn-evento-outline:hover {
    background: var(--primary-color, #7E0341);
    color: #fff;
    text-decoration: none;
}

.btn-evento-fill {
    border: 1px solid var(--primary-color, #7E0341);
    background: var(--primary-color, #7E0341);
    color: #fff;
}

.btn-evento-fill:hover {
    color: #fff;
    filter: brightness(0.92);
    text-decoration: none;
}

.btn-evento.disabled,
.btn-evento.disabled:hover {
    background: #ccc;
    border-color: #ccc;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
    filter: none;
}

.evento-iscrizione {
    border-top: 1px solid #e5e5e5;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.evento-iscrizione p {
    margin: 0;
    color: #222;
}

.agenda-iscrizione {
    margin: 0 0 1.25rem;
    padding-top: 0.25rem;
}

.eventi-vuoto {
    border: 1px solid #eee;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.eventi-vuoto h2 {
    margin: 0;
    font-weight: 700;
    color: var(--primary-color, #7E0341);
    font-size: 1.5rem;
}

.agenda-senza-eventi {
    margin: 0.5rem 0 1.25rem;
}

.eventi-notifiche {
    text-align: center;
    padding: 1.5rem 0 3rem;
}

.eventi-notifiche h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.eventi-notifiche p {
    color: #444;
    margin-bottom: 1.25rem;
}

.eventi-notifiche .btn-evento {
    display: inline-block;
    width: auto;
    min-width: 240px;
}
