.page-news {
  font-family: Arial, sans-serif;
  color: var(--text-main, #FFF3E6); /* Using custom color from prompt */
  background-color: var(--body-bg, #0D0E12); /* Assuming body-bg from shared */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some bottom padding to the main content */
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background: var(--card-bg, #17191F); /* Use a dark background for the section */
  border-bottom: 1px solid var(--border-color, #A84F0C);
}

.page-news__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  overflow: hidden;
}

.page-news__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover for desktop */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-news__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  color: var(--text-main, #FFF3E6); /* Ensure text is light on dark background */
}

.page-news__main-title {
  font-size: clamp(2.2em, 4vw, 3em); /* Use clamp for H1 */
  font-weight: 700;
  color: var(--glow-color, #FFB04D); /* Use a bright color for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient, linear-gradient(180deg, #FFA53A 0%, #D96800 100%));
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-news__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

/* General Section Styling */
.page-news__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-news__section-title {
  font-size: 2.2em;
  color: var(--glow-color, #FFB04D);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

/* News Grid */
.page-news__latest-news {
  background-color: var(--card-bg, #17191F);
  border-bottom: 1px solid var(--border-color, #A84F0C);
}

.page-news__intro-text {
  font-size: 1.05em;
  color: var(--text-main, #FFF3E6);
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: justify;
}

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

.page-news__news-card {
  background: var(--background-color, #0D0E12); /* Use the main background color for cards */
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #FFF3E6);
  display: flex;
  flex-direction: column;
}

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

.page-news__card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__card-image {
  width: 100%;
  height: 200px; /* 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.2em;
  font-weight: 600;
  color: var(--glow-color, #FFB04D);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__card-excerpt {
  font-size: 0.95em;
  color: var(--text-main, #FFF3E6);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__card-date {
  font-size: 0.85em;
  color: rgba(255, 243, 230, 0.7); /* Slightly muted light text */
  text-align: right;
  margin-top: auto;
}

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

/* Content Blocks (Company Updates, Industry Insights) */
.page-news__company-updates,
.page-news__industry-insights {
  background-color: var(--card-bg, #17191F);
  border-bottom: 1px solid var(--border-color, #A84F0C);
}

.page-news__content-block {
  font-size: 1.05em;
  color: var(--text-main, #FFF3E6);
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.page-news__content-block p {
  margin-bottom: 20px;
}

.page-news__content-block a {
  display: inline-block;
  margin-top: 20px;
}

.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff; /* White background for secondary button */
  color: var(--deep-orange, #D96800); /* Deep orange text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid var(--deep-orange, #D96800);
  cursor: pointer;
}

.page-news__btn-secondary:hover {
  background: var(--deep-orange, #D96800);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(217, 104, 0, 0.4);
}

/* FAQ Section */
.page-news__faq {
  background-color: var(--background-color, #0D0E12);
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #A84F0C);
  overflow: hidden;
  background: var(--card-bg, #17191F);
  color: var(--text-main, #FFF3E6);
}
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: rgba(255, 140, 26, 0.1); /* Slight hover effect with brand color */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--glow-color, #FFB04D); /* Use bright color for questions */
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color, #FFB04D); /* Bright color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details[open] .page-news__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 140, 26, 0.05); /* Lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-main, #FFF3E6);
  font-size: 1em;
}
.page-news__faq-answer p {
  margin-bottom: 10px;
}
.page-news__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */

/* Common image styles */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common button styles */
.page-news__cta-button,
.page-news__btn-secondary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Common container styles */
.page-news__section,
.page-news__content-block,
.page-news__view-all-button-container,
.page-news__faq-list {
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .page-news__news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
  }
  .page-news__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Allow natural aspect ratio or adjust */
    height: auto !important; /* Adjust height automatically */
    max-height: 300px; /* Cap max height for mobile hero */
  }
  .page-news__hero-content {
    padding: 30px 15px 40px;
  }
  .page-news__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 size for mobile */
    margin-bottom: 10px;
  }
  .page-news__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-news__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 通用 Section Padding */
  .page-news__section {
    padding: 40px 15px;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* 产品展示图区域 (News Grid) - 768px 2 列×3 行 */
  .page-news__news-grid {
    grid-template-columns: 1fr; /* Single column for very small screens */
    gap: 20px;
    overflow-x: hidden;
  }
  @media (min-width: 500px) and (max-width: 768px) {
    .page-news__news-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
  }

  .page-news__news-card {
    margin: 0 auto; /* Center cards if they are not full width */
    max-width: 100%;
    width: 100%;
  }
  .page-news__card-image {
    height: 180px; /* Adjust height for mobile cards */
  }
  .page-news__card-title {
    font-size: 1.1em;
  }
  .page-news__card-excerpt {
    font-size: 0.9em;
  }
  .page-news__card-date {
    font-size: 0.8em;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-news__content-block {
    text-align: left; /* Keep text aligned left for readability */
    font-size: 0.95em;
  }
  .page-news__content-block p {
    margin-bottom: 15px;
  }
  .page-news__content-block a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 通用图片与容器 */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__container, /* Example, if any generic container */
  .page-news__content-block,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__view-all-button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Styles */
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 1em;
  }
  .page-news__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }
}