.local-places__title h2{
    margin-bottom: 24px;
}

.local-places__content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.local-place:nth-child(5n + 1),
.local-place:nth-child(5n + 2) {
    grid-column: span 3;
}

.local-place:nth-child(5n + 3),
.local-place:nth-child(5n + 4),
.local-place:nth-child(5n + 5) {
    grid-column: span 2;
}

.local-place:last-child:nth-child(5n + 1),
.local-place:last-child:nth-child(5n + 3) {
    grid-column: span 6;
}

.local-place:nth-last-child(2):nth-child(5n + 3),
.local-place:nth-last-child(2):nth-child(5n + 3) + .local-place {
    grid-column: span 3;
}

.local-place {
    background: #F2F5F9;
    display: flex;
    justify-content: space-between;
    padding: 16px 12px;
    border-radius: 16px;
    text-decoration: none;
    transition: box-shadow 0.2s ease-out;
    gap: 16px;
}

a.local-place:hover {
    box-shadow: 0 2px 8px 0 #001A3414;
}

.local-place__description {
    margin: auto 0;
}

.local-place__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    color: #001A34;
    word-break: break-word;
}

.local-place_active .local-place__title {
    color: #2C8AC9;
}

.local-place__count {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #667685;
}

.local-place__round {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #001A34;
    padding: 12px;
    max-height: 48px;
    box-sizing: border-box;
    margin-top: auto;
    margin-bottom: auto;
}

.local-place__round svg {
    width: 24px;
    height: 24px;
}
