/* 现代化联系我们页面样式 */
.banner {
  position: relative;
  height: 395px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.banner .banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner .banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  animation: scroll 10s linear infinite;
}

@keyframes scroll {
  0% {
    transform: scale(1.12);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.12);
  }
}

.banner .banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  color: white;
}

.banner .banner-title {
  width: 100%;
  font-size: 36px;
  color: #fff;
  font-weight: bold;
  line-height: 36px;
  text-align: center;
  position: absolute;
  margin-bottom: 20px;
  position: relative;
}

.banner .banner-subtitle {
  width: 100%;
  white-space: nowrap;
  margin-bottom: 10px;
  font-size: 70px;
  line-height: 70px;
  text-align: center;
  font-weight: bold;
  position: absolute;
  left: 50%;
  top: -40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2)
  );
  transform: translateX(-50%);
  -webkit-background-clip: text;
  color: transparent;
}

.banner .banner-desc {
  width: 100%;
  font-size: 18px;
  color: #fff;
  line-height: 18px;
  text-align: center;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 20px;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
}

.tab-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding-left: 11%;
  box-sizing: border-box;
  z-index: 3;
}

.tab-container .tab-list {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #002768;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.tab-container .tab-list .tab-item {
  min-width: 100px;
  height: 100%;
  line-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  padding: 0 30px;
  color: #fff;
  transition: all 0.3s ease;
}

.tab-container .tab-list .tab-item:hover {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background: #ce1127;
  height: calc(100% + 20px);
  line-height: 80px;
}

.tab-container .tab-list .tab-item.active {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background: #ce1127;
  height: calc(100% + 20px);
}

/* 新闻容器 */
.news-container {
  box-sizing: border-box;
  display: flex;
  gap: 30px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 11%;
  min-height: 100vh;
}

/* 左侧主要新闻区域 */
.news-container .main-news {
  width: fit-content;
  flex: 2;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.news-container .main-news .news-header {
  background: linear-gradient(135deg, #002667, #004080);
  color: white;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
}

.news-container .main-news .news-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.news-container .main-news .news-list {
  padding: 0;
}

.news-container .main-news .news-item {
  display: flex;
  padding: 25px 30px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-container .main-news .news-item:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

.news-container .main-news .news-item:hover .news-title {
  color: #ce1127;
}

.news-container .main-news .news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-container .main-news .news-item:last-child {
  border-bottom: none;
}

.news-container .main-news .news-item .news-image {
  width: 200px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
}

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

.news-container .main-news .news-item .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-container .main-news .news-item .news-content .news-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-container .main-news .news-item .news-content .news-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 15px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-container .main-news .news-item .news-content .news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-container .main-news .news-item .news-content .news-meta .news-time {
  font-size: 13px;
  color: #999;
}

.news-container .main-news .pagination-wrapper {
  padding: 20px 30px;
  display: flex;
  justify-content: center;
}

/* 右侧热门新闻区域 */
.news-container .hot-news {
  flex: 1;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.news-container .hot-news .hot-news-header {
  background: linear-gradient(135deg, #ce1127, #a00e1f);
  color: white;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-container .hot-news .hot-news-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.news-container .hot-news .hot-news-header .header-icon {
  font-size: 18px;
  opacity: 0.9;
}

.news-container .hot-news .hot-news-list {
  padding: 0;
}

.news-container .hot-news .hot-news-item {
  display: flex;
  align-items: flex-start;
  padding: 15px 25px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-container .hot-news .hot-news-item:hover {
  background-color: #f8f9fa;
}

.news-container .hot-news .hot-news-item:hover .hot-title {
  color: #ce1127;
}

.news-container .hot-news .hot-news-item:last-child {
  border-bottom: none;
}

.news-container .hot-news .hot-news-item .hot-rank {
  margin-right: 15px;
  flex-shrink: 0;
}

.news-container .hot-news .hot-news-item .hot-rank .rank-number {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  background-color: #e8edf1;
  color: #666;
}

.news-container .hot-news .hot-news-item .hot-rank .rank-number.top-three {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
}

.news-container .hot-news .hot-news-item .hot-content {
  flex: 1;
  min-width: 0;
}

.news-container .hot-news .hot-news-item .hot-content .hot-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}

.news-container .hot-news .hot-news-item .hot-content .hot-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #999;
}

.news-container .hot-news .hot-news-item .hot-content .hot-meta .hot-time {
  flex-shrink: 0;
}

.news-container .hot-news .hot-news-item .hot-content .hot-meta .hot-views {
  color: #ce1127;
  font-weight: 500;
}
