/* ============================================================
   layout.css — 全局公共布局形状（头部 / 页脚 / 侧边栏 / 公共组件）
   主题变量 100% 提取自 Figma 设计稿（党建专题 · 五中全会）
   ============================================================ */

/* ------------------------------------------------------------
   :root 主题变量（自动提取自 Figma）
   ------------------------------------------------------------ */
:root {
  /* 主色（Figma「红色」「主色-黄色」色板） */
  --color-primary: #CA2418;            /* 红色 */
  --color-primary-deep: #C9161D;       /* 深红（下边框） */
  --color-primary-dark: #961208;       /* 暗红（箭头图标） */
  --color-gold: #FDCF30;               /* 主色-黄色 */
  --color-gold-soft: #FFD98D;          /* 导航次级文字 */
  --color-gold-heading: #FFD18D;       /* 卡片标题底色 */
  --color-divider-tan: #E7A18A;        /* 分隔竖线 */
  --color-border-tan: #F2CEBA;         /* 卡片描边 */
  --color-border-light: #E7D9BC;       /* 次级卡片描边 */

  /* 渐变（提取自 Figma fill） */
  --gradient-red: linear-gradient(90deg, rgba(205, 55, 41, 1) 0%, rgba(255, 114, 101, 1) 100%);
  --gradient-gold-text: linear-gradient(180deg, rgba(247, 177, 0, 1) 0%, rgba(202, 36, 24, 1) 100%);
  --gradient-banner-title: linear-gradient(180deg, rgba(255, 245, 210, 1) 3%, rgba(253, 207, 48, 1) 93%);
  --gradient-icon-box: linear-gradient(145deg, rgba(243, 74, 53, 1) 0%, rgba(189, 7, 19, 1) 100%);
  --gradient-nav-card: linear-gradient(180deg, rgba(255, 254, 251, 1) 0%, rgba(253, 247, 238, 1) 52%, rgba(251, 234, 216, 1) 100%);
  --gradient-highlight-card: linear-gradient(90deg, rgba(255, 253, 250, 1) 0%, rgba(253, 246, 236, 1) 55%, rgba(252, 239, 225, 1) 100%);
  --gradient-divider-line: linear-gradient(90deg, rgba(202, 36, 24, 0) 0%, rgba(202, 36, 24, 1) 100%);
  --gradient-divider-line-r: linear-gradient(90deg, rgba(202, 36, 24, 1) 0%, rgba(202, 36, 24, 0) 100%);
  --gradient-banner-fade: linear-gradient(180deg, rgba(255, 255, 255, 1) 78%, rgba(255, 255, 255, 0.37) 88%, rgba(255, 255, 255, 0) 100%);
  --gradient-bg-mask: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.64) 16%, rgba(255, 255, 255, 1) 36%, rgba(255, 255, 255, 1) 79%, rgba(255, 255, 255, 0) 100%);
  --gradient-footer-mask: linear-gradient(180deg, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 1) 80%);
  --gradient-banner-gray: linear-gradient(180deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0) 100%);
  --gradient-tiantan-mask: linear-gradient(1deg, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 1) 100%);

  /* 布景致（Figma「布景」色板） */
  --color-bg-page: #FFE6D3;            /* 页面底色 */
  --color-bg-card: #FFF1EA;            /* 卡片布景 */
  --color-bg-breadcrumb: #F9E4D4;      /* 面包屑布景 */
  --color-bg-pagination: #FFF1EA;      /* 分页按钮布景 */

  /* 文本色 */
  --color-text-title: #333333;
  --color-text-body: rgba(0, 0, 0, 0.85);
  --color-text-sub: #666666;
  --color-text-meta: #515A6E;
  --color-text-white: #FFFFFF;
  --color-text-emblem: #30231F;
  --color-divider-gray: #A8A8A8;

  /* 圆角规格 */
  --radius-nav: 14px;
  --radius-icon: 15px;
  --radius-statement: 16px;
  --radius-bar: 6.5px;
  --radius-page: 2px;

  /* 阴影层级 */
  --shadow-nav: 0px 8px 18px 0px rgba(190, 110, 70, 0.12), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.95);
  --shadow-card: 0px 8px 24px 0px rgba(119, 47, 23, 0.1);
  --shadow-statement: 0px 4px 12px 0px rgba(177, 22, 24, 0.25);
  --shadow-emblem: 0px 3.594202995300293px 3.594202995300293px 0px rgba(0, 0, 0, 0.25);
  --shadow-bar: 0px 0px 0px 4px rgba(201, 22, 29, 0.08);
  --shadow-icon-box: 0px 5px 12px 0px rgba(195, 24, 29, 0.22);
  --shadow-title: 0px 4px 12px 0px rgba(0, 0, 0, 0.35);
  --shadow-text: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);

  /* 字体（提取自 Figma textStyle） */
  --font-display: "Source Han Sans CN", "思源黑体", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Alibaba PuHuiTi", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;

  /* 动画规范 */
  --duration-fast: 220ms;
  --duration-base: 240ms;
  --ease-standard: ease;

  /* 布局尺寸 */
  --nav-height: 50px;
  --banner-height: 690px;
  --page-width-home: 1520px;
  --page-width-list: 1200px;
  --footer-deco-height: 640px;
}

