

/* Start:/local/components/ag/region.router/templates/.default/style.css?17926100846414*/
.inner-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Фирменные цвета сайта */
.mo-hub-section,
.region-page {
    --mo-accent: #e85d47;
    --mo-accent-hover: #c04a35;
    --mo-accent-soft: #fdf0ed;          /* светлая подложка (вместо #eef3f8) */
    --mo-accent-line: #fbe3de;          /* светлые линии */
    --mo-accent-shadow: rgba(232, 93, 71, 0.3);

}

/* Секция хаба городов */
.mo-hub-section, .region-page {
    padding: 60px 0 60px;
    font-family: 'Inter', sans-serif;
}

.mo-hub-header {
    margin-bottom: 25px;
}

.mo-hub-header h1 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    color: #1e293b;
    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: var(--mo-accent-soft);
    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:hover:not(.is-active) {
    color: var(--mo-accent);
}

.mo-hub-tab-btn:focus-visible {
    outline: 2px solid var(--mo-accent);
    outline-offset: 2px;
}

.mo-hub-tab-btn.is-active {
    background: var(--mo-accent);
    color: #fff;
    box-shadow: 0 2px 8px var(--mo-accent-shadow);
}

.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, border-color 0.2s ease;
}

.mo-letter-card:hover {
    border-color: var(--mo-accent-line);
    box-shadow: 0 8px 22px rgba(232, 93, 71, 0.14);
    transform: translateY(-2px);
}

/* Заглавная буква */
.mo-letter-card__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--mo-accent);
    margin-bottom: 14px;
    line-height: 1;
    border-bottom: 2px solid var(--mo-accent-line);
    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,
.mo-letter-card__link:focus-visible {
    color: var(--mo-accent);
    text-decoration-color: var(--mo-accent);
}

/* Заглушка карты и пустой список */
.mo-hub-map-placeholder {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 14px;
    padding: 80px 20px;
    text-align: center;
    color: #718096;
}

/* Пустое состояние: городов пока нет */
.mo-hub-empty {
    max-width: 560px;
    margin: 20px auto 0;
    padding: 48px 32px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--mo-accent-line, #fbe3de);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(232, 93, 71, 0.08);
}

.mo-hub-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mo-accent, #e85d47);
    background: var(--mo-accent-soft, #fdf0ed);
    border-radius: 50%;
}

.mo-hub-empty__icon svg {
    width: 30px;
    height: 30px;
}

.mo-hub-empty__title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    color: #1e293b;
}

.mo-hub-empty__text {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.mo-hub-empty__btn {
    display: inline-block;
    padding: 13px 30px;
    background: var(--mo-accent, #e85d47);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 8px 18px -6px var(--mo-accent-shadow, rgba(232, 93, 71, 0.4));
    transition: background 0.2s ease, transform 0.15s ease;
}

.mo-hub-empty__btn:hover {
    background: var(--mo-accent-hover, #c04a35);
    transform: translateY(-1px);
}


@media (max-width: 600px) {
    .mo-hub-section {
        padding: 50px 15px;
    }
}
@media (max-width: 480px) {
    .mo-hub-empty {
        padding: 36px 20px;
    }
    .mo-hub-empty__title {
        font-size: 20px;
    }
}

/* Переключатель Окна/Балконы на детальной странице города */
.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: var(--mo-accent-soft);
    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: var(--mo-accent);
    color: #fff;
}
/* End */
/* /local/components/ag/region.router/templates/.default/style.css?17926100846414 */
