.locations-section {
    /* No hardcoded colors here. */
    padding: 80px 6%;
}

.location-cards-container {
    display: grid;
    /* Grid structure remains */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    /* Refactored Glassmorphism Style */
    /* Background: Using a translucent surface variable */
    background: var(--color-surface-2); 
    
    /* The backdrop filter values are common and kept as is */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Border: Using soft border variable */
    border: 1px solid var(--control-border-light); 
    
    border-radius: var(--radius);
    padding: 30px;
    
    /* Box Shadow: Using the standard shadow variable */
    /* Note: The original box-shadow was an opaque blue shadow. 
       I am using a generic --shadow-md for theme compatibility. */
    box-shadow: var(--shadow-md); 
    
    color: var(--color-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-8px);
    /* Hover Shadow: Using the standard large shadow variable */
    box-shadow: var(--shadow-lg); 
}

.location-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.location-card img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.location-card p {
    margin-bottom: 10px;
    line-height: 1.6;
    /* Text Color: Using soft text variable */
    color: var(--color-text-soft); 
}

.location-card p strong {
    /* Strong Text Color: Using main text variable */
    color: var(--color-text-main); 
}

@media (max-width: 768px) {
    .location-cards-container {
        grid-template-columns: 1fr;
    }
}