.locations {
    padding-bottom: var(--spacing-lg);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.location-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top */
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.location-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.location-address {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Ensure nice alignment */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        /* Slightly smaller gap for mobile */
        margin-top: 0;
        border-top: none;
    }

    .location-card {
        padding: 1rem;
        /* Reduce padding on mobile to fit content */
    }

    .location-name {
        font-size: 1.1rem;
        /* Smaller font for name */
    }

    .location-address {
        font-size: 0.85rem;
        /* Smaller font for address */
    }

    .locations {
        padding-bottom: 2rem;
        /* Reduced from var(--spacing-xl) */
    }
}