/* Help Center — Custom One */

/* ── Override mobile.css globals that break help layout ── */
.help-layout,
.help-layout > aside,
.help-layout > main,
.help-layout nav,
.help-layout section,
.help-layout .help-article-layout,
.help-layout .help-article-wrap {
    max-width: none;
}

/* Inline media inside the article. Video goes full width of the article column;
   screenshots and inline images stay compact so they don't dominate the page. */
.help-layout .help-screenshot,
.help-layout .help-transcript img {
    max-width: 440px !important;
}

/* Article wrap inside the 3-column layout */
.help-layout .help-article-layout .help-article-wrap {
    max-width: 760px !important;
}

/* Article wrap standalone (legacy articles) */
.help-layout > .help-main > .help-article-wrap,
.help-layout > main > .help-article-wrap {
    max-width: 680px !important;
}

.help-layout section {
    overflow-x: visible !important;
}

#help-sidebar-nav,
.help-breadcrumbs,
.help-prev-next {
    position: static !important;
    width: auto !important;
    z-index: auto !important;
    background: none !important;
    backdrop-filter: none !important;
    align-items: unset !important;
    top: auto !important;
    transition: none !important;
    box-shadow: none !important;
    grid-template-columns: unset !important;
}

#help-sidebar-nav {
    display: block !important;
    padding: 0 22px 40px !important;
}

.help-breadcrumbs {
    display: block !important;
    padding: 0 !important;
}

.help-prev-next {
    display: flex !important;
}

/* ── Layout shell ── */
.help-layout {
    display: flex !important;
    min-height: 100vh;
    background: var(--bg-color);
}

/* ══════════════════════════════
   SIDEBAR
   ══════════════════════════════ */
.help-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 310px !important;
    min-width: 310px !important;
    height: 100vh;
    overflow-y: auto;
    background: var(--card-bg);
    border-right: 1px solid #ececec;
    padding: 0;
    z-index: 40;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.help-sidebar::-webkit-scrollbar { width: 6px; }
.help-sidebar::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 3px; }

.help-sidebar-logo {
    display: flex;
    align-items: center;
    padding: 28px 28px 18px;
    text-decoration: none;
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 2;
}

.help-sidebar-logo img {
    width: 170px;
    height: auto;
}

.help-sidebar-logo:hover { opacity: 0.7; }

/* Sidebar search */
.help-sidebar-search {
    position: relative;
    padding: 6px 22px 14px;
    background: var(--card-bg);
}

.help-sidebar-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    font: inherit;
    font-size: 0.92rem;
    background: #f5f5f6;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-color);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.help-sidebar-search input::placeholder { color: #9a9a9a; }

.help-sidebar-search input:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(84, 144, 255, 0.12);
}

.help-sidebar-search::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    margin-top: -4px;
}

.help-sidebar-results {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 16px;
    right: 16px;
    background: var(--card-bg);
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 15, 16, 0.12);
    max-height: 360px;
    overflow-y: auto;
    z-index: 60;
}

.help-sidebar-results.active { display: block; }

.help-sidebar-results a {
    display: block;
    padding: 10px 14px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.help-sidebar-results a:last-child { border-bottom: none; }
.help-sidebar-results a:hover { background: #f7f7f8; }

.help-sidebar-results .sr-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.help-sidebar-results .sr-desc {
    font-size: 0.82rem;
    color: #999;
}

.help-sidebar-results .sr-empty {
    padding: 18px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Sidebar nav */
.help-sidebar nav {
    padding: 12px 22px 40px;
}

.help-sidebar-group {
    margin-bottom: 8px;
}

.help-sidebar-group-title {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 18px 10px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9a9a9a;
    user-select: none;
}

.help-sidebar-group-icon {
    display: none;
}

.help-sidebar-group ul {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
}

.help-sidebar-group li { margin: 0; }

.help-sidebar-group a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: #555;
    text-decoration: none;
    border-radius: 7px;
    transition: background 0.15s, color 0.15s;
}

.help-sidebar-article-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #b4b4b4;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.15s;
}

.help-sidebar-group a:hover {
    background: #f6f6f7;
    color: #111;
}

.help-sidebar-group a:hover .help-sidebar-article-icon {
    stroke: #555;
}

.help-sidebar-group a.active {
    background: rgba(84, 144, 255, 0.09);
    color: var(--accent-color, #5490ff);
    font-weight: 500;
}

.help-sidebar-group a.active .help-sidebar-article-icon {
    stroke: var(--accent-color, #5490ff);
}

.help-sidebar-group a.draft {
    opacity: 0.35;
    pointer-events: none;
}

/* Mobile sidebar toggle */
.help-sidebar-toggle {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 50;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 15, 16, 0.08);
}

.help-sidebar-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-color);
}

