/* white card holding the star and the country outline, side by side if there's room */
.city_maps {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 2px 2px 4px 1px rgba(102, 102, 102, 0.25);
}

.city_star {
    flex: 1 1 320px;
    max-width: 500px;
    min-width: 0;
}

.city_star svg {
    display: block;
    width: 100%;
}

.city_star_ring {
    fill: none;
    stroke: #e0e0e0;
    stroke-dasharray: 3 4;
}

.city_star_spoke {
    stroke: var(--primarycolor-light);
    stroke-width: 1.5;
}

/* white outline keeps labels readable where they cross a spoke or a ring */
.city_star text {
    paint-order: stroke;
    stroke: white;
    stroke-width: 3px;
    stroke-linejoin: round;
}

.city_star_compass path,
.city_star_compass text {
    fill: #777;
    font-size: 12px;
}

.city_star_center {
    fill: var(--primarycolor);
}

.city_star_center_name {
    fill: var(--primarycolor);
    font-size: 15px;
    font-weight: 800;
}

.city_star_city {
    cursor: pointer;
}

.city_star_hit {
    fill: transparent;
}

.city_star_dot {
    fill: white;
    stroke: var(--primarycolor);
    stroke-width: 2;
}

.city_star_name {
    fill: #1c1c1c;
    font-size: 14px;
    font-weight: 600;
}

.city_star_distance {
    fill: #6b6b6b;
    font-size: 12px;
}

.city_star_city:hover .city_star_dot {
    fill: var(--primarycolor);
}

.city_star_city:hover .city_star_name {
    fill: var(--primarycolor);
    text-decoration: underline;
}
