/* 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 covers are intentionally larger than news cards to make the article type
   easier to scan while keeping the same 16:11 image rhythm. */
.help-page .help-entry { grid-template-columns: 224px minmax(0, 1fr) 36px; gap: 24px; }
.help-page .help-entry .news-entry-cover { aspect-ratio: 16 / 11; border-radius: 12px; box-shadow: 0 8px 20px rgba(41, 83, 140, .08); }
.help-page .help-entry .news-entry-cover img { width: 100%; height: 100%; object-fit: contain; }
.help-page .help-entry-content h2 { margin: 0 0 8px; color: var(--news-ink); font-size: 20px; font-weight: 600; line-height: 1.5; 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-action { margin-left: auto; color: var(--news-blue-dark); }
.help-page .help-entry:hover h2, .help-page .help-entry:focus-visible h2 { 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 { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
    .help-page .help-entry .news-entry-arrow { display: none; }
}
@media (max-width: 1000px) {
    .help-page .help-entry { grid-template-columns: 200px minmax(0, 1fr) 36px; }
    .help-page .help-entry .news-entry-arrow { display: grid; }
}
@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: 144px minmax(0, 1fr); gap: 18px; padding-block: 22px; }
    .help-page .help-entry .news-entry-arrow { display: none; }
    .help-page .help-entry-content h2 { font-size: 18px; }
}
@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) 100px; align-items: start; gap: 14px; }
    .help-page .help-entry .news-entry-cover { grid-column: 2; grid-row: 1; margin-top: 32px; }
    .help-page .help-entry .news-entry-content { grid-column: 1; grid-row: 1; }
    .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 (max-width: 360px) {
    .help-page .help-entry { grid-template-columns: minmax(0, 1fr) 88px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .help-page .help-entry-content h2 { transition: none; }
}