.help-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 16, 0.4);
    z-index: 35;
}

/* ══════════════════════════════
   MAIN CONTENT AREA
   ══════════════════════════════ */
.help-main {
    flex: 1 !important;
    margin-left: 310px !important;
    width: calc(100% - 310px) !important;
}

/* ══════════════════════════════
   LANGUAGE SWITCHER (floating, top-right)
   ══════════════════════════════ */
.help-topbar {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 45;
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
}

.help-topbar-lang {
    position: relative;
}

.help-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px 7px 12px;
    font: inherit;
    font-size: 0.88rem;
    color: #333;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.help-lang-btn:hover {
    border-color: #d4d4d4;
    background: #fafafa;
}

.help-lang-btn:focus-visible {
    outline: none;
    border-color: var(--accent-color, #5490ff);
    box-shadow: 0 0 0 3px rgba(84, 144, 255, 0.12);
}

.help-lang-icon {
    width: 16px;
    height: 16px;
    stroke: #666;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.help-lang-chevron {
    width: 14px;
    height: 14px;
    stroke: #999;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s;
}

.help-lang-btn[aria-expanded="true"] .help-lang-chevron {
    transform: rotate(180deg);
}

.help-lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    padding: 4px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 15, 16, 0.10);
    z-index: 70;
}

.help-lang-menu.open { display: block; }

.help-lang-menu li { margin: 0; }

.help-lang-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    font: inherit;
    font-size: 0.88rem;
    color: #333;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.help-lang-menu button:hover:not([aria-disabled="true"]) {
    background: #f6f6f7;
    color: #111;
}

.help-lang-menu button[aria-selected="true"] {
    color: var(--accent-color, #5490ff);
    font-weight: 500;
}

.help-lang-menu button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 860px) {
    .help-topbar { top: 12px; right: 14px; }
    .help-lang-btn { padding: 6px 10px; font-size: 0.85rem; }
}

/* ══════════════════════════════
   HUB / ARTICLE 3-COLUMN LAYOUT
   Grid with a left spacer that mirrors the TOC width, so the article column
   stays visually centered in the main area while the TOC floats on the right.
   ══════════════════════════════ */
.help-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    column-gap: 80px;
    margin: 0;
    padding: 56px 40px 120px;
    max-width: none;
}

.help-article-wrap {
    max-width: 760px;
    margin: 0;
    padding: 56px 40px 120px;
    text-align: left;
}

.help-article-layout .help-article-wrap {
    grid-column: 1;
    justify-self: center;
    min-width: 0;
    max-width: 760px;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Right-side table of contents — pinned to the right edge of the main area */
.help-toc {
    grid-column: 2;
    width: 100%;
    position: sticky;
    top: 72px;
    align-self: start;
    padding-top: 4px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
}

.help-toc-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9a9a9a;
    margin-bottom: 14px;
}

.help-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid #ececec;
}

.help-toc li { margin: 0; }

.help-toc a {
    display: block;
    padding: 6px 0 6px 16px;
    font-size: 0.9rem;
    color: #888;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.15s, border-color 0.15s;
    border-left: 2px solid transparent;
    margin-left: -1px;
}

