/* Base styles for the news page, using the specified color palette */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color, #08160F);
}

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

.page-news__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-main-color, #F2FFF6);
  line-height: 1.2;
}

.page-news__section-title--light {
  color: var(--text-main-color, #F2FFF6);
}

.page-news__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary-color, #A7D9B8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-news__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-news__btn--secondary {
  background: transparent;
  color: var(--primary-color, #11A84E);
  border: 2px solid var(--primary-color, #11A84E);
}

.page-news__btn--secondary:hover {
  background: var(--primary-color, #11A84E);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
  color: var(--text-main-color, #F2FFF6);
  background-color: var(--background-color, #08160F);
  overflow: hidden;
}

.page-news__hero-image-wrap {
  width: 100%;
  max-height: 550px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-news__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--text-main-color, #F2FFF6);
}

.page-news__description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* News Grid */
.page-news__news-grid,
.page-news__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-news__news-card,
.page-news__feature-card {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__card-date {
  font-size: 14px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 10px;
}

.page-news__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-news__card-title a {
  color: var(--text-main-color, #F2FFF6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: var(--glow-color, #57E38D);
}

.page-news__card-description {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
}

.page-news__card-link {
  display: inline-block;
  color: var(--primary-color, #11A84E);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-news__card-link:hover {
  color: var(--glow-color, #57E38D);
  text-decoration: underline;
}

.page-news__section-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions & Events Section */
.page-news__promo-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-news__promo-image {
  width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.page-news__promo-text {
  width: 50%;
}

.page-news__promo-text p {
  font-size: 18px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 25px;
}

/* Industry Insights Section */
.page-news__industry-insights-section {
  background-color: var(--card-bg-color, #11271B);
}

.page-news__insight-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row-reverse; /* Image on right */
}

.page-news__insight-image {
  width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.page-news__insight-text {
  width: 50%;
}

.page-news__insight-text p {
  font-size: 18px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
}

/* Why Choose News Section */
.page-news__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-news__benefit-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__benefit-icon-wrap {
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--deep-green-color, #0A4B2C);
  border-radius: 50%;
}

.page-news__benefit-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.page-news__benefit-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
}

.page-news__benefit-text p {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* FAQ Section */
.page-news__faq-section {
  background-color: var(--card-bg-color, #11271B);
}

.page-news__faq-container {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #2E7A4E);
  overflow: hidden;
  background: var(--background-color, #08160F);
}

details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: var(--deep-green-color, #0A4B2C);
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color, #F2FFF6);
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color, #11A84E);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background: var(--background-color, #08160F);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 16px;
}

.page-news__faq-answer p {
  margin-bottom: 0;
}

/* Dark background section specific styles */
.page-news__dark-bg {
  background-color: var(--card-bg-color, #11271B);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-news__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__promo-content,
  .page-news__insight-content {
    flex-direction: column;
    text-align: center;
  }
  .page-news__promo-image,
  .page-news__promo-text,
  .page-news__insight-image,
  .page-news__insight-text {
    width: 100%;
  }
  .page-news__insight-content {
    flex-direction: column;
  }
  .page-news__promo-text .page-news__btn,
  .page-news__section-cta .page-news__btn {
    margin: 0 auto;
  }
  .page-news__promo-text .page-news__btn-container,
  .page-news__section-cta .page-news__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-news__section-padding {
    padding: 40px 15px;
  }
  .page-news__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 10px;
  }
  .page-news__section-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    margin-bottom: 25px;
  }
  
  /* HERO 主图区域 */
  .page-news__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-news__hero-image-wrap {
    max-height: 300px;
  }
  .page-news__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__hero-content {
    padding: 0 15px 40px;
  }
  .page-news__main-title {
    font-size: clamp(28px, 7vw, 42px);
    margin-bottom: 15px;
  }
  .page-news__description {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__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__promo-text .page-news__btn,
  .page-news__section-cta .page-news__btn {
    margin: 0 auto;
  }

  /* 通用图片与容器 */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__promo-content,
  .page-news__insight-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* 产品展示图区域 (News/Feature Grids) */
  .page-news__news-grid,
  .page-news__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }
  .page-news__news-card,
  .page-news__feature-card {
    margin-left: auto;
    margin-right: auto;
  }
  .page-news__card-image {
    height: 180px;
  }
  .page-news__card-content {
    padding: 20px;
  }
  .page-news__card-title {
    font-size: 18px;
  }
  .page-news__card-description {
    font-size: 14px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-news__promo-content,
  .page-news__insight-content {
    flex-direction: column;
    gap: 25px;
  }
  .page-news__promo-image,
  .page-news__insight-image {
    order: -1; /* Image appears before text on mobile */
  }
  .page-news__promo-text p,
  .page-news__insight-text p {
    font-size: 16px;
  }

  .page-news__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__benefit-item {
    padding: 25px;
  }
  .page-news__benefit-icon-wrap {
    width: 70px;
    height: 70px;
  }
  .page-news__benefit-icon {
    width: 50px;
    height: 50px;
  }
  .page-news__benefit-text h3 {
    font-size: 18px;
  }
  .page-news__benefit-text p {
    font-size: 14px;
  }

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