/* === NADPIS === */
.uf-nadpis {
    color: #003366; /* mariánská modrá */
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

/* === HLAVNÍ (NEJBLIŽŠÍ) UDÁLOST === */
.uf-nejblizsi {
    background: rgba(110, 193, 228, 0.15);
    color: #D12C4C; /* malinová */
    font-weight: bold;
    font-size: 1.2em;
    border-left: 4px solid #6EC1E4;
    cursor: pointer;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 15px;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

/* Zvoneček místo hvězdičky */
.uf-nejblizsi::before {
    content: "🔔";
    display: inline-block;
    margin-right: 8px;
    color: #D12C4C;
}

/* Hover efekt hlavní události */
.uf-nejblizsi:hover {
    color: #E34D65;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* === KONTEJNER PRO OSTATNÍ UDÁLOSTI === */
.uf-list-wrapper {
    height: 224px; /* výška pro 5 událostí (5 × 32px) */
    overflow: hidden;
    position: relative;
    text-align: center;
    background: rgba(110, 193, 228, 0.04);
    border-radius: 8px;
}

/* === SEZNAM OSTATNÍCH UDÁLOSTÍ === */
.uf-udalosti-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* === JEDNOTLIVÉ UDÁLOSTI === */
.uf-udalosti-list li {
    color: #000;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 32px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover efekt ostatních událostí */
.uf-udalosti-list li:hover {
    background: rgba(110, 193, 228, 0.08);
    color: #005b9f;
}

/* === LIGHTBOX OVERLAY === */
.uf-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Fade out efekt při zavření */
.uf-lightbox.fade-out {
    opacity: 0;
}

/* === OBRÁZEK V LIGHTBOXU === */
.uf-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    cursor: pointer;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Trochu zvětšit obrázek při hoveru */
.uf-lightbox-img:hover {
    transform: scale(1.02);
}