/* 
 * Inspire Locations Module CSS 
 */

 #inspire-location-search {
    width: 100%;
}

.inspire-search-bar {
    gap: 10px;
    width: 300px;
    display: flex;
    justify-content: space-between;
}

.inspire-locations-container {
    display: flex;
    gap: 20px;
    min-height: 600px;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 992px) {
    .inspire-locations-container {
        display: flex;
        flex-direction: row;
        gap: 20px;
        min-height: 600px;
        grid-template-columns: 1fr 2fr;
    }

    .inspire-search-bar {
        width: 400px;
    }

}

#inspire-locations-results {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.inspire-locations-list {
    overflow-y: auto;
    max-height: 600px;
}

.inspire-map-container {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

#inspire-map {
    width: 100%;
    min-height: 600px;
}

.location-item {
    background: white;
    border-left: 1px solid #D4AF37;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.location-item.active {
    border-color: #c9a96e;
    background: #fefdfb;
}

.location-name {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Prata';
    color: #0B0A08;
}

.location-address {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.location-phone {
    color: #666;
    margin-bottom: 15px;
}

.location-actions {
    display: flex;
    gap: 10px;
}

.location-btn {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
}

.btn-primary {
    transition: 0.3s;
    background: #D4AF37;
    border: 1px solid #D4AF37;
}

.btn-primary:hover {
    background: #fff;
    border-color: #000;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #D4AF37;
}

.btn-secondary:hover {
    background: #fff;
    border-color: #000;
}

#inspire-locations-loading {
    text-align: center;
    padding: 40px;
    color: #0B0A08;
}

.no-locations {
    text-align: center;
    padding: 40px;
    color: #0B0A08;
}

/* Responsive Design */
@media (max-width: 768px) {
    .inspire-locations-container {
        flex-direction: column;
    }
    
    .inspire-locations-list {
        max-height: 400px;
        order: 2;
    }
    
    .inspire-map-container {
        order: 1;
    }
    
    #inspire-map {
        height: 400px;
    }
    
    .inspire-search-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .inspire-search-bar input {
        width: 100%;
    }
    
    .inspire-search-bar button {
        margin-left: 0;
        width: 100%;
    }
    
    .location-actions {
        flex-direction: column;
    }
}

/* Custom Map Controls */
.gm-style-iw {
    max-width: 300px;
}

.gm-style-iw-d {
    max-height: 200px;
    overflow-y: auto;
}

.custom-info-window {
    padding: 10px;
}

.custom-info-window h3 {
    margin: 0 0 10px 0;
    color: #0B0A08;
}

.custom-info-window p {
    margin: 5px 0;
    color: #0B0A08;
}

.location-excerpt {
    color: #0B0A08;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.4;
}

.btn-link {
    color: #0B0A08;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-link:hover {
    color: #0B0A08;
    background: #fff;
    border-color: #0B0A08;
    text-decoration: none;
}
.cluster {
    background: #D4AF37;
    border-radius: 50%;
    color: #0B0A08;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}