

/* Start:/local/components/ag/region.router/templates/.default/style.css?17907828653887*/
.inner-container {max-width: 1400px;
    margin: 0 auto;}

/* Секция хаба городов */
.mo-hub-section, .region-page {
    padding: 60px 0 60px;
}

.mo-hub-header {
    margin-bottom: 25px;
}

.mo-hub-header h1 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.mo-hub-header p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

/* Переключатель Список / Карта */
.mo-hub-tabs__nav {
    display: inline-flex;
    align-items: center;
    background: #eef3f8;
    padding: 4px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.mo-hub-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.mo-hub-tab-btn.is-active {
    background: #0088cc;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.mo-hub-tab-content {
    display: none;
}

.mo-hub-tab-content.is-active {
    display: block;
}

/* Многоколоночная раскладка карточек (Masonry на CSS Columns) */
.mo-letters-grid {
    column-count: 5;
    column-gap: 20px;
}

@media (max-width: 1400px) {
    .mo-letters-grid {
        column-count: 4;
    }
}

@media (max-width: 1024px) {
    .mo-letters-grid {
        column-count: 3;
        column-gap: 16px;
    }
}

@media (max-width: 768px) {
    .mo-letters-grid {
        column-count: 2;
        column-gap: 12px;
    }
}

@media (max-width: 480px) {
    .mo-letters-grid {
        column-count: 1;
    }
}

/* Белая карточка буквы */
.mo-letter-card {
    background: #ffffff;
    border: 1px solid #e9edf2;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
    break-inside: avoid;
    box-shadow: 0 4px 14px rgba(34, 45, 58, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mo-letter-card:hover {
    box-shadow: 0 8px 22px rgba(34, 45, 58, 0.08);
    transform: translateY(-2px);
}

/* Заглавная буква */
.mo-letter-card__title {
    font-size: 22px;
    font-weight: 800;
    color: #0088cc;
    margin-bottom: 14px;
    line-height: 1;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 8px;
}

/* Список городов */
.mo-letter-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mo-letter-card__item {
    margin-bottom: 8px;
}

.mo-letter-card__item:last-child {
    margin-bottom: 0;
}

.mo-letter-card__link {
    display: inline-block;
    color: #2b3a4a;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 3px;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.mo-letter-card__link:hover {
    color: #0088cc;
    text-decoration-color: #0088cc;
}

/* Заглушка карты */
.mo-hub-map-placeholder {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 14px;
    padding: 80px 20px;
    text-align: center;
    color: #718096;
}

/* Переключатель Окна/Балконы на детальной странице города */
.region-page__subnav {
    display: inline-flex;
    gap: 8px;
    margin: 20px 0 30px;
}

.region-page__subnav-link {
    display: inline-block;
    padding: 9px 24px;
    border-radius: 20px;
    background: #eef3f8;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.region-page__subnav-link.is-active,
.region-page__subnav-link:hover {
    background: #0088cc;
    color: #fff;
}
/* End */
/* /local/components/ag/region.router/templates/.default/style.css?17907828653887 */
