/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");



.psl-filter-wrapper {
            box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            padding: 10px 30px;
            background-color: #fff;
            border-radius: 20px;
            margin-bottom: 30px;
            border: 1px solid #e2e8f0;
        }

        .psl-filters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .psl-filter-item label {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            color: #374151;
            margin-bottom: 0.5rem;
        }

        .psl-reset-button {
            padding: 0.75rem 1.5rem;
            background-color: #832b3e;
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .psl-reset-button:hover {
            background-color: #6b2332;
        }

        .psl-reset-icon {
            width: 1rem;
            height: 1rem;
        }

        .psl-count {
            margin-bottom: 25px;
            font-size: 16px;
            color: #00463c;
            font-weight: bold;
        }

        .psl-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .psl-card {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            transition: box-shadow 0.3s ease;
            min-height: 320px;
            border: 1px solid #e5e7eb;
        }

        .psl-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .psl-card-image {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: #f3f4f6;
        }

        .psl-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .psl-badges-container {
            position: absolute;
            top: 1rem;
            left: 1rem;
            right: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            z-index: 10;
        }

        .psl-card-badge {
            display: inline-block;
            padding: 0.375rem 0.75rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            white-space: nowrap;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(4px);
        }

        .psl-badge-sector {
            background-color: rgba(130, 42, 62, 0.95);
            color: #fff;
        }

        .psl-badge-amount {
            background-color: rgba(209, 250, 229, 0.95);
            color: #065f46;
        }

        .psl-card-content {
            padding: 15px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .psl-card-title {
            font-size: 22px;
            font-weight: 700;
            color: #1e3a5f;
            line-height: 1.3;
        }

        .psl-card-description {
            color: #4b5563;
            font-size: 15px;
            line-height: 1.6;
            /*flex: 1;*/
        }

        .psl-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            margin-top: 20px;
        }

        .psl-view-btn {
            display: inline-block;
            padding: 13px 32px;
            background: #00463c;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: background 0.3s ease;
            text-align: center;
        }

        .psl-view-btn:hover {
            background: #047857;
            color: white;
        }

        .psl-porteurs-logos {
            align-items: center;
            gap: 10px;
            width: 65%;
        }

        .psl-porteur-item {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem;
            background-color: #f9fafb;
            border-radius: 0.5rem;
            border: 1px solid #e5e7eb;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .psl-porteur-logo {
            width: 2rem;
            height: 2rem;
            background-color: white;
            border-radius: 0.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .psl-porteur-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .psl-porteur-logo svg {
            width: 1rem;
            height: 1rem;
            color: #4b5563;
        }

        .psl-porteur-name {
            font-size: 0.75rem;
            color: #374151;
            font-weight: 500;
            line-height: 1.2;
        }

        .psl-card-sidebar {
            position: relative;
            background: #f9fafb;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .psl-map-title {
            padding: 0.375rem 0.75rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            position: absolute;
            z-index: 999999999;
            font-weight: 600;
            color: #374151;
            background-color: #fff;
            right: 10px;
            top: 10px;
        }

        .psl-google-map {
            width: 100%;
            height: 220px;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid #e5e7eb;
            margin-bottom: 15px;
        }

        .psl-no-results {
            text-align: center;
            padding: 60px 20px;
            color: #6b7280;
            font-size: 18px;
            background: white;
            border-radius: 12px;
        }

        .psl-loader {
            text-align: center;
            padding: 40px;
            color: #6b7280;
            font-size: 16px;
        }

        @media (max-width: 1024px) {
            .psl-card {
                grid-template-columns: 1fr;
            }

            .psl-card-image {
                height: 192px;
            }

            .psl-card-sidebar {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .psl-filters {
                grid-template-columns: 1fr;
            }

            .psl-filter-wrapper {
                padding: 1.5rem;
            }
        }

        @media (max-width: 640px) {
            .psl-card-content {
                padding: 20px;
            }

            .psl-card-title {
                font-size: 18px;
            }

            .psl-card-sidebar {
                grid-template-columns: 1fr;
            }
        }



/* Custom Leaflet marker styles */
.custom-marker {
  background: transparent !important;
  border: none !important;
}

.leaflet-marker-icon.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Leaflet maps container */

.psl-leaflet-map {
    position: absolute;
    width: 100%;
    height: 100% !important;
    overflow: hidden;
}