ul#public_art_map_slider {
    margin-left: 0px !important;
}

/* Center loading indicator in venue map slider */
#public_art_map_slider_content #public_art_map_slider.is-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    list-style: none;
    padding: 0;
}

#public_art_map_slider_content .public-art-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#public_art_map_slider_content .public-art-card:hover {
    background: #fbccad;
}

#public_art_map_slider_content .public-art-card.active {
    background: #e8b898;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#public_art_map_slider_content .public-art-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

#public_art_map_slider_content .public-art-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#public_art_map_slider_content .public-art-content {
    flex: 1;
    min-width: 0;
}

#public_art_map_slider_content .public-art-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

#public_art_map_slider_content .public-art-address {
    font-size: 14px;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

#public_art_map_slider_content .public-art-events-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #e9ffa8;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

#public_art_map_slider_content .public-art-events-link:hover {
    background: #7fb838;
}

#public_art_map_slider_content .public-art-events-link .arrow {
    font-size: 16px;
    font-weight: bold;
}

/* Pagination */
#public_art_map_slider_content .pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

#public_art_map_slider_content .pagination button,
#public_art_map_slider_content .pagination a {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#public_art_map_slider_content .pagination button:hover,
#public_art_map_slider_content .pagination a:hover {
    background: #f5f5f5;
}

#public_art_map_slider_content .pagination button.active,
#public_art_map_slider_content .pagination a.active {
    background: #90C846;
    border-color: #90C846;
    color: #000;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    #public_art_map_slider_content .public-art-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #public_art_map_slider_content .public-art-thumbnail {
        width: 100%;
        height: 150px;
    }
}


.public-art-events-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-art-events-popup {
    position: relative;
    max-width: 800px;
    width: 90%;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.public-art-events-popup .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
}

.public-art-events-popup .popup-close:hover {
    color: #000;
}

.public-art-events-popup h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: #333;
    padding-right: 40px;
}

.public-art-events-popup .events-list {
    max-height: 500px;
    overflow-y: auto;
}
.public-art-events-popup .view-all-upcoming-events-link {
    display: block;
    margin-left: 30px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
}

.public-art-events-popup .event-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.public-art-events-popup .event-item:last-child {
    border-bottom: none;
}

.public-art-events-popup .event-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

.public-art-events-popup .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.public-art-events-popup .event-details {
    flex: 1;
}

.public-art-events-popup .event-details h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    padding-top: 0;
}

.public-art-events-popup .event-details h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.public-art-events-popup .event-details h4 a:hover {
    color: #0066cc;
}

.public-art-events-popup .event-date {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.public-art-events-popup .event-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.public-art-events-popup .no-events {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .public-art-events-popup {
        width: 90%;
        padding: 20px;
    }
    
    .public-art-events-popup h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .public-art-events-popup .event-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .public-art-events-popup .event-image {
        width: 100%;
        height: 200px;
    }
}


/* Venue Details Popup */
.public-art-details-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.public-art-details-popup {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.public-art-details-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    z-index: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-art-details-popup .popup-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.public-art-popup-header {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.public-art-popup-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-art-popup-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.public-art-popup-body h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.public-art-popup-body .public-art-address {
    color: #666;
    font-size: 14px;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.public-art-popup-body .public-art-phone {
    color: #666;
    font-size: 14px;
    margin: 0 0 16px 0;
}

.public-art-popup-body .public-art-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.public-art-popup-body .public-art-actions .btn-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.public-art-popup-body .public-art-actions .btn-link:hover {
    text-decoration: underline;
}

.public-art-popup-body .public-art-description {
    margin-bottom: 20px;
}

.public-art-popup-body .public-art-description p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.public-art-popup-body .btn-full-details {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s ease;
}

.public-art-popup-body .btn-full-details:hover {
    background: #333;
}

/* Ensure map container has relative positioning */
#public_art_mapbox_canvas {
    position: relative;
}

@media (max-width: 768px) {
    .public-art-details-popup {
        max-width: 90%;
        max-height: 70vh;
    }
    
    .public-art-popup-header {
        height: 150px;
    }
    
    .public-art-popup-body {
        padding: 15px;
    }
}


/* Venue Events Popup */
.public-art-events-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.public-art-events-popup {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.public-art-events-popup .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    z-index: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.public-art-events-popup .popup-close:hover {
    color: #000;
}

.public-art-events-popup h3 {
    padding: 30px 30px 20px;
    margin: 0;
    font-size: 24px;
    color: #000;
    border-bottom: 1px solid #ddd;
    padding-right: 50px;
}

.public-art-events-popup .events-list {
    padding: 20px 30px 30px;
}

.public-art-events-popup .event-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.public-art-events-popup .event-item:last-child {
    border-bottom: none;
}

.public-art-events-popup .event-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.public-art-events-popup .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.public-art-events-popup .event-details {
    flex: 1;
}

.public-art-events-popup .event-details h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.public-art-events-popup .event-details h4 a {
    color: #000;
    text-decoration: none;
}

.public-art-events-popup .event-details h4 a:hover {
    color: #90C846;
}



.public-art-events-popup .event-date {
    color: #666;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.public-art-events-popup .event-excerpt {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .public-art-events-popup .event-item {
        flex-direction: column;
    }
    
    .public-art-events-popup .event-image {
        width: 100%;
        height: 200px;
    }
}

.public-art-pagination {
    margin-left: 30px;
}
.public-art-pagination .page-btn {
    margin-right: 10px;
    cursor: pointer;
}

/* Venue map left listing: pagination with featured (thumbtack) tab */
.public-art-map-pagination .page-featured {
    margin-right: 0.25em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.public-art-map-pagination .page-featured i {
    font-size: 1em;
}
.public-art-map-pagination .page-featured.current {
    font-weight: bold;
    cursor: default;
}

/* The small popup in Mapbox */
#public_art_mapbox_canvas .mapboxgl-popup-content {
    /* Ensures the popup content area is white, as seen in the mockup */
    background-color: white;
    /* Removes default Mapbox padding/margin if necessary, and adds standard box styling */
    padding: 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px; /* Slight rounding on corners */
    max-width: 300px; /* Example width, adjust as needed */
    font-family: Arial, sans-serif; /* Use a common, clean font */
    color: #333;
}

/* Close button styling */
#public_art_mapbox_canvas .mapboxgl-popup-close-button {
    /* Position the close button absolutely in the top right corner */
    position: absolute;
    top: 5px; /* Adjust vertical position */
    right: 5px; /* Adjust horizontal position */
    /* Style the button itself to match the dark circle/X look */
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background-color: #333; /* Dark background */
    color: white; /* White 'X' */
    border: none;
    border-radius: 50%; /* Make it a circle */
    cursor: pointer;
    font-size: 14px;
    opacity: 1; /* Ensure it's fully visible */
    z-index: 10; /* Make sure it's above the text */
}

/* Styling for the content area (Title and Address) */
#public_art_mapbox_canvas .mapboxgl-popup-content .marker_title,
#public_art_mapbox_canvas .mapboxgl-popup-content .marker_address {
    padding: 15px 15px 0 15px; /* Padding for the top, left, and right content */
    margin: 0; /* Remove default margins */
}

/* Styling for the Title text */
#public_art_mapbox_canvas .mapboxgl-popup-content .marker_title {
    font-size: 18px; /* Slightly larger text */
    font-weight: bold; /* Bold text as per mockup */
    line-height: 1.2;
}

