.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--background-color, #f5f5f5);
  padding-top: 0; /* Handled by body padding-top in shared.css */
  padding-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;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #017439; /* Brand color */
  margin-bottom: 20px;
}

.page-news__intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 30px;
}

.page-news__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-news__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
}

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

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

.page-news__dark-section {
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-news__dark-section .page-news__section-title,
.page-news__dark-section .page-news__section-description {
  color: #ffffff;
}

.page-news__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-news__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

.page-news__news-card,
.page-news__promotion-card,
.page-news__trend-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.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: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

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

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

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-news__read-more-btn:hover {
  background-color: #005f2c;
}

.page-news__view-all-button-container {
  text-align: center;
  margin-top: 20px;
}

.page-news__faq-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-news__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-news__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  outline: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-news__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  animation: fadein 0.3s ease-in-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-news__cta-section {
  padding: 60px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.5rem;
  }

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

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

  .page-news__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 0 !important; /* Ensure no double padding from body */
    padding-bottom: 30px;
  }

  .page-news__hero-content {
    padding: 0 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem); /* Use clamp for H1 */
    margin-bottom: 15px;
  }

  .page-news__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__container {
    padding: 30px 15px;
  }

  .page-news__section-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }

  .page-news__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-news__news-grid,
  .page-news__promotions-grid,
  .page-news__trend-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .page-news__card-image {
    height: 160px; /* Adjust height for mobile cards */
  }

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

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

  .page-news__read-more-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

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

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

  /* General image responsive rule for content area */
  .page-news img:not(.page-news__logo-item) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* LOGO轮播项必须单独设置，保持固定尺寸 */
  .page-news__logo-item {
    width: 80px !important; /* 固定80px，禁止使用100% */
    height: 80px !important; /* 固定80px */
    max-width: 80px !important; /* 确保不被覆盖 */
    box-sizing: border-box;
  }

  /* Ensure all containers are responsive and prevent overflow */
  .page-news__latest-news-section,
  .page-news__promotions-section,
  .page-news__industry-trends-section,
  .page-news__faq-section,
  .page-news__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}