.page-news {
  font-family: Arial, sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #F4F7FB; /* Custom background color */
}

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

.page-news__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB; /* Ensure background consistency */
}

.page-news__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

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

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

.page-news__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 15px;
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  opacity: 0.9;
}

.page-news__section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-news__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* Responsive font size */
  color: #1F2D3D; /* Custom Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-news__latest-news-section .page-news__container {
  padding-left: 20px;
  padding-right: 20px;
}

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

.page-news__news-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-news__card-image-wrapper img {
  width: 100%;
  height: 100%;
  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.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__card-title a {
  color: #1F2D3D; /* Custom Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #2F6BFF; /* Main color on hover */
}

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

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

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-btn:hover {
  background-color: #4A8BFF;
}

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

.page-news__guide-section {
  background-color: #2F6BFF; /* Main color for dark section */
  color: #ffffff;
  padding: 80px 0;
}

.page-news__guide-section .page-news__container {
  padding-left: 20px;
  padding-right: 20px;
}

.page-news__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-news__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-news__text-block {
  flex: 1;
  line-height: 1.7;
  font-size: 1.05rem;
}

.page-news__text-block p {
  margin-bottom: 20px;
  color: #ffffff;
}

.page-news__image-block {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-news__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-news__why-choose-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background color */
}

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

.page-news__reason-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-news__reason-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
}

.page-news__reason-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 15px;
}

.page-news__reason-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.page-news__action-buttons {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container responsiveness */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-news__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color for border */
}

.page-news__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-news__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background color */
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Custom Border color */
  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: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1F2D3D; /* Custom Text Main */
  text-align: left;
}

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  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: #333333;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-news__container {
    padding: 15px;
  }

  .page-news__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-news__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-news__description {
    font-size: 1rem;
  }

  .page-news__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

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

  .page-news__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-news__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-news__text-block, .page-news__image-block {
    flex: none;
    width: 100%;
  }

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

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

  .page-news__container,
  .page-news__latest-news-section .page-news__container,
  .page-news__guide-section .page-news__container,
  .page-news__why-choose-section .page-news__container,
  .page-news__faq-section .page-news__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .page-news__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-news__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* 通用图片和容器 */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__card-image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__card, .page-news__section, .page-news__container, .page-news__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-news__cta-button,
  .page-news__read-more-btn,
  .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__action-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;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* 产品展示图区域 (News grid acts as product/article display) */
  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }
  .page-news__news-card {
    margin-left: 0;
    margin-right: 0;
  }

  /* 装饰主标题 + 长文 SEO 区 (guide section) */
  .page-news__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-news__content-wrapper {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
}