/* ============================================================
 * 南京市雨花台区人民政府 · 门户网站首页
 * 内容区最大宽度 1300px，响应式自适应；手写原生 CSS，无任何框架
 * 配色：
 *   主蓝 #2a5caa  深蓝 #1d3f77  高亮蓝 #3b82d6
 *   浅蓝底 #eef5fe  正文 #333 / 次要 #666 / 日期 #999
 * ============================================================ */

:root {
  --primary: rgba(50, 93, 146, 1);
  --deep: #1d3f77;
  --accent: #3b82d6;
  --side-bg: #e9f1fb;
  --bullet: #6fb4ea;
  --text: #333333;
  --sub: #666666;
  --date: #999999;
  --line: #e5e5e5;
  --container: 1320px;

  /* ===== 动效令牌：与走进雨花页保持同一套节奏 ===== */
  --ease: cubic-bezier(.22, .75, .25, 1);
  --hover-lift: -4px;
  --hover-lift-sm: -2px;
  --shadow-card: 0 16px 32px rgba(42, 92, 170, .2);
  --shadow-soft: 0 8px 18px rgba(42, 92, 170, .14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  /* 首页隐藏页面滚动条（滚动能力保留） */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* 防横向溢出保险 */
html,
body {
  overflow-x: hidden;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img {
  border: 0;
  display: block;
}

button,
input {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ===== 图片占位盒：后期补图时直接给内部 img 填 src 即可 ===== */
.img-slot {
  border-radius: 4px;
  overflow: hidden;
}

.img-slot>img {
  width: 100%;
  height: 100%;
}

.img-slot.skin-transparent {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.bjdj {
  background: url(./bjdj-20261012.png)no-repeat center top;
}

/* ===== 两屏框架：第一屏视频背景，第二屏整页内容 ===== */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.screen1-content {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

/* 向下箭头：底部居中，点击进入第二屏 */
.arrow-down {
  width: 40px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  margin: auto;
  cursor: pointer;
}

/* 第二屏：内容在自身容器内滚动，隐藏滚动条 */
.screen2 {
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screen2::-webkit-scrollbar {
  display: none;
}

/* 两屏 Swiper 容器：始终占满一屏 */
.homeBox {
  height: 100vh;
  width: 100%;
}

/* ===== 头条新闻 ===== */
.top-news {
  padding: 24px 20px 4px;
  text-align: center;
}

.tn-title {
  font-size: 32px;
  line-height: 1.4;
}

.tn-title a {
  color: rgba(40, 106, 206, 1);
}

.tn-title a:hover {
  text-decoration: underline;
}

.tn-meta {
  margin-top: 10px;
  font-size: 12px;
  color: #8a8f99;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 焦点区：轮播 + 选项卡新闻 + 国省信息 ===== */
.focus {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 30px 0 8px;
}

/* 大图轮播 */
.banner-carousel {
  flex: 1 1 55%;
  min-width: 0;
  height: 400px;
  position: relative;
}

/* 单张 slide：铺满容器，同时作为内部标题条的定位参照 */
.banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 图片底部标题条：白字加粗，压一层半透明深色底保证可读性 */
.banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .2s;
}

.banner-caption:hover {
  background: rgba(0, 0, 0, .62);
}

.car-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(20, 40, 70, .35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.car-arrow svg {
  width: 20px;
  height: 20px;
}

.car-arrow:hover {
  background: rgba(20, 40, 70, .6);
  transform: scale(1.08);
}

.car-prev {
  left: 12px;
}

.car-next {
  right: 12px;
}

/* 选项卡新闻 */
.news-panel {
  flex: 0 0 42%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 列表区交给 Swiper：四份列表横向排列，桌面点选项卡 / 移动端左右滑动切换 */
.np-swiper {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.np-pane {
  height: 100%;
}

/* 脚本未执行（Swiper 未初始化）时只显示当前栏目，避免四份列表纵向堆叠 */
.news-panel:not(.np-ready) .np-pane:not(.is-active) {
  display: none;
}

.np-tabs {
  flex: none;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 46px;
  padding: 0 18px;
}

.np-tab {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  color: rgba(30, 45, 57, 1);
  line-height: 1;
  padding: 5px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s;
}

.np-tab:hover {
  color: var(--primary);
}

.np-tab.is-active {
  color: rgba(40, 106, 206, 1);
  border-bottom-color: transparent;
}

/* 当前栏目：文字下方约 10px 处显示 ywBg 装饰线（原 border-bottom 蓝条已去掉）。
   背景图会被元素自身盒子裁剪，background-position 超出盒子就看不见，
   所以改用伪元素向下定位，不受 padding / 高度限制 */
.np-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(5px + 1em + 10px); /* 上内边距 + 一行文字(24px) + 10px 间距 */
  height: 8px;
  background: url(ywBg-20261022.png) center / 100% 8px no-repeat;
  pointer-events: none;
  transform-origin: center;
  animation: tabMarkIn .35s ease-out;
}

/* 切换选项卡时装饰线横向展开，与走进雨花的选项卡一致 */
@keyframes tabMarkIn {
  from {
    opacity: 0;
    transform: scaleX(.35);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.np-list {
  height: 100%;
  padding: 6px 8px 0 8px;
  overflow: hidden;
}

.np-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  transition: background .2s ease;
}

.np-item:hover {
  background: #f4f8fd;
}

.np-item.is-hot {
  background: #eaf2fc;
}

.np-file {
  flex: none;
  width: 16px;
  height: 16px;
  color: #7fa8d8;
}

.np-name {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  color: #3d4652;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
}

.np-item:hover .np-name,
.np-item.is-hot .np-name {
  color: rgba(40, 106, 206, 1);
}

.np-date {
  flex: none;
  font-size: 14px;
  color: rgba(153, 155, 160, 1);
  font-variant-numeric: tabular-nums;
}

/* 国省信息竖排按钮 */
.gov-side {
  flex: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gs-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  border-radius: 6px;
  /* background: linear-gradient(180deg, #4a8fdd 0%, #2f6cbb 100%); */
  box-shadow: 0 4px 10px rgba(47, 108, 187, .28);
  transition: filter .2s;
  background: url(./gwySzfBg-20261023.png)no-repeat top center;
}

.gs-btn:hover {
  filter: brightness(1.08);
}

/* ===== 专题专栏标题 + 快捷入口 ===== */
/* 专题专栏：标题本身是栏目入口，视觉与 block-title 一致 */
.topics-head {
  padding-top: 34px;
}

.topics-link {
  color: inherit;
  transition: color .2s;
}

.topics-link:hover {
  color: var(--primary);
}

.quick-nav {
  display: flex;
  align-items: center;
  /* 间距改由箭头自身 margin 控制，这样箭头才能甩到内容区外 */
  padding: 30px 0 18px 0;
}

/* 标题与下方快捷入口卡片同属一个区块，拉近两者间距 */
.topics-head+.quick-nav {
  padding-top: 14px;
}

/* 快捷入口 Swiper 卡片区与上方留一点距离 */
#qnCards .swiper-wrapper {
  padding-top: 10px;
}

@media (max-width:640px) {
  .topics-head {
    padding-top: 24px;
  }

  .quick-nav,
  .topics-head+.quick-nav {
    padding-top: 16px;
    padding-bottom: 8px;
  }
}

/* 左右箭头移到 1320px 内容区外侧：40px 间距 + 30px 按钮宽 = 70px 负边距 */
.qn-prev {
  margin: 0 40px 0 -70px;
}

.qn-next {
  margin: 0 -70px 0 40px;
}

/* 视口不足 1320 + 2×70 = 1460 时放不下，箭头收回内容区内，避免被 body 的 overflow 裁掉 */
@media (max-width:1460px) {
  .qn-prev {
    margin: 0 18px 0 0;
  }

  .qn-next {
    margin: 0 0 0 18px;
  }
}

.qn-arrow {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #7aa6dd;
  background: #fff;
  color: #5d8bc7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease), transform .25s var(--ease);
}

.qn-arrow svg {
  width: 16px;
  height: 16px;
}

.qn-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* Swiper 到边界 / 卡片不足一屏时给箭头加的禁用态 */
.car-arrow.swiper-button-disabled,
.qn-arrow.swiper-button-disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

/* 卡片间距交给 Swiper 的 spaceBetween，容器不再用 flex + gap */
.qn-cards {
  flex: 1;
  min-width: 0;
}

.qn-card {
  /* 宽度由 Swiper 计算，这里不能再用 flex:1 撑开 */
  flex: none;
  min-width: 0;
  height: 120px !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #d6e4f7;
  background: url(./kjrkBg-20261012.png)no-repeat top center;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}

.qn-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(var(--hover-lift));
}

.qn-icon {
  flex: none;
  width: 32px;
  height: 32px;
  color: rgba(40, 106, 206, 1);
}

.qn-text {
  font-size: 22px;
  font-weight: 600;
  color: rgba(40, 106, 206, 1);
  letter-spacing: 1px;
  line-height: 1.35;
}

/* ===== 区块通用 ===== */
.home-block {
  padding: 14px 0 30px;
}

.block-title {
  font-size: 32px;
  font-weight: 700;
  color: rgba(30, 45, 57, 1);
  letter-spacing: 2px;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.more-link {
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  color: rgba(40, 106, 206, 1);
}

.more-link svg {
  width: 13px;
  height: 13px;
  transition: transform .25s var(--ease);
}

.more-link:hover {
  color: var(--primary);
}

.more-link:hover svg {
  transform: translateX(3px);
}

/* ===== 政府信息公开 ===== */
.info-block {
  background: #fff;
}

.guide-links {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.guide-item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: rgba(245, 248, 254, 1);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease),
    transform .25s var(--ease);
}

.guide-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(42, 92, 170, .1);
  transform: translateY(var(--hover-lift-sm));
}

.guide-item svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.guide-text {
  font-size: 18px;
  color: rgba(30, 45, 57, 1);
  line-height: 1.35;
}

.info-body {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

/* 左侧四大平台 */
.platforms {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
  justify-content: space-between;
}

.platform-item {
  display: flex;
  height: 80px;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid #e7ecf3;
  border-radius: 6px;
  background: linear-gradient(270deg, rgba(230, 240, 254, 0.3), rgba(230, 240, 254, 1));
  color: rgba(30, 45, 57, 1);
  font-size: 20px;
  line-height: 1.55;
  transition: background .3s var(--ease), color .3s var(--ease),
    box-shadow .3s var(--ease), transform .3s var(--ease);
}

.platform-item:hover {
  background: #fff;
  color: rgba(40, 106, 206, 1);
  border-color: rgba(40, 106, 206, 1);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

/* 中间最新公开 */
.latest {
  flex: 1 1 auto;
  min-width: 0;
}

.latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lt-tabs {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.lt-tab {
  font-size: 24px;
  font-weight: 600;
  color: rgba(30, 45, 57, 1);
  padding-bottom: 6px;
  transition: color .2s, border-color .2s;
}

.lt-tab:hover {
  color: rgba(40, 106, 206, 1);
}

.lt-tab.is-active {
  color: rgba(40, 106, 206, 1);
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 40px;
  column-gap: 20px;
  margin-top: 16px;
}

/* 选项卡切换：非当前面板隐藏。
   .doc-grid 自带 display:grid，会盖掉 UA 对 [hidden] 的 display:none，需显式声明 */
.doc-grid[hidden] {
  display: none;
}

.doc-card {
  position: relative;
  min-height: 108px;
  padding: 20px 16px 47px;
  border: 1px solid #e7ecf3;
  border-radius: 6px;
  background: #fff;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease);
  cursor: pointer;
}

.doc-card:hover {
  border-color: rgba(40, 106, 206, 1);
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--hover-lift));
}

.doc-name {
  font-size: 16px;
  color: rgba(30, 45, 57, 1);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* 固定为 3 行：1.7 × 3 = 5.1em，不足 3 行也占满，超过 3 行省略 */
  height: 5.1em;
  transition: color .3s var(--ease);
}

.doc-card:hover .doc-name {
  color: rgba(40, 106, 206, 1);
}

.doc-date {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: rgba(30, 45, 57, 1);
  background: rgba(245, 248, 254, 1);
  padding: 1px 9px;
  border-radius: 9px;
  font-variant-numeric: tabular-nums;
}

/* 右侧重点领域 */
.key-fields {
  flex: 0 0 330px;
  min-width: 0;
}

.kf-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 6px;
  color: rgba(40, 106, 206, 1);
}

.kf-title svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.kf-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 24px 0;
}

.kf-tag {
  height: 46px;
  text-align: center;
  width: 106px;
  line-height: 46px;
  border-radius: 4px;
  font-size: 16px;
  background: rgba(245, 248, 254, 1);
  color: rgba(40, 106, 206, 1);
  transition: background .25s var(--ease), color .25s var(--ease),
    box-shadow .25s var(--ease), transform .25s var(--ease);
}

/* 悬浮不再加粗（会挤动文字），改为浅投影 + 轻抬 */
.kf-tag:hover {
  background: #fff;
  color: rgba(40, 106, 206, 1);
  box-shadow: 0 4px 12px rgba(42, 92, 170, .14);
  transform: translateY(var(--hover-lift-sm));
}

.kf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 20px;
  column-gap: 10px;
}

.kf-card {
  display: flex;
  position: relative;
  align-items: end;
  height: 100px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: radial-gradient(circle at top right, rgba(40, 114, 250, 0.12), rgba(0, 89, 255, 0.03) 70%);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease);
}

.kf-card img {
  position: absolute;
  top: 10px;
  right: 6px;
}

.kf-card span {
  padding: 0 0 20px 13px;
  font-size: 18px;
  color: rgba(30, 45, 57, 1);
  transition: color .3s var(--ease);
}

.kf-card:hover {
  border-color: #cdd9ea;
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--hover-lift));
}

.kf-card:hover span {
  color: var(--primary);
}

/* ===== 在线服务 ===== */
.service-block {
  background: rgba(245, 248, 254, 1);
}

.service-block .block-title {
  margin-bottom: 18px;
}

.svc-body {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* 左侧图标 */
.svc-icons {
  flex: 0 0 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.si-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #fff;
  border: 1px solid rgba(216, 228, 255, 1);
  border-radius: 8px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease);
}

.si-card span {
  font-size: 20px;
  font-weight: 500;
  color: rgba(30, 45, 57, 1);
}

/* 图标随卡片一起轻抬，统一 .si-card / .ib-card 的悬浮手感 */
.si-card img {
  transition: transform .3s var(--ease);
}

.si-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(var(--hover-lift));
}

.si-card:hover img {
  transform: translateY(var(--hover-lift-sm));
}

.si-card {
  height: 120px;
}

.si-card img {
  width: 64px;
  height: 64px;
}

.si-wide {
  grid-column: 1 / -1;
  height: 58px;
  flex-direction: row;
  gap: 12px;
}

/* 右侧主区 */
.svc-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.svc-banner {
  flex: none;
  display: block;
  height: 138px;
  border-radius: 4px;
  overflow: hidden;
}

.svc-banner .img-slot {
  height: 100%;
  border-radius: 4px;
}

.svc-banner img {
  transition: transform .55s ease;
}

.svc-banner:hover img {
  transform: scale(1.04);
}

.svc-cards {
  flex: 1;
  display: flex;
  gap: 40px;
  margin-top: 34px;
}

.sc-card {
  position: relative;
  flex: 1;
  min-width: 0;
  background: url(./zxfwBg-20261013.png)no-repeat top center;
  border-radius: 8px;
  padding: 28px 0 0 32px;
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease);
}

