/* Keep the filter panel sticky so it stays visible while scrolling the feed */
.sticky-sidebar-feed {
    position: sticky;
    top: 1rem;
    z-index: 1020;
}

#feedMap {
    height: 250px;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    z-index: 1; /* Keep leaflet under Bootstrap dropdowns */
}

.feed-incident-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid #6c757d; /* Default border color */
}
.feed-incident-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.bg-orange {
    background-color: #fd7e14;
}

/* Marker animation */
@keyframes spin { 100% { transform: rotate(360deg); } }
.spin-anim { animation: spin 0.5s linear; }

.hero-section {
            background: linear-gradient(135deg, #212529 0%, #343a40 100%);
            color: white;
            padding: 5rem 0;
        }

        .feature-icon {
            width: 4rem;
            height: 4rem;
            border-radius: .75rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        /* Professional Footer Styling */
        footer a.footer-link {
            color: #adb5bd;
            text-decoration: none;
            transition: color 0.2s ease-in-out;
        }
        
        footer a.footer-link:hover {
            color: #ffffff;
        }
        
        .footer-social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            transition: background-color 0.2s ease;
        }
        
        .footer-social-icon:hover {
            background-color: #0d6efd; /* Bootstrap Primary */
            color: #ffffff;
        }

        @keyframes spin {
            100% { transform: rotate(360deg); }
        }
        .spin-anim {
            animation: spin 0.5s linear;
        }



        /* AdSense Placeholder Styling */
        .ad-placeholder {
            background-color: #e9ecef;
            border: 2px dashed #ced4da;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-weight: bold;
            text-align: center;
            margin-bottom: 1.5rem;
        }
        .ad-sidebar { height: 250px; } /* Standard 300x250 */
        .ad-leaderboard { height: 90px; width: 100%; } /* Standard 728x90 */


        .custom-gps-btn {
            background-color: white;
            border: 2px solid rgba(0,0,0,0.2);
            padding: 5px;
            cursor: pointer;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .custom-gps-btn:hover { background-color: #f4f4f4; }