:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-color: #FFFF00;
  --section-padding-desktop: 80px 20px;
  --section-padding-mobile: 40px 15px;
  --container-max-width: 1200px;
}

.page-news-industry-updates {
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #121212; /* Match body background from shared.css */
}

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

/* Hero Section */
.page-news-industry-updates__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--section-padding-desktop);
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
  color: var(--text-color-dark-bg);
  background-color: #017439; /* Use primary color for hero background */
}

.page-news-industry-updates__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-news-industry-updates__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-dark-bg);
}

.page-news-industry-updates__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-news-industry-updates__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

/* Buttons */
.page-news-industry-updates__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-news-industry-updates__btn-primary {
  background-color: var(--button-register-bg);
  color: var(--button-text-color);
  border: 2px solid var(--button-register-bg);
}

.page-news-industry-updates__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-news-industry-updates__btn-secondary {
  background-color: transparent;
  color: var(--button-text-color);
  border: 2px solid var(--button-register-bg);
}

.page-news-industry-updates__btn-secondary:hover {
  background-color: var(--button-register-bg);
  color: var(--secondary-color);
}

/* Content Sections */
.page-news-industry-updates__content-section {
  padding: var(--section-padding-desktop);
}

.page-news-industry-updates__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
}

.page-news-industry-updates__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body background for contrast */
  color: var(--text-color-dark-bg);
}

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

.page-news-industry-updates__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

/* Image with text block */
.page-news-industry-updates__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-news-industry-updates__image-left .page-news-industry-updates__image-left-img {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
}

.page-news-industry-updates__image-right .page-news-industry-updates__image-right-img {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  order: 2;
}

.page-news-industry-updates__text-content {
  flex: 1;
}

/* Video Section */
.page-news-industry-updates__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: #000;
}

.page-news-industry-updates__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-news-industry-updates__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* FAQ Section */
.page-news-industry-updates__faq-list {
  margin-top: 30px;
}

.page-news-industry-updates__faq-item {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news-industry-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-news-industry-updates__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: inherit;
}

.page-news-industry-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-news-industry-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-news-industry-updates__faq-answer .page-news-industry-updates__paragraph {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-news-industry-updates__cta-section {
  text-align: center;
  padding: var(--section-padding-desktop);
  background-color: #017439;
  color: var(--text-color-dark-bg);
}

.page-news-industry-updates__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
}

.page-news-industry-updates__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Responsive Styles */
@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__cta-title {
    font-size: 2.2em;
  }
}

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

  .page-news-industry-updates__hero-section {
    padding: var(--section-padding-mobile);
  }

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

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

  .page-news-industry-updates__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-news-industry-updates__btn-primary,
  .page-news-industry-updates__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-news-industry-updates__content-section,
  .page-news-industry-updates__cta-section {
    padding: var(--section-padding-mobile);
  }

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

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

  .page-news-industry-updates__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-news-industry-updates__image-left .page-news-industry-updates__image-left-img,
  .page-news-industry-updates__image-right .page-news-industry-updates__image-right-img {
    max-width: 100%;
    width: 100%;
    order: unset;
  }

  .page-news-industry-updates__video-wrapper {
    padding-bottom: 56.25%; /* Ensure aspect ratio is maintained */
    position: relative;
    height: 0;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-news-industry-updates__video-link {
    width: 100% !important;
    height: 100% !important;
  }
  .page-news-industry-updates__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-industry-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-industry-updates__section,
  .page-news-industry-updates__card,
  .page-news-industry-updates__container,
  .page-news-industry-updates__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
    padding: 10px 20px;
  }

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

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

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

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