.sc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(var(--hover-lift));
}

/* 右下角插画悬浮时轻微抬头 */
.sc-card:hover .sc-illus {
  transform: translateY(var(--hover-lift-sm));
}

.sc-name {
  font-size: 22px;
  font-weight: 500;
  color: rgba(30, 45, 57, 1);
}

.sc-illus {
  position: absolute;
  right: 12px;
  bottom: 10px;
  transition: transform .3s var(--ease);
}

/* ===== 互动交流 ===== */
.interact-block {
  background: #fff;
}

.interact-block .block-title {
  margin-bottom: 18px;
}

.inter-body {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

/* 左侧入口 */
.inter-btns {
  flex: 0 0 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ib-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 158px;
  background: #fff;
  border: 1px solid rgba(216, 228, 255, 1);
  border-radius: 8px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease);
}

.ib-card span {
  font-size: 20px;
  font-weight: 500;
  color: rgba(30, 45, 57, 1);
}

.ib-card img {
  transition: transform .3s var(--ease);
}

.ib-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(var(--hover-lift));
}

.ib-card:hover img {
  transform: translateY(var(--hover-lift-sm));
}

.ib-wide {
  grid-column: 1 / -1;
  height: 60px;
  flex-direction: row;
  gap: 12px;
}

.ib-wide svg {
  width: 24px;
  height: 24px;
}

