.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Adjusted to 10px to avoid double padding with shared body offset */
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-news__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-bottom: 30px;
}

.page-news__hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #017439;
  margin-bottom: 15px;
}

.page-news__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFFFF; /* Ensures WCAG AA contrast */
  border: 2px solid #C30808;
  margin-right: 15px;
}

.page-news__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-news__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-news__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

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

.page-news__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-news__section-title--light {
  color: #FFFFFF;
}

.page-news__latest-news-section {
  background-color: #f9f9f9;
}

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

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

.page-news__news-card:hover {
  transform: translateY(-5px);
}

.page-news__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-news__card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

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

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

.page-news__card-date {
  font-size: 14px;
  color: #777777;
  margin-bottom: 15px;
}

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

.page-news__category-section {
  background-color: #017439; /* Primary brand color background */
  color: #FFFFFF;
}

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

.page-news__category-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-news__category-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-news__category-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-news__category-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 15px;
}

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

.page-news__category-title a:hover {
  color: #FFFF00; /* Yellow for highlight on dark background */
}

.page-news__category-description {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__btn-secondary--light {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #FFFFFF;
}

.page-news__btn-secondary--light:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #f0f0f0;
}

.page-news__faq-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-news__faq-item summary.page-news__faq-question:hover {
  background: #f5f5f5;
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-news__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

.page-news__cta-section {
  background-color: #f0f0f0;
  text-align: center;
  color: #333333;
}

.page-news__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-news__cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-news__cta-description {
  font-size: 18px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width for responsive handling */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: clamp(26px, 4.5vw, 44px);
  }
  .page-news__hero-description {
    font-size: clamp(15px, 2vw, 18px);
  }
  .page-news__section-title {
    font-size: clamp(22px, 3.8vw, 36px);
  }
  .page-news__cta-title {
    font-size: clamp(22px, 3.8vw, 32px);
  }
  .page-news__news-grid,
  .page-news__category-grid {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .page-news__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-news__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
  }
  .page-news__hero-content {
    padding: 0 15px;
    margin-bottom: 20px;
  }
  .page-news__hero-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 10px;
  }
  .page-news__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* General Section Padding */
  .page-news__section-padding {
    padding: 40px 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 (General titles and text blocks) */
  .page-news__section-title {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 30px;
  }
  .page-news p,
  .page-news li {
    font-size: 15px;
    line-height: 1.6;
  }

  /* 产品展示图区域 (News Grid) */
  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-news__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-news__card-image {
    height: 180px; /* Adjust height for mobile */
  }
  .page-news__card-title {
    font-size: 18px;
  }
  .page-news__card-excerpt {
    font-size: 14px;
  }

  /* Category Section */
  .page-news__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__category-item {
    padding: 20px;
  }
  .page-news__category-image {
    max-width: 250px;
  }
  .page-news__category-title {
    font-size: 18px;
  }
  .page-news__category-description {
    font-size: 14px;
  }

  /* FAQ Section */
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 15px;
  }
  .page-news__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }

  /* CTA Section */
  .page-news__cta-title {
    font-size: clamp(20px, 6vw, 28px);
  }
  .page-news__cta-description {
    font-size: 16px;
  }
  .page-news__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    margin-right: 0 !important;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* 通用图片与容器 (All images and image containers) */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__hero-section,
  .page-news__latest-news-section,
  .page-news__category-section,
  .page-news__faq-section,
  .page-news__cta-section,
  .page-news__news-card,
  .page-news__category-item,
  .page-news__cta-content,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding handled by .page-news__section-padding and specific elements */
  }
}