﻿/* ==========================================================================
   灵石一中高二四部 · 站点样式
   ========================================================================== */

:root {
  --purple: #6B4B9E;
  --purple-mid: #8A66BF;
  --purple-dark: #3F2A63;
  --purple-deep: #2C1C45;
  --purple-soft: #EDE6F7;
  --purple-tint: #F7F3FC;

  --blue: #1B57B8;
  --blue-dark: #0F3A80;

  --ink: #221C2C;
  --ink-2: #514A60;
  --ink-3: #8C8498;
  --line: #E5DFEE;
  --bg: #F7F5FB;
  --white: #fff;

  --wrap: 1200px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
          "微软雅黑", system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; vertical-align: middle; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--purple); color: #fff; padding: 10px 18px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid #f0a72b; outline-offset: 2px; }

/* ==========================================================================
   顶部标识栏
   ========================================================================== */
.brand-bar {
  position: relative;
  height: 196px;
  overflow: hidden;
  background: var(--white);
}

/* 左梯形：上宽下窄；右倒梯形：与左侧完全互补，斜边拼合无留白 */
.brand-left,
.brand-right {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  color: #fff;
}
.brand-left {
  background: linear-gradient(128deg, var(--blue) 0%, var(--blue-dark) 100%);
  clip-path: polygon(0 0, 52% 0, 40.5% 100%, 0 100%);
  padding-left: 58px;
}
.brand-right {
  background: linear-gradient(232deg, var(--purple) 0%, var(--purple-deep) 100%);
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 40.5% 100%);
  justify-content: flex-end;
  padding-right: 58px;
}
.brand-left .inner,
.brand-right .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 35%;
}

.brand-left::after,
.brand-right::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 70%);
}

.brand-gap { flex: 1 1 auto; background: var(--white); }

.brand-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.logo {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.logo-sibu { background: rgba(255, 255, 255, .1); }

.anchor-name {
  font-size: 16px;
  letter-spacing: .08em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .95);
  font-weight: 500;
}

.motto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.motto .line {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .2em;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.motto .indent { margin-left: 1.15em; }
.motto-right { text-align: right; }
.motto-right .indent { margin-left: 0; margin-right: 0; padding-right: 1.15em; }

/* ==========================================================================
   四个板块入口
   ========================================================================== */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px 30px 32px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.nav-card:last-child { border-right: 0; }

.nav-card::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s cubic-bezier(.22, .61, .36, 1);
}

.nc-no {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--purple-mid);
  transition: color .3s;
}
.nc-title {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  transition: color .3s;
}
.nc-en {
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color .3s;
}
.nc-arrow {
  position: absolute; right: 28px; bottom: 30px;
  font-size: 20px; color: var(--purple-mid);
  transition: transform .3s ease, color .3s ease;
}

.nav-card:hover { background: var(--purple); transform: translateY(-2px); }
.nav-card:hover::before { transform: scaleX(1); }
.nav-card:hover .nc-title { color: #fff; }
.nav-card:hover .nc-no,
.nav-card:hover .nc-en { color: rgba(255, 255, 255, .7); }
.nav-card:hover .nc-arrow { color: #fff; transform: translateX(6px); }

/* ==========================================================================
   分隔线
   ========================================================================== */
.divider {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 1080px;
  margin: 62px auto 0;
  padding: 0 32px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D8D1E4 40%, #D8D1E4 60%, transparent);
}
.divider span {
  flex: 0 0 auto;
  font-size: 14.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

/* ==========================================================================
   首页板块
   ========================================================================== */
.section { padding: 62px 0 0; }
.section:last-of-type { padding-bottom: 30px; }

.sec-title {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--purple-dark);
  position: relative;
  padding-bottom: 22px;
}
.sec-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 54px; height: 4px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
}
.sec-title-small { font-size: 32px; }

.overview-text {
  max-width: 940px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 2.15;
  color: var(--ink-2);
}
.overview-text p + p { margin-top: 12px; }

/* 要闻 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin: 36px auto 0;
}

.news-item {
  display: grid;
  grid-template-columns: 88px 1fr 30px;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: 12px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.news-item:hover {
  border-left-color: var(--purple);
  box-shadow: 0 10px 28px rgba(63, 42, 99, .1);
  transform: translateY(-2px);
}

.news-date {
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  background: var(--purple-tint);
  border: 1px solid var(--line);
  line-height: 1.2;
  transition: background .25s, border-color .25s;
}
.news-item:hover .news-date { background: var(--purple); border-color: var(--purple); }
.news-date .d {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}
.news-date .m {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: .06em;
}
.news-item:hover .news-date .d,
.news-item:hover .news-date .m { color: #fff; }
.news-date.is-text .d { font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.news-date.is-text .m { margin-top: 2px; font-size: 11.5px; }

.news-body { display: block; min-width: 0; }
.news-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 3px;
  padding: 2px 9px;
  margin-bottom: 8px;
}
.news-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
  transition: color .25s;
}
.news-item:hover .news-title { color: var(--purple); }
.news-sum {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-arrow { font-size: 20px; color: #C9C2D6; transition: transform .25s, color .25s; }
.news-item:hover .news-arrow { color: var(--purple); transform: translateX(5px); }

.news-more {
  text-align: center;
  font-size: 24px;
  letter-spacing: .5em;
  color: #B9B0C9;
  margin: 18px 0 0;
}

/* ==========================================================================
   子页
   ========================================================================== */
.subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}
.subnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--purple-dark);
}
.subnav-brand img { width: 34px; height: 34px; border-radius: 50%; }
.subnav-links { display: flex; align-items: center; gap: 4px; }
.subnav-links a {
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--ink-2);
  letter-spacing: .04em;
  transition: color .2s, background .2s;
}
.subnav-links a:hover { color: var(--purple); background: var(--purple-tint); }
.subnav-links a[aria-current="page"] { color: var(--purple); font-weight: 600; background: var(--purple-soft); }

