/* ============================================================
   陈香梅公益基金会官网 - 全站样式
   设计基准：页面 1920px，版心 1388px，主色 #F7AC08
   ============================================================ */

:root {
  --orange: #F7AC08;
  --orange-deep: #E89A00;
  --orange-pale: #FDF3DC;
  --text-main: #333333;
  --text-sub: #666666;
  --text-light: #999999;
  --line: #E8E8E8;
  --grey-bg: #F0F0F0;
  --content-width: 1388px;
}

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

html { overflow-x: clip; }   /* 用 clip 而非 hidden：hidden 会创建滚动容器导致 position:sticky 失效 */
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #fff;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: var(--content-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 头部（整幅 banner 图，最大 1388 居中，两侧留白） ================= */
.site-header {
  width: 100%;
  background: #fff;
}
.header-inner { position: relative; width: 100%; }
.header-home { display: block; width: 100%; }
.banner-img {
  display: block;
  width: 100%;
  max-width: 1388px;
  margin: 0 auto;
}

/* ================= 导航（滚动时吸顶，白色85%透明） ================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #F5EFE2;
}
.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 68px;
  padding: 14px 24px;
}
.nav-item { position: relative; }
.site-nav .nav-item > a {
  position: relative;
  display: block;
  font-size: 24px;
  color: var(--text-main);
  padding: 4px 2px;
  white-space: nowrap;
  transition: color .2s;
}
.site-nav .nav-item > a:hover { color: var(--orange); }
.site-nav .nav-item > a.active { color: var(--orange); font-weight: bold; }
.site-nav .nav-item > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 3px;
  background: var(--orange);
}
.nav-sep {
  width: 1px;
  height: 22px;
  background: var(--orange);
  opacity: .55;
  flex: none;
}

/* 二级下拉菜单 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 172px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 100;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;   /* 悬停过渡桥，避免鼠标移动时菜单消失 */
}
.nav-dropdown a {
  display: block;
  text-align: center;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.2;
  padding: 11px 20px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-dropdown a:hover {
  color: var(--orange);
  background: #FFF9EC;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}

/* ================= 通用板块标题 / 更多按钮 ================= */
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  color: var(--orange);
  letter-spacing: 4px;
}
.more-btn {
  display: inline-block;
  margin: 40px auto 0;
  padding: 12px 48px;
  border: 2px solid var(--orange);
  border-radius: 32px;
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 2px;
  transition: all .25s;
}
.more-btn:hover {
  background: var(--orange);
  color: #fff;
}
.more-link {
  color: var(--orange);
  font-size: 16px;
}
.more-link:hover { text-decoration: underline; }

/* ================= 新闻板块 ================= */
.news-section { padding: 40px 0 40px; }
.news-layout {
  display: flex;
  gap: 26px;
  align-items: stretch;
}
.news-photo {
  flex: none;
  width: 597px;
  max-width: 45%;
  overflow: hidden;
  border-radius: 6px;
}
.news-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-list { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-list li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #F2F2F2;
}
.news-list li:last-child { border-bottom: none; }
.news-list a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 35px;
  transition: color .2s;
}
.news-list a:hover { color: var(--orange); }
.news-list time {
  flex: none;
  font-size: 14px;
  color: var(--text-light);
  font-family: Consolas, monospace;
}
.news-more {
  text-align: right;
  padding-top: 16px;
}

/* ================= 捐赠动态 ================= */
.donation-section { padding: 8px 0 44px; }
.donation-section .section-title { margin-bottom: 26px; }
.donation-layout {
  display: flex;
  gap: 26px;
  align-items: stretch;
}

/* 视频区（点击播放） */
.video-box {
  position: relative;
  flex: none;
  width: 603px;
  max-width: 46%;
  aspect-ratio: 603 / 378;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #A8D0E8;
}
.video-box img,
.video-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  transition: transform .2s, background .2s;
  z-index: 2;
}
.video-play::after {
  content: "";
  margin-left: 6px;
  border-style: solid;
  border-width: 17px 0 17px 28px;
  border-color: transparent transparent transparent var(--orange);
}
.video-box:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.video-box video { cursor: default; }

