/* style/news-industry-insights.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-dark: #26A9E0;
  --login-color: #EA7C07;
}

.page-news-industry-insights {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--bg-light); /* Default to light background for main content */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-news-industry-insights__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  position: relative;
}

.page-news-industry-insights__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  filter: grayscale(50%); /* Allowed for decorative effect, not color change */
}

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

.page-news-industry-insights__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

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

.page-news-industry-insights__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

.page-news-industry-insights__btn-primary,
.page-news-industry-insights__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-news-industry-insights__btn-primary {
  background-color: var(--login-color); /* Using specific color for primary action */
  color: var(--text-color-light);
  border: 2px solid var(--login-color);
}

.page-news-industry-insights__btn-primary:hover {
  background-color: #e06c00;
  border-color: #e06c00;
}

.page-news-industry-insights__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-news-industry-insights__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

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

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

.page-news-industry-insights__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-news-industry-insights__section-title--white {
  color: var(--text-color-light);
}

.page-news-industry-insights__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-news-industry-insights__paragraph--white {
  color: var(--text-color-light);
}

.page-news-industry-insights__article-block {
  margin-bottom: 40px;
}

.page-news-industry-insights__article-subtitle,
.page-news-industry-insights__promo-subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-news-industry-insights__dark-bg .page-news-industry-insights__article-subtitle,
.page-news-industry-insights__dark-bg .page-news-industry-insights__promo-subtitle {
  color: var(--text-color-light);
}

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

.page-news-industry-insights__grid-item.page-news-industry-insights__card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-color-dark);
}

.page-news-industry-insights__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-news-industry-insights__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 15px;
  color: var(--primary-color);
}

.page-news-industry-insights__card-description {
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-industry-insights__card .page-news-industry-insights__btn-secondary {
  margin-top: auto;
  align-self: center;
}

.page-news-industry-insights__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-news-industry-insights__feature-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color-dark);
}

.page-news-industry-insights__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news-industry-insights__feature-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-news-industry-insights__feature-description {
  font-size: 1em;
  color: var(--text-color-dark);
}

.page-news-industry-insights__promo-block {
  margin-top: 40px;
  text-align: center;
}

.page-news-industry-insights__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-industry-insights__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: var(--text-color-light);
  font-size: 1.1em;
}

.page-news-industry-insights__promo-item strong {
  color: var(--secondary-color);
}

.page-news-industry-insights__future-vision {
  margin-top: 50px;
  text-align: center;
}

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

.page-news-industry-insights__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--secondary-color);
}

.page-news-industry-insights__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-news-industry-insights__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

.page-news-industry-insights__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-dark);
}

.page-news-industry-insights__faq-item.active .page-news-industry-insights__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px;
}

.page-news-industry-insights__faq-answer p {
  margin-bottom: 0;
}

.page-news-industry-insights__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

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

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

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

  .page-news-industry-insights__article-subtitle,
  .page-news-industry-insights__promo-subtitle {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-news-industry-insights {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-news-industry-insights__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

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

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

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

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

  .page-news-industry-insights__article-subtitle,
  .page-news-industry-insights__promo-subtitle {
    font-size: 1.4em;
  }

  .page-news-industry-insights__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-industry-insights__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news-industry-insights__card-image {
    height: 200px;
  }

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

  .page-news-industry-insights__faq-item.active .page-news-industry-insights__faq-answer {
    padding: 15px 20px 20px;
  }

  .page-news-industry-insights__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }

  .page-news-industry-insights__btn-primary,
  .page-news-industry-insights__btn-secondary {
    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-insights__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-insights__container {
    padding: 0 15px;
  }
  
  /* Mobile image responsiveness */
  .page-news-industry-insights img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-industry-insights__hero-image-wrapper,
  .page-news-industry-insights__grid-item,
  .page-news-industry-insights__feature-item,
  .page-news-industry-insights__promo-block,
  .page-news-industry-insights__future-vision,
  .page-news-industry-insights__faq-list,
  .page-news-industry-insights__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}