/* 首页样式 */

/* ========== 轮播（仅图片，不叠压导航） ========== */
.home-hero-block {
  background: #fff;
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  /* background: #e8eef5; */
}

.home-hero .hero-slides {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.home-hero .hero-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  /* background: #e8eef5; */
}

.home-hero .hero-slide.active {
  position: relative;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.home-hero .hero-slide img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  /* max-height: 480px; */
  object-fit: contain;
  margin: 0 auto;
}

/* 轮播索引：轮播图下方，居中 < 1 2 3 … > */
.hero-controls {
  padding: 14px 0 16px;
  position: relative;
  margin-top: -58px;
  z-index: 9;
}

.hero-index {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  padding-bottom: 12px;
  max-width: var(--container-width);
  /* margin: 0 auto; */
}

.hero-index::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  /* background: #d8dde3; */
}

.hero-index-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-index-list li {
  margin: 0;
  padding: 0;
}

.hero-index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  color: #ffffff99;
  cursor: pointer;
}

.hero-index-num:hover {
  color: #fff;
}

.hero-index-num.active {
  /* background: #005984; */
  color: #fff;
  font-size: 22px;
}

.hero-index-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-index-arrow img {
  width: 28px;
  height: 28px;
  display: block;
}

.hero-index-arrow:hover {
  opacity: 0.7;
}

/* 首页区块 */
.home-section {
  padding: 50px 0;
}

.home-section:nth-child(odd) {
  background: #fafbfc;
}

/* 新闻中心 */
#news-center .news-featured {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

#news-center .featured-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#news-center .featured-body .section-head {
  margin-bottom: 20px;
  padding-bottom: 12px;
}

#news-center .news-featured .featured-img {
  width: 480px;
  flex-shrink: 0;
  overflow: hidden;
}

#news-center .news-featured .featured-img img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

#news-center .news-featured .featured-body h3 {
  font-size: 20px;
  font-weight: 600;
  /* color: var(--color-primary-dark); */
  margin-bottom: 16px;
  line-height: 1.5;
}

#news-center .news-featured .featured-body h3 a:hover {
  /* color: var(--color-primary); */
}

#news-center .news-featured .featured-body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

#news-center .news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#news-center .news-grid-3 .news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin-bottom: 12px;
}

#news-center .news-grid-3 .news-card h4 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}

#news-center .news-grid-3 .news-card h4 a:hover {
  color: var(--color-primary);
}

/* 三栏：智库研究 / 决策建议 / 媒体视角 */
.home-cols-3 {
  background: #f7f8fa;
}

.home-cols-3 .cols-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  grid-template-rows: auto auto auto;
  column-gap: 28px;
  row-gap: 22px;
  align-items: stretch;
}

.home-cols-3 .col-block {
  min-width: 0;
}

/* 智库研究 / 决策建议：同行卡片等高对齐（subgrid） */
@supports (grid-template-rows: subgrid) {
  .home-cols-3 .col-block-research,
  .home-cols-3 .col-block-policy {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }

  .home-cols-3 .col-block-media {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }

  .home-cols-3 .col-block-list {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 0;
  }

  .home-cols-3 .col-block-media .col-media-list {
    grid-row: 2 / span 2;
    align-self: start;
  }
}

.home-cols-3 .section-head {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #DADADA;
}


.home-cols-3 .section-head-noOrder{
	border-bottom: none;
}

.home-cols-3 .section-title {
  font-size: 20px;
  color: var(--color-primary-dark);
}

.home-cols-3 .section-title img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.home-cols-3 .more-link {
  font-size: 13px;
  color: #3DA1D2;
  white-space: nowrap;
}

/* 智库研究 / 决策建议：上图下文 */
.home-cols-3 .col-block-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-cols-3 .col-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  min-height: 0;
}