/* ------------------------------------------------------------
   基础沉置
   ------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--color-text-title);
  background-color: var(--color-bg-page);
  min-width: 320px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }

/* ------------------------------------------------------------
   页面布景图层（首页三层布景）
   ------------------------------------------------------------ */
.page-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.page-bg .bg-layer {
  position: absolute;
  left: 0;
  width: 100%;
  background-size: cover;
  background-position: center;
}
.bg-layer--top {
  top: 44px;
  height: 1016px;
  background-image: url("/images/bg-top_20wzqh.png");
  -webkit-mask-image: var(--gradient-bg-mask);
  mask-image: var(--gradient-bg-mask);
}
.bg-layer--middle {
  top: 2009px;
  height: 1417px;
  background-image: url("/images/bg-middle_20wzqh.png");
}
.bg-layer--bottom {
  top: 2772px;
  height: 1200px;
  background-image: url("/images/bg-top_20wzqh.png");
  -webkit-mask-image: var(--gradient-bg-mask);
  mask-image: var(--gradient-bg-mask);
}

.page-main { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   顶部导航（Figma Navigation Bar）
   ------------------------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-primary);
  transition: background-color var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
}
.site-nav.is-solid {
  box-shadow: 0 2px 8px rgba(150, 18, 8, 0.35);
}
.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 100%;
}
.nav-link {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: var(--color-gold-soft);
  transition: color var(--duration-fast) var(--ease-standard);
}
.nav-link:hover { color: var(--color-text-white); }
.nav-link.active {
  color: var(--color-text-white);
  font-weight: 700;
}
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -49px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid rgba(0, 0, 0, 0.5);
  border-top: 4px solid transparent;
  border-bottom: 4px solid rgba(0, 0, 0, 0.5);
  transform: rotate(45deg);
  z-index: -2;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -25px;
    width: calc(100% + 40px);
    height: calc(100% + 12px);
    background: linear-gradient(45deg, #fc523f, #fd5b09);
    z-index: -1;
    transform: skew(40deg);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 12px;
  top: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text-white);
  border-radius: 1px;
  transition: transform var(--duration-base) var(--ease-standard),
              opacity var(--duration-base) var(--ease-standard);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉遮罩 */
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-standard),
              visibility var(--duration-base) var(--ease-standard);
  z-index: 90;
}
.nav-mask.is-show { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------
   Banner（三页通用）
   ------------------------------------------------------------ */
.banner {
  position: relative;
  height: var(--banner-height);
  overflow: hidden;
}
.banner-bg {
  position: absolute;
  left: 0;
  top: -115px;
  width: 100%;
  height: 823px;
  background: url("/images/banner-bg_20wzqh.png") center / cover no-repeat;
  -webkit-mask-image: var(--gradient-banner-fade);
  mask-image: var(--gradient-banner-fade);
}
.banner-front {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 450px;
  background: url("/images/banner-front_20wzqh.png") center top / cover no-repeat;
  -webkit-mask-image: var(--gradient-banner-gray);
  mask-image: var(--gradient-banner-gray);
}
.banner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  height: 448px;
}
.banner-emblem {
  width: 122px;
  height: 124px;
  object-fit: cover;
}
.banner-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 70px;
  line-height: 1.52em;
  letter-spacing: 0.08em;
  text-align: center;
  background: var(--gradient-banner-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* ------------------------------------------------------------
   区块标题（Section Header）
   ------------------------------------------------------------ */
.section-header {
  position: relative;
  width: 100%;
  height: 132px;
}
.section-divider {
  position: absolute;
  left: 0;
  top: 53px;
  width: 100%;
  height: 79px;
  object-fit: fill;
}
.section-heading {
  position: absolute;
  left: 50%;
  top: 27px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.section-heading .zh-big,
.section-heading .zh-small {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1em;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-heading .zh-big { font-size: 64px; }
.section-heading .zh-small { font-size: 40px; }
.section-logo {
  position: absolute;
  left: calc(50% - 366px);
  top: 0;
  width: 220px;
  height: 117px;
  object-fit: cover;
}
.section-label {
  position: absolute;
  left: 50%;
  top: 102px;
  transform: translateX(-50%);
  width: 229px;
  height: 30px;
}
.section-label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/section-label_20wzqh.png") no-repeat center / 100% 100%;
}
.section-label span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--color-gold);
}

