/* Help pages reuse the news template's layout, widgets, and rich-text styles. */
.help-page .help-hero { padding: 20px 0; }
.help-page .help-hero::after { top: -220px; right: 1%; opacity: .55; }
.help-page .help-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 204px; }
.help-page .help-hero-copy { min-width: 0; padding-block: 16px; }
.help-page .help-hero-title { margin: 16px 0 12px; color: var(--ibd-hero-text, var(--news-ink)); font-size: clamp(28px,2.65vw,38px); font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.help-page .help-hero-title > span { display: inline-block; }
.help-page .help-hero-title > span:last-child { color: var(--ibd-hero-text, var(--news-blue)); }
.help-page .help-hero-description { max-width: 600px; margin: 0; color: var(--ibd-hero-text-sub, var(--news-muted)); font-size: 15px; line-height: 1.85; }
.help-page .help-hero-art { display: block; flex: 0 0 320px; width: 320px; height: auto; margin-right: 42px; pointer-events: none; }

.help-page .help-feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--news-line); }
.help-page .help-feed-title { min-width: 0; }
.help-page .help-feed-title h1 { margin: 0 0 6px; color: var(--news-ink); font-size: 22px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.help-page .help-feed-title p { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; color: var(--news-muted); font-size: 13px; line-height: 1.7; }
.help-page .help-feed-title p > span { padding-left: 16px; border-left: 1px solid var(--news-line); }
.help-page .help-list-search { flex: 0 1 280px; min-width: 200px; }
.help-page .help-entries { padding: 0 24px; }
.help-page .help-entry { display: grid; grid-template-columns: 56px minmax(0,1fr) 24px; align-items: start; gap: 20px; padding: 24px 0; color: inherit; text-decoration: none; }
.help-page .help-entry + .help-entry { border-top: 1px solid var(--news-line); }
.help-page .help-entry-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-top: 5px; overflow: hidden; border: 1px solid #e0eafa; border-radius: 12px; color: #4b86d9; background: #f1f6ff; font-size: 23px; }
.help-page .help-entry-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.help-page .help-entry-content { min-width: 0; }
.help-page .help-entry-content h2 { margin: 0 0 8px; color: var(--news-ink); font-size: 18px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; transition: color .18s; }
.help-page .help-entry-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 0 14px; overflow: hidden; color: var(--news-muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.help-page .help-entry .news-entry-category { margin-bottom: 6px; }
.help-page .help-entry-action { margin-left: auto; color: var(--news-blue-dark); }
.help-page .help-entry-arrow { display: grid; place-items: center; min-height: 44px; margin-top: 18px; color: #8ea4c2; font-size: 14px; transition: color .18s; }
.help-page .help-entry:hover h2, .help-page .help-entry:hover .help-entry-arrow { color: var(--news-blue); }
.help-page .news-empty h2 { margin: 20px 0 8px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.help-page--list .news-popular { grid-column: auto; grid-row: auto; }
.help-page .help-entry-content h2, .help-page .news-popular-text strong { word-break: normal; }

@media (max-width: 1200px) {
    .help-page .help-hero-inner { gap: 24px; }
    .help-page .help-hero-art { flex-basis: 270px; width: 270px; margin-right: 20px; }
    .help-page .help-feed-heading { padding: 22px; }
    .help-page .help-entries { padding-inline: 22px; }
    .help-page .help-entry { gap: 16px; }
}
@media (max-width: 768px) {
    /* The shared news stylesheet hides both help and news banners here. */
    .help-page .news-categories { padding-block: 12px; }
    .help-page .news-layout { padding-top: 18px; }
    .help-page--detail .article-detail-layout { padding-top: 0; }
    .help-page .help-feed-heading { flex-wrap: wrap; padding: 20px; }
    .help-page .help-list-search { flex: 1 1 240px; }
    .help-page .help-entries { padding-inline: 20px; }
    .help-page .help-entry { grid-template-columns: 44px minmax(0,1fr); gap: 14px; padding-block: 22px; }
    .help-page .help-entry-icon { width: 44px; height: 44px; border-radius: 10px; font-size: 20px; }
    .help-page .help-entry-content h2 { font-size: 17px; }
    .help-page .help-entry-arrow { display: none; }
}
@media (max-width: 600px) {
    .help-page .help-feed-heading { display: block; padding: 18px 16px; }
    .help-page .help-feed-title h1 { font-size: 20px; }
    .help-page .help-list-search { min-width: 0; margin-top: 16px; }
    .help-page .help-entries { padding-inline: 16px; }
    .help-page .help-entry { grid-template-columns: minmax(0,1fr); gap: 0; padding-block: 20px; }
    .help-page .help-entry-icon { display: none; }
    .help-page .help-entry-content h2 { font-size: 17px; }
    .help-page .help-entry .news-entry-meta { gap: 8px 14px; }
    .help-page .help-entry-action { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .help-page .help-entry-content h2, .help-page .help-entry-arrow { transition: none; }
}
