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

/* Base styles for the page content, ensuring light text on dark body background */
.page-news-industry-insights {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #1a1a1a; /* Inherited from shared, but for clarity */
}

/* Header offset to prevent content from being hidden by fixed header */
.page-news-industry-insights__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

.page-news-industry-insights__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-news-industry-insights__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-news-industry-insights__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-news-industry-insights__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 40px;
  border-radius: 10px;
  background: rgba(38, 169, 224, 0.8); /* Semi-transparent brand color background for hero text */
  color: #ffffff; /* White text for contrast */
}

.page-news-industry-insights__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-news-industry-insights__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news-industry-insights__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-news-industry-insights__container {
  max-width: 960px;
  margin: 0 auto;
}

.page-news-industry-insights__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  position: relative;
}

.page-news-industry-insights__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-news-industry-insights__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-news-industry-insights__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for main content on dark background */
}

.page-news-industry-insights__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for lists */
}

.page-news-industry-insights__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Image styles */
.page-news-industry-insights__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Buttons */
.page-news-industry-insights__btn-primary,
.page-news-industry-insights__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;
  font-size: 1.1em;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width calculation */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-news-industry-insights__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff; /* White text */
  border: 2px solid #26A9E0;
}

.page-news-industry-insights__btn-primary:hover {
  background-color: #1e87b7; /* Darker shade on hover */
  border-color: #1e87b7;
}

.page-news-industry-insights__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color text */
  border: 2px solid #26A9E0;
}

.page-news-industry-insights__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-news-industry-insights__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width for responsiveness */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Video Section */
.page-news-industry-insights__video-section {
  text-align: center;
  margin: 60px 0;
  padding: 40px 20px;
  background-color: rgba(38, 169, 224, 0.1); /* Light transparent background */
  border-radius: 10px;
}

.page-news-industry-insights__video-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 30px;
}

.page-news-industry-insights__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #000;
  width: 100%; /* Essential for mobile responsiveness */
  box-sizing: border-box;
}

.page-news-industry-insights__video-wrapper .page-news-industry-insights__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%; /* Ensure video does not overflow */
  display: block;
}

.page-news-industry-insights__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Make sure the link overlay is clickable */
    cursor: pointer;
    display: block; /* Ensure it covers the video */
}

.page-news-industry-insights__video-caption {
  margin-top: 20px;
  font-style: italic;
  color: #f0f0f0;
}

/* FAQ Section */
.page-news-industry-insights__faq-section {
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for FAQ */
  color: #333333; /* Dark text for light background */
}

.page-news-industry-insights__faq-section .page-news-industry-insights__section-title {
  color: #333333; /* Dark title for light background */
}

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

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

.page-news-industry-insights__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #eaf6fd; /* Light blue for question background */
  color: #26A9E0; /* Brand color for question text */
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-news-industry-insights__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

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

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

.page-news-industry-insights__faq-answer {
  padding: 0 20px 20px 20px;
  color: #333333; /* Dark text for FAQ answer */
  font-size: 1em;
}

/* Color contrast classes */
.page-news-industry-insights__dark-bg {
  color: #ffffff; /* Deep contrast for dark backgrounds */
}

.page-news-industry-insights__light-bg {
  color: #333333; /* Deep contrast for light backgrounds */
}

.page-news-industry-insights__text-contrast-fix {
  color: #333333; /* For text on light background in FAQ */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-news-industry-insights__hero-section {
    height: auto;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-news-industry-insights__hero-content {
    padding: 20px;
    max-width: 90%;
  }

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

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

  .page-news-industry-insights__hero-cta-buttons,
  .page-news-industry-insights__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-industry-insights__btn-primary,
  .page-news-industry-insights__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news-industry-insights__content-area,
  .page-news-industry-insights__faq-section {
    padding: 30px 15px;
  }

  .page-news-industry-insights__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-news-industry-insights__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
  }

  .page-news-industry-insights__paragraph,
  .page-news-industry-insights__list-item,
  .page-news-industry-insights__faq-answer p {
    font-size: 0.95em;
  }

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

  /* Video responsive */
  .page-news-industry-insights video,
  .page-news-industry-insights__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-news-industry-insights__video-section,
  .page-news-industry-insights__video-container,
  .page-news-industry-insights__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-news-industry-insights__video-wrapper {
      padding-bottom: 56.25% !important;
      height: 0 !important;
  }
}

/* Specific contrast classes for elements on the FAQ section's light background */
.page-news-industry-insights__faq-section .page-news-industry-insights__paragraph,
.page-news-industry-insights__faq-section .page-news-industry-insights__list-item {
  color: #333333;
}