/* Styling for the Address text */
#public_art_mapbox_canvas .mapboxgl-popup-content .marker_address {
    font-size: 14px;
    color: #555;
    /* Extra padding at the bottom to separate from the button, but only within the address div */
    padding-bottom: 15px;
}

/* Styling for the 'View Details' button */
#public_art_mapbox_canvas .mapboxgl-popup-content .btn {
    /* Full width, dark background for the bottom action bar look */
    width: 100%;
    background-color: black;
    color: white;
    text-align: left;
    padding: 8px 70px !important;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase; /* Use uppercase as seen in the 'VIEW DETAILS' button */
    border-top-left-radius: 0; /* Keep the bottom corners slightly rounded if the main box is */
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Ensure the paragraph elements within the content don't add extra space */
#public_art_mapbox_canvas .mapboxgl-popup-content p {
    margin: 0;
}
/* End The small popup in Mapbox */

/* Get Tickets Button */
.event-details .get-tickets-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #ACC7FB;
    color: #000;
    border-color: #ACC7FB;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 10px;
}

.event-details .get-tickets-btn::after {
    content: '→';
}

.event-details .get-tickets-btn:hover {
    background: #000;
    color: #fff;
}

/* Bookmark Styling */
.event-details .bok-mk--item {
    margin-bottom: 5px;
}
.event-details .bok-mk>a {
    display: flex;
    align-items: center;
    color: #000;
    margin-left: 20px;
    margin-top: 10px;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
    /* Make venue map shorter on mobile */
    .pa-template-right #public_art_mapbox_canvas,
    .pa-template-right #public_art_mapbox_canvas .mapboxgl-canvas {
        height: 400px !important;
    }
}

/* Reset button under map */
.public-art-featured-map-container .public-art-map-reset-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.2;
    color: #333;
    background-color: #f0f0f0;
    border: 1px solid #333;
    border-radius: 2px;
    cursor: pointer;
}
.public-art-featured-map-container .public-art-map-reset-btn:hover,
.public-art-featured-map-container .public-art-map-reset-btn:focus {
    background-color: #e5e5e5;
}

.public-art-featured-map-container .public-art-map-reset-btn:focus {
    outline: 2px solid #631717;
    outline-offset: 2px;
}

.public-art-featured-map-container .public-art-map-reset-btn.is-loading {
    cursor: wait;
    opacity: 0.85;
    padding-left: 36px;
    position: relative;
}

.public-art-featured-map-container .public-art-map-reset-btn.is-loading::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #333;
    border-top-color: transparent;
    border-radius: 50%;
    animation: apollo-event-map-spin 0.7s linear infinite;
}

/* Reset control: above Mapbox geolocate + navigation stack (top-right) */
.public-art-featured-map-container .public-art-map-reset-map-control {
    margin-bottom: 4px;
}

/* Fallback when Mapbox control container selectors differ (position over map) */
.public-art-featured-map-container .public-art-map-reset-map-fallback {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    pointer-events: auto;
}

.public-art-featured-map-container .public-art-map-reset-map-ctrl-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    background-color: transparent;
    cursor: pointer;
    color: inherit;
}

.public-art-featured-map-container .public-art-map-reset-map-ctrl-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.public-art-featured-map-container .public-art-map-reset-map-ctrl-btn:disabled {
    cursor: wait;
    opacity: 0.85;
}

.public-art-featured-map-container .public-art-map-reset-map-ctrl-btn.is-loading svg {
    opacity: 0.35;
}

.public-art-featured-map-container .public-art-map-reset-map-ctrl-btn.is-loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: apollo-event-map-spin 0.7s linear infinite;
}

@media (min-width: 992px) {
    .public-art-featured-map-container .pa-template-left,
    .public-art-featured-map-container .pa-template-right {
        height: auto;
        max-height: 860px !important;
    } 
}