.locations {
    padding: 32px 0;
}

.locations__title {
    font-size: 35px;
    margin-bottom: 40px;
}

.locations__grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 24px;
    margin: 0 -24px;
}

/* Item */
.location {
    text-align: center;
    color: inherit;
    transition: opacity 0.2s;
}

.location:hover {
    opacity: 0.7;
}

.location__logo {
    width: auto;
    max-height: 100px;
    height: auto;
    text-align: center;
    margin: 0 auto 20px auto;
}

.location__name {
    font-size: 18px;
    display: block;
    line-height: 1.3;
}

.location__subname {
    font-size: 12px;
    line-height: 1.3;
}

/* Tablet */
@media (max-width: 1200px) {
    .locations__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 900px) {
    .locations { display: block; }
    .locations__title { font-size: 26px; margin-bottom: 24px; }
    .locations__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        margin: 0;
    }
    .location__logo { max-height: 72px; margin-bottom: 12px; }
    .location__name { font-size: 16px; }
}
