.events .map-container .event-popup .event-popup-title {
    appearance: none;
    background: none;
    border: 0;
    color: #0078a8;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: left;
    text-decoration: underline;
}

.events .event-map-modal {
    align-items: center;
    background: rgb(0 0 0 / 60%);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 2000;
}

.events .event-map-modal[hidden] {
    display: none;
}

.events .event-map-modal__panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 25%);
    max-height: min(90vh, 760px);
    max-width: 760px;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    width: min(100%, 760px);
}

.events .event-map-modal__close {
    appearance: none;
    background: none;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 0.25rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.events .event-map-modal h2 {
    font-size: 1.8rem;
    margin: 0 2.5rem 1rem 0;
}

.events .event-map-modal__meta,
.events .event-map-modal__description {
    margin-bottom: 1rem;
}

.events .event-map-modal__meta p {
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.events .event-map-modal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.events-pagination {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-block: 1rem;
}
