/* ============================================================
   党的建设 杂志官网 — 视觉设计
   主题：党建红 × 鎏金 ｜ 庄重、大气、现代
   ============================================================ */

:root {
  --red: #c8102e;
  --red-bright: #e01e3c;
  --red-dark: #a30f23;
  --red-deep: #7d0b1a;
  --red-night: #4a0d18;

  --gold: #c9a24b;
  --gold-soft: #e8c36a;
  --gold-light: #f4e7c3;
  --gold-pale: #fbf3df;
  --gold-deep: #8b6200;

  --ink: #2b2b2b;
  --ink-2: #56595f;
  --ink-3: #8b8f96;

  --paper: #f6f1e7;
  --card: #fffdf8;
  --line: #e8dfc9;
  --line-soft: #f1ead8;

  --page-max: 1440px;

  --shadow-sm: 0 2px 10px rgba(125, 11, 26, 0.06);
  --shadow-md: 0 8px 26px rgba(125, 11, 26, 0.1);

  --font-serif: "STZhongsong", "STSong", "SimSun", "Songti SC", serif;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  background-image: url(../../images/2026/bg_bottom.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  color: var(--ink-2);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1ead9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--red), var(--red-dark));
  border-radius: 6px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========== 布局工具 ========== */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* 滚动显现（由 JS 添加 .reveal） */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* 屏幕阅读器专用（视觉隐藏，供 SEO 标题等使用） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== 顶部信息条 ========== */
.topbar {
  background: linear-gradient(90deg, var(--red-night), #5c0f18 50%, var(--red-night));
  color: #f4dfc0;
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-date {
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}
.topbar-date::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-soft);
  border-radius: 50%;
  margin-right: 9px;
}
.topbar-links a {
  color: #f4dfc0;
  transition: color 0.2s;
}
.topbar-links a:hover {
  color: var(--gold-soft);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero img {
  width: 100%;
  display: block;
}

/* ========== 导航 ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  margin-top: -34px;
  background: linear-gradient(180deg, var(--red-bright), var(--red) 40%, var(--red-dark));
  border-radius: 6px 6px 0 0;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s;
}
.nav.scrolled {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.nav ul {
  flex: 1;
  display: flex;
  justify-content: center;
  list-style: none;
}
.nav li {
  position: relative;
}
.nav a {
  position: relative;
  display: block;
  color: #fff;
  padding: 16px 46px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: background 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-soft);
  transform: translateX(-50%);
  transition: width 0.25s;
}
.nav a:hover {
  background: rgba(0, 0, 0, 0.14);
}
.nav a:hover::after,
.nav a.active::after {
  width: 36px;
}
.nav a.active {
  background: rgba(0, 0, 0, 0.2);
}

/* ========== 标语横幅 ========== */
.slogan-banner {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  background: linear-gradient(
    90deg,
    var(--red-deep),
    var(--red) 30%,
    var(--red-bright) 50%,
    var(--red) 70%,
    var(--red-deep)
  );
  color: #ffe9a8;
  text-align: center;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 1px;
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 2px rgba(255, 220, 130, 0.35),
    inset 0 0 34px rgba(255, 220, 130, 0.16);
}
.slogan-banner img {
  width: 100%;
  display: block;
}

/* ========== 头条新闻 ========== */
.top-news {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.top-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.block-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  padding-left: 14px;
  position: relative;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red-bright), var(--gold));
}
.block-more {
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.2s;
}
.block-more:hover {
  color: var(--red);
}
.top-news-grid {
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 24px;
}
.top-news-img {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}
.top-news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.news-item {
  padding: 4px 0 14px;
  border-bottom: 1px dashed var(--line);
}
.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 1px 9px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.news-item h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  margin: 2px 0 6px;
  transition: color 0.2s;
}
.news-item h3:hover {
  color: var(--red);
}
.news-item p {
  font-size: 13.5px;
  color: var(--ink-3);
}
.news-meta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #b0a284;
}

/* ========== 标题彩带 ========== */
.section-ribbon {
  position: relative;
  margin: 36px 0 24px;
  text-align: center;
}
.section-ribbon img {
  width: 100%;
  display: block;
}
.section-ribbon::before,
.section-ribbon::after {
  content: "◆";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 12px;
}
.section-ribbon::before { left: 70px; }
.section-ribbon::after { right: 70px; }

/* ========== 内容 + 侧栏 ========== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

/* 省委书记块 */
.secretary-carousel {
  position: relative;
}

.secretary-track {
  position: relative;
  min-height: 178px;
}

