/* ---- VZ Event List — vita in collegio ---- */
.vz-event-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vz-event-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--vz-line-soft, #e8e0d8);
}

.vz-event-item:last-child {
    border-bottom: none;
}

.vz-event-item__img {
    flex-shrink: 0;
    width: 220px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.vz-event-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.vz-event-item:hover .vz-event-item__img img {
    transform: scale(1.04);
}

.vz-event-item__body {
    flex: 1;
    min-width: 0;
    padding-top: .25rem;
}

.vz-event-item__body h3 {
    margin: .375rem 0 .75rem;
}

@media (max-width: 575px) {
    .vz-event-item {
        flex-direction: column;
        gap: 1rem;
    }
    .vz-event-item__img {
        width: 100%;
        height: 200px;
    }
}

/* ---- Room type photo switcher ---- */
.vz-room-type-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--vz-college, var(--vz-bordeaux));
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-align: left;
    transition: opacity .2s;
}

.vz-room-type-btn:hover { opacity: .75; }

.vz-room-photo-wrap {
    border-radius: 10px;
    overflow: hidden;
    background: #f5f0eb;
    aspect-ratio: 4/3;
}

.vz-room-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .3s ease;
}

/* ---- Gallery omogenea ---- */
.vz-gallery-thumb {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4/3;
}

.vz-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Timeline card orizzontali fondazione ---- */
.vz-tl-card {
    background: #fff;
    border-top: 4px solid var(--vz-bordeaux, #8b0000);
    border-radius: 0 0 8px 8px;
    padding: 1.75rem 1.5rem;
    height: 100%;
}
.vz-tl-card__year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vz-bordeaux, #8b0000);
    line-height: 1;
    margin-bottom: .6rem;
    font-family: var(--vz-font-display, serif);
}
.vz-tl-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .6rem;
}
.vz-tl-card__text {
    font-size: .9rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---- Room thumbnails strip ---- */
.vz-room-thumb {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.vz-room-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}
.vz-room-thumb.is-active,
.vz-room-thumb:hover {
    border-color: var(--vz-college, #ed1c24);
}
