@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --blue: #163e82;
  --blue-light: #285b98;
  --blue-deep: #0e2c60;
  --red: #bd5252;
  --ink: #202a38;
  --muted: #697586;
  --line: #e2e8f0;
  --soft: #f5f7fa;
  --bg: #fff;
  --link: #1d4f91;
  --max: 1200px;
  --pad: clamp(1rem, 3vw, 1.75rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.65 "Open Sans", "Noto Sans SC", Arial, sans-serif;
}

main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }

h1,
h2,
h3 {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

p { margin: 0 0 .85rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 100;
  padding: .55rem .9rem;
  background: var(--red);
  color: #fff;
}
.skip:focus { left: .5rem; top: .5rem; }

.btn,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem 1rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
.search-form button:hover { border-color: var(--blue-deep); background: var(--blue-deep); color: #fff; text-decoration: none; }
.btn-outline { border-color: #fff; background: transparent; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue); }
.btn-outline-secondary { border-color: #aebdcd; background: #fff; color: var(--blue); }
.btn-outline-secondary:hover { border-color: var(--blue); background: #eef4fa; color: var(--blue); }
.text-link { color: var(--blue); font-size: .9rem; font-weight: 700; }

.headline-strip { border-bottom: 1px solid var(--line); background: #fff; }
.headline-strip .wrap {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.headline-strip strong {
  flex: 0 0 auto;
  padding: .15rem .55rem;
  background: var(--red);
  color: #fff;
  font-size: .82rem;
}
#homeHeadlines {
  min-width: 0;
  display: flex;
  gap: 1.25rem;
  overflow: hidden;
}
#homeHeadlines a {
  overflow: hidden;
  color: #526273;
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section { padding: 3rem 0; }
.section--soft { background: var(--soft); }
.section-head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #cfd9e5;
}
.section-head::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 76px;
  height: 3px;
  background: var(--red);
  content: "";
}
.section-head h2 { margin: 0; color: var(--blue); font-size: 1.35rem; }
.section-head > a { font-size: .88rem; font-weight: 700; }
.section-head--compact { margin-bottom: .6rem; padding-bottom: .45rem; }
.section-head--compact h2 { font-size: 1.02rem; }
.section-head--compact::after { width: 52px; height: 2px; }

.home-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, .95fr);
  gap: 2.2rem;
}
.home-focus {
  min-width: 0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(18, 53, 100, .08);
}
.home-focus__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 1.1rem;
  border-bottom: 1px solid #cfd9e5;
}
.home-focus__head::after {
  position: absolute;
  bottom: -1px;
  left: 1.1rem;
  width: 64px;
  height: 3px;
  background: var(--red);
  content: "";
}
.home-focus__head h2 { margin: 0; color: var(--blue); font-size: 1.1rem; }
.home-focus__head > a { font-size: .82rem; font-weight: 700; }
.home-focus__lead {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
  gap: 1.15rem;
  padding: 1rem 1.1rem .75rem;
}
.home-focus__image { height: 168px; overflow: hidden; }
.home-focus__image img { width: 100%; height: 100%; object-fit: cover; }
.home-focus__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.news-tag {
  align-self: flex-start;
  margin-bottom: .8rem;
  padding: .13rem .45rem;
  background: #e9eff7;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 700;
}
.home-focus h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.home-focus h3 a { color: var(--ink); }
.home-focus p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.home-focus__lead p {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.home-focus__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.2rem;
  padding: 0 1.1rem .75rem;
}
.home-focus__list article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .6rem;
  padding: .55rem 0;
  border-top: 1px dashed #d6dee8;
  font-size: .84rem;
}
.home-focus__list a {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-focus__list time { color: var(--red); font-size: .72rem; }
.news-tabs { display: grid; gap: 1.25rem; }
.news-tab { min-width: 0; }
.portal-news-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px dashed #d6dee8;
}
.portal-news-item time { color: var(--red); font-size: .78rem; }
.portal-news-item h3 {
  overflow: hidden;
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-news-item h3 a { color: var(--ink); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e9f0;
}
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card .body { padding: 1rem; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  color: var(--muted);
  font-size: .78rem;
}
.meta span { color: var(--blue); font-weight: 700; }
.news-card h3 { margin: .45rem 0; font-size: 1rem; }
.news-card h3 a { color: var(--ink); }
.news-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.article-image { width: 100%; max-height: 390px; margin: 1rem 0; object-fit: cover; }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1.4rem;
}
.journal-card { min-width: 0; }
.journal-card a { display: block; color: inherit; text-decoration: none; }
.journal-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #eff3f8;
  box-shadow: 0 4px 12px rgba(19, 48, 91, .11);
}
.journal-card a > div { margin-top: .65rem; text-align: center; }
.journal-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: .25rem 0;
  font-size: .98rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.journal-card a:hover h3 { color: var(--blue); text-decoration: underline; }
