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

.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;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #017439; /* Brand main color */
  color: #ffffff;
  overflow: hidden;
}

.page-news-industry-trends__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

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

.page-news-industry-trends__hero-section .page-news-industry-trends__container {
  position: relative;
  z-index: 1;
}

.page-news-industry-trends__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for main title for impact */
}

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

.page-news-industry-trends__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.page-news-industry-trends__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-news-industry-trends__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-news-industry-trends__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

.page-news-industry-trends__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-news-industry-trends__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-news-industry-trends__content-section,
.page-news-industry-trends__market-trends-section,
.page-news-industry-trends__tech-security-section,
.page-news-industry-trends__expert-analysis-section,
.page-news-industry-trends__community-section,
.page-news-industry-trends__cta-section,
.page-news-industry-trends__faq-section {
  padding: 80px 0;
}

.page-news-industry-trends__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-news-industry-trends__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-news-industry-trends__dark-bg .page-news-industry-trends__section-title,
.page-news-industry-trends__dark-bg .page-news-industry-trends__intro-text,
.page-news-industry-trends__dark-bg .page-news-industry-trends__feature-title,
.page-news-industry-trends__dark-bg .page-news-industry-trends__feature-description,
.page-news-industry-trends__dark-bg .page-news-industry-trends__analysis-title,
.page-news-industry-trends__dark-bg .page-news-industry-trends__analysis-description {
  color: #ffffff;
}

.page-news-industry-trends__news-grid,
.page-news-industry-trends__feature-grid,
.page-news-industry-trends__tech-features,
.page-news-industry-trends__event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news-industry-trends__news-card,
.page-news-industry-trends__feature-item,
.page-news-industry-trends__tech-item,
.page-news-industry-trends__event-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-news-industry-trends__news-card:hover,
.page-news-industry-trends__feature-item:hover,
.page-news-industry-trends__tech-item:hover,
.page-news-industry-trends__event-card:hover {
  transform: translateY(-5px);
}

.page-news-industry-trends__news-image,
.page-news-industry-trends__feature-image,
.page-news-industry-trends__tech-image,
.page-news-industry-trends__event-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news-industry-trends__news-content {
  padding: 25px;
}

.page-news-industry-trends__news-title,
.page-news-industry-trends__feature-title,
.page-news-industry-trends__tech-title,
.page-news-industry-trends__event-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #017439;
}

.page-news-industry-trends__news-title a,
.page-news-industry-trends__event-title a {
  color: #017439;
  text-decoration: none;
}

.page-news-industry-trends__news-title a:hover,
.page-news-industry-trends__event-title a:hover {
  text-decoration: underline;
}

.page-news-industry-trends__news-date {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 15px;
}

.page-news-industry-trends__news-excerpt {
  margin-bottom: 20px;
}

.page-news-industry-trends__read-more {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.page-news-industry-trends__read-more:hover {
  text-decoration: underline;
}

.page-news-industry-trends__read-more span {
  margin-left: 5px;
}

.page-news-industry-trends__feature-item,
.page-news-industry-trends__tech-item {
  padding: 25px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  color: #ffffff;
}

.page-news-industry-trends__feature-item .page-news-industry-trends__feature-title,
.page-news-industry-trends__tech-item .page-news-industry-trends__tech-title {
  color: #FFFF00; /* Highlight titles on dark background */
  margin-top: 15px;
}

.page-news-industry-trends__analysis-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-industry-trends__analysis-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  color: #ffffff;
  text-align: center;
}

.page-news-industry-trends__analysis-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Highlight titles on dark background */
}

.page-news-industry-trends__cta-section {
  text-align: center;
  padding: 100px 0;
}

.page-news-industry-trends__cta-section .page-news-industry-trends__section-title {
  color: #FFFF00; /* Highlight CTA title */
}

.page-news-industry-trends__cta-section .page-news-industry-trends__description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

.page-news-industry-trends__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

.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: #f9f9f9;
  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: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #017439;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

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

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

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

/* Image and Video responsive styles */
.page-news-industry-trends img,
.page-news-industry-trends video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-news-industry-trends__container {
    padding: 0 15px;
  }

  .page-news-industry-trends__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-news-industry-trends__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-industry-trends__btn-primary,
  .page-news-industry-trends__btn-secondary,
  .page-news-industry-trends a[class*="button"],
  .page-news-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;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-news-industry-trends__content-section,
  .page-news-industry-trends__market-trends-section,
  .page-news-industry-trends__tech-security-section,
  .page-news-industry-trends__expert-analysis-section,
  .page-news-industry-trends__community-section,
  .page-news-industry-trends__cta-section,
  .page-news-industry-trends__faq-section {
    padding: 40px 0;
  }

  .page-news-industry-trends__news-grid,
  .page-news-industry-trends__feature-grid,
  .page-news-industry-trends__tech-features,
  .page-news-industry-trends__event-grid {
    grid-template-columns: 1fr;
  }

  .page-news-industry-trends__news-image,
  .page-news-industry-trends__feature-image,
  .page-news-industry-trends__tech-image,
  .page-news-industry-trends__event-image {
    height: 180px;
  }

  .page-news-industry-trends img,
  .page-news-industry-trends video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news-industry-trends__news-card,
  .page-news-industry-trends__feature-item,
  .page-news-industry-trends__tech-item,
  .page-news-industry-trends__event-card,
  .page-news-industry-trends__analysis-item,
  .page-news-industry-trends__faq-item,
  .page-news-industry-trends__cta-group,
  .page-news-industry-trends__news-grid,
  .page-news-industry-trends__feature-grid,
  .page-news-industry-trends__tech-features,
  .page-news-industry-trends__event-grid,
  .page-news-industry-trends__analysis-points,
  .page-news-industry-trends__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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