.help-page {
    flex: 1 1 auto;
    padding: 48px 0 72px;
}

.help-page__container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 15px;
}

.help-breadcrumbs {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--secondary-text-color);
}

.help-breadcrumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.help-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.help-breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(33, 34, 45, 0.35);
    font-weight: 400;
}

.help-breadcrumbs a {
    color: var(--secondary-text-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.help-breadcrumbs a:hover {
    color: var(--button-bg-color);
    border-bottom-color: rgba(238, 87, 92, 0.35);
}

.help-breadcrumbs span[aria-current="page"] {
    color: var(--basic-text);
    font-weight: 600;
}

.help-page__title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--basic-text);
}

.help-page__lead {
    font-size: 17px;
    color: var(--secondary-text-color);
    margin: 0 0 40px;
    max-width: 52rem;
}

.help-categories {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .help-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.help-category-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d1d2df;
    border-radius: 12px;
    background: #fff;
    padding: 22px 22px 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(15, 12, 58, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-category-card:hover {
    border-color: rgba(238, 87, 92, 0.45);
    box-shadow: 0 12px 28px rgba(15, 12, 58, 0.07);
}

.help-category-card__title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--basic-text);
}

.help-category-card__text {
    flex: 1 1 auto;
    font-size: 15px;
    color: var(--secondary-text-color);
    margin: 0 0 16px;
    line-height: 1.55;
}

.help-category-card__cta {
    font-size: 15px;
    font-weight: 600;
    color: var(--button-bg-color);
}

.help-section-title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 48px 0 18px;
    color: var(--basic-text);
}

.help-article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-article-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 16px 18px;
    border: 1px solid #d1d2df;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease;
}

.help-article-row:hover {
    border-color: rgba(238, 87, 92, 0.45);
}

.help-article-row__title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    color: var(--basic-text);
}

.help-article-row__meta {
    font-size: 13px;
    color: var(--secondary-text-color);
}

.help-article-row__hint {
    font-size: 14px;
    font-weight: 600;
    color: var(--button-bg-color);
}

.help-article-body {
    border: 1px solid #d1d2df;
    border-radius: 12px;
    background: #fff;
    padding: 28px 26px 32px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--basic-text);
    box-shadow: 0 8px 24px rgba(15, 12, 58, 0.04);
}

.help-article-body h2,
.help-article-body h3 {
    font-family: "Mulish", "Open Sans", sans-serif;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

.help-article-body p {
    margin: 0 0 1em;
}

.help-article-body ul,
.help-article-body ol {
    margin: 0 0 1em 1.2em;
    padding: 0;
}

.help-article-updated {
    font-size: 14px;
    color: var(--secondary-text-color);
    margin: 0 0 20px;
}

/* --- Article page: left nav | content | TOC --- */
.help-page--article {
    padding-top: 32px;
}

.help-page--article .help-breadcrumbs {
    margin-bottom: 16px;
}

.help-article-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(160px, 220px);
    gap: 28px 32px;
    align-items: start;
}

.help-nav-sidebar,
.help-toc-sidebar {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 112px);
    overflow: auto;
    padding-bottom: 24px;
    scrollbar-width: thin;
}

.help-sidebar__title,
.help-toc__heading {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-text-color);
    margin: 0 0 14px;
}

.help-nav-tree {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.help-nav-tree__category {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--basic-text);
    text-decoration: none;
    line-height: 1.35;
    border-radius: 6px;
    padding: 2px 0;
}

.help-nav-tree__category:hover {
    color: var(--button-bg-color);
}

.help-nav-tree__group--current .help-nav-tree__category {
    color: var(--button-bg-color);
}

.help-nav-tree__articles {
    list-style: none;
    margin: 8px 0 0;
    padding: 0 0 0 12px;
    border-left: 2px solid rgba(33, 34, 45, 0.1);
}

.help-nav-tree__articles li {
    margin: 0 0 6px;
}

.help-nav-tree__article {
    font-size: 14px;
    line-height: 1.45;
    color: var(--secondary-text-color);
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    padding: 2px 0;
}

.help-nav-tree__article:hover {
    color: var(--button-bg-color);
}

.help-nav-tree__article.is-current {
    color: var(--basic-text);
    font-weight: 600;
}

.help-article-main {
    min-width: 0;
}

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

.help-toc__item {
    margin: 0 0 6px;
}

.help-toc__item--sub {
    padding-left: 12px;
    border-left: 2px solid rgba(33, 34, 45, 0.08);
    margin-left: 4px;
}