.help-toc a:hover { color: #333; }

.help-toc a.active {
    color: var(--accent-color, #5490ff);
    border-left-color: var(--accent-color, #5490ff);
    font-weight: 500;
}

/* Indented sub-items (H3) */
.help-toc a.toc-sub {
    padding-left: 30px;
    font-size: 0.85rem;
    color: #9a9a9a;
}

.help-toc a.toc-sub.active {
    color: var(--accent-color, #5490ff);
}

.help-breadcrumbs {
    font-size: 0.88rem;
    color: #9a9a9a;
    margin-bottom: 22px;
}

.help-breadcrumbs a {
    color: #9a9a9a;
    text-decoration: none;
    transition: color 0.15s;
}

.help-breadcrumbs a:hover { color: var(--accent-color); }

.help-article-wrap h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text-color);
    text-align: left;
}

.help-article-wrap .help-lede {
    font-size: 1.08rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 40px;
}

/* Hub article — slightly tighter heading sizes */
.help-hub-article h1 { font-size: 2.4rem; }
.help-hub-article .help-lede { font-size: 1.08rem; margin-bottom: 36px; }

/* ══════════════════════════════
   HUB HERO SEARCH — big centered search bar at the top of the empty state
   ══════════════════════════════ */
.help-hero-search {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 8px auto 44px;
}

.help-hero-search input {
    width: 100%;
    padding: 18px 22px 18px 52px;
    font: inherit;
    font-size: 1.05rem;
    background: #fff;
    border: 1px solid #e6e6e8;
    border-radius: 14px;
    color: var(--text-color);
    box-shadow: 0 2px 12px rgba(15, 15, 16, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.help-hero-search input::placeholder { color: #9a9a9a; }

.help-hero-search input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(84, 144, 255, 0.12), 0 2px 14px rgba(15, 15, 16, 0.06);
}

.help-hero-search::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.help-hero-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid #e6e6e8;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 15, 16, 0.12);
    max-height: 440px;
    overflow-y: auto;
    z-index: 60;
}

.help-hero-results.active { display: block; }

.help-hero-results a {
    display: block;
    padding: 13px 18px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #f2f2f4;
    transition: background 0.15s;
}

.help-hero-results a:last-child { border-bottom: none; }
.help-hero-results a:hover { background: #f7f7f8; }

.help-hero-results .sr-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.help-hero-results .sr-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.45;
}

.help-hero-results .sr-empty {
    padding: 22px;
    text-align: center;
    color: #999;
    font-size: 0.92rem;
}

@media (max-width: 860px) {
    .help-hero-search { margin: 4px auto 32px; }
    .help-hero-search input {
        padding: 15px 18px 15px 46px;
        font-size: 1rem;
        border-radius: 12px;
    }
    .help-hero-search::before {
        left: 16px;
        width: 18px;
        height: 18px;
    }
}

/* Grey rounded intro pill (Juicebox-style lede card) */
.help-lede-card {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 22px 28px;
    margin: 12px 0 48px;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
}

.help-lede-card p { margin: 0; }
.help-lede-card p + p { margin-top: 10px; }

/* Video — full width of the article column */
.help-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    margin: 20px 0;
}

.help-video video,
.help-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.help-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #111;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    text-align: center;
}

/* ── Article body ── */
.help-transcript {
    margin-top: 8px;
}

.help-transcript h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-top: 56px;
    margin-bottom: 14px;
    padding-top: 4px;
    color: var(--text-color);
    scroll-margin-top: 24px;
    text-align: left;
}

.help-transcript h2:first-child { margin-top: 0; }

.help-transcript h3 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 10px;
    color: var(--text-color);
    scroll-margin-top: 24px;
    text-align: left;
}

.help-transcript h2 + h3 { margin-top: 20px; }

.help-transcript p {
    color: #3a3a3a;
    font-size: 1.02rem;
    line-height: 1.72;
    margin-bottom: 16px;
    text-align: left;
}

.help-transcript p:last-child { margin-bottom: 0; }

.help-transcript strong {
    font-weight: 600;
    color: var(--text-color);
}

.help-transcript ul,
.help-transcript ol {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.help-transcript ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    line-height: 1.7;
    font-size: 1.02rem;
    color: #3a3a3a;
}

.help-transcript ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 13px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c8c8c8;
}

.help-transcript ol {
    counter-reset: help-ol;
}

.help-transcript ol > li:not(.help-steps li) {
    position: relative;
    padding-left: 28px;
    margin-bottom: 9px;
    line-height: 1.7;
    font-size: 1.02rem;
    color: #3a3a3a;
    counter-increment: help-ol;
}

.help-transcript ol > li:not(.help-steps li)::before {
    content: counter(help-ol) ".";
    position: absolute;
    left: 2px;
    top: 0;
    font-weight: 600;
    color: #8a8a8a;
}

.help-transcript a:not(.help-steps a):not(.help-popular-item):not(.help-topic-card) {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(84, 144, 255, 0.25);
    transition: border-color 0.15s;
}

.help-transcript a:not(.help-steps a):not(.help-popular-item):not(.help-topic-card):hover {
    border-bottom-color: var(--accent-color);
}

