.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* General background color */
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-description {
  font-size: 1.1rem;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__latest-news-section,
.page-news__news-categories-section,
.page-news__archive-section,
.page-news__about-section,
.page-news__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-news__dark-bg {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-news__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__news-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__card-image-wrapper {
  width: 100%;
  max-height: 250px;
  overflow: hidden;
}

.page-news__card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__card-title a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #FF5A4F;
}

.page-news__card-meta {
  font-size: 0.9rem;
  color: #777777;
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #E53935;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #FF5A4F;
}

.page-news__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.page-news__category-card {
  background-color: #F5F7FA;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-news__category-card:hover {
  background-color: #E0E0E0;
  transform: translateY(-3px);
}

.page-news__category-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935;
}

.page-news__category-count {
  font-size: 0.95rem;
  color: #777777;
}

.page-news__view-all-button-container {
  text-align: center;
}

.page-news__news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-news__list-item {
  display: flex;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-news__list-image-wrapper {
  flex: 0 0 300px; /* Fixed width for image */
  max-height: 200px;
  overflow: hidden;
}

.page-news__list-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-news__list-content {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.page-news__list-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-news__list-title a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__list-title a:hover {
  color: #FF5A4F;
}

.page-news__list-meta {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 12px;
}

.page-news__list-excerpt {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__about-section p {
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-news__about-section .page-news__section-description {
  text-align: center;
}

.page-news__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-news__faq-item {
  background-color: #F5F7FA;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-question {
  background-color: #E0E0E0;
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-qtext {
  flex-grow: 1;
  color: #E53935;
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #E53935;
  margin-left: 15px;
}

.page-news__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
  text-align: justify;
}

.page-news__cta-banner-section {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-news__cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-news__cta-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__cta-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.page-news__cta-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Buttons */
.page-news__cta-button,
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news a[class*="button"],
.page-news a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.6);
}

.page-news__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-news__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-news__section-title {
    font-size: 2rem;
  }

  .page-news__cta-title {
    font-size: 2rem;
  }

  .page-news__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-news__list-item {
    flex-direction: column;
  }

  .page-news__list-image-wrapper {
    flex: none;
    width: 100%;
    max-height: 250px;
  }

  .page-news__list-image {
    height: 100%;
  }

  .page-news__list-content {
    padding: 15px;
  }

  .page-news__faq-question {
    font-size: 1.05rem;
  }

  .page-news__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px !important; /* Small top padding, assuming body handles header offset */
    padding-bottom: 30px;
  }

  .page-news__hero-image-wrapper,
  .page-news__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-news__hero-description {
    font-size: 1rem;
  }

  /* 其他内容模块 */
  .page-news__latest-news-section,
  .page-news__news-categories-section,
  .page-news__archive-section,
  .page-news__about-section,
  .page-news__faq-section,
  .page-news__cta-banner-section {
    padding: 40px 0;
  }

  .page-news__section-title {
    font-size: 1.8rem;
  }

  .page-news__section-description {
    font-size: 0.95rem;
  }

  .page-news__news-grid {
    grid-template-columns: 1fr;
  }

  .page-news__news-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .page-news__card-title {
    font-size: 1.3rem;
  }

  .page-news__card-excerpt {
    font-size: 0.9rem;
  }

  .page-news__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .page-news__category-title {
    font-size: 1.1rem;
  }

  .page-news__list-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .page-news__list-image-wrapper,
  .page-news__list-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__list-title {
    font-size: 1.15rem;
  }

  .page-news__list-excerpt {
    font-size: 0.85rem;
  }

  .page-news__about-section p {
    font-size: 0.95rem;
  }

  .page-news__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-news__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }

  .page-news__cta-title {
    font-size: 1.8rem;
  }

  .page-news__cta-description {
    font-size: 1rem;
  }

  .page-news__cta-banner-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 通用图片与容器 */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-content,
  .page-news__cta-banner-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
}