.sub-head {
  padding: 68px 0 44px;
  text-align: center;
  background:
    radial-gradient(900px 260px at 50% -40%, rgba(107, 75, 158, .16), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.sub-head h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--purple-dark);
}
.sub-head .sub-en {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sub-body { padding: 54px 0 40px; }

/* 介绍页 */
.intro-card {
  max-width: 940px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 46px 52px;
  box-shadow: 0 12px 34px rgba(63, 42, 99, .06);
}
.intro-card p {
  font-size: 17px;
  line-height: 2.15;
  color: var(--ink-2);
  margin-bottom: 18px;
  text-indent: 2em;
}
.intro-card p:last-child { margin-bottom: 0; }

.slogan-band {
  max-width: 940px;
  margin: 30px auto 0;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(120deg, var(--purple-dark), var(--purple));
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .2em;
  box-shadow: 0 14px 34px rgba(63, 42, 99, .22);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 940px;
  margin: 26px auto 0;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple-mid);
  border-radius: 10px;
  padding: 22px 24px;
}
.fact dt { font-size: 12.5px; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 8px; }
.fact dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.7; }

/* 风采页 */
.gallery-lead {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16.5px;
  line-height: 2.1;
  color: var(--ink-2);
}

.photo-grid {
  column-count: 2;
  column-gap: 18px;
}
.photo-item {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 8px 24px rgba(63, 42, 99, .1);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 18px;
}
.photo-item:first-child { column-span: all; }
.photo-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.photo-item:hover img { transform: scale(1.04); }
.photo-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44, 28, 69, .55), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
}
.photo-item:hover::after { opacity: 1; }
.photo-cap {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.photo-item:hover .photo-cap { opacity: 1; transform: none; }

/* 制作人员 */
.credits {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 10px;
}
.credit-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}
.credit-role {
  font-size: 21px;
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--purple);
  max-width: 820px;
}
.credit-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.credit-name-row .who {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--purple-dark);
}
.shuai {
  height: 190px;
  width: auto;
  filter: drop-shadow(0 12px 22px rgba(63, 42, 99, .22));
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.credit-main {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
  text-align: left;
}
.credit-main .role { color: var(--purple); }
.credit-main .who {
  display: inline-block;
  margin-left: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--purple-dark);
}

.credit-divider {
  width: 60px; height: 3px; margin: 34px auto;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
}

.credit-thanks { font-size: 15px; line-height: 2.1; color: var(--ink-2); }
.credit-thanks p + p { margin-top: 10px; }
.credit-thanks .small { font-size: 14px; color: var(--ink-3); }
.credit-final {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: .06em;
}

/* 合作交流占位 */
.placeholder {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 40px;
  background: var(--white);
  border: 1px dashed #D5CCE3;
  border-radius: 14px;
}
.placeholder .ph-icon { font-size: 34px; letter-spacing: .2em; color: var(--purple-mid); }
.placeholder h2 { margin-top: 14px; font-size: 22px; letter-spacing: .1em; color: var(--purple-dark); }
.placeholder p { margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 2; }