/* 中间征集调查 */
.survey {
  flex: 1 1 auto;
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}

.panel-head>div {
  font-size: 24px;
  font-weight: 700;
  color: rgba(40, 106, 206, 1);
}

.survey-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.survey-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px 15px 20px;
  background: rgba(243, 246, 253, 1);
  border-bottom: 1px dashed #e8ebf0;
  transition: background .2s ease, box-shadow .2s ease;
}

.survey-list li:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(42, 92, 170, .1);
}

.survey-list li:hover .sv-title {
  color: var(--primary);
}

.survey-list li:last-child {
  border-bottom: 0;
}

.sv-date {
  flex: none;
  padding-right: 10px;
  border-right: 1px solid #a2a8b0;
  text-align: center;
  line-height: 1.3;
}

.sv-date span {
  display: block;
  font-size: 20px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  color: #a2a8b0;
}

.sv-date .day {
  color: rgba(30, 45, 57, 1);
}

.sv-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: rgba(30, 45, 57, 1);
  font-weight: 350;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}

a.sv-title:hover {
  color: var(--primary);
}

/* 右侧在线访谈 */
.interview {
  flex: 0 0 459px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.video-slot {
  position: relative;
  display: block;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.video-slot .img-slot {
  height: 100%;
  border-radius: 8px;
}

.video-slot img {
  transition: transform .55s ease;
}

.video-slot:hover img {
  transform: scale(1.04);
}

.live-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  background: #e0342b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 12px 9px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0) 0%, rgba(10, 20, 40, .72) 100%);
}

/* ===== 金陵微雨花 ===== */
.jinling {
  background: url(./jlwyhBg-20261013.png)no-repeat center top;
  /* background: linear-gradient(180deg, #e7f2fc 0%, #f4f9fe 100%); */
  border-top: 1px solid #dbe8f6;
  padding: 22px 0 34px;
}

.jl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.jl-logo img {
  width: 80px;
}

.jl-head>span {
  font-size: 32px;
  font-weight: 700;
  color: rgba(22, 165, 203, 1);
  letter-spacing: 2px;
  background: linear-gradient(90deg, #2a6cba, #46a0d8);
  -webkit-background-clip: text;
  background-clip: text;
}

.jl-body {
  display: flex;
  gap: 25px;
  align-items: stretch;
}

/* 三图文 */
.jl-articles {
  flex: 0 0 710px;
  min-width: 0;
  display: flex;
  gap: 25px;
}

.jl-article {
  flex: 0 0 220px;
  background: #fff;
  /* border-radius: 8px; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.jl-article:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(var(--hover-lift));
}

/* 配图悬浮放大，与走进雨花的画廊卡片同一手法 */
.article-img img {
  transition: transform .55s ease;
}

.jl-article:hover .article-img img {
  transform: scale(1.06);
}

.article-img {
  /* flex: 1; */
  border-radius: 0;
  border: 0;
  /* border-bottom: 1px solid #eef1f5; */
  height: 340px;
}

.article-cap {
  flex: none;
  height: 80px;
  padding: 10px 12px;
  font-size: 15px;
  color: #5a6270;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: flex;
  align-items: center;
}

a.jl-article:hover .article-cap {
  color: var(--primary);
}

/* 二维码 */
.jl-qrs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 7px; */
}

.qr-img {
  width: 100%;
  height: 100%;
}

.qr-item span {
      font-size: 20px;
    color: rgba(30, 45, 57, 1);
    background: #fff;
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

/* 微博面板 */
.weibo {
  flex: 0 0 420px;
  background: #fff;
  border-radius: 8px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
}

.wb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f5;
}

.wb-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wb-avatar {
  width: 32px;
  height: 32px;
}

.wb-name {
  font-size: 13px;
  line-height: 1.4;
}

.wb-name b {
  font-size: 14px;
  color: #333;
}

.wb-name span {
  display: block;
  color: #999;
  font-size: 11px;
}

.wb-v {
  display: inline-block;
  font-style: normal;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 50%;
  background: #f08c2e;
  color: #fff;
  font-size: 10px;
  vertical-align: 1px;
  margin: 0 2px;
}

.wb-follow {
  flex: none;
  font-size: 12px;
  color: #fff;
  background: #f2603b;
  padding: 4px 11px;
  border-radius: 4px;
}

.wb-follow:hover {
  background: #e04c28;
}

.wb-tab {
  padding: 9px 0;
  font-size: 12px;
  color: #f08c2e;
  border-bottom: 1px solid #f0f2f5;
}

.wb-post {
  padding: 10px 0;
  flex: 1;
}

.wb-text {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}

.wb-text b {
  color: #f08c2e;
}

.wb-thumb {
  width: 120px;
  height: 96px;
  margin-top: 8px;
}

.wb-meta {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

.wb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px solid #f0f2f5;
  font-size: 12px;
  color: #999;
}

.wb-foot a:hover {
  color: #f08c2e;
}

/* ============================================================
 * 滚动入场：与走进雨花同一套（0.7s 淡入上浮）
 * 只有 JS 正常执行（html 上有 motion-ready）时才隐藏，
 * 避免脚本不可用时整页内容消失
 * ============================================================ */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.motion-ready .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
 * 响应式：窄屏堆叠，不写死宽度
 * ============================================================ */

/* 视口小于内容区宽度时，左右各留一点安全距离，避免文字贴边 */
@media (max-width:1360px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width:980px) {

  /* 焦点区纵向堆叠 */
  .focus {
    flex-direction: column;
    gap: 14px;
  }

  .banner-carousel {
    flex: 0 0 auto;
    height: 260px;
    width: 100%;
  }

  .news-panel {
    flex: 0 0 auto;
    width: 100%;
  }

  /* 国省按钮横排 */
  .gov-side {
    flex: 0 0 auto;
    flex-direction: row;
    height: 44px;
  }

  /* 横排后原来的竖向丝带底图对不上，换成纯渐变 */
  .gs-btn {
    flex: 1;
    writing-mode: horizontal-tb;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #4a8fdd 0%, #2f6cbb 100%);
    border-radius: 4px;
    box-shadow: none;
  }

  /* 快捷入口：每屏显示张数由 Swiper 的 breakpoints 控制，此处不再手写横向滚动 */

  /* 信息公开头部换行，五个指南排成两行全部露出 */
  .block-head {
    flex-wrap: wrap;
    gap: 12px;
  }

  .guide-links {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    /* 独占一行：父级是 flex，basis 0 会被标题挤成窄条 */
    flex: 1 1 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .guide-item {
    white-space: nowrap;
    justify-content: center;
  }

  /* 信息公开三栏堆叠 */
  .info-body {
    flex-direction: column;
    gap: 16px;
  }

  /* 四大平台改成两列网格，四块一次看全，不用横滑 */
  .platforms {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .platform-item {
    min-width: 0;
    height: auto;
    min-height: 64px;
  }

  .key-fields {
    flex: 0 0 auto;
  }

  /* 在线服务堆叠 */
  .svc-body {
    flex-direction: column;
    gap: 18px;
  }

  .svc-icons {
    flex: 0 0 auto;
    max-width: 520px;
    width: 100%;
  }

  .svc-banner {
    height: 80px;
  }

  /* 三张专区卡改为纵向排列：横排时卡片太窄，标题会被插画压住 */
  .svc-cards {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  .sc-card {
    min-height: 84px;
    padding: 18px 0 0 18px;
  }

  .sc-name {
    font-size: 18px;
  }

  /* 互动交流堆叠 */
  .inter-body {
    flex-direction: column;
    gap: 20px;
  }

  .inter-btns {
    flex: 0 0 auto;
    max-width: 520px;
  }

  .interview {
    flex: 0 0 auto;
  }

  .video-slot {
    min-height: 230px;
  }

  /* 金陵微雨花堆叠 */
  .jl-body {
    flex-direction: column;
    gap: 18px;
  }

  .jl-articles {
    /* 列布局下父级 basis 710px 会被当成高度，改回自动 */
    flex: 0 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .jl-articles::-webkit-scrollbar {
    display: none;
  }

  .jl-article {
    flex: 0 0 220px;
  }

  .article-img {
    min-height: 240px;
  }

  .jl-qrs {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 34px;
    justify-content: center;
    align-items: flex-start;
  }

  /* 列布局下父级高度不再由图文区撑开，微博面板要给个固定高度 */
  .weibo {
    flex: 0 0 auto;
    height: 420px;
  }
}

@media (max-width:640px) {
  /* 手机端再收紧一点边距，内容仍然不贴边 */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* 头条 */
  .top-news {
    padding-top: 16px;
    padding-bottom: 2px;
  }

  .tn-title {
    font-size: 18px;
  }

  .tn-meta {
    white-space: normal;
    line-height: 1.7;
  }

  /* 焦点区 */
  .banner-carousel {
    height: 200px;
  }

  /* 选项卡四项等分一行，不再挤成两行 */
  .np-tabs {
    gap: 0;
    padding: 0;
    height: 42px;
  }

  .np-tab {
    flex: 1;
    text-align: center;
    font-size: 16px;
    padding: 4px 0;
  }

  .np-tab.is-active::after {
    top: auto;
    bottom: -3px;
    height: 6px;
    background-size: 100% 6px;
  }

  .np-list {
    padding: 4px 2px 0;
  }

  .np-item {
    height: 42px;
    margin-top: 6px;
    padding: 0 4px;
    gap: 7px;
  }

  .np-name {
    font-size: 14px;
  }

  .np-date {
    display: none;
  }

  /* 国省信息按钮压缩一行高 */
  .gov-side {
    height: 38px;
    gap: 8px;
  }

  .gs-btn {
    font-size: 15px;
    letter-spacing: 2px;
  }

  /* 快捷入口：卡片矮一点，两列一屏（上下间距见页面头部的内联样式） */
  .qn-text {
    font-size: 15px;
    letter-spacing: 0;
  }

  .qn-icon {
    width: 22px;
    height: 22px;
  }

  .qn-card {
    height: 84px !important;
    gap: 8px;
  }

  /* 区块标题 */
  .block-title {
    font-size: 19px;
    letter-spacing: 1px;
  }

  /* 公开指南五项排成 3+2，全部露出 */
  .guide-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .guide-item {
    padding: 8px 4px;
    gap: 6px;
    justify-content: center;
  }

  .guide-item svg {
    width: 22px;
    height: 22px;
  }

  .guide-text {
    font-size: 12px;
    line-height: 1.3;
  }

  /* 四大平台 */
  .platform-item {
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  /* 最新公开：单列、两行标题，卡片更紧凑 */
  .doc-grid {
    grid-template-columns: 1fr;
    row-gap: 12px;
    margin-top: 12px;
  }

  .doc-card {
    min-height: 82px;
    padding: 12px 12px 38px;
  }

  .doc-name {
    font-size: 14px;
    height: 3.4em;
    -webkit-line-clamp: 2;
  }

  /* 最新公开信息 / 政策解读：字号收小，避免标题换行 */
  .lt-tabs {
    gap: 14px;
  }

  .lt-tab {
    font-size: 18px;
  }

  /* 重点领域 */
  .kf-title {
    font-size: 19px;
  }

  .kf-tags {
    margin: 12px 0 16px 0;
  }

  .kf-tag {
    width: 30%;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
  }

  .kf-cards {
    row-gap: 10px;
  }

  .kf-card {
    height: 86px;
  }

  .kf-card span {
    font-size: 15px;
    padding: 0 0 14px 10px;
  }

  .kf-card img {
    transform: scale(.78);
    transform-origin: top right;
  }

  /* 在线服务 */
  .service-block .block-title {
    margin-bottom: 12px;
  }

  .svc-icons {
    gap: 10px;
  }

  .si-card {
    height: 96px;
  }

  .si-card img {
    width: 48px;
    height: 48px;
  }

  .si-card span {
    font-size: 16px;
  }

  .si-wide {
    height: 48px;
  }

  .svc-banner {
    height: 72px;
  }

  /* 服务专区卡片纵向排列 */
  .svc-cards {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  .sc-card {
    min-height: 84px;
    padding: 18px 0 0 18px;
  }

  .sc-name {
    font-size: 17px;
  }

  .sc-illus {
    transform: scale(.75);
    transform-origin: bottom right;
  }

  /* 互动交流 */
  .inter-btns {
    gap: 10px;
  }

  .ib-card {
    height: 96px;
  }

  .ib-card span {
    font-size: 16px;
  }

  .ib-wide {
    height: 48px;
  }

  .panel-head>div {
    font-size: 19px;
  }

  .survey-list {
    gap: 10px;
  }

  .survey-list li {
    padding: 10px 12px;
  }

  .sv-date span {
    font-size: 16px;
  }

  .sv-title {
    font-size: 14px;
  }

  /* 视频 */
  .video-slot {
    min-height: 190px;
  }

  /* 金陵微雨花：三条图文改成横排小卡，一屏看全 */
  .jl-head>span {
    font-size: 22px;
  }

  .jl-articles {
    flex-direction: column;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .jl-article {
    flex: 0 0 auto;
    flex-direction: row;
  }

  .article-img {
    flex: 0 0 112px;
    width: 112px;
    height: 84px;
    /* 覆盖平板档的 min-height:240px */
    min-height: 0;
  }

  .article-cap {
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .jl-qrs {
    gap: 14px;
  }

  .qr-img {
    max-width: 120px;
    margin: 0 auto;
  }

  .qr-item span {
    font-size: 14px;
    padding: 6px 0;
  }
}

@media (max-width:420px) {

  .car-arrow {
    width: 28px;
    height: 28px;
    margin-top: -14px;
  }

  .qn-arrow {
    display: none;
  }
}

/* ============================================================
 * 尊重系统“减少动态效果”：关闭全部动画与入场位移
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}