/* style/news-latest-industry-trends.css */

.page-news-latest-industry-trends {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-news-latest-industry-trends__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  min-height: 500px;
  overflow: hidden;
}

.page-news-latest-industry-trends__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* Light text for dark background */
}

.page-news-latest-industry-trends__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-news-latest-industry-trends__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

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

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

.page-news-latest-industry-trends__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 0;
}

.page-news-latest-industry-trends__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-news-latest-industry-trends__content-area,
.page-news-latest-industry-trends__section {
  padding: 80px 20px;
}

.page-news-latest-industry-trends__section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-news-latest-industry-trends__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
}

.page-news-latest-industry-trends__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

.page-news-latest-industry-trends__keyword {
  font-weight: bold;
  color: #017439;
}

.page-news-latest-industry-trends__light-bg .page-news-latest-industry-trends__keyword {
  color: #017439;
}

.page-news-latest-industry-trends__dark-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-news-latest-industry-trends__dark-section .page-news-latest-industry-trends__keyword {
  color: #FFFF00;
}

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

.page-news-latest-industry-trends__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;
  margin: 10px;
  box-sizing: border-box;
}

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

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

.page-news-latest-industry-trends__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-news-latest-industry-trends__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

.page-news-latest-industry-trends__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-news-latest-industry-trends__inline-link {
  color: #017439;
  text-decoration: underline;
}

.page-news-latest-industry-trends__dark-section .page-news-latest-industry-trends__inline-link {
  color: #FFFF00;
}

.page-news-latest-industry-trends__inline-link:hover {
  text-decoration: none;
}

/* Video Section */
.page-news-latest-industry-trends__video-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  text-align: center;
}

.page-news-latest-industry-trends__video-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 40px auto 0;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news-latest-industry-trends__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-news-latest-industry-trends__video-link-overlay {
  display: block;
  position: relative;
}

/* FAQ Section */
.page-news-latest-industry-trends__faq-section {
  padding: 80px 20px;
}

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

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

.page-news-latest-industry-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  list-style: none;
  user-select: none;
}

.page-news-latest-industry-trends__faq-question::-webkit-details-marker {
  display: none;
}

.page-news-latest-industry-trends__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

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

.page-news-latest-industry-trends__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-news-latest-industry-trends__faq-item[open] .page-news-latest-industry-trends__faq-question {
  background-color: #017439;
  color: #ffffff;
}

.page-news-latest-industry-trends__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-news-latest-industry-trends__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

  .page-news-latest-industry-trends__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px);
    min-height: 400px;
  }

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

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

  .page-news-latest-industry-trends__content-area,
  .page-news-latest-industry-trends__section,
  .page-news-latest-industry-trends__faq-section,
  .page-news-latest-industry-trends__cta-section {
    padding: 40px 15px;
  }

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

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

  /* Images responsive */
  .page-news-latest-industry-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-news-latest-industry-trends__section-container,
  .page-news-latest-industry-trends__hero-image-wrapper,
  .page-news-latest-industry-trends__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsive */
  .page-news-latest-industry-trends video,
  .page-news-latest-industry-trends__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-latest-industry-trends__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsive */
  .page-news-latest-industry-trends__cta-button,
  .page-news-latest-industry-trends__btn-primary,
  .page-news-latest-industry-trends__btn-secondary,
  .page-news-latest-industry-trends a[class*="button"],
  .page-news-latest-industry-trends a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news-latest-industry-trends__button-group {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

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

  .page-news-latest-industry-trends__faq-answer {
    padding: 0 15px 15px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-news-latest-industry-trends__hero-title {
    font-size: 1.8em;
  }

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

  .page-news-latest-industry-trends__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}