/* 新闻页面专用样式 */

/* 页面头部横幅 */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}
.card-link {
  text-decoration: none;
}
.page-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(52, 73, 123, 0.9),
    rgba(52, 73, 123, 0.7)
  );
  z-index: -1;
}

.page-hero-content {
  padding: 0px 20px;
}

.breadcrumb {
  font-size: 0.9rem;
  margin: 10px auto;
  opacity: 0.8;
}

.breadcrumb a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #00bcd4;
}

.separator {
  margin: 0 10px;
  color: black;
}

.current {
  color: #00bcd4;
}

.page-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* 导航栏活动状态 */
.nav-menu a.active {
  color: #00bcd4;
  position: relative;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00bcd4;
}

/* 新闻筛选部分 */
.news-filter-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.filter-tabs {
  display: flex;
  gap: 20px;
}

.filter-tab {
  background: transparent;
  border: 2px solid #ddd;
  color: #666;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-tab:hover,
.filter-tab.active {
  background: #34497b;
  border-color: #34497b;
  color: white;
}

.search-box {
  position: relative;
  min-width: 300px;
}

.search-box input {
  width: 100%;
  padding: 12px 45px 12px 20px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #00bcd4;
}

.search-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  cursor: pointer;
}

/* 特色新闻部分 */
.featured-news-section {
  padding: 80px 0;
  background: white;
}

.featured-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-news-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.featured-news:hover .featured-news-image img {
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(45deg, #ff6b6b, #ff5252);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.featured-news-content h2 {
  font-size: 2.2rem;
  color: #34497b;
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-news-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 30px;
}

.news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.news-category {
  background: #00bcd4;
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.news-date {
  color: #999;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.featured-news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more-btn {
  background: linear-gradient(45deg, #34497b, #2c3e50);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(52, 73, 123, 0.3);
}

.social-share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-share span {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #f8f9fa;
  border-radius: 50%;
  color: #666;
  transition: all 0.3s ease;
}

.social-share a:hover {
  background: #00bcd4;
  color: white;
  transform: translateY(-3px);
}

/* 新闻列表部分 */
.news-list-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.news-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.news-list-header h2 {
  font-size: 2.5rem;
  color: #34497b;
}

.sort-options select {
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 25px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.sort-options select:focus {
  outline: none;
  border-color: #00bcd4;
}

/* 新闻网格 */
.news-grid {
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
  /*gap: 40px;*/
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  margin-bottom: 60px;
}

.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  width: 30%;
  margin-right: 3%;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.news-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.news-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 73, 123, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-card-overlay {
  opacity: 1;
}

.quick-read-btn {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.news-card:hover .quick-read-btn {
  transform: translateY(0);
}

.news-card-content {
  padding: 25px;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.news-card-category {
  background: #00bcd4;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.news-card-date {
  color: #999;
  font-size: 0.85rem;
}

.news-card h3 {
  font-size: 1.3rem;
  color: #34497b;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card:hover h3,
.news-card:hover h3 a {
  color: #00bcd4;
}

.news-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 0.85rem;
}

.card-read-more {
  background: transparent;
  border: none;
  color: #00bcd4;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.card-read-more:hover {
  color: #34497b;
  transform: translateX(5px);
}

/* 加载更多部分 */
.load-more-section {
  text-align: center;
}

.load-more-btn {
  background: linear-gradient(45deg, #34497b, #2c3e50);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(52, 73, 123, 0.3);
}

/* 新闻订阅部分 */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #34497b, #2c3e50);
  color: white;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.newsletter-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.newsletter-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.form-group {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
}

.subscribe-btn {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: #0097a7;
  transform: translateY(-3px);
}

.privacy-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

/* 页脚 */
.footer-section {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo > img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-column h4 {
  color: #00bcd4;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00bcd4;
}

.footer-column p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 30px 0;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .filter-controls {
    flex-direction: column;
    gap: 20px;
  }

  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .search-box {
    min-width: auto;
    width: 100%;
  }

  .featured-news {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-news-actions {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .news-list-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .news-grid {
    /*grid-template-columns: 1fr;*/
    flex-direction: column;
  }
  .news-card {
    width: 100%;
    margin-right: 0;
  }
  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .form-group {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.8rem;
  }

  .featured-news-content h2 {
    font-size: 1.8rem;
  }

  .news-list-header h2 {
    font-size: 2rem;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }
}
