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

.page-news-industry-trends {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

.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;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  background: linear-gradient(135deg, #017439, #005a2d); /* Brand color gradient */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-news-industry-trends__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

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

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

.page-news-industry-trends__content-area {
  background-color: #ffffff;
  color: #333333;
}

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

.page-news-industry-trends__dark-section .page-news-industry-trends__section-title,
.page-news-industry-trends__dark-section .page-news-industry-trends__sub-title {
  color: #ffffff;
}

.page-news-industry-trends__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

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

.page-news-industry-trends p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-news-industry-trends__btn-primary,
.page-news-industry-trends__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  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 color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.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: #005a2d;
  border-color: #005a2d;
}

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

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

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

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

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

  .page-news-industry-trends__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    min-height: 300px;
  }

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

  .page-news-industry-trends__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

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

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

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

  /* 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__image-wrapper,
  .page-news-industry-trends__section,
  .page-news-industry-trends__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-news-industry-trends__btn-primary,
  .page-news-industry-trends__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    margin: 5px 0 !important; /* Stack buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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