.secretary-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.secretary-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.secretary-block {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fffefb, var(--gold-pale));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.secretary-block::before,
.secretary-block::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
  opacity: 0.55;
}
.secretary-block::before {
  top: 10px;
  right: 10px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 6px 0 0;
}
.secretary-block::after {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0 0 0 6px;
}
.secretary-avatar {
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold);
}
.secretary-avatar img {
  width: 100%;
  height: 100%;
  display: block;
}
.secretary-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.secretary-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.s-label {
  font-size: 13px;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1px 10px;
  border-radius: 12px;
}
.secretary-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
}
.secretary-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 4px;
  transition: color 0.2s;
  cursor: pointer;
}
.secretary-content h2:hover {
  color: var(--red);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 14px 0 4px;
}
.secretary-dots {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 3;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
  box-shadow: 0 3px 10px rgba(125, 11, 26, 0.08);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8cfba;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot:hover {
  transform: scale(1.25);
}
.dot.active {
  background: var(--red);
}

/* 三栏标签 */
.tri-title {
  position: relative;
  background: #db1d3a;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 8px;
  padding: 11px 0;
  margin-bottom: 20px;
  border-radius: 6px 6px 0 0;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tri-title:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 三栏内容 */
.tri-columns {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}
.tri-col {
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tri-col:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tri-img {
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}
.tri-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.tri-links {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.tri-links li {
  min-width: 0;
}
.tri-headline {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.2s;
  cursor: pointer;
}
.tri-headline:hover {
  color: var(--red);
}
.tri-link {
  display: block;
  font-size: 16px;
  color: var(--ink-2);
  padding: 14px 0;
  border-top: 1px dashed var(--line-soft);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s, padding-left 0.2s;
}
.tri-link:hover {
  color: var(--red);
  padding-left: 4px;
}

/* ========== 右侧卡片 ========== */
.side-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.side-card img {
  width: 100%;
  display: block;
}

/* ========== 重点导读 ========== */
.focus-title {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  background: linear-gradient(
    90deg,
    var(--red-deep),
    var(--red-bright) 30%,
    var(--red) 50%,
    var(--red-bright) 70%,
    var(--red-deep)
  );
  padding: 8px 0;
  border-radius: 40px;
  box-shadow: var(--shadow-md), inset 0 0 0 2px rgba(255, 220, 130, 0.3);
}
.focus-title::before {
  content: "★";
  color: var(--gold-soft);
  font-size: 16px;
  margin-right: 16px;
  vertical-align: 2px;
}
.focus-title::after {
  content: "★";
  color: var(--gold-soft);
  font-size: 16px;
  margin-left: 16px;
  vertical-align: 2px;
}
.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}

/* 左侧专题 */

.focus-list-content {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 8px;
  padding: 30px;
  background: var(--card);
}
.focus-block {
  min-width: 0;
  margin-bottom: 12px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--line);
}
.focus-block:last-child {
  border-bottom: none;
}
.focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.focus-head span {
  position: relative;
  font-family: var(--font-serif);
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  padding-left: 14px;
}
.focus-head span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.focus-head a.more {
  font-size: 12.5px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 1px 9px;
  border-radius: 10px;
  transition: all 0.2s;
}
.focus-head a.more:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.focus-link {
  display: block;
  font-size: 15px;
  color: var(--ink-2);
  padding: 2px 0 0 22px;
  position: relative;
  transition: color 0.2s;
}
.focus-link::before {
  content: "»";
  position: absolute;
  left: 6px;
  color: var(--gold);
}
.focus-link:hover {
  color: var(--red);
}

/* 右侧在线阅读 */
.read-title,
.notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 16px;
  border-radius: 6px;
}
.read-title::before,
.notice-title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--gold-soft);
}
.notice-title {
  margin-top: 26px;
}

/* 杂志封面（模拟） */
.magazine-cover {
  position: relative;
  margin-top: 16px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(160deg, #a31225 0%, #7d0b1a 45%, #5c0a15 100%);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  padding: 22px 32px;
  display: flex;
  flex-direction: column;
}

/* 期数选择 */
.issue-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--card);
}
.issue-select select {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--card);
  cursor: pointer;
}
.issue-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line-soft);
  background: var(--card);
  padding: 10px;
}
.issue-cell {
  text-align: center;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.issue-cell:hover {
  color: var(--red);
  background: var(--gold-pale);
}
.issue-cell.active {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #fff;
  font-weight: 700;
}

/* 公告栏 */
.notice-box {
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 6px 16px;
  background: var(--card);
}
.notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.notice-item:last-child {
  border-bottom: none;
}
.notice-avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice-text {
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s;
}
.notice-text:hover {
  color: var(--red);
}

/* ========== 轮播图 ========== */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1ead8;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item a {
  width: 100%;
  height: 100%;
  display: block;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 轮播标题 */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0.85), rgba(43, 43, 43, 0.88));
  color: #ffe9b0;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.3px;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  opacity: 0;
  transform: translateY(-8px);
}

.carousel-item.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

