:root {
  --primary-blue: #054696;
  --light-blue: #e9f4ff;
  --title-gray: #333;
}
/* 评选活动页面样式 */
.selection-activity-page {
  padding: 10px 0 30px;
}

/* 面包屑导航 */
.activity-breadcrumb {
  margin-bottom: 30px;
}

.activity-breadcrumb .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

/* 活动介绍版块 */
.activity-intro-section {
  background-color: white;
  padding: 0;
}

.intro-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
  text-align: left;
}

.intro-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

/* 形象展示图片 */
.intro-images {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.intro-image-item {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.intro-image:hover {
  transform: scale(1.05);
}

/* 活动介绍文字 */
.intro-content {
  margin-bottom: 10px;
}

.intro-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  text-align: justify;
}

/* 查看详情链接 */
.intro-link {
  text-align: right;
}

.intro-link a {
  display: inline-block;
  color: var(--primary-blue);
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 4px;
}

.intro-link a:hover {
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* 信息列表版块 */
.activity-list-section {
  background-color: white;
  padding: 20px 0;
}

.list-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 4px solid var(--primary-blue);
}

/* 信息列表项 */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.activity-item, .activity-item-green {
  display: flex;
  background-color: #fafafa;
  overflow: hidden;
  border: 1px solid #e0e6ed;
}

.activity-item:hover {
  border-color: #143077;
}

.activity-item-green:hover {
  border-color: #a1d794;
}

/* 左边图片 */
.item-image {
  flex: 0 0 400px;
  overflow: hidden;
  position: relative;
}

.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-item:hover .item-img, .activity-item-green:hover .item-img {
  transform: scale(1.05);
}

/* 右边内容区域 */
.item-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 280px;
}

/* 前三行容器（上下居中） */
.item-top-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 60px; /* 为第四行留出空间 */
}

/* 第一行：主标题 */
.item-main-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* 第二行：副标题 */
.item-sub-title {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.item-title-line {
  width: 60px;
  height: 2px;
  background-color: var(--primary-blue);
  margin-bottom: 20px;
}

/* 第三行：简介说明 */
.item-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  max-height: 72px; /* 限制最多3行 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 第四行：查看详情链接（固定位置） */
.item-link {
  position: absolute;
  bottom: 30px;
  right: 30px;
  text-align: right;
}

.item-link a {
  display: inline-block;
  color: var(--primary-blue);
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 4px;
}

.item-link a:hover {
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .activity-item {
    flex-direction: column;
  }

  .item-image {
    flex: 0 0 300px;
    width: 100%;
  }

  .intro-images {
    flex-direction: column;
  }

  .intro-image-item {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .activity-intro-section,
  .activity-list-section {
    padding: 30px 20px;
  }

  .intro-title {
    font-size: 28px;
  }

  .list-title {
    font-size: 24px;
  }

  .item-content {
    padding: 20px;
    min-height: auto;
  }

  .item-top-content {
    margin-bottom: 50px;
  }

  .item-main-title {
    font-size: 20px;
  }

  .item-link {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .selection-activity-page {
    padding: 20px 0 40px;
  }

  .intro-title {
    font-size: 24px;
  }

  .list-title {
    font-size: 22px;
  }

  .item-main-title {
    font-size: 18px;
  }

  .item-description {
    -webkit-line-clamp: 2;
    max-height: 48px;
  }

  .intro-image {
    height: 200px;
  }
}

/* 空状态 */
.empty-list {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 18px;
}

.empty-list i {
  font-size: 60px;
  margin-bottom: 20px;
  color: #ddd;
  display: block;
}
