/**
 * Parks Filter Professional Stylesheet
 * Main color: #007483
 */

/* Container and general styling */
.parks-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

.park-street-location {
font-size:16px;
font-weight: 400;
}

/* Filter section styling */
.parks-filter {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #007483;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #007483;
}

.clear-filters-btn {margin-top:10px;background-color:#007681!important;border-color:#007681!important;}

/* Filter options/buttons */
.feature-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature-option {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.feature-option:hover {
    border-color: #007483;
}

.feature-option.active {
    background: #007483;
    color: white;
    border-color: #007483;
}

/* Parks count display */
.parks-count {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.parks-count span {
    font-weight: bold;
    color: #007483;
}

/* Parks grid layout */
.parks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Park card styling */
.park-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: box-shadow 0.3s ease;
    border-top: 3px solid #007483;
    height: 100%;
}

.park-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.park-name {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 12px;
    color: #007483;
    font-weight: 600;
}

/* Feature tags */
.park-features {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tag {
    display: inline-block;
    background: #e6f3f5;
    color: #007483;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Park description */
.park-description {
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.park-description p {
    margin-top: 0;
}

/* Park location */
.park-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Park links/buttons */
.park-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.park-links a {
    display: inline-block;
   
    color: white;
    text-decoration: none;
    padding: 0px;
    border-radius: 3px;
    font-size: 13px;
    transition: background 0.2s ease;
}



/* No results message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 5px;
    color: #666;
    font-size: 15px;
    border: 1px solid #ddd;
}

/* Responsive styles */
@media (max-width: 768px) {
    .parks-list {
        grid-template-columns: 1fr;
    }
    
    .feature-options {
        gap: 8px;
    }
    
    .park-links {
        flex-direction: column;
    }
    
    .park-links a {
        width: 100%;
        text-align: center;
    }
}

/* Grid layout options */
.parks-list.grid.two-columns {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.parks-list.grid.three-columns {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.parks-list.grid.four-columns {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* List layout option */
.parks-list.list {
    display: block;
}

.parks-list.list .park-card {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
    border-top: none;
    border-left: 3px solid #007483;
}

@media (min-width: 768px) {
    .parks-list.list .park-card {
        grid-template-columns: 30% 1fr;
        gap: 20px;
    }
    
    .parks-list.list .park-image {
        grid-row: span 5;
    }
}

/* Park image styling */
.park-image {
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.park-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Print styles */
@media print {
    .parks-filter,
    .parks-count,
    .park-links {
        display: none !important;
    }
    
    .parks-list {
        display: block;
    }
    
    .park-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 20px;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/**
 * Additional CSS for Parks Plugin
 * Add these styles to your theme's style.css or in the plugin's CSS file
 */

/* Map blip icon styling */
.map-blip-icon {
    color: #e74c3c; /* Red color for the map pin */
    font-size: 18px;
    margin-right: 0px!important;
    display: inline-block;
    vertical-align: middle;
}

.parks-container .grid h3:after {
margin:0px!important;
margin-top:10px!important;
}

/* For better visual alignment */
.street-view-link, 
.location-link {
    display: flex;
    align-items: center;
    text-decoration: none!important;
    margin: 5px 0;
    color: #2980b9; /* Link color */
    transition: color 0.3s ease;
font-size:16px!important;
}

/* Custom styling for Google Street View link */
.custom-street-view {
    /* Add any specific styles you need here */
    display: flex;
    align-items: center;
}

.custom-street-view .map-blip-icon {
    margin-right: 8px; /* Adjust spacing between icon and text */
}

.park-location {
font-size:16px!important;
font-weight:400;
}

.street-view-link:hover,
.location-link:hover {
    color: #3498db; /* Lighter blue on hover */
}

.park-links a:hover { color:#007483!important;
}

.location-link a:hover { color:#007483!important;
}

/* If you want to use an actual map pin icon instead of the emoji, 
   you can use a custom icon font or SVG. Here's an example with Font Awesome */

/* 
.map-blip-icon::before {
    font-family: 'FontAwesome';
    content: '\f041'; 
    color: #e74c3c;
}
*/

/* Alternative: Using a custom SVG icon */
.map-blip-icon-svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 0px;
    vertical-align: middle;
    background-image: url('path-to-your-map-pin.svg');
    background-size: contain;
    background-repeat: no-repeat;
}