/* style/news-industry-trends.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-news-industry-trends {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--bg-color, #FFFFFF);
}

.page-news-industry-trends__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-news-industry-trends__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-news-industry-trends__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-news-industry-trends__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-news-industry-trends__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-news-industry-trends__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-news-industry-trends__btn-primary:hover {
  background-color: #1a7bb7;
}

.page-news-industry-trends__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-news-industry-trends__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

.page-news-industry-trends__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* body 已承担 --header-offset，此处禁止 var(--header-offset) */
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

.page-news-industry-trends__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-news-industry-trends__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
}

.page-news-industry-trends__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-news-industry-trends__video-caption {
  margin-top: 20px;
  font-style: italic;
  color: #666666;
}

.page-news-industry-trends__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-news-industry-trends__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

.page-news-industry-trends__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #333333;
}

.page-news-industry-trends__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #444444;
}

.page-news-industry-trends__text-block p code {
  background-color: #e0f2f7;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  color: #26A9E0;
}

.page-news-industry-trends__image-in-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-news-industry-trends__cta-section {
  background: linear-gradient(135deg, #26A9E0, #1a7bb7);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-news-industry-trends__cta-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

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

.page-news-industry-trends__cta-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-news-industry-trends__faq-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  color: #333333;
}

.page-news-industry-trends__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-news-industry-trends__faq-list {
  margin-top: 30px;
}

.page-news-industry-trends__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news-industry-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f5fafd;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-news-industry-trends__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-news-industry-trends__faq-item[open] > .page-news-industry-trends__faq-question {
  background-color: #e0f2f7;
  border-bottom-color: #d0e0e5;
}

.page-news-industry-trends__faq-question:hover {
  background-color: #e0f2f7;
}

.page-news-industry-trends__faq-qtext {
  flex-grow: 1;
}

.page-news-industry-trends__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-news-industry-trends__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-news-industry-trends__faq-answer p {
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news-industry-trends__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

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

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

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

  .page-news-industry-trends__cta-description {
    font-size: 1.1em;
  }
}

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

  .page-news-industry-trends__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-news-industry-trends__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-news-industry-trends__btn-primary,
  .page-news-industry-trends__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news-industry-trends__video-section {
    padding: 10px 15px 40px 15px !important;
  }

  .page-news-industry-trends__content-area {
    padding: 30px 15px;
  }

  .page-news-industry-trends__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  /* All images must be responsive */
  .page-news-industry-trends img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All video elements must be responsive */
  .page-news-industry-trends video,
  .page-news-industry-trends__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image and video containers must be responsive */
  .page-news-industry-trends__hero-section,
  .page-news-industry-trends__video-section,
  .page-news-industry-trends__video-container,
  .page-news-industry-trends__video-wrapper,
  .page-news-industry-trends__content-area,
  .page-news-industry-trends__text-block,
  .page-news-industry-trends__cta-section,
  .page-news-industry-trends__cta-content,
  .page-news-industry-trends__faq-section,
  .page-news-industry-trends__faq-container,
  .page-news-industry-trends__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-news-industry-trends__cta-section {
    padding: 60px 15px;
  }

  .page-news-industry-trends__cta-title {
    font-size: 1.8em;
  }

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

  .page-news-industry-trends__faq-section {
    padding: 40px 15px;
  }

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

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