/* style/news-industry-trends.css */
.page-news-industry-trends {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #FFFFFF; /* Ensure consistency with body */
}

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

.page-news-industry-trends__hero-section {
  position: relative;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  text-align: center;
  background-color: #f8f8f8; /* Light background for hero */
  color: #333333;
  overflow: hidden;
}

.page-news-industry-trends__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-news-industry-trends__hero-title {
  font-size: 2.8em;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-industry-trends__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-trends__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.page-news-industry-trends__cta-button {
  background-color: #C30808; /* Specific color for CTA */
}

.page-news-industry-trends__cta-button:hover {
  background-color: #9a0606;
}

.page-news-industry-trends__section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-news-industry-trends__section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-news-industry-trends__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-news-industry-trends__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

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

.page-news-industry-trends__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-news-industry-trends__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-news-industry-trends__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-news-industry-trends__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-trends__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-news-industry-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

.page-news-industry-trends__faq-title {
  margin: 0;
  color: #017439;
  font-size: 1.1em;
}

.page-news-industry-trends__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #C30808;
  transition: transform 0.3s ease;
}

.page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-toggle {
  transform: rotate(45deg);
}

.page-news-industry-trends__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

.page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-industry-trends__hero-title {
    font-size: 2.2em;
  }

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

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

@media (max-width: 768px) {
  .page-news-industry-trends__hero-section {
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

  .page-news-industry-trends__hero-description,
  .page-news-industry-trends__paragraph,
  .page-news-industry-trends__faq-question {
    font-size: 1em;
  }

  .page-news-industry-trends__btn-primary {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-news-industry-trends__section {
    padding: 60px 0;
  }

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

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

  /* Mobile image responsiveness */
  .page-news-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-industry-trends__section,
  .page-news-industry-trends__container,
  .page-news-industry-trends__hero-section,
  .page-news-industry-trends__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-news-industry-trends__btn-primary,
  .page-news-industry-trends__cta-button {
    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-industry-trends__faq-question {
    padding: 15px 20px;
  }
  .page-news-industry-trends__faq-answer {
    padding: 0 20px;
  }
  .page-news-industry-trends__faq-item.active .page-news-industry-trends__faq-answer {
    padding: 10px 20px 15px;
  }
}