/* Callout boxes */
.help-callout {
    padding: 16px 20px;
    background: #f7f7f8;
    border-left: 3px solid var(--accent-color, #5490ff);
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    font-size: 0.93rem;
    color: #444;
    line-height: 1.65;
}

.help-callout strong {
    color: var(--text-color);
}

/* Screenshot placeholder */
.help-screenshot {
    width: 100%;
    max-width: 440px;
    margin: 20px auto;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f6f6f8 0%, #eef0f5 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b5b5b5;
    font-size: 0.78rem;
}

/* Any inline image inside the article body gets the same breathing treatment */
.help-transcript img {
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 20px auto;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

/* ══════════════════════════════
   HUB — STEPS, TOPICS, POPULAR
   ══════════════════════════════ */
.help-steps {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0 8px !important;
    counter-reset: help-step;
    padding: 0 !important;
    list-style: none !important;
}

.help-steps li {
    padding-left: 0 !important;
    margin: 0 !important;
}

.help-steps li::before { display: none !important; }

.help-steps a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.help-steps a:hover {
    border-color: #d0d6e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.help-steps-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.help-steps-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.help-steps-title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-color);
}

.help-steps-desc {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

/* Topic grid */
.help-topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 14px 0 8px;
}

.help-topic-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.help-topic-card:hover {
    border-color: #d0d6e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.help-topic-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #f7f7fb, #eef0f7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-topic-icon svg {
    width: 18px;
    height: 18px;
    stroke: #111;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.help-topic-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.help-topic-title {
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.help-topic-count {
    font-size: 0.82rem;
    color: #999;
    margin-top: 2px;
}

/* Popular articles */
.help-popular {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0 8px;
}

.help-popular-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.help-popular-item:hover {
    border-color: #d0d6e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.help-popular-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.help-popular-desc {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.5;
}

/* Related */
.help-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.help-related h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    margin-bottom: 12px;
}

.help-related ul {
    list-style: none;
    padding: 0;
}

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

.help-related a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.help-related a:hover { text-decoration: underline; }

/* Prev / Next navigation */
.help-prev-next {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    gap: 20px;
}

.help-prev-next a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s;
    min-width: 0;
    max-width: 48%;
}

.help-prev-next a:hover {
    border-color: #ccc;
}

.help-prev-next .pn-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #aaa;
}

.help-prev-next .pn-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.help-prev-next .pn-next { margin-left: auto; text-align: right; }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 1320px) {
    .help-article-layout {
        padding: 56px 40px 120px;
        column-gap: 64px;
    }
}

@media (max-width: 1180px) {
    .help-toc { display: none; }
    .help-article-layout {
        grid-template-columns: minmax(0, 760px);
        column-gap: 0;
        padding: 48px 32px 100px;
        justify-content: center;
    }
    .help-article-layout .help-article-wrap {
        justify-self: center;
        max-width: 760px;
    }
}

@media (max-width: 960px) {
    .help-article-layout {
        padding: 44px 32px 90px;
    }
    .help-article-layout .help-article-wrap {
        max-width: 720px;
    }
}

@media (max-width: 860px) {
    .help-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none;
    }

    .help-sidebar.open {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(15, 15, 16, 0.15);
    }

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

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

    .help-main { margin-left: 0 !important; width: 100% !important; }

    .help-article-wrap {
        padding: 80px 24px 80px;
    }

    .help-article-layout {
        padding: 72px 24px 80px;
    }

    .help-article-wrap h1 { font-size: 1.7rem; }
    .help-hub-article h1 { font-size: 1.7rem; }
    .help-article-wrap .help-lede { font-size: 0.96rem; }

    .help-transcript h2 {
        font-size: 1.1rem;
        margin-top: 40px;
    }

    .help-topic-grid,
    .help-popular {
        grid-template-columns: 1fr;
    }

    .help-prev-next { flex-direction: column; }
    .help-prev-next a { max-width: 100%; }
    .help-prev-next .pn-next { text-align: left; }

    .help-screenshot,
    .help-transcript img {
        max-width: 380px;
        margin: 18px auto;
    }
    .help-video { margin: 18px 0; }
}

@media (max-width: 480px) {
    .help-article-wrap { padding: 72px 18px 60px; }
    .help-article-layout { padding: 68px 18px 60px; }
    .help-steps a { padding: 12px 14px; gap: 12px; }
    .help-steps-num { width: 26px; height: 26px; font-size: 0.78rem; }
    .help-steps-title { font-size: 0.9rem; }
    .help-steps-desc { font-size: 0.8rem; }
    .help-screenshot,
    .help-video,
    .help-transcript img {
        max-width: 100%;
    }
}