.help-toc__link {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: var(--secondary-text-color);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.help-toc__link:hover {
    color: var(--button-bg-color);
    background-color: rgba(238, 87, 92, 0.06);
}

.help-toc__link.is-active,
.help-toc__item.is-active > .help-toc__link {
    color: var(--basic-text);
    font-weight: 600;
    border-left-color: var(--button-bg-color);
    background-color: rgba(238, 87, 92, 0.08);
}

.help-article-body h2,
.help-article-body h3 {
    scroll-margin-top: 100px;
}

@media (max-width: 1199px) {
    .help-article-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .help-nav-sidebar,
    .help-toc-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .help-nav-sidebar {
        order: 1;
        padding: 16px;
        border: 1px solid #d1d2df;
        border-radius: 12px;
        background: #fff;
    }

    .help-article-main {
        order: 2;
    }

    .help-toc-sidebar {
        order: 3;
        padding: 16px;
        border: 1px solid #d1d2df;
        border-radius: 12px;
        background: #fafafb;
    }

    .help-nav-tree {
        flex-flow: row wrap;
        gap: 16px 24px;
    }

    .help-nav-tree__group {
        flex: 1 1 220px;
        min-width: 180px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Help hub (/help) Skyservice-inspired --- */
.help-page--hub {
    padding-top: 0;
}

.help-hub__hero-wrap {
    background: linear-gradient(180deg, #f4f5fb 0%, #fafbff 55%, #ffffff 100%);
    border-bottom: 1px solid rgba(33, 34, 45, 0.06);
    padding: 28px 0 40px;
}

.help-hub__hero-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.help-breadcrumbs--hub {
    margin-bottom: 14px;
}

.help-hub__title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--basic-text);
}

.help-hub__lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--secondary-text-color);
    margin: 0 0 28px;
    max-width: 42rem;
}

.help-hub__search-wrap {
    margin-bottom: 28px;
}

.help-hub__search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #d1d2df;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 12, 58, 0.06);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-hub__search-input:focus {
    border-color: rgba(238, 87, 92, 0.55);
    box-shadow: 0 8px 28px rgba(238, 87, 92, 0.12);
}

.help-hub__search-hint {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--secondary-text-color);
}

.help-hub__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 520px;
}

.help-hub__stat {
    background: #fff;
    border: 1px solid rgba(33, 34, 45, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(15, 12, 58, 0.04);
}

.help-hub__stat-value {
    display: block;
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--button-bg-color);
    line-height: 1.2;
}

.help-hub__stat-label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--secondary-text-color);
    line-height: 1.35;
}

.help-hub__spotlight {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid rgba(33, 34, 45, 0.06);
}

.help-hub__section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.help-hub__spotlight-title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 18px;
    color: var(--basic-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-hub__spotlight-badge {
    font-size: 20px;
}

.help-hub__spotlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

@media (min-width: 720px) {
    .help-hub__spotlight-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.help-hub__spotlight-item {
    border: 1px solid #e4e5ef;
    border-radius: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffdf9 0%, #fff 100%);
}

.help-hub__spotlight-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--basic-text);
    text-decoration: none;
}

.help-hub__spotlight-link:hover {
    color: var(--button-bg-color);
}

.help-hub__spotlight-meta {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--secondary-text-color);
}

.help-hub__block {
    padding: 36px 0;
}

.help-hub__block:nth-child(even) {
    background: #fafbff;
}

.help-hub__block-title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 26px);
    margin: 0 0 22px;
    color: var(--basic-text);
}

.help-hub__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.help-hub-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e5ef;
    border-radius: 14px;
    padding: 22px 20px 18px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 26px rgba(15, 12, 58, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.help-hub-card:hover {
    border-color: rgba(238, 87, 92, 0.4);
    box-shadow: 0 14px 36px rgba(15, 12, 58, 0.09);
    transform: translateY(-2px);
}

.help-hub-card__icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 12px;
}

.help-hub-card__title {
    font-family: "Mulish", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 10px;
    color: var(--basic-text);
}

.help-hub-card__desc {
    flex: 1 1 auto;
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--secondary-text-color);
}

.help-hub-card__footer {
    font-size: 14px;
    font-weight: 600;
    color: var(--button-bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.help-hub-card__arrow {
    font-size: 16px;
}

@media (max-width: 600px) {
    .help-hub__stats {
        grid-template-columns: 1fr;
        max-width: none;
    }
}