/* 捐赠滚动表（固定显示10条，从下往上循环滚动） */
.donation-panel {
  --row-h: 30px;
  flex: 1;
  min-width: 0;
  background: var(--grey-bg);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.donation-head,
.donation-list li {
  display: grid;
  grid-template-columns: 26% 30% 19% 25%;
  align-items: center;
  text-align: center;
}
.donation-head {
  flex: none;
  height: 44px;
  font-size: 17px;
  font-weight: bold;
  color: var(--text-main);
}
.donation-scroll {
  flex: none;
  position: relative;
  overflow: hidden;
  height: calc(var(--row-h) * 10);
}
.donation-track { will-change: transform; }
.donation-list li {
  height: var(--row-h);
  font-size: 14px;
  color: var(--text-sub);
  background: var(--grey-bg);
}
.donation-list li:hover { color: var(--text-main); }
.donation-panel .news-more {
  flex: none;
  padding: 12px 20px 14px;
}

/* 循环滚动动画（track 内为两份相同列表） */
.donation-track.donation-scrolling {
  animation: donationScrollUp 24s linear infinite;
}
.donation-scroll:hover .donation-track { animation-play-state: paused; }
@keyframes donationScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .donation-track.donation-scrolling { animation: none; }
}

/* ================= 公益项目 ================= */
.projects-section { padding: 8px 0 52px; }
.projects-section .section-title { margin-bottom: 28px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.project-card {
  text-align: center;
  padding: 10px 10px 14px;
  border-radius: 6px;
  transition: background .25s;
}
.project-card .pic {
  aspect-ratio: 517 / 439;
  overflow: hidden;
  border-radius: 4px;
}
.project-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.project-card:hover .pic img { transform: scale(1.05); }
.project-card h3 {
  margin-top: 8px;ss
  font-size: 22px;
  font-weight: bold;
  color: var(--text-main);
  transition: color .25s;
}
/* 鼠标经过：底色变橙、文字反白 */
.project-card:hover { background: var(--orange); }
.project-card:hover h3 { color: #fff; }
.projects-more { text-align: center; }

/* ================= 底部（PC 第一版设计稿） ================= */
/* 页脚：整块浅灰。上排 Logo+栏目链接，下排二维码+联系方式，版权行并入联系方式末尾 */
.site-footer { margin-top: 20px; }
.footer-band { background: var(--grey-bg); padding: 40px 0 32px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 0px;
}
.footer-logo { flex: none; width: 572px; }
.footer-links {
  flex: none;
  display: flex;
  gap: 56px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  font-size: 19px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 13px;
  line-height: 24px;
  color: var(--text-sub);
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }

.foot-info { display: flex; align-items: flex-start; gap: 22px; }
.footer-qr { flex: none; }
.footer-qr img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}
.footer-contact p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 24px;
}
/* 版权行：Copyright + 备案号 + 后台「技术维护」署名，由 common.js 一次拼出 */
.footer-copyright { letter-spacing: .5px; }

/* ================= 新闻图片轮播 ================= */
.news-photo.carousel {
  position: relative;
  aspect-ratio: 1195 / 808;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s;
  z-index: 0;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 5px;
  padding: 0;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: all .25s;
}
.carousel-dots button.active { width: 24px; background: var(--orange); }

/* ================= 汉堡按钮 + 移动端全屏菜单 ================= */
.nav-toggle {
  display: none;
  position: absolute;
  top: -8px;      /* 上提20px，避开人物面部 */
  right: 0;
  z-index: 6;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);   /* 三横杠用网站主色 */
  transition: transform .25s, opacity .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  overflow-y: auto;
  padding: 70px 28px 40px;
}
.mobile-menu.open { display: block; }
body.menu-open { overflow: hidden; }
.mm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  font-size: 32px;
  line-height: 44px;
  color: #333;
  cursor: pointer;
}
.mm-group { border-bottom: 1px solid #F0F0F0; padding: 10px 0; }
.mm-title {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main);
  padding: 8px 0;
}
.mm-sub {
  display: block;
  font-size: 15px;
  color: var(--text-sub);
  padding: 9px 0 9px 18px;
}
.mm-sub:hover {
  color: var(--orange);
  background: #FFF9EC;         /* 与 PC 端下拉悬停一致 */
}
.mm-title:active { color: var(--orange); }

