/* ============================================
   poroCity — Evento
   ============================================ */

.evento-hero-bg {
    position: relative;
    background: url('../img/evento-cover.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.evento-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.evento-hero-bg > .container {
    position: relative;
    z-index: 1;
}

.evento-hero {
    text-align: center;
    padding: var(--space-lg) 0;
}

.evento-hero__date {
    font-weight: var(--font-weight-bold);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--color-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.evento-hero__location {
    font-weight: var(--font-weight-light);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--color-text-secondary);
    margin-top: var(--space-sm);
}

.evento-hero__location strong {
    font-weight: var(--font-weight-bold);
}

.evento-hero__location a {
    color: var(--color-heading);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.evento-hero__location a:hover {
    color: var(--color-accent);
}

/* ---- Tema Fuorisalone ---- */
.mostra-theme__label {
    font-weight: var(--font-weight-bold);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0 auto var(--space-xs);
}

.mostra-theme__text {
    font-weight: var(--font-weight-light);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 auto;
}

.mostra-theme__text strong {
    font-weight: var(--font-weight-bold);
    color: var(--color-heading);
}

/* ---- Timeline ---- */
.timeline {
    position: relative;
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-grey-light);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-md);
    padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-grey-light);
    border: 2px solid var(--color-white);
}

.timeline-item--highlight::before {
    background: var(--color-accent);
}

.timeline-item__date {
    font-weight: var(--font-weight-bold);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.timeline-item__title {
    font-weight: var(--font-weight-bold);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.timeline-item__text {
    font-weight: var(--font-weight-light);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

/* ---- Timeline slots (per-giorno) ---- */
.timeline-slot {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-sm);
    align-items: baseline;
    padding: 6px 0;
}

.timeline-slot + .timeline-slot {
    border-top: 1px dashed var(--color-grey-light);
    margin-top: 4px;
    padding-top: var(--space-xs);
}

.timeline-slot__time {
    font-weight: var(--font-weight-bold);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-text);
    white-space: nowrap;
}

.timeline-slot__title {
    font-weight: var(--font-weight-bold);
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.4;
}

.timeline-slot__title em {
    font-style: normal;
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

.timeline-slot__text {
    grid-column: 2;
    font-weight: var(--font-weight-light);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 4px 0 var(--space-xs);
}

.timeline-slot--event {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: var(--space-sm);
    row-gap: 2px;
}

.timeline-slot--event .timeline-item__link {
    grid-column: 2;
    margin-top: 4px;
    justify-self: start;
}

@media (max-width: 600px) {
    .timeline-slot,
    .timeline-slot--event {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .timeline-slot__text,
    .timeline-slot--event .timeline-item__link {
        grid-column: 1;
    }
}

.timeline-item__link {
    display: inline-block;
    font-weight: var(--font-weight-bold);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.timeline-item__link:hover {
    color: var(--color-text);
    border-color: var(--color-text);
}

/* ---- CTA ---- */
.evento-cta {
    text-align: center;
    margin-top: var(--space-lg);
}
