.locations-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0.5rem;
    text-align: center;
}

.locations-title {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.locations-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.locations-grid form {
    display: contents;
}

.location-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-hover);
    background-size: cover;
    background-position: center;
    font-family: inherit;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.location-card:active {
    transform: scale(0.97);
}

.location-card-overlay {
    width: 100%;
    padding: 2rem 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.location-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.location-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