/* ============================================================
   内页公共样式（关于我们/公益项目/机构动态/信息公开/志愿者）
   结构：左侧橙头子菜单 + 右侧内容（标题+英文副标+橙线）
   ============================================================ */
.page-body {
  width: var(--content-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 46px 24px 70px;
  display: flex;
  gap: 46px;
  align-items: flex-start;
}

/* 左侧子菜单（吸顶于主导航下方，至少留 40px） */
.side-menu {
  flex: none;
  width: 236px;
  position: sticky;
  top: 88px;   /* 主导航高约48px + 40px 间距 */
}
.side-head {
  background: var(--orange);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  padding: 14px 0;
  border-radius: 4px 4px 0 0;
}
.side-list {
  background: #F5F5F5;
  padding: 8px 0 14px;
  border-radius: 0 0 4px 4px;
}
.side-list a {
  display: block;
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.2;
  padding: 13px 10px;
  transition: all .2s;
}
.side-list a:hover { color: var(--orange); }
.side-list a.active {
  background: #FDEDC4;
  color: var(--orange);
  font-weight: bold;
}

/* 锚点定位预留吸顶导航+侧栏高度，保证跳转后标题可见 */
section[id] {
  scroll-margin-top: 108px;   /* 主导航约48px + 侧栏头部60px，与左侧栏顶对齐 */
}

/* 右侧内容区（浅色会标水印可复用定位：加 .wm 类置于段落中央） */
.page-main {
  flex: 1;
  min-width: 0;
  position: relative;
}
.wm {
  position: relative;
  background-image: url("../images/about/emblem-light.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 360px;
}
.page-title { border-bottom: 2px solid var(--orange); padding-bottom: 14px; margin-bottom: 26px; }
.page-title h2 { font-size: 26px; font-weight: bold; color: var(--text-main); line-height: 1.2; }
.page-title em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-top: 6px;
}

/* 图文段落（关于我们等） */
.rich-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 14px;
  text-align: justify;
}
.rich-text .kv { margin: 0 0 18px; }
.rich-text .kv p { margin-bottom: 6px; }
.sub-head {
  font-size: 19px;
  font-weight: bold;
  color: var(--orange);
  margin: 30px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--orange);
}
.text-muted { color: var(--text-light) !important; font-size: 13px !important; }

