/* 全局样式 */
body {
  font-size: 18px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f8f9fa;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #0056b3;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo h1 {
  margin: 0;
  color: white;
  font-size: 28px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #f8f9fa;
  text-decoration: underline;
}

main {
  margin: 40px;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  text-align: center;
  margin-bottom: 40px;
}

.hero-content h2 {
  font-size: 36px;
  color: #0056b3;
  margin-bottom: 20px;
}

.featured-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.featured-content article {
  width: 30%;
  margin-bottom: 30px;
  text-align: center;
  padding: 20px;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.featured-content article:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.featured-content article img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.featured-content article h4 {
  color: #0056b3;
  margin-bottom: 10px;
}

.article-list article {
  display: flex;
  margin-bottom: 30px;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
}

.article-list article:last-child {
  border-bottom: none;
}

.article-list article img {
  width: 100px;
  height: 70px;
  margin-right: 20px;
  object-fit: cover;
  border-radius: 5px;
}

.article-details h3 {
  color: #0056b3;
  margin-bottom: 10px;
}

.article-details a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.article-details a:hover {
  text-decoration: underline;
}

.article-full {
  text-align: justify;
}

.article-full h2 {
  color: #0056b3;
  margin-bottom: 20px;
}

.article-full.article-image {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}

footer {
  background-color: #e9ecef;
  padding: 20px 40px;
  text-align: center;
}

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

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
  }

 .logo h1 {
    margin-bottom: 20px;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

 .featured-content article {
    width: 100%;
  }

 .article-list article {
    flex-direction: column;
    align-items: center;
  }

 .article-list article img {
    margin-right: 0;
    margin-bottom: 15px;
  }
}