/* ------------------------------------------------------------
   「查看更多」链接
   ------------------------------------------------------------ */
.more-link {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-end;
  font-size: 16px;
  color: var(--color-primary);
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.more-link:hover { opacity: 0.75; }
.more-link img { width: 16px; height: 16px; }

/* ------------------------------------------------------------
   面包屑（列表页 / 详情页通用）
   ------------------------------------------------------------ */
.breadcrumbs {
  height: 40px;
  background: var(--color-bg-breadcrumb);
}
.breadcrumbs-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: var(--page-width-list);
  margin: 0 auto;
  height: 100%;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-primary);
}
.breadcrumbs-inner img { width: 16px; height: 16px; }

/* ------------------------------------------------------------
   页脚（Figma Footer）
   ------------------------------------------------------------ */
.site-footer {
  position: relative;
  margin-top: 0;
}
.footer-deco {
  position: relative;
  height: var(--footer-deco-height);
  overflow: hidden;
}
.footer-deco img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-deco .footer-deco-main {
  -webkit-mask-image: var(--gradient-footer-mask);
  mask-image: var(--gradient-footer-mask);
}
.footer-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  padding: 40px 0;
  background: var(--color-primary);
}
.footer-info p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-white);
}

/* ------------------------------------------------------------
   侧边栏（悬浮工具条：回到顶部）
   ------------------------------------------------------------ */
.sidebar {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 80;
}
.back-top {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 4px 12px rgba(150, 18, 8, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--duration-base) var(--ease-standard),
              visibility var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard),
              background-color var(--duration-fast) var(--ease-standard);
}
.back-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover { background: var(--color-primary-deep); }
.back-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-text-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------
   图片放大预览弹窗（全局通用）
   ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-standard),
              visibility var(--duration-base) var(--ease-standard);
}
.lightbox.is-show { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 86vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-nav);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform var(--duration-base) var(--ease-standard);
}
.lightbox.is-show img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text-white);
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.lightbox-close:hover { opacity: 0.7; }

/* ------------------------------------------------------------
   Toast 轻提醒
   ------------------------------------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) translateY(16px);
  padding: 10px 24px;
  background: rgba(51, 51, 51, 0.9);
  color: var(--color-text-white);
  font-size: 14px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-standard),
              visibility var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard);
  z-index: 210;
}
.toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ------------------------------------------------------------
   区块渐入动画（轻量化）
   ------------------------------------------------------------ */
.fade-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard);
}
.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 可点击放大的图片 */
.zoomable { cursor: zoom-in; }
<!--耗时1794966566.9807秒-->