.page-news-industry-insights {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-news-industry-insights__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0; /* Primary brand color for hero background */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-news-industry-insights__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle overlay for background image */
}

.page-news-industry-insights__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-news-industry-insights__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

.page-news-industry-insights__cta-buttons--center {
  margin-top: 30px;
}

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news-industry-insights__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-news-industry-insights__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-news-industry-insights__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-news-industry-insights__btn-text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-news-industry-insights__btn-text-link:hover {
  text-decoration: underline;
}

.page-news-industry-insights__section {
  padding: 60px 20px;
}

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

.page-news-industry-insights__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #26A9E0;
}

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

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

.page-news-industry-insights__dark-bg {
  background-color: #0a0a0a; /* Match body background from shared.css */
  color: #ffffff;
}

.page-news-industry-insights__light-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-news-industry-insights__light-bg .page-news-industry-insights__section-title,
.page-news-industry-insights__light-bg .page-news-industry-insights__sub-title {
  color: #26A9E0;
}

.page-news-industry-insights__image-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-news-industry-insights__grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news-industry-insights__grid-item--reversed {
  flex-direction: column-reverse;
}

.page-news-industry-insights__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-news-industry-insights__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-news-industry-insights__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-industry-insights__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-news-industry-insights__game-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-news-industry-insights__game-title a {
  color: #FFFFFF;
  text-decoration: none;
}

.page-news-industry-insights__game-title a:hover {
  text-decoration: underline;
  color: #26A9E0;
}

.page-news-industry-insights__features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-news-industry-insights__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news-industry-insights__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-news-industry-insights__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-news-industry-insights__faq-container {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-news-industry-insights__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  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 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

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

.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;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-news-industry-insights__faq-item.active .page-news-industry-insights__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-news-industry-insights__image-text-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
  }

  .page-news-industry-insights__grid-item {
    flex-direction: row;
    gap: 30px;
    text-align: left;
  }

  .page-news-industry-insights__grid-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-news-industry-insights__grid-item--reversed {
    flex-direction: row-reverse;
  }

  .page-news-industry-insights__grid-item .page-news-industry-insights__content-image {
    flex-shrink: 0;
    width: 40%;
    margin-bottom: 0;
  }

  .page-news-industry-insights__grid-item .page-news-industry-insights__sub-title,
  .page-news-industry-insights__grid-item .page-news-industry-insights__paragraph {
    text-align: left;
  }

  .page-news-industry-insights__game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news-industry-insights__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-news-industry-insights__hero-title {
    font-size: 4em;
  }

  .page-news-industry-insights__game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile responsiveness for images, videos, and buttons */
@media (max-width: 768px) {
  .page-news-industry-insights {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
  }

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

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

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

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

  .page-news-industry-insights__hero-section,
  .page-news-industry-insights__section,
  .page-news-industry-insights__content-area {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images */
  .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__image-text-grid,
  .page-news-industry-insights__grid-item,
  .page-news-industry-insights__game-grid,
  .page-news-industry-insights__game-card,
  .page-news-industry-insights__features-grid,
  .page-news-industry-insights__feature-item,
  .page-news-industry-insights__faq-container,
  .page-news-industry-insights__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-news-industry-insights__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-industry-insights__btn-primary,
  .page-news-industry-insights__btn-secondary,
  .page-news-industry-insights a[class*="button"],
  .page-news-industry-insights 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-insights__cta-buttons,
  .page-news-industry-insights__button-group,
  .page-news-industry-insights__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .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;
  }
}