/* Hallmark · macrostructure: editorial feature and reading column
 * theme: Haitu brand · image: real published covers only · reveal: none */
:root {
  --news-blue: #243277;
  --news-blue-deep: #182353;
  --news-ink: #202633;
  --news-muted: #657083;
  --news-line: #dfe4ed;
  --news-paper: #ffffff;
  --news-wash: #f3f5f9;
  --news-cover-bg: #dbe2f1;
  --news-light-ink: #f8faff;
  --news-outline: rgba(36, 50, 119, .33);
  --news-font: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body { overflow-x: clip; }
.haitu-news-home, .haitu-news-home *, .news-page, .news-page * { box-sizing: border-box; }
.haitu-news-home, .news-page { font-family: var(--news-font); color: var(--news-ink); }
.haitu-news-home a, .news-page a { color: inherit; }
.haitu-news-home a:focus-visible, .news-page a:focus-visible, .news-page button:focus-visible {
  outline: 3px solid var(--news-outline); outline-offset: 3px;
}
.haitu-news-home img, .news-page img { max-width: 100%; }

/* Homepage insert: one lead report, two recent reports. */
.haitu-news-home { background: var(--news-wash); padding: clamp(64px, 8vw, 112px) 24px; }
.haitu-news-home-inner { width: min(1180px, 100%); margin-inline: auto; }
.haitu-news-home-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); align-items: end; gap: 28px; margin-bottom: 36px; }
.haitu-news-kicker, .news-eyebrow { margin: 0 0 15px; color: var(--news-blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; }
.haitu-news-home h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.1; letter-spacing: -.05em; font-style: normal; overflow-wrap: anywhere; }
.haitu-news-home-intro p { margin: 0 0 12px; color: var(--news-muted); font-size: 16px; line-height: 1.8; }
.haitu-news-home-intro a { display: inline-flex; gap: 8px; align-items: center; padding-block: 3px; border-bottom: 1px solid var(--news-blue); color: var(--news-blue); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.haitu-news-state { margin: 0; padding: 42px 0; border-top: 1px solid var(--news-line); color: var(--news-muted); font-size: 15px; }
.haitu-news-state[hidden], .haitu-news-home-grid[hidden] { display: none; }
.haitu-news-home-grid { display: grid; grid-template-columns: minmax(0, 1.27fr) minmax(0, .83fr); gap: 18px; }
.haitu-news-home-card { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); min-width: 0; overflow: hidden; background: var(--news-paper); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.haitu-news-home-card.is-feature { grid-row: span 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.haitu-news-home-card:hover { transform: translateY(-3px); box-shadow: 0 15px 36px var(--news-outline); }
.haitu-news-card-image, .news-cover { position: relative; min-width: 0; overflow: hidden; background: var(--news-cover-bg); }
.haitu-news-card-image img, .news-cover img, .news-related-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.haitu-news-card-image { min-height: 190px; }
.haitu-news-home-card.is-feature .haitu-news-card-image { aspect-ratio: 16 / 9; min-height: 0; }
.haitu-news-cover-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: var(--news-blue); font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.haitu-news-card-image.is-broken img, .news-cover.is-broken img, .news-related-card .is-broken img { display: none; }
.haitu-news-card-image.is-broken .haitu-news-cover-fallback { display: flex; }
.haitu-news-card-copy { display: flex; flex-direction: column; min-width: 0; padding: 24px; }
.haitu-news-home-card.is-feature .haitu-news-card-copy { padding: 30px 34px 34px; }
.haitu-news-card-meta, .news-meta { margin: 0 0 12px; color: var(--news-muted); font-size: 12px; line-height: 1.6; }
.haitu-news-card-title { margin: 0; font-size: clamp(18px, 2vw, 23px); font-weight: 700; line-height: 1.4; font-style: normal; overflow-wrap: anywhere; }
.haitu-news-home-card.is-feature .haitu-news-card-title { font-size: clamp(24px, 2.5vw, 32px); }
.haitu-news-card-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 12px 0 0; color: var(--news-muted); font-size: 14px; line-height: 1.7; }
.haitu-news-card-read { margin-top: auto; padding-top: 22px; color: var(--news-blue); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Article/list pages are server rendered. The existing glass script upgrades this fallback header. */
.news-page { margin: 0; background: var(--news-paper); -webkit-font-smoothing: antialiased; }
.news-page .site-header { position: sticky; top: 0; z-index: 20; min-height: 78px; background: var(--news-paper); border-bottom: 1px solid var(--news-line); }
.news-page .site-nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 26px; width: min(1180px, calc(100% - 32px)); min-height: 78px; margin-inline: auto; }
.news-page .site-brand { display: block; width: 112px; flex: 0 0 112px; }
.news-page .site-brand-logo img { display: block; width: 112px; height: 60px; object-fit: contain; }
.news-page .site-nav { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
.news-page .site-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 13px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.news-page .site-nav a:hover, .news-page .site-nav a.is-current { background: var(--news-wash); color: var(--news-blue); }
.news-page .site-nav .haitu-nav-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; }
.news-main { width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding: clamp(116px, 13vw, 162px) 0 100px; }
.news-page .site-footer { display: grid; justify-items: center; gap: 8px; padding: 34px 24px; background: var(--news-blue); color: var(--news-light-ink); font-size: 12px; line-height: 1.5; text-align: center; }
.news-page .site-footer p { margin: 0; }
.news-page .site-footer a { text-decoration: none; }
.news-page .site-footer a:hover { text-decoration: underline; }

.news-hero { padding: 0 0 clamp(45px, 6vw, 76px); }
.news-hero h1 { max-width: 100%; margin: 0; font-size: clamp(50px, 8vw, 112px); line-height: 1.08; letter-spacing: -.06em; font-style: normal; overflow-wrap: anywhere; }
.news-hero p:last-child { max-width: 37ch; margin: 24px 0 0; color: var(--news-muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; }
.news-list-feature { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); min-width: 0; background: var(--news-wash); text-decoration: none; }
.news-list-feature .news-cover { aspect-ratio: 16 / 10; }
.news-list-feature .news-feature-copy { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding: clamp(28px, 4vw, 60px); }
.news-list-feature h2 { margin: 0; font-size: clamp(27px, 3.2vw, 43px); line-height: 1.3; letter-spacing: -.035em; font-style: normal; overflow-wrap: anywhere; }
.news-list-feature .news-feature-summary { margin: 20px 0 0; color: var(--news-muted); font-size: 15px; line-height: 1.8; }
.news-read-link { display: inline-block; margin-top: 28px; color: var(--news-blue); font-size: 14px; font-weight: 700; white-space: nowrap; }
.news-list-section { padding-top: 62px; }
.news-section-heading { margin: 0 0 25px; padding-top: 16px; border-top: 1px solid var(--news-line); font-size: 20px; font-weight: 700; }
.news-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 28px; }
.news-list-card { display: block; min-width: 0; text-decoration: none; }
.news-list-card .news-cover { aspect-ratio: 16 / 9; }
.news-cover-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: var(--news-blue); font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.news-cover.is-broken .news-cover-fallback, .news-related-card .is-broken .news-cover-fallback { display: flex; }
.news-list-card .news-meta { margin-top: 18px; }
.news-list-card h3 { margin: 0; font-size: 24px; line-height: 1.45; font-style: normal; overflow-wrap: anywhere; }
.news-list-card p:last-child { margin: 12px 0 0; color: var(--news-muted); font-size: 14px; line-height: 1.7; }
.news-empty, .news-unavailable { padding: 48px 0 80px; border-top: 1px solid var(--news-line); }
.news-empty p, .news-unavailable p { margin: 0 0 22px; color: var(--news-muted); font-size: 16px; line-height: 1.8; }
.news-empty a, .news-unavailable a { color: var(--news-blue); font-weight: 700; white-space: nowrap; }
.news-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--news-line); color: var(--news-muted); font-size: 14px; }
.news-pagination a { color: var(--news-blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.news-pagination a:hover { text-decoration: underline; }

/* Article: centered reading measure with optional facts and TOC in the margin. */
.news-article-main { width: min(1120px, calc(100% - 48px)); }
.news-back { margin-bottom: 42px; }
.news-back a { color: var(--news-blue); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.news-article-header { max-width: 820px; margin-inline: auto; }
.news-article-header h1 { margin: 0 0 22px; font-size: clamp(38px, 6vw, 72px); line-height: 1.2; letter-spacing: -.045em; font-style: normal; overflow-wrap: anywhere; }
.news-article-summary { margin: 0 0 22px; color: var(--news-muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.75; }
.news-article-header .news-meta { margin-bottom: 28px; font-size: 13px; }
.news-article-cover { width: min(100%, 960px); margin: 38px auto 55px; }
.news-article-cover .news-cover { aspect-ratio: 16 / 9; }
.news-article-cover figcaption { margin-top: 10px; color: var(--news-muted); font-size: 12px; line-height: 1.6; }
.news-article-layout { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 230px); justify-content: center; gap: clamp(36px, 5vw, 90px); }
.news-article-layout.is-single { grid-template-columns: minmax(0, 700px); }
.news-content { min-width: 0; max-width: 68ch; color: var(--news-ink); font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.news-content > :first-child { margin-top: 0; }
.news-content p, .news-content ul, .news-content ol { margin: 0 0 1.45em; }
.news-content h2, .news-content h3 { margin: 2.1em 0 .65em; color: var(--news-blue-deep); line-height: 1.35; font-style: normal; scroll-margin-top: 120px; }
.news-content h2 { font-size: 29px; }
.news-content h3 { font-size: 22px; }
.news-content a { color: var(--news-blue); text-decoration: underline; text-underline-offset: 3px; }
.news-content blockquote { margin: 2em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--news-blue); color: var(--news-blue-deep); }
.news-content img { display: block; width: auto; height: auto; max-width: 100%; margin-inline: auto; }
.news-content figure { margin: 2.5em 0; }
.news-content figcaption { margin-top: 9px; color: var(--news-muted); font-size: 13px; line-height: 1.6; text-align: center; }
.news-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; white-space: nowrap; }
.news-content th, .news-content td { padding: 10px 14px; border: 1px solid var(--news-line); text-align: left; }
.news-content th { background: var(--news-wash); }
.news-content pre { max-width: 100%; overflow-x: auto; padding: 18px; background: var(--news-wash); font-size: 14px; line-height: 1.6; }
.news-article-aside { min-width: 0; }
.news-aside-panel { padding: 20px 0; border-top: 1px solid var(--news-line); }
.news-aside-panel h2 { margin: 0 0 17px; color: var(--news-blue-deep); font-size: 15px; font-style: normal; }
.news-event-facts { margin: 0; }
.news-event-facts div { margin-bottom: 15px; }
.news-event-facts dt { margin-bottom: 4px; color: var(--news-muted); font-size: 12px; }
.news-event-facts dd { margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.news-toc { position: sticky; top: 120px; }
.news-toc ol { margin: 0; padding-left: 18px; color: var(--news-muted); font-size: 13px; line-height: 1.65; }
.news-toc li { margin-bottom: 9px; }
.news-toc a { color: var(--news-blue); text-decoration: none; }
.news-toc a:hover { text-decoration: underline; }
.news-related { margin-top: 100px; padding-top: 18px; border-top: 1px solid var(--news-line); }
.news-related h2 { margin: 0 0 30px; font-size: 24px; font-style: normal; }
.news-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-related-card { min-width: 0; text-decoration: none; }
.news-related-card .news-cover { aspect-ratio: 16 / 9; }
.news-related-card h3 { margin: 14px 0 0; font-size: 20px; line-height: 1.45; font-style: normal; overflow-wrap: anywhere; }
.news-related-card .news-meta { margin: 12px 0 0; }

@media (max-width: 900px) {
  .haitu-news-home-grid { grid-template-columns: minmax(0, 1fr); }
  .haitu-news-home-card.is-feature { grid-row: auto; }
  .news-article-layout { grid-template-columns: minmax(0, 700px); }
  .news-article-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; grid-row: 1; }
  .news-toc { position: static; }
  .news-page .site-nav-shell { flex-wrap: wrap; padding-block: 9px; }
  .news-page .site-nav { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .haitu-news-home { padding-inline: 18px; }
  .haitu-news-home-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .haitu-news-home-card { grid-template-columns: minmax(0, 1fr); }
  .haitu-news-card-image { aspect-ratio: 16 / 9; min-height: 0; }
  .haitu-news-home-card.is-feature .haitu-news-card-copy, .haitu-news-card-copy { padding: 22px; }
  .news-main { width: min(100% - 36px, 1180px); padding-top: 112px; padding-bottom: 70px; }
  .news-list-feature { grid-template-columns: minmax(0, 1fr); }
  .news-list-feature .news-feature-copy { padding: 26px; }
  .news-list-grid, .news-related-grid { grid-template-columns: minmax(0, 1fr); }
  .news-article-aside { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .news-article-cover { margin-block: 30px 38px; }
  .news-content { font-size: 16px; }
  .news-content h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .haitu-news-home-card { transition: none; }
  .haitu-news-home-card:hover { transform: none; }
}

/* Homepage glass deck — reference: 玻璃卡片切换.html.
 * Overlapping cards share one stretched grid row, including missing covers.
 * The longest title sets a common height without clipping any headline. */
.haitu-news-home { background: #080e24; color: #f5f7ff; overflow: hidden; }
.haitu-news-home .haitu-news-kicker { color: #a9baff; }
.haitu-news-home .haitu-news-home-intro p { color: #b6c0dc; }
.haitu-news-home .haitu-news-home-intro a { color: #dce4ff; border-color: #8194d8; }
.haitu-news-home .haitu-news-state { color: #b6c0dc; border-color: #354063; }
.haitu-news-home .is-glass-deck { position: relative; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; padding-block: 36px; height: auto; perspective: 1600px; perspective-origin: 38% 50%; touch-action: pan-y; }
.haitu-news-home .is-glass-deck .haitu-news-home-card {
  position: relative; grid-area: 1 / 1; justify-self: center; align-self: stretch; left: auto; top: auto; width: min(520px, 82%); height: auto; aspect-ratio: auto;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; padding: 24px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(150deg,rgba(255,255,255,.10),rgba(255,255,255,.025));
  box-shadow: inset 0 1px rgba(255,255,255,.28),0 24px 48px rgba(0,0,0,.3);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translate3d(var(--card-x),0,var(--card-z)) rotateY(var(--card-rotation)) scale(var(--card-scale));
  transition: transform .58s cubic-bezier(.34,1.35,.64,1), background .38s ease, border-color .38s ease;
  color: #f5f7ff;
}
.haitu-news-home .is-glass-deck .is-active {
  --card-x: -8% !important;
  background: linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.035));
  border-color: rgba(255,255,255,.45); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px rgba(255,255,255,.45),0 26px 55px rgba(0,0,0,.4);
}
.haitu-news-home .is-glass-deck.is-single .haitu-news-home-card { --card-x: 0% !important; }
.haitu-news-home .is-glass-deck .haitu-news-card-title { margin: 0; flex: 0 0 auto; font-size: clamp(18px,1.6vw,23px); line-height: 1.4; display: block; overflow: visible; font-weight: 600; overflow-wrap: anywhere; }
.haitu-news-home .is-glass-deck .haitu-news-home-card:not(.is-active) .haitu-news-card-title { opacity: .35; }
.haitu-news-home .is-glass-deck .haitu-news-card-image { width: 100%; height: auto; min-height: 0; flex: 0 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; background: rgba(255,255,255,.06); }
.haitu-news-home .is-glass-deck .haitu-news-card-image.is-broken { visibility: hidden; }
.haitu-news-home .is-glass-deck .haitu-news-card-image img { position: absolute; inset: 0; object-fit: contain; opacity: .5; transition: opacity .38s; }
.haitu-news-home .is-glass-deck .is-active .haitu-news-card-image img { opacity: 1; }
.haitu-news-split { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: clamp(40px,5vw,72px); }
.haitu-news-visual { min-width: 0; }
.haitu-news-detail { position: relative; min-width: 0; }
.haitu-news-detail-meta { margin: 0 0 24px; color: #aeb7ce; font-size: 13px; line-height: 1.8; }
.haitu-news-detail-summary { margin: 0; color: #e0e4ee; font-size: clamp(17px,1.5vw,20px); line-height: 2; white-space: pre-line; overflow-wrap: anywhere; }
.haitu-news-home .haitu-news-detail-read { display: inline-flex; margin-top: 32px; padding-block: 10px; color: #fff; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; }
.haitu-news-detail [hidden] { display: none; }
@media(max-width: 900px) {
 .haitu-news-split { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .haitu-news-detail { max-width: 620px; width: 100%; margin-inline: auto; }
}
.haitu-news-deck-controls { display: flex; align-items: center; justify-content: center; gap: 20px; }
.haitu-news-deck-counter { color: #c1ceef; font-size: 13px; font-variant-numeric: tabular-nums; }
.haitu-news-deck-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #e6edff; border: 1px solid #6374a4; border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; }
.haitu-news-deck-dots { display: flex; gap: 2px; }
.haitu-news-deck-dots button { width: 28px; height: 44px; border: 0; border-radius: 0; }
.haitu-news-deck-dots button::after { content: ''; width: 7px; height: 7px; border-radius: 9px; background: #69799f; transition: width .2s; }
.haitu-news-deck-dots button[aria-pressed=true]::after { width: 22px; background: #bbcbff; }
.haitu-news-home :is(a,button):focus-visible { outline: 3px solid #d8e3ff; outline-offset: 5px; }
@media(max-width: 600px) {
 .haitu-news-home { padding-inline: 20px; }
 .haitu-news-home .is-glass-deck { height: auto; perspective-origin: 35% 50%; }
 .haitu-news-home .is-glass-deck .haitu-news-home-card { width: 88%; height: auto; padding: 18px; gap: 16px; border-radius: 18px; }
 .haitu-news-home .is-glass-deck .is-active { --card-x: -8% !important; }
 .haitu-news-home .is-glass-deck.is-single .is-active { --card-x: 0% !important; }
 .haitu-news-home .is-glass-deck .haitu-news-card-title { margin: 0; font-size: 16px; }
 .haitu-news-home .is-glass-deck .haitu-news-card-image { height: auto; flex-basis: auto; border-radius: 10px; }
 .haitu-news-deck-controls { gap: 8px; }
 .haitu-news-deck-dots button { width: 23px; }
}
@media(prefers-reduced-motion: reduce) {
 .haitu-news-home .is-glass-deck .haitu-news-home-card, .haitu-news-home .is-glass-deck img, .haitu-news-deck-dots button::after { transition: none; }
}
