/* Shared visual layer adapted from docs/品牌信息多页面小样. */
.integrated-site {
  --primary: #003f95;
  --primary-dark: #102a60;
  --green: #003f95;
  --green-soft: #edf3fb;
  --paper: #f5f7fa;
  --shadow: 0 2px 8px rgba(20,45,90,.06);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.site-container { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }
.brand-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.site-brand .site-lockup { display: block; width: auto; height: 56px; object-fit: contain; flex: 0 0 auto; }
.site-divider { width: 2px; height: 42px; margin: 0 2px; flex: 0 0 2px; background: #9aa8bd; }
.site-brand strong { color: var(--primary); font-size: 1.42rem; line-height: 1; white-space: nowrap; }
.site-nav { display: flex; gap: 5px; flex-shrink: 0; }
.site-nav a { padding: 8px 14px; border-radius: 6px; color: #475467; font-size: .94rem; font-weight: 700; }
.site-nav a:hover, .site-nav a.active { color: #fff; background: var(--primary); }
.site-brand:focus-visible, .site-nav a:focus-visible, .quick-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
html { scrollbar-gutter: stable; }
.integrated-site { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.integrated-site > main { flex: 1 0 auto; }
.integrated-site > .brand-header, .integrated-site > .brand-footer { flex-shrink: 0; }
.integrated-site > main { animation: content-enter .12s ease-out; }
@keyframes content-enter { from { opacity: .8; } to { opacity: 1; } }
.data-pending #articleList { min-height: 60vh; }
.data-pending #journalGrid { min-height: 65vh; }
.loading-skeleton { min-height: 210px; }
.loading-skeleton span { display: block; height: 14px; margin: 14px 0; border-radius: 5px; background: #e8edf3; }
.loading-skeleton span:nth-child(2) { height: 24px; width: 85%; }
.loading-skeleton span:last-child { width: 45%; }
.journal-loading { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.journal-loading::before { content: ""; height: 156px; border-radius: 5px; background: #e8edf3; }
.brand-footer { padding: 30px 0 22px; color: rgba(255,255,255,.8); background: #003f95; }
.brand-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand-footer .site-brand strong { color: #fff; }
.brand-footer .site-divider { background: rgba(255,255,255,.72); }
.site-related { display: flex; flex-direction: column; gap: 10px; }
.site-related > span { font-size: .96rem; font-weight: 700; }
.site-related > div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-related a { color: rgba(255,255,255,.84); font-size: .85rem; }
.site-related a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.72); font-size: .82rem; text-align: center; }
.page-kicker { margin: 0 0 10px; font-size: .76rem; letter-spacing: .1em; font-weight: 700; color: var(--primary); }
.page-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 38px; }
.page-intro h1 { margin: 0 0 10px; color: var(--primary-dark); font-size: 2rem; line-height: 1.3; }
.page-intro p:not(.page-kicker) { margin: 0; color: var(--muted); }
.intro-description-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.intro-updated { color: #7c8aa0; font-size: .84rem; white-space: nowrap; }
.page-intro .icon-button { flex: 0 0 42px; color: var(--primary); background: #fff; border-color: var(--line); }
.papers-overview { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview-counts, .overview-time { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .86rem; color: var(--muted); }
.overview-counts strong { color: var(--primary); font-size: 1.14rem; }
.papers-page .toolbar { grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(100px, 1fr)) auto; }
.papers-page .article-card, .home-page .article-card { border-radius: 12px; }
/* Preserve the original background framing after removing the 30px kicker row. */
/* Move reclaimed stats padding outside the panel to preserve framing and text positions. */
.home-hero { color: #fff; background: linear-gradient(90deg, rgba(10,30,50,.62), rgba(10,30,50,.3) 55%, rgba(10,30,50,.08)), url("/images/home-street-original.webp") center 58% / cover no-repeat; padding: 92px 0 50px; }
.home-hero h1, .home-lead, .home-meta { text-shadow: 0 1px 4px rgba(0,20,40,.65); }
.home-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.25; letter-spacing: .02em; }
.home-lead { max-width: 740px; margin: 18px 0 0; color: rgba(255,255,255,.84); font-size: 1.06rem; }
.home-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: rgba(255,255,255,.78); font-size: .85rem; }
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(10,30,50,.48); overflow: hidden; }
.home-stats > div { padding: 10px 26px; border-right: 1px solid rgba(255,255,255,.2); text-align: center; }
.home-stats > div:last-child { border: 0; }
.home-stats strong { display: block; font-size: 2rem; line-height: 1.3; }
.home-stats span { color: rgba(255,255,255,.75); font-size: .86rem; }
.home-main { padding-top: 40px; }
.site-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.site-section-heading h2 { margin: 0; font-size: 1.6rem; color: var(--primary-dark); }
.site-section-heading p { margin: 5px 0 0; color: var(--muted); font-size: .92rem; }
.section-more { color: var(--primary); font-size: .92rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quick-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.quick-icon { display: block; width: 2rem; height: 2rem; font-size: 1.85rem; line-height: 2rem; }
.quick-card:hover { border-color: #a5b8d5; box-shadow: 0 8px 24px rgba(20,45,90,.08); }
.quick-number { color: #7c8aa0; font-size: .8rem; }
.quick-card h3 { margin: 12px 0 8px; color: var(--primary-dark); font-size: 1.2rem; }
.quick-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.quick-link { display: inline-block; margin-top: 20px; color: var(--primary); font-size: .88rem; font-weight: 700; }
.home-latest { margin-top: 44px; }
.info-page main { padding-bottom: 60px; }
.about-grid { display: grid; grid-template-columns: 1.24fr .76fr; gap: 18px; margin-top: 28px; }
.about-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.about-card h2 { margin: 0 0 16px; color: var(--primary-dark); font-size: 1.35rem; line-height: 1.4; }
.about-card p, .about-card address { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.about-card p { margin: 0 0 14px; }
.about-card p:last-child { margin-bottom: 0; }
.about-card address { font-style: normal; overflow-wrap: anywhere; }
.keep-together { white-space: nowrap; }
.contact-label { color: #244653; font-weight: 800; }
.about-site { margin-top: 18px; }
.contact-note { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.journal-profile { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.journal-cover-wrap { display: grid; align-self: start; width: 112px; aspect-ratio: 3 / 4; place-items: center; overflow: hidden; border-radius: 8px; background: #edf2f7; }
.journal-cover { display: block; width: 100%; height: 156px; object-fit: cover; }
.journal-cover-placeholder { padding: 12px; color: #5d6b7c; font-size: .84rem; line-height: 1.45; font-weight: 700; text-align: center; }
.journal-letter-mark { position: relative; padding: 16px 10px; box-sizing: border-box; background: #1e3f8f url("/images/journals/journal-placeholder.svg?v=20260916-clean") center / contain no-repeat; color: #fff; text-align: center; }
.journal-letter-mark span { position: relative; font-family: Arial, sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.5; letter-spacing: .02em; overflow-wrap: anywhere; }
.journal-profile-body { display: flex; min-width: 0; flex-direction: column; gap: 12px; }
.journal-profile h2 { margin: 0; color: var(--primary-dark); font-size: 1.15rem; line-height: 1.5; }
.journal-profile .journal-publisher { color: #7c8aa0; font-size: .84rem; }
.journal-profile p { margin: 0; color: var(--muted); font-size: .96rem; }
.journal-profile footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .83rem; color: #8992a3; }
.journal-profile footer a { color: #bd283d; font-weight: 700; }
@media (max-width: 1100px) {
  .brand-header-inner { flex-wrap: wrap; justify-content: center; padding: 16px 0; gap: 14px; }
  .brand-footer-inner { flex-direction: column; align-items: flex-start; }
  .papers-page .toolbar { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 820px) {
  .papers-page .toolbar { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .quick-grid { gap: 12px; }
  .quick-card { padding: 18px; }
}
@media (max-width: 640px) {
  .site-container { width: calc(100% - 28px); }
  .site-brand .site-lockup { height: 42px; max-width: 55vw; }
  .site-brand strong { font-size: 1.03rem; }
  .site-brand { gap: 6px; }
  .site-divider { height: 32px; margin: 0 1px; }
  .site-nav { width: 100%; gap: 4px; }
  .site-nav a { flex: 1; padding: 8px 3px; font-size: .87rem; text-align: center; }
  .home-hero { padding: 68px 0 34px; }
  .home-lead { font-size: .96rem; }
  .home-stats { margin-top: 34px; }
  .home-stats > div { padding: 8px 12px; }
  .home-stats strong { font-size: 1.6rem; }
  .home-stats span { font-size: .78rem; }
  .home-main { padding-top: 28px; }
  .quick-grid, .journal-grid { grid-template-columns: 1fr; }
  .journal-profile { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .journal-cover-wrap { width: 86px; }
  .journal-cover { height: 122px; }
  .quick-card { padding: 20px; }
  .quick-link { margin-top: 12px; }
  .page-intro { padding-top: 26px; }
  .page-intro h1 { font-size: 1.7rem; }
  .page-intro p:not(.page-kicker) { font-size: .92rem; }
  .intro-description-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .overview-counts { gap: 8px 14px; }
  .about-card { padding: 22px; }
  .site-related > div { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .integrated-site > main { animation: none; }
}



/* Page visit bar - centered between content and blue footer */
.page-visit-bar {
  padding: 12px 0 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: #64748b;
}
.page-visit-bar strong {
  font-weight: 600;
}
/* Tighten spacing above visit bar */
.home-main { margin-bottom: 0; padding-bottom: 24px; }
.papers-page > main { margin-bottom: 0; padding-bottom: 24px; }
.info-page main { padding-bottom: 24px; }
@media (max-width: 640px) {
  .page-visit-bar { font-size: 13px; }
  .home-main { margin-bottom: 0; padding-bottom: 20px; }
  .papers-page > main { margin-bottom: 0; padding-bottom: 20px; }
  .info-page main { padding-bottom: 20px; }
}