.home-cols-3 .col-card-thumb {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.home-cols-3 .col-card-thumb img {
  width: 100%;
  height: 224px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-cols-3 .col-card-thumb:hover img {
  transform: scale(1.03);
}

.home-cols-3 .col-card-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 8px;
}

.home-cols-3 .col-card-title a {
  color: inherit;
}

.home-cols-3 .col-card-title a:hover {
  color: var(--color-primary);
}

.home-cols-3 .col-card-date {
  display: block;
  margin-top: auto;
  font-size: 13px;
  color: #9a6b4a;
}

/* 不支持 subgrid 时：近似同行等高 */
@supports not (grid-template-rows: subgrid) {
  .home-cols-3 .col-block-research .col-card,
  .home-cols-3 .col-block-policy .col-card {
    min-height: 320px;
  }
}

/* 媒体视角：纯文字列表 */
.home-cols-3 .col-media-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-cols-3 .col-media-item {
  padding: 14px 0;
  border-bottom: 1px solid #e0e0e0;
}

.home-cols-3 .col-media-item:first-child {
  padding-top: 0;
}

.home-cols-3 .col-media-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-cols-3 .col-media-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 8px;
}

.home-cols-3 .col-media-title a {
  color: var(--color-text);
}

.home-cols-3 .col-media-title a:hover {
  color: var(--color-primary);
}

.home-cols-3 .col-media-date {
  display: block;
  font-size: 13px;
  color: #9a6b4a;
}

/* 高端活动 */
.home-activities .activity-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-activities .activity-row-top {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.home-activities .activity-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-activities .activity-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* 图片区：文字叠在图片上 */
.home-activities .activity-card-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-activities .activity-card-visual img {
  width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* 左侧大卡片 */
.home-activities .activity-hero .activity-card-visual {
  height: 340px;
}

.home-activities .activity-hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  /* display: flex;
  align-items: flex-end;
  justify-content: space-between; */
  gap: 16px;
  padding: 16px 20px;
  background: #0D406A55;
  color: #fff;
}

.home-activities .activity-hero-title {
  margin: 0;
  /* padding-bottom: 10px; */
  /* border-bottom: 2px solid rgba(255, 255, 255, 0.85); */
  font-size: 24px;
  font-weight: 600;
  color: #FEDF8D;
  line-height: 1.4;
  flex: 1;
}

.home-activities .activity-hero-deco {
  font-size: 42px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  letter-spacing: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 右侧浅色卡片列 */
.home-activities .activity-side-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.home-activities .activity-lite .activity-card-visual {
  height: 168px;
}

.home-activities .activity-lite--sm .activity-card-visual {
  height: 148px;
}

.home-activities .activity-lite-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px 16px;
  height: 100%;
  /* background: linear-gradient(0deg, rgba(245, 248, 251, 0.95) 0%, rgba(245, 248, 251, 0.75) 55%, transparent 100%); */
}

.home-activities .activity-lite-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1a4f9c;
  line-height: 1.45;
}

.home-activities .activity-lite-link {
  display: inline-block;
  font-size: 13px;
  color: #3da1d2;
}

.home-activities .activity-lite-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}

.home-activities .activity-lite-pair .activity-lite .activity-card-visual {
  height: 148px;
}

/* 底部横幅卡片 */
.home-activities .activity-banner .activity-card-visual {
  height: 200px;
}

.home-activities .activity-banner-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  /* display: flex;
  align-items: flex-start; */
  gap: 12px;
  padding: 14px 18px;
  background: #0D406A55;
}

.home-activities .activity-banner-tag {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap;
}

.home-activities .activity-banner-text {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #FEDF8D;
  line-height: 1.5;
}

/* 智库成果轮播 */
.achievements-slider {
  position: relative;
  padding: 0 50px;
}

.achievements-track-wrap {
  overflow: hidden;
}

.achievements-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.achievement-item {
  flex: 0 0 calc(25% - 18px);
  text-align: center;
}

.achievement-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}

.achievement-item p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.4;
}

.achievements-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}

.achievements-slider .slider-btn.prev {
  left: 0;
  background-image: url("../image/btn_left.png");
}

.achievements-slider .slider-btn.next {
  right: 0;
  background-image: url("../image/btn_right.png");
}

.achievements-slider .slider-btn:hover {
  opacity: 0.85;
}

