/*
 * Maine by Foot — Shared Map Design
 * Universal popup styling for all Maine by Foot maps.
 * Created December 3, 2026.
 */

/* Popup width */
.mapboxgl-popup {
    max-width: 300px !important;
}

/* Popup container */
.mapboxgl-popup-content {
    padding: 18px 20px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
}

/* Trail heading and location */
.mapboxgl-popup-content p {
    margin: 0 0 12px;
    padding-right: 8px;
}

/* Trail name links */
.mapboxgl-popup-content a,
.mapboxgl-popup-content a:visited {
    color: #526b2d;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.mapboxgl-popup-content a:hover {
    text-decoration: underline;
}

/* Trail details */
.mapboxgl-popup .mapboxgl-popup-content ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid #e2e6dc;
}

.mapboxgl-popup .mapboxgl-popup-content li {
    list-style: none !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    background: none !important;
}

.mapboxgl-popup .mapboxgl-popup-content li::before,
.mapboxgl-popup .mapboxgl-popup-content li::after {
    content: none !important;
    display: none !important;
}

.mapboxgl-popup .mapboxgl-popup-content li::marker {
    content: "";
}

.mapboxgl-popup .mapboxgl-popup-content li strong {
    font-weight: 700;
}

/* Popup close button */
.mapboxgl-popup-close-button {
    font-size: 20px;
    color: #444444;
    padding: 2px 7px;
}