/* === NADPIS === */
.pa-nadpis {
    color: #003366; /* mariánská modrá */
    font-weight: 700;
    text-decoration: underline;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

/* === HLAVNÍ UDÁLOST === */
.pa-aktualni {
    background: rgba(110, 193, 228, 0.15); /* jemné modré pozadí */
    color: #D12C4C; /* malinová */
    font-weight: 700;
    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 */
.pa-aktualni::before {
    content: "🔔";
    display: inline-block;
    margin-right: 8px;
    color: #D12C4C;
}

/* Hover hlavní události */
.pa-aktualni:hover {
    color: #E34D65;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* === OSTATNÍ UDÁLOSTI === */
.pa-ostatni {
    color: #000;
    font-weight: 700;
    font-size: 1.1em;
    border-left: 4px solid transparent;
    cursor: pointer;
    text-align: center;
    padding: 6px 0;
    transition: color 0.3s ease, background 0.3s ease;
}

/* Hover ostatních událostí */
.pa-ostatni:hover {
    background: rgba(110, 193, 228, 0.08);
    border-left: 4px solid #6EC1E4;
    color: #005b9f;
}

/* Změna kurzoru na ruku */
.pa-aktualni, .pa-ostatni {
    cursor: pointer;
}

/* === MODÁLNÍ OKNO === */
#pa-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#pa-modal.show {
    display: flex;
    opacity: 1;
}

#pa-img {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    cursor: pointer;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#pa-modal.show #pa-img {
    transform: scale(1);
}

#pa-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}
#pa-close:hover {
    color: #6EC1E4;
}