/* Hangqingrukou original layout — responsive editorial dashboard */
:root {
  --ink: #12233b;
  --muted: #5d6c80;
  --navy: #08182e;
  --navy2: #102745;
  --blue: #356ce5;
  --aqua: #3fd8d5;
  --paper: #f5f7fa;
  --line: #e4eaf1;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  background: #fff;
  line-height: 1.72;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,button:focus-visible {
  outline: 3px solid #55a7ff;
  outline-offset: 3px;
}
.shell {
  width: min(1200px,calc(100% - 48px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  z-index: 40;
  padding: 12px;
}
.skip:focus {
  left: 12px;
}
.header {
  position: relative;
  z-index: 20;
  background: #07182e;
  color: #ecf5ff;
  border-bottom: 1px solid #253a54;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
.logo small {
  display: block;
  letter-spacing: 2px;
  font-size: 9px;
  font-weight: 600;
  color: #839cba;
  margin-top: 6px;
}
.logo-light {
  color: #5de6df;
}
.logo-symbol {
  width: 44px;
  height: 44px;
  border: 1px solid #385f7b;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #74f7ec;
  font-weight: 900;
  position: relative;
}
.logo-pulse {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #4cf5ce;
  border-radius: 50%;
  right: 6px;
  top: 7px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: #c5d4e7;
  font-weight: 600;
}
.nav a {
  transition: color .2s;
}
.nav a:hover {
  color: #56e7df;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #46617b;
  color: #fff;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 22px;
}
.hero {
  background: radial-gradient(ellipse at 82% 32%,#183b64 0%,transparent 45%),linear-gradient(125deg,#07182d,#0d2543 80%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  min-height: 550px;
  padding-block: 55px;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #80dadc;
}
.signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #40dac3;
  box-shadow: 0 0 12px #40dac3;
  margin-right: 8px;
}
.overline {
  font-size: 11px;
  letter-spacing: 3px;
  color: #6386a9;
  margin: 32px 0 12px;
}
.hero h1 {
  font-size: clamp(34px,4.2vw,60px);
  line-height: 1.3;
  letter-spacing: -1.5px;
  margin: 0;
  font-weight: 820;
}
.hero h1 em {
  font-style: normal;
  color: #68e8df;
}
.hero-intro {
  font-size: 15px;
  color: #b7cce1;
  max-width: 565px;
  line-height: 2;
  margin: 23px 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cta,.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.cta {
  background: #56e1db;
  color: #073143;
}
.cta-outline {
  border: 1px solid #4a6b89;
  color: #dceaf5;
}
.hero-note {
  color: #7994ae;
  font-size: 12px;
  margin-top: 24px;
}
.hero-art {
  position: relative;
  min-width: 0;
}
.hero-art>img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 25px 80px #0007;
}
.hero-floating {
  position: absolute;
  bottom: 22px;
  left: -25px;
  background: #0c213ddd;
  border: 1px solid #4b83a3;
  padding: 14px 23px;
  border-radius: 13px;
  backdrop-filter: blur(8px);
}
.hero-floating span {
  display: block;
  color: #6dd8d7;
  letter-spacing: 2px;
  font-size: 9px;
}
.hero-floating strong {
  font-size: 14px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: clamp(26px,2.8vw,35px);
  margin: 6px 0 0;
  line-height: 1.3;
}
.section-heading p {
  color: #77869a;
  font-size: 13px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #277c9c;
  font-weight: 800;
}
.feature-band {
  background: #f4f7fb;
  padding: 75px 0 85px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.topic-tile {
  background: #fff;
  border: 1px solid #e1e9f2;
  min-height: 206px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 13px;
  transition: transform .2s,box-shadow .2s;
}
.topic-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px #152e4b12;
}
.topic-index {
  color: #93a3b7;
  font-size: 10px;
  letter-spacing: 2px;
}
.topic-name {
  font-size: 23px;
  font-weight: 800;
  margin-top: 18px;
}
.topic-sub {
  font-size: 12px;
  color: #728198;
  line-height: 1.7;
  margin-top: 8px;
  padding-right: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-arrow {
  position: absolute;
  right: 23px;
  bottom: 20px;
  font-size: 22px;
  color: #1e8f9b;
}
.topic-global {
  border-top: 4px solid #3aa6ef;
}
.topic-stocks {
  border-top: 4px solid #e9b168;
}
.topic-forex {
  border-top: 4px solid #50bcbd;
}
.topic-commodities {
  border-top: 4px solid #c78d55;
}
.topic-macro {
  border-top: 4px solid #918af0;
}
.topic-research {
  border-top: 4px solid #5b8fd9;
}
.editorial {
  padding-block: 85px;
}
.stories {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 23px;
}
.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow .2s,transform .2s;
}
.story-card:hover {
  box-shadow: 0 14px 35px #1c345017;
  transform: translateY(-3px);
}
.story-image {
  display: block;
  overflow: hidden;
  background: #0f3357;
}
.story-image img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  transition: transform .35s;
}
.story-card:hover .story-image img {
  transform: scale(1.04);
}
.story-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story-body h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 12px 0;
}
.story-body p {
  font-size: 13px;
  line-height: 1.9;
  color: #687a8c;
  flex: 1;
  margin: 0 0 18px;
}
.text-link {
  font-size: 13px;
  color: #197c9d;
  font-weight: 800;
}
.story-lead {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
}
.story-lead .story-image img {
  height: 100%;
  aspect-ratio: auto;
}
.story-lead .story-body {
  justify-content: center;
  padding: 34px;
}
.story-lead h3 {
  font-size: 26px;
}
.method {
  background: #10243d;
  color: #fff;
  padding: 87px 0;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.method-left h2 {
  font-size: 39px;
  line-height: 1.45;
  margin: 16px 0;
}
.method-left p {
  color: #9db1ca;
  font-size: 14px;
  max-width: 420px;
}
.method-link {
  display: inline-block;
  color: #69e7db;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 800;
}
.method-steps {
  border-left: 1px solid #37506c;
  padding-left: 40px;
}
.method-steps>div {
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 15px;
  padding: 7px 0 18px;
  border-bottom: 1px solid #2c425e;
  margin-bottom: 14px;
}
.method-steps span {
  font-size: 14px;
  color: #5cdbd3;
  font-weight: 800;
}
.method-steps h3 {
  font-size: 18px;
  margin: 0;
}
.method-steps p {
  grid-column: 2;
  color: #9bb2c8;
  font-size: 13px;
  margin: 5px 0;
}
.brief {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 65px;
}
.brief h2 {
  font-size: 26px;
  margin: 8px 0;
}
.brief p {
  font-size: 13px;
  color: #65768a;
  max-width: 720px;
}
.cta-outline.light {
  color: #1b5970;
  border-color: #b2c6d5;
  white-space: nowrap;
}
.footer {
  background: #07172b;
  color: #a9bbcd;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {
  font-size: 19px;
  color: #f3faff;
  font-weight: 800;
}
.footer-grid p {
  font-size: 12px;
  max-width: 450px;
}
.footer-grid h2 {
  font-size: 13px;
  color: #f4faff;
  margin: 0 0 13px;
}
.footer-grid a:not(.footer-brand) {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}
.copyright {
  border-top: 1px solid #24364c;
  padding-top: 18px;
  margin-top: 44px;
  font-size: 11px;
  color: #637e98;
}
.breadcrumb {
  font-size: 12px;
  color: #718da6;
  margin-bottom: 25px;
}
.breadcrumb a:hover {
  color: #48cfcd;
}
.article-head,.topic-hero {
  background: linear-gradient(125deg,#0c203a,#173b59);
  color: #fff;
  padding: 64px 0;
}
.article-head-inner {
  max-width: 850px;
  margin-left: max(calc((100vw - 1200px)/2),24px);
  margin-right: 24px;
}
.article-head h1,.topic-hero h1 {
  font-size: clamp(30px,3.8vw,48px);
  line-height: 1.35;
  margin: 14px 0 18px;
  max-width: 820px;
}
.article-deck,.topic-hero p {
  color: #b8cddf;
  font-size: 16px;
  max-width: 800px;
}
.article-meta {
  font-size: 12px;
  color: #8ba6bd;
  margin-top: 22px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 55px;
  padding-block: 55px 85px;
}
.article-figure {
  margin: 0;
}
.article-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 15px;
}
.article-figure figcaption {
  color: #8290a0;
  font-size: 11px;
  margin-top: 11px;
}
.article-prose {
  font-size: 16px;
  color: #34465b;
  line-height: 2.05;
}
.article-prose .lead {
  font-size: 18px;
  color: #1c354c;
  font-weight: 500;
  margin-top: 34px;
}
.article-prose h2 {
  font-size: 25px;
  line-height: 1.45;
  color: #102b45;
  margin-top: 42px;
  padding-left: 17px;
  border-left: 4px solid #30b8b5;
}
.article-prose ul {
  padding-left: 24px;
}
.article-prose li {
  padding: 5px 0;
}
.source-note {
  padding: 23px 26px;
  background: #f0f6f8;
  border-left: 3px solid #33a9b3;
  margin-top: 40px;
  font-size: 13px;
}
.source-note p {
  margin: 7px 0;
}
.aside {
  min-width: 0;
}
.aside-box {
  position: sticky;
  top: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  margin-bottom: 20px;
}
.aside-box h2 {
  font-size: 19px;
  margin: 8px 0 16px;
}
.aside-box>a:not(.text-link) {
  display: block;
  font-size: 13px;
  border-top: 1px solid #eef0f3;
  padding: 12px 0;
  color: #50677d;
}
.aside-muted {
  position: static;
  background: #f5f8fb;
}
.aside-muted p {
  font-size: 13px;
  color: #728199;
}
.related {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 54px;
}
.related>h2 {
  font-size: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
}
.related-grid .story-body h3 {
  font-size: 16px;
}
.related-grid .story-body p {
  font-size: 12px;
}
.topic-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 65px;
  align-items: center;
  padding-block: 70px;
}
.topic-visual img {
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 18px;
}
.topic-detail h2 {
  font-size: 33px;
  line-height: 1.4;
}
.topic-detail p {
  font-size: 14px;
  color: #64768b;
}
.topic-detail .cta {
  margin-top: 20px;
}
.companion {
  padding-bottom: 90px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.mini-grid>a {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-grid span {
  font-size: 11px;
  color: #18829c;
  font-weight: 800;
}
.mini-grid strong {
  font-size: 15px;
  line-height: 1.55;
}
.mini-grid small {
  color: #8494a6;
}
.about-prose {
  max-width: 850px;
  padding-block: 75px 110px;
}
.about-prose h2 {
  font-size: 25px;
  margin-top: 36px;
}
.about-prose p {
  line-height: 2;
  color: #4c6177;
}
@media (max-width:1050px) {
  .nav {
    gap: 11px;
    font-size: 12px;
  }
  .hero-grid {
    gap: 25px;
  }
  .method-grid {
    gap: 35px;
  }
  .story-lead {
    grid-column: span 2;
  }
  .article-layout {
    gap: 28px;
  }
}
@media (max-width:760px) {
  .shell {
    width: min(100% - 32px,1200px);
  }
  .header-inner {
    min-height: 70px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #091d35;
    padding: 18px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    box-shadow: 0 18px 30px #0004;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 10px;
    border-bottom: 1px solid #1c3654;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 55px 70px;
  }
  .hero-art {
    max-width: 470px;
    margin-inline: auto;
  }
  .hero-floating {
    left: 10px;
    bottom: 10px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .topic-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .stories {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .story-lead {
    display: flex;
    grid-column: span 2;
  }
  .story-lead .story-image img {
    height: auto;
    aspect-ratio: 1.6;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-steps {
    padding-left: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-grid>div:first-child {
    grid-column: span 2;
  }
  .brief {
    flex-direction: column;
    align-items: start;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .aside {
    display: none;
  }
  .article-head-inner {
    margin-left: 16px;
  }
  .topic-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mini-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:500px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 8px;
  }
  .topic-grid,.stories,.related-grid,.mini-grid {
    grid-template-columns: 1fr;
  }
  .story-lead {
    grid-column: auto;
  }
  .feature-band,.editorial,.method {
    padding-block: 55px;
  }
  .topic-tile {
    min-height: 160px;
  }
  .story-lead .story-body {
    padding: 22px;
  }
  .story-lead h3 {
    font-size: 20px;
  }
  .hero-actions {
    gap: 9px;
  }
  .cta,.cta-outline {
    font-size: 12px;
    gap: 7px;
  }
  .method-left h2 {
    font-size: 30px;
  }
  .article-head,.topic-hero {
    padding: 46px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: auto;
  }
  .article-prose {
    font-size: 15px;
  }
  .article-prose h2 {
    font-size: 22px;
  }
}

/* Layout corrections: prevent overflow and improve mobile navigation. */
html { overflow-x: clip; }
body { min-width: 320px; overflow-wrap: break-word; }
.header-inner { min-width: 0; }
.logo { flex-shrink: 0; }
.nav { min-width: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
.hero-copy, .story-body, .method-left, .article-body { min-width: 0; }
.hero-floating { left: 12px; max-width: calc(100% - 24px); }
.article-head-inner { margin-left: 0; margin-right: 0; }
.story-image { min-width: 0; }
.story-lead .story-image { min-height: 310px; }
.story-lead .story-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) {
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; flex-shrink: 0; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #091d35; padding: 18px 22px; flex-direction: column; align-items: stretch; gap: 3px; box-shadow: 0 18px 30px #0004; }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px; border-bottom: 1px solid #1c3654; }
}
@media (max-width: 760px) {
  .story-lead .story-image { min-height: 0; }
  .story-lead .story-image img { height: auto; aspect-ratio: 1.6; }
}
@media (max-width: 500px) {
  .topic-sub { display: block; overflow: visible; }
  .hero-art { width: 100%; }
  .hero-floating { padding: 10px 14px; }
}
