/* 国际传播中心页面样式 */

:root {
  --primary-color: #C7000B;
  --secondary-color: #E60012;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --hover-color: #A00009;
}

/* 页面背景 */
body {
  background: linear-gradient(135deg, #fdf6f6 0%, #fff9f9 100%);
}

.main-container {
  padding-top: 36px;
}

/* ===== Banner 区域 ===== */
.icc-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 100px 60px;
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 50%, #1A252F 100%);
  color: white;
  border-radius: 0;
  margin: 0;
  max-width: none;
  position: relative;
  overflow: hidden;
}

.icc-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.icc-banner-content {
  flex: 1;
  animation: slideInLeft 0.8s ease-out;
  position: relative;
  z-index: 1;
}

.icc-banner-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.icc-banner-desc {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0.95;
  font-weight: 400;
}

.icc-banner-btns {
  display: flex;
  gap: 20px;
}

.icc-banner-btn {
  padding: 14px 35px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icc-banner-btn.primary {
  background: white;
  color: #2C3E50;
}

.icc-banner-btn.primary:hover {
  transform: translateY(-3px);
  border: 1px solid white;
}

.icc-banner-btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.icc-banner-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.icc-banner-img {
  flex: 1;
  animation: slideInRight 0.8s ease-out;
  position: relative;
  z-index: 1;
  height: 100%;
}

.icc-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ===== 章节标题样式 ===== */
.icc-section {
  padding: 80px 20px;
  background: white;
}

.icc-section:nth-child(odd) {
  background: #fafafa;
}

.icc-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.icc-section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.icc-section-subtitle {
  font-size: 16px;
  color: #999;
  letter-spacing: 2px;
}

/* ===== 中心概况 ===== */
.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.overview-image{
  font-size: 0px;
}

.overview-image img {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.overview-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.overview-item {
  display: flex;
  gap: 20px;
}

.overview-icon {
  font-size: 36px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.overview-detail h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.overview-detail p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ===== 查询/咨询 ===== */
.consultation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.consultation-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.consultation-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--primary-color);
}

.consultation-icon {
  font-size: 44px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.consultation-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 10px 0;
}

.consultation-desc {
  font-size: 13px;
  color: #666;
  margin: 0 0 20px 0;
}

.btn-consult {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-consult:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

/* 政策解读与合作动态 */
.news-updates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.updates-column {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.updates-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 25px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.updates-title i {
  color: var(--primary-color);
  font-size: 20px;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.update-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.update-item:last-child {
  border-bottom: none;
}

.update-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  background: var(--light-gray);
  padding: 4px 8px;
  border-radius: 4px;
}

.update-link {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
}

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

/* ===== 国际品牌交流活动 ===== */
.activities-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-color);
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--primary-color);
}

.event-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.event-info {
  padding: 20px;
}

.event-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.event-desc {
  font-size: 13px;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #999;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== 获奖展示 ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.award-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.award-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--primary-color);
}

.award-image {
  width: 100%;
  height: 300px; /* 增加高度以显示完整图片 */
  overflow: hidden;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 使用contain代替cover，确保完整显示图片 */
  background-color: #f5f5f5; /* 添加背景色，使图片周围区域不显得突兀 */
  transition: transform 0.3s ease;
}

.award-card:hover .award-image img {
  transform: scale(1.05);
}

.award-info {
  padding: 20px;
  text-align: center;
}

.award-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.award-desc {
  font-size: 13px;
  color: #666;
  margin: 0 0 12px 0;
}

.award-year {
  display: inline-block;
  font-size: 12px;
  color: white;
  background: var(--primary-color);
  padding: 4px 12px;
  border-radius: 12px;
}

/* ===== 视频展示 ===== */
.video-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.video-filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-color);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.video-filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--primary-color);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #000;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.8;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
  opacity: 0;
}

.video-card:hover .play-button {
  opacity: 1;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.video-info {
  padding: 15px;
}

.video-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.video-source {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px 0;
}

.video-date {
  font-size: 12px;
  color: #999;
  display: inline-block;
  background: var(--light-gray);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===== 查看更多按钮样式 ===== */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.load-more-btn {
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  background: white;
  color: var(--primary-color);
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: white;
}

.load-more-btn.expanded {
  background: var(--primary-color);
  color: white;
}

.load-more-btn i {
  font-size: 14px;
}

/* ===== 折叠文章样式 ===== */
.event-card.hidden {
  display: none;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  .icc-banner {
    flex-direction: column;
    padding: 60px 30px;
    gap: 30px;
    text-align: center;
  }

  .icc-banner-title {
    font-size: 36px;
  }

  .icc-banner-desc {
    font-size: 16px;
  }

  .icc-banner-btns {
    justify-content: center;
  }

  .icc-section-title {
    font-size: 28px;
  }

  .overview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-updates {
    grid-template-columns: 1fr;
  }

  .consultation-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities-tabs {
    gap: 10px;
  }

  .tab-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .icc-banner-title {
    font-size: 26px;
  }

  .icc-banner-desc {
    font-size: 14px;
  }

  .icc-section {
    padding: 40px 15px;
  }

  .icc-section-title {
    font-size: 22px;
  }

  .consultation-cards {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .award-image {
    height: 250px; /* 移动设备上适当调整高度 */
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .overview-item {
    flex-direction: column;
    text-align: center;
  }

  .overview-icon {
    font-size: 28px;
  }
}

/* ===== 动画效果 ===== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
