#fb-events-map-wrap {
    position: relative;
    width: 100%;
}

#fb-events-map {
    width: 100%;
    height: 600px;
}

.fb-events-map-empty {
    padding: 40px 20px;
    text-align: center;
    color: #555;
    font-size: 15px;
}

#fb-events-map-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px 20px 20px;
    z-index: 10;
    font-family: inherit;
    max-height: 85%;
    overflow-y: auto;
}

.emp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.emp-close:hover {
    color: #8c0c05;
}

.emp-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 8px 8px 0;
    color: #1e2b50;
    line-height: 1.3;
}

.emp-date {
    font-size: 13px;
    font-weight: 600;
    color: #8c0c05;
    margin: 0 0 8px;
}

.emp-venue {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    color: #444;
    margin: 0 0 16px;
    line-height: 1.4;
}

.emp-icon {
    color: #8c0c05;
    flex-shrink: 0;
}

.emp-btn {
    display: block;
    text-align: center;
    background: #8c0c05;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background .15s;
}

.emp-btn:hover {
    background: #a3120a;
}

.emp-btn:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* Grouped-location list (multiple events at one venue) */
.emp-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.emp-list-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.emp-list-item:first-child {
    border-top: 0;
}

.emp-list-title {
    font-weight: 600;
    font-size: 14px;
    color: #1e2b50;
    line-height: 1.3;
}

.emp-list-date {
    font-size: 12px;
    font-weight: 600;
    color: #8c0c05;
}

.emp-list-link {
    font-size: 12px;
    font-weight: 600;
    color: #8c0c05;
    text-decoration: none;
    margin-top: 2px;
}

.emp-list-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #fb-events-map-popup {
        position: fixed;
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        max-height: 60vh;
    }

    #fb-events-map {
        height: 450px;
    }
}
