@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 {
  --green: #006233;
  --green-dark: #004627;
  --green-deep: #00331c;
  --gold: #ffcb00;
  --ink: #222;
  --muted: #5a5a5a;
  --line: #e6e6e6;
  --bg: #fff;
  --soft: #f4f4f4;
  --link: #006233;
  --max: 1220px;
  --pad: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Open Sans", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--green-dark); }
h1, h2, h3 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 0.8rem; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #111; padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.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); }

/* AU 首页同层级头部：NOW 条、欢迎/社交条、品牌与年度主题、等宽导航 */
.au-now { background: #0e591a; color: #fff; font-size: 11px; }
.au-now .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.au-now__label {
  display: inline-grid;
  place-items: center;
  align-self: stretch;
  min-width: 58px;
  margin-left: calc(var(--pad) * -1);
  background: #c9c09b;
  color: #1c1c1c;
  font-size: 10px;
  font-weight: 700;
}
.au-now > .wrap > a {
  min-width: 0;
  flex: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-now time { color: #d9e9dc; white-space: nowrap; }
.au-now__languages { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.au-now__languages button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: .15rem .2rem;
  font: inherit;
  cursor: pointer;
}
.au-now__languages .is-on { color: #ffda45; font-weight: 700; }
.utility-strip { height: 38px; background: #fff; border-bottom: 1px solid #ddd; font-size: 11px; }
.utility-strip .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.welcome-tab {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 82px;
  padding: 0 .65rem;
  background: #a31954;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.utility-strip__right { display: flex; align-items: center; gap: 1rem; color: #555; }
.social-links { display: flex; gap: .35rem; }
.social-links a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}
.masthead { background: #fff; padding: 1rem 0 .8rem; }
.masthead .wrap { min-height: 116px; display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: center; gap: 2.5rem; }
.brand-lockup { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.brand-lockup:hover { text-decoration: none; }
.logo { width: 76px; height: 76px; flex: 0 0 auto; }
.brand-text { min-width: 0; }
.brand-text strong {
  display: block;
  color: #a31954;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
}
.brand-text small {
  display: block;
  margin-top: .25rem;
  color: #666;
  font-size: 10px;
  line-height: 1.35;
}
.theme-banner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1.35rem;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(0, 98, 51, .97), rgba(0, 70, 39, .86)),
    url("../img/news/n5.jpg") center 48% / cover no-repeat;
  border-left: 6px solid var(--gold);
}
.theme-banner__year {
  color: var(--gold);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: .8;
  letter-spacing: .03em;
}
.theme-banner__copy strong { display: block; font-size: 1.1rem; line-height: 1.25; }
.theme-banner__copy small { display: block; margin-top: .3rem; color: #deeee4; font-size: .78rem; }
.search-form button, .btn {
  font: inherit; cursor: pointer; border: 0;
  background: var(--green); color: #fff;
  font-weight: 700; padding: 0.5rem 1rem;
}
.search-form button:hover, .btn:hover { background: var(--green-dark); text-decoration: none; color: #fff; }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: #e6b800; color: #111; }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--green); }
.btn-ghost { background: #fff; color: var(--green); border: 1px solid var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.menu-btn {
  display: none;
  background: var(--green); color: #fff; border: 0;
  padding: 0.45rem 0.75rem; font: inherit; font-weight: 700; cursor: pointer;
}

/* 等宽扁平导航；当前页使用 AU 同类米色 */
.nav-bar { background: #fff; border-bottom: 3px solid #c9c09b; }
.nav-bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; }
.nav-bar > .wrap > ul > li { position: relative; }
.nav-bar a {
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 0 .65rem;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 0;
}
.nav-bar > .wrap > ul > li:not(.nav-search) { flex: 1 1 auto; background: var(--green); }
.nav-bar a:hover, .nav-bar a.is-active {
  background: #c9c09b; color: #111; text-decoration: none;
}
.dropdown {
  display: none; position: absolute; left: 0; top: 100%;
  background: #fff; min-width: 230px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 30;
}
.nav-bar li:hover > .dropdown, .nav-bar li:focus-within > .dropdown { display: block; }
.dropdown a {
  color: #222; padding: 0.65rem 1rem; border-bottom: 1px solid var(--line); border-bottom-width: 1px;
  white-space: normal; font-weight: 500;
}
.dropdown a:hover { background: #f3f8f4; color: var(--green); border-bottom-color: var(--line); }
.nav-search { width: 150px; background: var(--green); }
.nav-search form { height: 50px; display: flex; }
.nav-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  padding: 0 .55rem;
  font: inherit;
  font-size: 11px;
}
.nav-search input::placeholder { color: rgba(255,255,255,.75); }
.nav-search button {
  width: 44px;
  border: 0;
  background: var(--green-dark);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

main { flex: 1; }

/* 导航下方的大图拼贴 Banner，比例与 AU 首页首屏一致 */
.feature-mosaic { padding: 1.5rem 0 0; background: #fff; }
.feature-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 390px;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.feature-main,
.feature-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.feature-main:hover,
.feature-tile:hover { color: #fff; text-decoration: none; }
.feature-main img,
.feature-tile img {
  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;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(0, 40, 21, .88), rgba(0, 40, 21, .02) 68%);
}
.feature-main__overlay p {
  margin: 0 0 .35rem;
  color: var(--gold);
  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;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.feature-tile { border-left: 2px solid #fff; border-bottom: 2px solid #fff; }
.feature-tile--wide { grid-column: 1 / -1; }
.feature-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .7rem .85rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent);
  font-size: .82rem;
  font-weight: 700;
}

.section { padding: 2.25rem 0; }
.section--soft { background: var(--soft); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid #c9c9c9;
  padding-bottom: 0.45rem;
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 76px;
  height: 3px;
  background: var(--green);
}
.section-head h2 { margin: 0; font-size: 1.5rem; color: #111; }
.section-head a { font-size: 0.9rem; font-weight: 700; }

/* Latest: borderless photo cards */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 1.45rem;
}
.latest-card { color: inherit; text-decoration: none; min-width: 0; }
.latest-card:hover { text-decoration: none; color: inherit; }
.latest-card img { width: 100%; height: 176px; object-fit: cover; }
.latest-card time {
  display: block; margin: 0.65rem 0 0.25rem;
  font-size: 13px; color: var(--muted);
}
.latest-card h3 {
  font-size: 1rem; margin: 0 0 0.35rem;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.latest-card:hover h3 { color: var(--green); text-decoration: underline; }
.latest-card p {
  font-size: 0.9rem; color: var(--muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 中心动态：日期 + 标题信息流 */
.home-information { background: #fff; border: 0; }
.center-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.center-item:last-child { border-bottom: 0; }
.center-item time {
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  padding-top: .13rem;
}
.center-item__category {
  margin: 0 0 .18rem;
  color: #777;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.center-item h3 { margin: 0 0 .25rem; font-size: .98rem; }
.center-item h3 a { color: #1c1c1c; }
.center-item h3 a:hover { color: var(--green); }
.center-item > div > p:last-child {
  color: var(--muted);
  font-size: .84rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 期刊封面目录（首页 / 期刊列表共用） */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1.45rem;
}
.journal-card { min-width: 0; }
.journal-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.journal-card a:hover { text-decoration: none; color: inherit; }
.journal-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #1a1a1a;
}
.journal-card a > div { margin-top: .55rem; }
.journal-card h3 {
  font-size: .98rem;
  margin: .2rem 0 .25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.journal-card a:hover h3 { color: var(--green); text-decoration: underline; }
.journal-card .meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 0.12rem 0.4rem; margin-right: 0.25rem;
}
.badge-gold { background: var(--gold); color: #111; }
.badge-demo { background: #e8eee9; color: var(--green-dark); }

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.chip {
  border: 1px solid #ccc; background: #fff; padding: 0.35rem 0.8rem;
  cursor: pointer; font: inherit; font-size: 0.88rem; color: #333;
}
a.chip { color: #333; text-decoration: none; display: inline-block; }
.chip.is-on, a.chip.is-on { background: var(--green); color: #fff; border-color: var(--green); }

/* 合作单位：Key Resources 图块 */
.partners-section { padding-top: .4rem; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1.45rem;
}
.resource-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.resource-card:hover { color: inherit; text-decoration: none; }
.resource-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  display: block;
}
.resource-card__label {
  margin: .65rem 0 .2rem;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.resource-card h3 {
  font-size: 1rem;
  margin: 0 0 .35rem;
}
.resource-card:hover h3 { color: var(--green); text-decoration: underline; }
.resource-card > p:not(.resource-card__label) {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-hero {
  background: var(--green);
  color: #fff;
  padding: 1.35rem 0 1.4rem;
}
.page-hero h1 { color: #fff; margin: 0.15rem 0 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.crumb { font-size: 13px; color: #d4eadb; margin: 0; }
.crumb a { color: var(--gold); }

.prose { padding: 0.2rem 0 1rem; max-width: 820px; }
.two-col .prose { max-width: none; }
.prose h2 { font-size: 1.2rem; color: var(--green); margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.two-col {
  display: grid; grid-template-columns: 1.45fr 0.85fr; gap: 2rem; align-items: start;
}
.side-box {
  background: var(--soft); padding: 1.1rem 1.15rem;
  border-top: 4px solid var(--green);
}

.journal-hero {
  display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem;
  padding: 0.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.journal-hero img {
  width: 170px; height: 226px; object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.kv { display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.4rem 0.7rem; font-size: 0.95rem; margin: 0.8rem 0; }
.kv dt { color: var(--muted); }
.alert {
  background: #fff8dc; border-left: 4px solid var(--gold);
  padding: 0.7rem 0.9rem; font-size: 0.9rem; margin: 0.8rem 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.news-card { color: inherit; }
.news-card img { width: 100%; height: 170px; object-fit: cover; }
.news-card .body { padding: 0.7rem 0 0; }
.news-card h3 { font-size: 1.05rem; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 0.6rem; flex-wrap: wrap; }

form.stack { display: grid; gap: 0.8rem; }
label { font-size: 0.88rem; font-weight: 700; color: #111; display: block; margin-bottom: 0.25rem; }
input[type="text"], input[type="email"], input[type="number"], input[type="file"],
select, textarea {
  width: 100%; padding: 0.55rem 0.7rem; border: 1px solid #ccc;
  font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
table.plain { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.plain th, table.plain td { border-bottom: 1px solid var(--line); padding: 0.7rem 0.5rem; text-align: left; }
table.plain th { background: var(--soft); color: var(--green-dark); }

.out-list { display: grid; gap: 0; }
.out-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.out-row img { width: 64px; height: 86px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.12); }

a.ext::after { content: " ↗"; font-size: 0.78em; opacity: 0.75; }

footer.site {
  background: var(--green-deep); color: #d5e6dc;
  padding: 2.2rem 0 1.2rem; margin-top: 2rem; font-size: 0.9rem;
}
footer.site h3 { color: var(--gold); font-size: 0.95rem; margin: 0 0 0.7rem; }
footer.site a { color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0.35rem 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.4rem; }
.foot-note {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 1.4rem; padding-top: 0.9rem; font-size: 12px; color: #9bb8a8;
}

.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: 1024px) {
  .latest-grid, .journal-grid, .news-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .masthead .wrap { grid-template-columns: 280px minmax(0, 1fr); gap: 1.5rem; }
  .nav-bar a { padding: 0 .4rem; font-size: 10px; }
  .nav-search { width: 120px; }
  .feature-mosaic__grid { min-height: 330px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .au-now > .wrap > a, .au-now time { display: none; }
  .au-now__languages { margin-left: 0; }
  .utility-strip__right > span:first-child { display: none; }
  .masthead { padding: .9rem 0; }
  .masthead .wrap { min-height: 0; grid-template-columns: 1fr; gap: .9rem; }
  .brand-lockup { width: min(100%, 320px); }
  .theme-banner { min-height: 66px; padding: .55rem .8rem; }
  .theme-banner__year { font-size: 1.35rem; }
  .theme-banner__copy strong { font-size: .82rem; }
  .theme-banner__copy small { font-size: .66rem; }
  .nav-bar { background: #fff; border-bottom-color: var(--green); }
  .nav-bar .wrap { padding-top: .35rem; padding-bottom: .35rem; }
  .menu-btn { background: #c9c09b; color: #111; min-width: 92px; text-align: left; }
  .menu-btn::before { content: "☰  "; }
  .nav-bar ul { display: none; flex-direction: column; margin-top: .35rem; }
  .nav-bar.is-open ul { display: flex; }
  .nav-bar > .wrap > ul > li:not(.nav-search) { flex: none; }
  .nav-bar a { height: 42px; display: flex; justify-content: flex-start; padding: 0 .8rem; }
  .dropdown { position: static; display: block; box-shadow: none; background: var(--green-dark); }
  .dropdown a { color: #fff; border-bottom-color: rgba(255,255,255,.12); }
  .nav-search { width: 100%; }
  .nav-search form { height: 42px; }
  .feature-mosaic { padding-top: .85rem; }
  .feature-mosaic__grid { grid-template-columns: 1fr; min-height: 0; }
  .feature-main { height: 270px; }
  .feature-side { min-height: 260px; }
  .feature-tile { border-left: 0; border-top: 2px solid #fff; }
  .two-col, .journal-hero { grid-template-columns: 1fr; }
  .journal-hero img { width: 130px; height: 174px; }
  .out-row { grid-template-columns: 52px 1fr; }
  .out-row .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .logo { width: 64px; height: 64px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { font-size: 8px; }
  .latest-grid, .journal-grid, .news-grid, .foot-grid, .resource-grid { grid-template-columns: 1fr; }
  .center-item { grid-template-columns: 1fr; gap: .3rem; }
  .center-item time { padding-top: 0; }
  .latest-card img { height: 190px; }
  .resource-card img { height: 180px; }
  .feature-main { height: 225px; }
  .feature-side { min-height: 215px; }
  .feature-main__overlay { padding: 1.15rem; }
  .feature-main__overlay h1 { font-size: 1.25rem; }
  .kv { grid-template-columns: 1fr; }
  table.plain { display: block; overflow-x: auto; }
}
