/* Listing-only editorial treatment; shared chrome and detail pages are untouched. */
.products-hero,
.products-overview,
.learning-hero,
.learning-hero + .section,
.article-index-section {
    --ink: #10233f;
    --blue: #2f80ed;
    --line: #d8e6f5;
    --muted: #526982;
    --catalog-display: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    font: 15px/1.75 "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}

.products-hero *,
.products-overview *,
.learning-hero *,
.learning-hero + .section *,
.article-index-section * {
    box-sizing: border-box;
    min-width: 0;
}

.products-hero .section-inner,
.products-overview .section-inner,
.learning-hero .section-inner,
.learning-hero + .section .section-inner,
.article-index-section .section-inner {
    width: min(var(--site-shell-width), calc(100% - var(--site-shell-gutter)));
    margin-inline: auto;
}

.products-hero a:focus-visible,
.products-overview a:focus-visible,
.learning-hero a:focus-visible,
.learning-hero + .section a:focus-visible,
.article-index-section :is(a, button):focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.products-hero,
.learning-hero {
    background: linear-gradient(180deg, #f3f8ff, #fff);
    overflow: visible;
}

.products-hero .section-inner {
    min-height: 0;
    padding: 32px 0;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
}

.learning-hero .section-inner {
    min-height: 0;
    padding: 32px 0 28px;
    gap: 0;
}

.learning-hero .learning-hero-copy { max-width: 760px; margin: 0; text-align: left; }
.learning-hero .learning-hero-copy .page-lead { margin-inline: 0; }
.products-hero .page-title,
.learning-hero .page-title {
    margin: 12px 0;
    font: 650 clamp(27px, 2.5vw, 34px)/1.45 var(--catalog-display);
    letter-spacing: -1px;
    text-wrap: balance;
}

.products-hero .page-lead,
.learning-hero .page-lead { color: var(--muted); font-size: 14px; line-height: 1.85; }
.products-hero .eyebrow,
.learning-hero .eyebrow,
.learning-hero + .section .eyebrow { color: #173b75; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.products-hero .eyebrow::before,
.learning-hero .eyebrow::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--blue); }
.products-hero .hero-actions,
.learning-hero .hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 16px; margin-top: 16px; }
.products-hero .button,
.products-overview .button,
.learning-hero .button { width: auto; max-width: 100%; min-height: 44px; padding: 8px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; }
.products-hero .button.primary,
.learning-hero .button.primary,
.products-overview .button.dark { color: #fff; border-color: #173b75; background: #173b75; }
.products-hero .button.ghost,
.learning-hero .button.ghost { color: #195fb8; border-color: var(--line); background: #fff; }
.products-hero .button:hover,
.products-overview .button:hover,
.learning-hero .button:hover { border-color: var(--blue); }

/* Keep all three map links visible, including below site.css's 920px breakpoint. */
.products-hero .product-map-panel { display: block; border: 1px solid var(--line); border-radius: 6px; background: #f3f8ff; box-shadow: none; overflow: visible; }
.products-hero .map-panel-top { min-height: 36px; color: var(--muted); background: transparent; border-color: var(--line); }
.products-hero .map-panel-top span { width: 6px; height: 6px; background: #9dc1ed; }
.products-hero .map-panel-top strong { font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.products-hero .map-panel-body { padding: 20px 16px; grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr); gap: 6px; }
.products-hero .map-node { min-height: 56px; padding: 8px 4px; border-radius: 4px; color: #173b75; background: #fff; border-color: var(--line); font-size: 13px; font-weight: 600; }
.products-hero .map-node.active { color: #fff; background: #173b75; border-color: #173b75; }
.products-hero .map-node.member { color: #173b75; background: #eaf3ff; border-color: #b9d7ff; }
.products-hero .map-link { width: 100%; height: 1px; margin: 0; background: #9dc1ed; }
.products-hero .map-node:hover,
.products-hero .map-node:focus-visible { transform: none; box-shadow: none; border-color: var(--blue); }

.products-overview,
.learning-hero + .section { padding: 0 0 40px; background: #fff; scroll-margin-top: 88px; }
.products-overview .badge,
.learning-hero + .section .badge,
.article-index-section .badge { padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px; color: #173b75; background: #edf5ff; font-size: 11px; font-weight: 500; line-height: 1.7; }
.products-overview .product-feature-block { grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); align-items: center; gap: 24px; margin-bottom: 12px; padding: 24px; border: 0; border-top: 2px solid var(--blue); border-radius: 0; background: #eaf3ff; box-shadow: none; }
.products-overview .product-feature-block h2 { margin: 10px 0 6px; font: 600 24px/1.5 var(--catalog-display); letter-spacing: -.4px; }
.products-overview .product-feature-block p { font-size: 14px; line-height: 1.85; }
.products-overview .feature-meta { justify-items: end; gap: 10px; }
.products-overview .feature-meta span { padding: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 500; }
.products-overview .product-system-grid,
.learning-hero + .section .tutorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.products-overview .product-system-card { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.products-overview .system-card-index,
.products-overview .product-system-card-more .system-card-index { padding-top: 3px; color: #426891; font: 500 14px/1.75 var(--catalog-display); }
.products-overview .system-card-main h3 { margin: 8px 0 6px; font: 600 19px/1.6 var(--catalog-display); }
.products-overview .system-card-main p { font-size: 14px; line-height: 1.85; }
.products-overview .system-card-foot { margin-top: 12px; padding-top: 0; gap: 8px 16px; border: 0; font-size: 13px; }
.products-overview .system-card-foot span { color: var(--muted); font-size: 12px; font-weight: 500; }
.products-overview .system-card-foot :is(a, strong) { display: inline-flex; align-items: center; min-height: 44px; color: #195fb8; font-weight: 600; }
.products-overview .product-system-card:hover { transform: none; background: #f8fbff; box-shadow: none; border-color: #9dc1ed; }

.learning-hero + .section .section-head { margin-bottom: 12px; padding-top: 12px; border-top: 2px solid var(--line); }
.learning-hero + .section .section-head h2 { margin: 6px 0; font: 600 21px/1.6 var(--catalog-display); }
.learning-hero + .section .section-copy { margin: 0; color: var(--muted); font-size: 13px; }
.learning-hero + .section .tutorial-grid { border-top: 2px solid var(--blue); }
.learning-hero + .section .tutorial-card { padding: 22px 0 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.learning-hero + .section .tutorial-card-top strong { color: #426891; font: 500 14px/1.75 var(--catalog-display); }
.learning-hero + .section .tutorial-card h3 { margin: 10px 0 6px; padding: 0; border: 0; font: 600 19px/1.6 var(--catalog-display); }
.learning-hero + .section .tutorial-card p { margin: 0 0 12px; text-indent: 0; font-size: 14px; line-height: 1.85; }
.learning-hero + .section .tutorial-card-meta { gap: 6px 14px; padding-top: 8px; font-size: 12px; font-weight: 500; }
.learning-hero + .section .tutorial-card-meta span { padding: 0; background: transparent; }
.learning-hero + .section .tutorial-card-actions { margin-top: 4px; padding-top: 0; border: 0; }
.learning-hero + .section .tutorial-card-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #195fb8; font-size: 13px; font-weight: 600; }
.learning-hero + .section .tutorial-card-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }

.article-index-section { padding: 32px 0 40px; background: linear-gradient(180deg, #f3f8ff, #fff 480px); }
.article-index-section .article-toolbar { gap: 16px; margin-bottom: 0; padding-bottom: 16px; border-bottom: 2px solid var(--blue); }
.article-index-section .article-toolbar strong { font: 650 28px/1.5 var(--catalog-display); letter-spacing: -.6px; }
.article-index-section .article-toolbar div { gap: 8px 20px; }
.article-index-section .article-toolbar span { font-size: 13px; }
.article-index-section .article-toolbar a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; color: #195fb8; font-size: 14px; font-weight: 600; }
.article-index-section .article-index-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
.article-index-section .article-list { gap: 0; }
.article-index-section .article-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.article-index-section .article-item h3 { margin: 8px 0 6px; font: 600 20px/1.6 var(--catalog-display); }
.article-index-section .article-item p { font-size: 14px; line-height: 1.85; }
.article-index-section .article-date { padding: 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.article-index-section .read-more { display: inline-block; margin-top: 10px; color: #195fb8; font-size: 13px; font-weight: 600; white-space: normal; }
.article-index-section .article-item:hover { background: #f8fbff; box-shadow: none; transform: none; border-color: #9dc1ed; }
.article-index-section .article-item:hover h3 { color: #195fb8; }
.article-index-section .article-sidebar { position: static; gap: 28px; padding-top: 24px; }
.article-index-section .article-sidebar section { padding: 0; border: 0; border-top: 2px solid var(--line); border-radius: 0; background: transparent; }
.article-index-section .article-sidebar h2 { margin: 12px 0; font: 600 17px/1.6 var(--catalog-display); }
.article-index-section .sidebar-link { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 10px; padding: 12px 0; border-radius: 0; }
.article-index-section .sidebar-link span,
.article-index-section .sidebar-link.course span { color: #426891; font-size: 12px; font-weight: 500; }
.article-index-section .sidebar-link strong { font: 600 14px/1.7 var(--catalog-display); }
.article-index-section .sidebar-link small { font-size: 12px; font-weight: 400; }
.article-index-section .sidebar-link:hover { padding-inline: 0; transform: none; box-shadow: none; background: #edf5ff; }
.article-index-section .article-load-more,
.article-index-section .article-list-end { min-height: 48px; padding: 16px 0; font-size: 13px; }

@media (max-width: 1000px) {
    .products-hero .section-inner { gap: 28px; }
    .products-overview .product-system-grid,
    .learning-hero + .section .tutorial-grid { column-gap: 32px; }
    .article-index-section .article-index-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
}

@media (max-width: 700px) {
    .products-hero .section-inner,
    .products-overview .section-inner,
    .learning-hero .section-inner,
    .learning-hero + .section .section-inner,
    .article-index-section .section-inner { width: calc(100% - 40px); }
    .products-hero .section-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 0; }
    .learning-hero .section-inner { padding: 26px 0; }
    .products-hero .page-title,
    .learning-hero .page-title { font-size: 27px; line-height: 1.48; letter-spacing: -.8px; }
    .products-hero .map-panel-body { padding: 14px 12px; }
    .products-overview .product-feature-block { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
    .products-overview .feature-meta { justify-items: start; }
    .products-overview .product-feature-block h2 { font-size: 22px; }
    .products-overview .product-system-grid,
    .learning-hero + .section .tutorial-grid,
    .article-index-section .article-index-layout { grid-template-columns: minmax(0, 1fr); }
    .products-overview .product-system-card { gap: 10px; padding-block: 20px; }
    .article-index-section { padding-top: 26px; }
    .article-index-section .article-toolbar { align-items: flex-start; }
    .article-index-section .article-toolbar div { flex-direction: column; gap: 4px; }
    .article-index-section .article-item h3 { font-size: 19px; }
    .article-index-section .article-sidebar { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .products-hero *,
    .products-overview *,
    .learning-hero *,
    .learning-hero + .section *,
    .article-index-section * { animation: none; transition: none; scroll-behavior: auto; }
}