/* 卡片网格（机构动态/公益项目列表） */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 24px;
}
.news-card { display: block; }
.news-card .pic {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #F5F5F5;
}
.news-card .pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.news-card:hover .pic img { transform: scale(1.05); }
.news-card h3 {
  font-size: 16px;
  font-weight: normal;
  color: var(--text-main);
  line-height: 1.5;
  margin: 10px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover h3 { color: var(--orange); }
.news-card time { font-size: 13px; color: var(--text-light); }

/* 项目卡片（图+橙色下划线标题） */
.project-item { display: block; text-align: center; margin-bottom: 6px; }
.project-item .pic {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #F5F5F5;
}
.project-item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project-item:hover .pic img { transform: scale(1.05); }
.project-item .label {
  display: inline-block;
  margin-top: 12px;
  font-size: 19px;
  font-weight: bold;
  color: var(--text-main);
  padding-bottom: 6px;
  border-bottom: 3px solid var(--orange);
}
.project-item:hover .label { color: var(--orange); }

/* 文字列表（信息公开） */
.text-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #F2F2F2;
  padding: 15px 4px;
}
.text-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.text-list a {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.text-list a:hover { color: var(--orange); }
.text-list time { flex: none; font-size: 13px; color: var(--text-light); }

/* 分页 */
.empty-tip {
  padding: 60px 0;
  text-align: center;
  color: #999;
  font-size: 15px;
  line-height: 1.8;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}.pagination a {
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  text-align: center;
  padding: 0 8px;
  font-size: 14px;
  color: var(--text-sub);
  background: #F5F5F5;
  border-radius: 4px;
  transition: all .2s;
}
.pagination a:hover { color: var(--orange); }
.pagination a.current {
  background: var(--orange);
  color: #fff;
  font-weight: bold;
}

/* 项目详情页（按设计稿版式） */
.project-detail { max-width: 1060px; }
.pd-name {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  color: var(--text-main);
  letter-spacing: 6px;
  margin: 10px 0 26px;
}
.pd-intro {
  display: flex;
  gap: 34px;
  align-items: center;
  flex-wrap: wrap;
}
.pd-intro-text { flex: 1; min-width: 300px; }
.pd-logo { flex: none; width: 300px; }
.pd-photo {
  display: block;
  width: 100%;
  border-radius: 4px;
  margin: 8px 0 22px;
}
.pd-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 16px;
}
.pd-photos img { width: 100%; border-radius: 4px; }
.pd-map img { width: 100%; max-width: 720px; display: block; margin: 0 auto; }
.pd-legend {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin: 12px 0 18px;
  font-size: 14px;
  color: var(--text-sub);
}
.pd-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pd-legend .dot { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.dot-orange { background: var(--orange); }
.dot-grey { background: #BBB; }

/* 文章分享条（不带底线，分割线由 article-head 提供，避免双线） */
.article-share {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 12px 0 16px;
}
.article-share .share-label { font-size: 13px; color: var(--text-light); }
.article-share a {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  transition: transform .2s;
}
.article-share a:hover { transform: scale(1.15); }
.article-share img { width: 100%; height: 100%; display: block; }

/* 文章详情 */
.article { max-width: 980px; margin: 0 auto; }
.article-head { text-align: center; padding-bottom: 18px; border-bottom: 1px solid #EEE; }
.article-head h1 { font-size: 25px; line-height: 1.5; color: var(--text-main); }
.article-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.article-body { padding-top: 24px; }
.article-body p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 18px;
  text-align: justify;
}
.article-body img { margin: 10px auto 22px; max-width: 86%; border-radius: 4px; }
/* 旧站搬进来的年报、财务、制度类文章大量使用表格 */
.article-body table {
  width: 100%;
  margin: 14px 0 24px;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--text-sub);
}
.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  line-height: 1.7;
  word-break: break-word;
}
.article-body th { background: var(--orange-pale); font-weight: 600; color: var(--text-main); }
.article-body tr:nth-child(even) td { background: #FAFAFA; }
.article-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.article-nav a {
  padding: 9px 26px;
  border-radius: 24px;
  font-size: 14px;
  color: var(--text-sub);
  background: #F5F5F5;
  transition: all .2s;
}
.article-nav a:hover { background: var(--orange); color: #fff; }

/* 组织架构图（简单层级） */
.org-chart { text-align: center; padding: 12px 0 6px; }
.org-node {
  display: inline-block;
  background: #F3E3C3;
  color: #6B5A33;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 22px;
  margin: 0 10px;
}
.org-line { width: 2px; height: 22px; background: #E8CE9E; margin: 0 auto; }
.org-branch { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* 理事会成员（职位姓名在图片右侧简介上方） */
.member { display: flex; gap: 30px; margin-bottom: 34px; align-items: flex-start; }
.member .photo {
  flex: none;
  width: 260px;
}
.member .photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #F5F5F5;
}
.member .bio { flex: 1; min-width: 0; }
.member .bio h4 {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 12px;
}
.member .bio p { font-size: 15px; line-height: 2; color: #555; text-align: justify; }

/* 合作伙伴 logo 网格 */
.partner-group { margin-bottom: 34px; }
.partner-group h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 16px;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.partner-grid .logo-box {
  height: 88px;
  background: #FAFAFA;
  border: 1px solid #F0F0F0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-sub);
  padding: 12px;
  transition: all .2s;
}
.partner-grid .logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-grid .logo-box:hover { border-color: var(--orange); color: var(--orange); }

/* 项目聚焦（组织架构页） */
.focus-list { margin-top: 4px; }
.focus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px solid #F3E3C3;
}
.focus-item h4 { font-size: 18px; font-weight: bold; color: var(--text-main); }
.focus-item .txt { min-width: 0; }
.focus-item img {
  flex: none;
  width: 176px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

/* 联系我们 */
.contact-cols { display: flex; gap: 34px; align-items: flex-start; }
.contact-info { flex: 1; }
.contact-info p { font-size: 15px; line-height: 2.2; color: #444; }
.contact-map {
  flex: none;
  width: 420px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #EEE;
}
.contact-map img { width: 100%; display: block; }

/* 捐赠动态列表页（表格样式，每页50条） */
.donation-table {
  background: var(--grey-bg);
  border-radius: 6px;
  overflow: hidden;
}
.donation-table table {
  width: 100%;
  border-collapse: collapse;
}
.donation-table th,
.donation-table td {
  padding: 13px 10px;
  font-size: 15px;
  text-align: center;
}
.donation-table th {
  font-weight: bold;
  color: var(--text-main);
  border-bottom: 1px solid #E2E2E2;
}
.donation-table tr:nth-child(even) td { background: #FAFAFA; }
.donation-table tr:hover td { color: var(--orange); }
.donation-table td { color: var(--text-sub); }
@media (max-width: 600px) {
  .donation-table th, .donation-table td { font-size: 13px; padding: 9px 4px; }
}

/* 内页响应式 */
@media (max-width: 992px) {
  .page-body { flex-direction: column; padding: 24px 16px 48px; }
  .side-menu { width: 100%; position: static; }
  .side-list { display: flex; flex-wrap: wrap; }
  .side-list a { flex: 1 1 auto; padding: 11px 12px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cols { flex-direction: column; }
  .contact-map { width: 100%; }
  .member { flex-direction: column; }
  .member .photo { width: 140px; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .page-title h2 { font-size: 22px; }
  .article-head h1 { font-size: 20px; }
}

/* ================= 响应式 ================= */
@media (max-width: 1440px) {
  .nav-inner { gap: 48px; }
}

@media (max-width: 1200px) {
  .news-layout, .donation-layout { flex-direction: column; }
  .news-photo, .video-box { width: 100%; max-width: 100%; }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { flex-wrap: wrap; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 24px 48px; }
  .nav-inner { gap: 34px; }
  .site-nav .nav-item > a { font-size: 20px; }
}

@media (max-width: 992px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .news-photo { max-width: 100%; }
  .nav-inner { gap: 26px; }
  .nav-dropdown { display: none; }
  .footer-logo { width: 420px; }
}

@media (max-width: 768px) {
  /* banner 为整幅图，自动等比缩放；隐藏横向导航，右上角汉堡按钮 */
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .section-title { font-size: 26px; }
  .news-section, .donation-section, .projects-section { padding: 18px 0 48px; }
  .news-photo { aspect-ratio: 4 / 3; }
  .news-list li { padding: 10px 0; }
  .news-list a { font-size: 15px; }
  .video-box { width: 100%; max-width: 100%; }
  .video-play { width: 62px; height: 62px; }
  .video-play::after { border-width: 12px 0 12px 20px; }
  .donation-panel { --row-h: 32px; }
  .donation-head { font-size: 15px; height: 40px; }
  .donation-head, .donation-list li { grid-template-columns: 28% 28% 20% 24%; }

  /* 移动端底部：Logo 居中，隐藏栏目链接，二维码与联系方式仍左右并排 */
  .footer-band { padding: 22px 0 18px; }
  .footer-top {
    display: block;
    padding-bottom: 20px;
  }
  .footer-links { display: none; }
  .footer-logo { width: 62%; margin: 0 auto; display: block; }
  .foot-info { gap: 14px; }
  .footer-qr img { width: 72px; height: 72px; }
  .footer-contact { flex: 1; min-width: 0; }
  .footer-contact p {
    font-size: 12px;
    line-height: 19px;
    word-break: break-all;      /* 长地址自动换行，完整展示 */
  }
  .footer-copyright { font-size: 11px; letter-spacing: 0; }
  .more-btn { margin-top: 28px; padding: 10px 36px; }
}