.journal-card .meta { margin: 0; justify-content: center; }
.badge {
  display: inline-block;
  padding: .12rem .42rem;
  font-size: .7rem;
  font-weight: 700;
}
.badge-demo { background: #e9eff7; color: var(--blue); }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.resource-card {
  display: block;
  overflow: hidden;
  padding-bottom: 1rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 9px rgba(18, 53, 100, .07);
}
.resource-card:hover { color: inherit; text-decoration: none; }
.resource-card img { width: 100%; height: 156px; object-fit: cover; background: #e6edf7; }
.resource-card__label {
  margin: .9rem 1rem .25rem;
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
}
.resource-card h3 { margin: 0 1rem .35rem; font-size: 1.05rem; }
.resource-card > p:not(.resource-card__label) { margin: 0 1rem; color: var(--muted); font-size: .87rem; }

.crumb {
  margin: 10px 0 0;
}
.crumb .wrap {
  height: 41px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 1.1rem 0 2.75rem;
  border: 1px solid #fbfcfd;
  background: #fff url("../img/portal/postion.png") 18px center no-repeat;
  /* box-shadow: 0 0 15px #e6e6e6; */
  color: #666;
  font-size: 16px;
  line-height: 41px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.crumb a { color: #666; text-decoration: none; }
.crumb a:hover { color: #265b97; text-decoration: none; }
.crumb-sep { padding: 0 .35rem; color: #999; }
.page-heading { padding: 1.35rem 0 0; }
.page-heading h1 {
  margin: 0;
  color: var(--blue);
  font-size: 1.55rem;
}
.page-heading p {
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.page-heading + .section { padding-top: 1.5rem; }
.crumb + .section { padding-top: 1.5rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip {
  padding: .38rem .76rem;
  border: 1px solid #cbd7e4;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: .86rem;
  text-decoration: none;
}
.chip:hover,
.chip.is-on { border-color: var(--blue); background: var(--blue); color: #fff; text-decoration: none; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}
.page-link {
  padding: .4rem .9rem;
  border: 1px solid #cbd7e4;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: .88rem;
}
.page-link:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.page-info { color: #64748b; font-size: .88rem; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
  gap: 2rem;
  align-items: start;
}
.prose { max-width: 820px; }
.two-col .prose { max-width: none; }
.prose h2 { margin-top: 1.6rem; color: var(--blue); font-size: 1.2rem; }
.prose ul { padding-left: 1.25rem; }

/* 后台富文本正文（新闻正文、期刊宗旨与范围）渲染样式 */
.prose h1 { margin-top: 1.6rem; color: var(--blue); font-size: 1.35rem; }
.prose h3 { margin-top: 1.4rem; color: var(--blue); font-size: 1.08rem; }
.prose h4,
.prose h5 { margin: 1.2rem 0 .5rem; color: var(--blue); font-size: 1rem; }
.prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose img {
  margin: 1rem 0;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}
.prose a { text-decoration: underline; }
.prose blockquote {
  margin: 1rem 0;
  padding: .6rem 1rem;
  border-left: 3px solid var(--blue);
  background: var(--soft);
  color: var(--muted);
}
.prose pre {
  margin: 1rem 0;
  padding: .9rem 1rem;
  overflow-x: auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: .9rem;
}
.prose code { font-family: Consolas, Monaco, monospace; }
.prose table {
  /* 富文本表格过宽时在自身内部横向滚动，避免撑破移动端页面 */
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: .95rem;
}
.prose th,
.prose td {
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th { background: var(--soft); font-weight: 600; }
.prose hr { margin: 1.4rem 0; border: 0; border-top: 1px solid var(--line); }
.side-box {
  padding: 1.25rem;
  border-top: 4px solid var(--red);
  background: var(--soft);
}
.side-box h2 { color: var(--blue); font-size: 1.1rem; }

.journal-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.journal-hero img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  background: #e8edf5;
  box-shadow: 0 7px 16px rgba(18, 53, 100, .16);
}
.kv {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: .45rem .8rem;
  margin: 1rem 0;
  font-size: .92rem;
}
.kv dt { color: var(--muted); }
.alert {
  margin: .85rem 0;
  padding: .75rem .9rem;
  border-left: 4px solid var(--red);
  background: #fff5f5;
  color: #7d3131;
  font-size: .9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

form.stack { display: grid; gap: 1rem; }
label {
  display: block;
  margin-bottom: .35rem;
  color: #334155;
  font-size: .9rem;
  font-weight: 700;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
input:focus,
select:focus,
textarea:focus { outline: 2px solid #a9c6e8; outline-offset: 1px; border-color: var(--blue-light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; }
.form-check input { margin-top: .35rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.toast {
  padding: .8rem .9rem;
  border-left: 4px solid var(--blue);
  background: #edf5ff;
  color: #164174;
}
.toast[hidden] { display: none; }
.required { color: #e53935; margin-left: .25rem; font-weight: 700; }
.toast.error { border-left-color: var(--red); background: #fff5f5; color: #7d3131; }
.alert {
  margin: .85rem 0;
  padding: .75rem .9rem;
  border-left: 4px solid var(--red);
  background: #fff5f5;
  color: #7d3131;
  font-size: .9rem;
}
#submissionForm label { display: inline-block; }
.submission-notes ol { margin: 0; padding-left: 1.2rem; }
.submission-notes li { margin: .55rem 0; }

.international-cover { width: 200px; height: auto; box-shadow: 0 8px 20px rgba(18, 53, 100, .16); }
.international-intro { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; align-items: start; }

.lang-en { display: none; }
html[lang="en"] .lang-zh { display: none; }
html[lang="en"] .lang-en { display: revert; }

#site-header { position: relative; z-index: 50; }

@media (max-width: 980px) {
  .home-news__grid { grid-template-columns: 1fr; }
  .news-tabs { grid-template-columns: repeat(3, 1fr); }
  .journal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .headline-strip .wrap { align-items: flex-start; flex-direction: column; gap: .4rem; padding-top: .55rem; padding-bottom: .55rem; }
  #homeHeadlines { width: 100%; }
  .home-focus__lead { grid-template-columns: 1fr; }
  .home-focus__image { height: 190px; min-height: 0; }
  .home-focus__list { grid-template-columns: 1fr; }
  .news-tabs { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .two-col,
  .international-intro { grid-template-columns: 1fr; }
  .journal-hero { grid-template-columns: 130px minmax(0, 1fr); gap: 1.1rem; }
  .journal-hero img { width: 130px; height: 174px; }
}

@media (max-width: 520px) {
  .section { padding: 2rem 0; }
  .crumb .wrap {
    height: auto;
    min-height: 41px;
    padding: .55rem var(--pad) .55rem 2.55rem;
    line-height: 1.5;
    white-space: normal;
  }
  .page-heading { padding-top: 1rem; }
  .home-focus__body { padding: 0; }
  .home-focus__head h2 { font-size: 1.05rem; }
  .news-grid,
  .journal-grid { grid-template-columns: 1fr; }
  .news-card img { height: 190px; }
  .journal-hero { grid-template-columns: 1fr; }
  .journal-hero img { width: 150px; height: 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: .15rem; }
}

/* Original compact banner mosaic. */
.feature-mosaic { padding: 1.5rem 0 0; background: #fff; }
.feature-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 500px;
  padding-right: var(--pad);
  padding-left: var(--pad);
}
.feature-main,
.feature-tile {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.feature-main:hover,
.feature-tile:hover { color: #fff; text-decoration: none; }
.feature-main img,
.feature-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.feature-main:hover img,
.feature-tile:hover img { transform: scale(1.015); }
.feature-main__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(14, 44, 96, .9), rgba(14, 44, 96, .04) 68%);
}
.feature-main__overlay p {
  margin: 0 0 .35rem;
  color: #f5d76e;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.feature-main__overlay h1 { max-width: 22ch; margin: 0 0 .5rem; color: #fff; font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
.feature-main__overlay > span { font-size: .82rem; font-weight: 700; }
.feature-side {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.feature-tile { border-bottom: 2px solid #fff; border-left: 2px solid #fff; }
.feature-tile--wide { grid-column: 1 / -1; }
.feature-tile > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: .7rem .85rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent);
  font-size: .82rem;
  font-weight: 700;
}

@media (min-width: 769px) {
  #site-header,
  main { min-width: 1200px; }

  .headline-strip .wrap,
  .feature-mosaic__grid,
  .crumb .wrap,
  .page-heading .wrap { width: 1200px; }
}

@media (max-width: 768px) {
  .feature-mosaic { padding-top: .85rem; }
  .feature-mosaic__grid { grid-template-columns: 1fr; height: auto; }
  .feature-main { height: 230px; }
  .feature-side { height: 220px; }
  .feature-tile { border-top: 2px solid #fff; border-left: 0; }
}

@media (max-width: 520px) {
  .feature-main { height: 200px; }
  .feature-side { height: 190px; }
  .feature-main__overlay { padding: 1.15rem; }
  .feature-main__overlay h1 { font-size: 1.25rem; }
}
