/* style/news-industry-updates.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General Page Styles */
.page-news-industry-updates {
  background-color: var(--dark-bg-1); /* Inherited from shared, dark background */
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-news-industry-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-news-industry-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  min-height: 500px;
  background-color: #017439; /* Brand primary color for hero background */
}

.page-news-industry-updates__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to let background color show */
  overflow: hidden;
}

.page-news-industry-updates__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news-industry-updates__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-news-industry-updates__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-news-industry-updates__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles */
.page-news-industry-updates__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-news-industry-updates__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

/* Common Section Styles */
.page-news-industry-updates__section {
  padding: 40px 0;
}

.page-news-industry-updates__section:nth-of-type(even) {
  background-color: var(--dark-bg-2); /* Slightly different dark background */
}

/* Trend Items */
.page-news-industry-updates__trend-item {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white card */
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-news-industry-updates__trend-title {
  font-size: 1.8em;
  color: #017439; /* Brand primary color for sub-titles */
  margin-bottom: 20px;
}

.page-news-industry-updates__trend-image,
.page-news-industry-updates__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

.page-news-industry-updates__trend-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Analysis Section */
.page-news-industry-updates__subtitle {
  font-size: 1.6em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-news-industry-updates__sub-subtitle {
  font-size: 1.3em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-news-industry-updates__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-news-industry-updates__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-news-industry-updates__list-item {
  background-color: rgba(255, 255, 255, 0.03); /* Subtle background for list items */
  padding: 10px 15px;
  margin-bottom: 10px;
  border-left: 4px solid #017439; /* Brand accent */
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  color: #f0f0f0;
}

.page-news-industry-updates__list-item span {
  color: #017439; /* Icon color */
  font-weight: bold;
  margin-right: 10px;
  line-height: 1.6;
}

/* Call to Action Buttons */
.page-news-industry-updates__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure button doesn't exceed container width */
}

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

.page-news-industry-updates__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

.page-news-industry-updates__btn-secondary:hover {
  background-color: rgba(1, 116, 57, 0.1);
  transform: translateY(-2px);
}

.page-news-industry-updates__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Links within content */
.page-news-industry-updates__link {
  color: #017439;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-news-industry-updates__link:hover {
  color: #00a04a;
}

/* FAQ Section */
.page-news-industry-updates__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news-industry-updates__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-news-industry-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: bold;
  font-size: 1.1em;
  color: #017439; /* FAQ question text color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  list-style: none; /* For <summary> */
  user-select: none; /* Prevent text selection on click */
}

.page-news-industry-updates__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}

.page-news-industry-updates__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news-industry-updates__faq-qtext {
  flex-grow: 1;
  color: #ffffff; /* Question text itself should be white */
}

.page-news-industry-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: #017439; /* Toggle icon color */
}

.page-news-industry-updates__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  max-height: 0; /* For JS based accordion */
  overflow: hidden; /* For JS based accordion */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For JS based accordion */
}

.page-news-industry-updates__faq-item[open] .page-news-industry-updates__faq-answer {
  max-height: 1000px; /* Sufficient height for content, adjust if needed */
  padding-top: 15px;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer { /* For JS fallback */
  max-height: 1000px !important;
  padding-top: 15px;
}

/* Final CTA Section */
.page-news-industry-updates__cta-final-section {
  background-color: #017439; /* Brand primary color */
  text-align: center;
  padding: 60px 20px;
}

.page-news-industry-updates__cta-container {
  max-width: 900px;
}

.page-news-industry-updates__cta-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-news-industry-updates__cta-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-updates__hero-title {
    font-size: 2.8em;
  }
  .page-news-industry-updates__section-title {
    font-size: 2em;
  }
  .page-news-industry-updates__trend-title {
    font-size: 1.6em;
  }
  .page-news-industry-updates__subtitle {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  /* Ensure main content area and containers are responsive */
  .page-news-industry-updates {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-news-industry-updates__container,
  .page-news-industry-updates__hero-content,
  .page-news-industry-updates__trend-item,
  .page-news-industry-updates__faq-item,
  .page-news-industry-updates__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-news-industry-updates__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-news-industry-updates__hero-title {
    font-size: 2.2em;
  }

  .page-news-industry-updates__hero-description {
    font-size: 1em;
  }

  .page-news-industry-updates__section-title {
    font-size: 1.8em;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .page-news-industry-updates__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-news-industry-updates__trend-title {
    font-size: 1.4em;
  }

  .page-news-industry-updates__subtitle {
    font-size: 1.2em;
    margin-top: 30px;
  }

  .page-news-industry-updates__sub-subtitle {
    font-size: 1.1em;
    margin-top: 20px;
  }

  .page-news-industry-updates__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-news-industry-updates__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-news-industry-updates__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-news-industry-updates__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-news-industry-updates__cta-title {
    font-size: 2em;
  }

  .page-news-industry-updates__cta-text {
    font-size: 1em;
  }

  /* Image, Video, Button Responsive Adaptations */
  .page-news-industry-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-industry-updates video,
  .page-news-industry-updates__video { /* Assuming video element might exist */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video container mobile adaptation (if video exists) */
  .page-news-industry-updates__video-section,
  .page-news-industry-updates__video-container,
  .page-news-industry-updates__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  
  /* Ensure buttons allow text wrap and full width */
  .page-news-industry-updates__cta-button,
  .page-news-industry-updates__btn-primary,
  .page-news-industry-updates__btn-secondary,
  .page-news-industry-updates a[class*="button"],
  .page-news-industry-updates 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 and padding-right already handled by container */
  }

  /* Specific header offset for mobile, if not handled by shared body padding */
  .page-news-industry-updates__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset applies */
  }
}

@media (max-width: 480px) {
  .page-news-industry-updates__hero-title {
    font-size: 1.8em;
  }
  .page-news-industry-updates__section-title {
    font-size: 1.6em;
  }
  .page-news-industry-updates__cta-title {
    font-size: 1.8em;
  }
}