/* 国际组织 */
.org-featured {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.org-featured .org-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.org-featured .org-text .section-head {
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.org-featured .org-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.org-featured .org-text p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.org-featured .org-img {
  width: 480px;
  flex-shrink: 0;
}

.org-featured .org-img img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.org-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.org-grid-3 img {
  width: 100%;
  height: 216px;
  object-fit: cover;
  margin-bottom: 10px;
}

.org-grid-3 h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* 专家 Tab */
#experts .expert-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 36px;
}

#experts .expert-tabs-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 8px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#experts .expert-tabs-nav::-webkit-scrollbar {
  display: none;
}

#experts .expert-tabs .tab-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 22px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

#experts .expert-tabs .tab-btn:hover {
  color: #1a4f9c;
}

#experts .expert-tabs .tab-btn.active {
  background: #3da8d8;
  color: #fff;
  font-weight: 500;
}

#experts .expert-tabs .tab-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #3da1d2;
  text-decoration: none;
}

#experts .expert-tabs .tab-more::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: url("../image/right2.png") no-repeat center center;
  background-size: contain;
  flex-shrink: 0;
}

#experts .expert-tabs .tab-more:hover {
  color: var(--color-primary);
}

.expert-panel {
  display: none;
}

.expert-panel.active {
  display: block;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.expert-card {
  text-align: center;
}

.expert-card .photo-wrap {
  position: relative;
  margin-bottom: 12px;
  padding: 8px;
  --photo-deco-size: 52px;
  width: 144px;
  height: 204px;
  margin: auto;
}

.expert-card .photo-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--photo-deco-size);
  height: var(--photo-deco-size);
  background: #e8e8e8;
  /* clip-path: polygon(0 0, 100% 0, 0 100%); */
  z-index: 0;
}

.expert-card .photo-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--photo-deco-size);
  height: var(--photo-deco-size);
  background: #3da8d8;
  /* clip-path: polygon(100% 100%, 0 100%, 100% 0); */
  z-index: 0;
}

.expert-card img {
  position: relative;
  z-index: 1;
  width: 144px;
  height: 188px;
  object-fit: cover;
}

.expert-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.expert-card p {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* 首页移动端 */
@media (max-width: 1199px) {
  .home-hero,
  .home-hero .hero-slides,
  .home-hero .hero-slide {
    min-height: 200px;
  }

  .home-hero .hero-slide img {
    /* max-height: 280px; */
  }

  .hero-index {
    gap: 6px;
    padding-bottom: 10px;
  }

  .hero-index-num {
    min-width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .hero-index-arrow img {
    width: 24px;
    height: 24px;
  }

  #news-center .news-featured {
    flex-direction: column;
  }

  #news-center .news-featured .featured-img {
    width: 100%;
  }

  #news-center .news-grid-3,
  #home-cols-3 .cols-3,
  .org-grid-3 {
    grid-template-columns: 1fr;
  }

  .home-cols-3 .col-card-thumb img {
    height: 200px;
  }

  .home-activities .activity-row-top,
  .home-activities .activity-row-bottom {
    grid-template-columns: 1fr;
  }

  .home-activities .activity-hero .activity-card-visual {
    height: auto;
  }

  .home-activities .activity-hero-deco {
    font-size: 28px;
  }

  .home-activities .activity-lite-pair {
    grid-template-columns: 1fr;
  }

  .home-activities .activity-banner .activity-card-visual {
    height: 180px;
  }

  .org-featured {
    flex-direction: column;
  }

  .org-featured .org-img {
    width: 100%;
  }

  #experts .expert-tabs {
    gap: 12px;
  }

  #experts .expert-tabs-nav {
    gap: 8px 12px;
  }

  #experts .expert-tabs .tab-btn {
    padding: 8px 16px;
    font-size: 15px;
  }

  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .expert-card .photo-wrap {
    width: 100%;
    max-width: 144px;
    height: auto;
  }

  .expert-card img {
    width: 100%;
    height: auto;
    max-width: 144px;
    max-height: 188px;
  }

  .expert-card h4 {
    font-size: 15px;
  }

  .expert-card p {
    font-size: 11px;
  }

  .achievement-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 576px) {
  .achievement-item {
    flex: 0 0 100%;
  }

}