/* 轮播按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  font-size: 42px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s, opacity 0.3s ease;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
}

.carousel:hover .carousel-btn {
  opacity: 1;
  pointer-events: auto;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

/* ========== 页脚 ========== */
.footer {
  position: relative;
  max-width: var(--page-max);
  border-radius: 10px;
  margin: 0 auto 50px;
  padding: 0 20px;
  color: #1a1a1a;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.footer-inner {
  background: #ffffffbb;
  padding: 36px 80px 0;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-contact h3 {
  font-family: var(--font-serif);
  color: var(--gold-deep);
  font-size: 22px;
  border-left: 5px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 14px;
}
.footer-contact p {
  font-size: 13.5px;
  margin: 4px 0;
}
.footer-contact p.indent {
  padding-left: 3em;
}
.footer-qr {
  text-align: center;
}
.qr-code {
  width: 160px;
  height: 170px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.footer-qr p {
  font-size: 13px;
  color: #d9c69a;
  letter-spacing: 1px;
}
.footer-bottom {
  border-top: 1px solid rgba(233, 217, 184, 0.18);
  background: #ffffffbb;
  text-align: center;
  border-radius: 0 0 10px 10px;
  padding: 14px;
  font-size: 12.5px;
}
.footer-bottom p {
  margin: 2px 0;
}
.footer-beian {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.footer-beian a {
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-beian a:hover {
  color: var(--red);
}
.footer-beian img {
  height: 14px;
  margin-right: 5px;
}

/* ========== 响应式 ========== */
@media (max-width: 1180px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .top-news-grid {
    grid-template-columns: 1fr;
  }
  .top-news-img {
    height: 360px;
  }
  .content-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .content-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    align-items: flex-start;
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .topbar-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    position: static;
    flex-wrap: wrap;
    margin-top: 0;
    border-radius: 6px;
    padding-top: 4px;
  }
  .nav ul {
    flex-wrap: wrap;
    width: 100%;
  }
  .nav a {
    padding: 12px 18px;
    font-size: 15px;
    letter-spacing: 1px;
  }

  .top-news {
    padding: 16px 16px 18px;
  }
  .top-news-head {
    align-items: flex-end;
  }
  .block-title {
    font-size: 22px;
  }
  .news-item h3 {
    font-size: 17px;
  }
  .news-item p {
    font-size: 12.8px;
  }
  .section-ribbon,
  .focus-title {
    font-size: 21px;
  }
  .section-ribbon::before,
  .section-ribbon::after {
    display: none;
  }

  .content-grid,
  .content-side,
  .tri-columns,
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .top-news-img {
    height: 240px;
  }

  .secretary-block {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 22px 18px;
  }
  .secretary-avatar {
    width: 90px;
    height: 90px;
  }
  .secretary-info {
    width: 100%;
  }
  .secretary-label {
    justify-content: center;
  }
  .secretary-content h2 {
    font-size: 22px;
  }
  .secretary-dots {
    top: 18px;
    right: 18px;
  }

  .tri-col,
  .focus-list-content {
    padding: 12px;
  }
  .tri-headline {
    font-size: 17px;
  }
  .tri-link {
    font-size: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .focus-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .focus-head span {
    font-size: 18px;
  }
  .focus-link {
    font-size: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-contact h3 {
    border-left: none;
    padding-left: 0;
  }
  .footer-contact p.indent {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .nav a {
    flex: 1 1 33.3%;
    text-align: center;
    padding: 12px 10px;
  }
  .block-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .top-news-img {
    height: 210px;
  }
  .secretary-content h2 {
    font-size: 19px;
  }
  .tri-title {
    letter-spacing: 3px;
    font-size: 18px;
  }
  .focus-title {
    letter-spacing: 2px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .focus-title::before,
  .focus-title::after {
    display: none;
  }
  .magazine-cover {
    padding: 16px;
  }
  .footer {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .top-news {
    padding: 12px 12px 16px;
  }
  .top-news-head {
    align-items: flex-start;
    gap: 8px;
  }
  .block-title {
    font-size: 18px;
  }
  .news-item h3 {
    font-size: 15px;
    line-height: 1.5;
  }
  .news-item p {
    font-size: 12px;
  }
  .nav ul {
    gap: 0;
  }
  .nav a {
    flex: 1 1 50%;
    padding: 11px 8px;
    font-size: 14px;
    letter-spacing: 1.5px;
  }
  .top-news-img {
    height: 190px;
  }
  .carousel-caption {
    font-size: 14px;
    line-height: 1.45;
    padding: 12px 14px;
  }
  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 32px;
  }
  .secretary-track {
    min-height: 220px;
  }
  .secretary-block {
    gap: 12px;
    padding: 18px 14px 22px;
  }
  .secretary-avatar {
    width: 88px;
    height: 88px;
  }
  .secretary-content h2 {
    font-size: 18px;
    line-height: 1.45;
  }
  .secretary-dots {
    position: static;
    margin-top: 12px;
    justify-content: center;
  }
  .tri-headline {
    font-size: 16px;
  }
  .tri-link {
    font-size: 14px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .focus-list-content {
    padding: 18px 14px;
  }
  .focus-head {
    gap: 6px;
  }
  .focus-head span {
    font-size: 17px;
  }
  .focus-link {
    font-size: 13px;
    padding-left: 18px;
  }
  .magazine-cover img,
  .side-card img,
  .hero img,
  .section-ribbon img,
  .slogan-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-contact h3 {
    font-size: 19px;
  }
}

/* 动效减弱偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .carousel-item,
  .secretary-slide {
    transition: none;
  }
}
<!--ecms sync check [sync_thread_id="3bcee7cc5a424330844ab778a62d31c1" sync_date="2026-08-27 15:08:46" check_sum="3bcee7cc5a424330844ab778a62d31c1]-->