/* 资源中心页面样式 */

/* ========== 资源Banner ========== */
.activity-banner {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: var(--color-white);
}

.activity-banner .banner__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
  color: var(--color-white);
}

.activity-banner .banner__subtitle {
  font-size: var(--font-size-h4);
  opacity: 0.9;
}

/* ========== 锚点导航 ========== */
.activity-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-300);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.anchor-nav {
  display: flex;
  gap: 40px;
  padding: 20px 0;
}

.anchor-nav__item {
  padding: 8px 0;
  color: var(--color-gray-600);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
  font-size: var(--font-size-h6);
}

.anchor-nav__item:hover,
.anchor-nav__item.active {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary-dark);
}

/* ========== 资源区块 ========== */
.activity-section {
  padding: 80px 0;
  background: var(--color-gray-50);
}

.activity-section--white {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--font-size-h5);
  color: var(--color-gray-600);
}

/* ========== 报告网格 ========== */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.report-card {
  background: linear-gradient(180deg, #F9FCF9 0%, #F0F9F0 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  border: 1px solid #E8F5E9;
  min-height: 300px;
  cursor: pointer;
  position: relative;
}

.report-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(46, 125, 50, 0.1) 0%, rgba(46, 125, 50, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.report-card:hover::after {
  opacity: 1;
}

.report-card:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.1s ease;
}

.report-card:active::after {
  opacity: 0.8;
}

.report-card__cover {
  display: none;
}

.report-badge {
  display: inline-block;
  background: rgba(46, 125, 50, 0.1);
  color: #2E7D32;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: var(--font-weight-normal);
  margin-bottom: 16px;
  align-self: flex-start;
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.report-card__content {
  padding: 25px 28px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.report-title {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: #1B5E20;
  margin-bottom: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  word-break: break-word;
  hyphens: auto;
  flex-shrink: 0;
}

.report-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
  min-height: 0;
}

.report-desc .highlight-keyword {
  color: #2E7D32;
  font-weight: var(--font-weight-bold);
}

.report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0;
  border-top: 1px solid rgba(46, 125, 50, 0.1);
  margin-bottom: 14px;
  font-size: 12px;
  color: #666666;
  gap: 16px;
  flex-shrink: 0;
}

.report-author,
.report-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666666;
}

.report-author i,
.report-date i {
  font-size: 14px;
  opacity: 0.7;
}

/* 图标样式 - 使用Unicode字符 */
.report-author .icon-author::before {
  content: "👤";
  font-style: normal;
  font-size: 12px;
  margin-right: 4px;
  vertical-align: middle;
  opacity: 0.8;
}

.report-date .icon-calendar::before {
  content: "📅";
  font-style: normal;
  font-size: 12px;
  margin-right: 4px;
  vertical-align: middle;
  opacity: 0.8;
}

/* 报告下载按钮样式 */
.button--report-download {
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
  color: var(--color-white);
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  align-self: flex-start;
  margin-top: auto;
  flex-shrink: 0;
}

.button--report-download:hover {
  background: linear-gradient(135deg, #3a9a3f 0%, #5cbf60 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.button--report-download .icon-download {
  display: inline-block;
  margin-right: 6px;
  font-style: normal;
}

.button--report-download .icon-download::before {
  content: "↓";
  font-style: normal;
  font-size: 14px;
  vertical-align: middle;
}

/* ========== 活动时间轴 ========== */
.events-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-gray-300);
}

.event-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  padding-top: 8px;
}

.event-date .month {
  display: block;
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.event-date .year {
  display: block;
  font-size: var(--font-size-small);
  color: var(--color-gray-500);
}

.event-content {
  flex: 1;
  display: flex;
  gap: 24px;
}

.event-image {
  width: 300px;
  height: 200px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-gray-200);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  color: var(--color-gray-500);
  font-size: var(--font-size-small);
  border: 2px dashed var(--color-gray-300);
}

.event-image-placeholder i {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.event-info {
  flex: 1;
}

.event-title {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-900);
  margin-bottom: 12px;
}

.event-location {
  font-size: var(--font-size-small);
  color: var(--color-gray-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-desc {
  font-size: var(--font-size-small);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: 16px;
}

.event-highlights {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.event-highlights .highlight {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: var(--font-size-tiny);
  font-weight: var(--font-weight-semibold);
}

/* ========== CTA区 ========== */
/* CTA样式已移至 common.css */

/* ========== 响应式设计 ========== */
@media (max-width: 767px) {
  .activity-banner {
    padding: 60px 0 40px;
  }

  .activity-banner .banner__title {
    font-size: var(--font-size-h2);
  }

  .activity-banner .banner__subtitle {
    font-size: var(--font-size-h6);
  }

  .activity-nav {
    top: 60px;
  }

  .anchor-nav {
    justify-content: center;
    gap: 20px;
  }

  .anchor-nav__item {
    font-size: var(--font-size-small);
  }

  .activity-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: var(--font-size-h3);
  }

  .section-subtitle {
    font-size: var(--font-size-h6);
  }

  .reports-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .report-card {
    min-height: 300px;
  }

  .report-card__content {
    padding: 20px;
  }

  .report-title {
    font-size: 16px;
  }

  .report-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .event-card {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .event-date {
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .event-date .month {
    font-size: 24px;
  }

  .event-content {
    flex-direction: column;
  }

  .event-image {
    width: 100%;
    height: 200px;
  }

  /* CTA响应式样式已移至 common.css */
}

@media (min-width: 768px) and (max-width: 1199px) {
  .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-image {
    width: 250px;
    height: 180px;
  }
}