/* 合作交流 */
.coop-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 58px 40px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(63, 42, 99, .06);
}
.coop-line {
  font-size: 19px;
  line-height: 2;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.coop-line + .coop-line { margin-top: 22px; }
.coop-value {
  color: var(--purple);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-left: 4px;
}

.nowrap { white-space: nowrap; }

/* 技术说明 */
.tech-note {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px dashed var(--line);
  display: inline-block;
  text-align: left;
}
.tech-lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.tech-tools {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.tech-tools li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.tool-icon { width: 22px; height: 22px; flex: 0 0 auto; display: block; }

/* 文章页 */
.article-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 56px;
  box-shadow: 0 12px 34px rgba(63, 42, 99, .06);
}
.article-card h1 {
  font-size: 27px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: .04em;
  color: var(--ink);
}
.article-meta {
  margin: 18px 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .06em;
}
.article-card p {
  font-size: 17px;
  line-height: 2.15;
  color: var(--ink-2);
  text-indent: 2em;
  margin-bottom: 16px;
}
.article-actions { margin-top: 34px; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid var(--purple);
  color: var(--purple);
  background: var(--white);
  transition: background .25s, color .25s, box-shadow .25s;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(107, 75, 158, .28); }
.btn-solid { background: var(--purple); color: #fff; }
.btn-solid:hover { background: var(--purple-dark); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-foot {
  margin-top: 70px;
  padding: 40px 0 46px;
  background: var(--purple-deep);
  color: rgba(255, 255, 255, .72);
  text-align: center;
}
.foot-main { font-size: 15px; letter-spacing: .1em; color: #fff; }
.foot-sub { margin-top: 8px; font-size: 12.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   灯箱
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 12, 32, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  animation: lbIn .25s ease both;
}
.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lb-close {
  position: absolute; top: 20px; right: 26px;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .26); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   动效
   ========================================================================== */
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-130vw); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(130vw); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .anim-slide-left  { animation: slideFromLeft 1.15s cubic-bezier(.16, .84, .3, 1) both; }
  .anim-slide-right { animation: slideFromRight 1.15s cubic-bezier(.16, .84, .3, 1) both; }
  .anim-rise { animation: riseIn .85s cubic-bezier(.22, .61, .36, 1) both; }
  .d1 { animation-delay: .18s; }
  .d2 { animation-delay: .30s; }
  .d3 { animation-delay: .42s; }
  .d4 { animation-delay: .54s; }

  .page-enter { animation: fadeIn .34s ease both; }

  .reveal { opacity: 0; transform: translateY(20px); }
  .reveal.is-visible {
    opacity: 1; transform: none;
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .brand-left { padding-left: 34px; }
  .brand-right { padding-right: 34px; }
  .brand-left .inner, .brand-right .inner { width: 41%; gap: 20px; }
  .motto .line { font-size: 21px; }
  .logo { width: 88px; height: 88px; }
  .anchor-name { font-size: 13.5px; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }

  .brand-bar { height: auto; }
  .brand-left, .brand-right {
    position: relative;
    inset: auto;
    clip-path: none;
    width: 100%;
    height: auto;
    padding: 26px 20px;
  }
  .brand-left .inner, .brand-right .inner { width: 100%; }
  .motto .line { font-size: 20px; letter-spacing: .14em; }
  .logo { width: 76px; height: 76px; }
  .anchor-name { font-size: 13px; }

  .nav-cards { grid-template-columns: repeat(2, 1fr); }
  .nav-card { border-bottom: 1px solid var(--line); padding: 26px 22px; }
  .nav-card:nth-child(2n) { border-right: 0; }
  .nc-title { font-size: 19px; }

  .divider { margin-top: 42px; }
  .divider span { font-size: 12.5px; letter-spacing: .04em; }

  .sec-title { font-size: 30px; letter-spacing: .14em; }
  .sec-title-small { font-size: 26px; }
  .overview-text { font-size: 15.5px; line-height: 2; text-align: left; }
  .section { padding: 46px 0 0; }

  .news-item { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
  .news-arrow { display: none; }
  .news-title { font-size: 16px; }

  .sub-head { padding: 46px 0 32px; }
  .sub-head h1 { font-size: 28px; letter-spacing: .12em; }
  .subnav-links a { padding: 6px 9px; font-size: 13px; }

  .sub-body { padding: 36px 0 20px; }
  .intro-card { padding: 28px 22px; }
  .intro-card p { font-size: 15.5px; text-indent: 0; }
  .slogan-band { font-size: 17px; letter-spacing: .1em; padding: 22px 16px; }
  .facts { grid-template-columns: 1fr; }

  .photo-grid { column-count: 1; }
  .photo-item:first-child { column-span: none; }
  /* 手机没有悬停，说明文字常显 */
  .photo-item::after {
    opacity: 1;
    background: linear-gradient(to top, rgba(44, 28, 69, .72), transparent 42%);
  }
  .photo-cap { opacity: 1; transform: none; font-size: 13px; }

  .credit-hero { flex-direction: column; gap: 16px; }
  .shuai { height: 160px; }
  .credit-main { font-size: 17px; text-align: center; }
  .credit-main .who { font-size: 21px; }

  .article-card { padding: 30px 22px; }
  .article-card h1 { font-size: 20px; text-align: left; }
  .article-meta { text-align: left; }
  .article-card p { font-size: 15.5px; text-indent: 0; }

  .placeholder { padding: 46px 22px; }

  .coop-card { padding: 36px 22px; }
  .coop-line { font-size: 16px; }
  .coop-value { font-size: 18px; }
  .tech-lead { font-size: 16px; }
  .tech-tools li { font-size: 15px; }
  .tool-icon { width: 20px; height: 20px; }
}

@media (max-width: 520px) {
  .brand-left, .brand-right { padding: 22px 16px; }
  .brand-left .inner, .brand-right .inner { flex-direction: column; gap: 14px; }
  .motto { text-align: center; }
  .motto .indent { margin-left: 0; }
  .motto-right .indent { padding-right: 0; }
  .nav-cards { grid-template-columns: 1fr; }
  .nav-card:nth-child(2n) { border-right: 0; }
  .nav-card { border-right: 0; }
  .sec-title { font-size: 25px; }
}

@media print {
  .subnav, .nav-cards, .brand-bar, .site-foot, .lightbox { display: none !important; }
  body { background: #fff; }
}
