

/* Start:/local/components/china/help/templates/.default/style.css?177240951610005*/
/* ===== Help Center Styles ===== */

/* --- Общие --- */
.help-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px;
}

/* --- Шапка с поиском --- */
.help-hero {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.help-hero--compact {
    padding: 30px 40px;
    margin-bottom: 20px;
}

.help-hero__inner {
    max-width: 600px;
    margin: 0 auto;
}

.help-hero__title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px;
}

.help-search {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.help-search__input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    outline: none;
    box-sizing: border-box;
    transition: box-shadow 0.2s;
}

.help-search__input:focus {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.help-search__input::placeholder {
    color: #999;
}

.help-search__btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.help-search__btn:hover {
    color: #c62828;
}

/* --- Сетка разделов --- */
.help-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.help-section-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.help-section-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.help-section-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.help-section-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.help-section-card__icon svg {
    width: 100%;
    height: 100%;
}

.help-section-card__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.help-section-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-section-card__list li {
    padding: 0;
    margin: 0;
}

.help-section-card__list a {
    display: block;
    padding: 6px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.15s;
}

.help-section-card__list li:last-child a {
    border-bottom: none;
}

.help-section-card__list a:hover {
    color: #c62828;
}

/* --- Хлебные крошки --- */
.help-breadcrumbs {
    padding: 16px 0;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.help-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.help-breadcrumbs a:hover {
    color: #c62828;
}

.help-breadcrumbs__sep {
    margin: 0 8px;
    color: #ccc;
}

/* --- Лейаут статьи --- */
.help-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* Кнопка мобильного меню */
.help-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin-bottom: 16px;
    width: 100%;
}

.help-sidebar-toggle:hover {
    background: #eee;
}

/* --- Сайдбар --- */
.help-sidebar {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 8px;
}

.help-sidebar::-webkit-scrollbar {
    width: 4px;
}

.help-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.help-nav__group {
    margin-bottom: 4px;
}

.help-nav__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
    text-align: left;
}

.help-nav__title:hover {
    background: #f5f5f5;
}

.help-nav__arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.help-nav__group--active .help-nav__arrow {
    transform: rotate(180deg);
}

.help-nav__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.help-nav__group--active .help-nav__list {
    max-height: 1000px;
}

.help-nav__list a {
    display: block;
    padding: 7px 12px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: all 0.15s;
}

.help-nav__list a:hover {
    color: #c62828;
    background: #fef5f5;
}

.help-nav__list a.active {
    color: #c62828;
    background: #fef5f5;
    border-left-color: #c62828;
    font-weight: 500;
}

/* --- Контент статьи --- */
.help-content {
    min-width: 0;
}

.help-content__title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}

.help-content__meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.help-content__body {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.help-content__body h2 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 32px 0 12px;
}

.help-content__body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 24px 0 8px;
}

.help-content__body p {
    margin: 0 0 16px;
}

.help-content__body ul,
.help-content__body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.help-content__body li {
    margin-bottom: 6px;
}

.help-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.help-content__body th,
.help-content__body td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #e8e8e8;
}

.help-content__body th {
    background: #f8f8f8;
    font-weight: 600;
    color: #333;
}

.help-content__body tr:hover td {
    background: #fafafa;
}

.help-content__body .help-note {
    background: #fff3e0;
    border-left: 4px solid #f39c12;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 14px;
}

.help-content__body .help-tip {
    background: #e8f5e9;
    border-left: 4px solid #2ecc71;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 14px;
}

.help-content__body .help-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.help-content__body .help-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    margin-bottom: 20px;
}

.help-content__body .help-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: #c62828;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* --- Результаты поиска --- */
.help-search-results {
    max-width: 720px;
    margin: 0 auto 60px;
}

.help-search-results__title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin: 0 0 16px;
}

.help-search-results__count {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.help-search-results__empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 15px;
}

.help-search-results__empty a {
    color: #c62828;
}

.help-search-results__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-search-results__item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.help-search-results__link {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
}

.help-search-results__link:hover {
    color: #c62828;
}

.help-search-results__section {
    display: inline-block;
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.help-search-results__preview {
    font-size: 14px;
    color: #666;
    margin: 6px 0 0;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .help-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .help-hero {
        padding: 40px 20px;
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .help-hero__title {
        font-size: 24px;
    }

    .help-search__input {
        padding: 14px 46px 14px 16px;
        font-size: 15px;
    }

    .help-sections {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .help-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .help-sidebar-toggle {
        display: flex;
    }

    .help-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        display: none;
        background: #fafafa;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 24px;
        border: 1px solid #e8e8e8;
    }

    .help-sidebar.help-sidebar--open {
        display: block;
    }

    .help-content__title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .help-page {
        padding: 0 12px;
    }

    .help-hero {
        padding: 32px 16px;
        border-radius: 8px;
    }

    .help-hero__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .help-section-card {
        padding: 16px;
    }
}

/* End */
/* /local/components/china/help/templates/.default/style.css?177240951610005 */
