/* style/news-gambling-industry-trends.css */
.page-news-gambling-industry-trends {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-news-gambling-industry-trends__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

.page-news-gambling-industry-trends__main-title,
.page-news-gambling-industry-trends__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: center;
  color: inherit;
}

.page-news-gambling-industry-trends__sub-title,
.page-news-gambling-industry-trends__card-title,
.page-news-gambling-industry-trends__feature-title,
.page-news-gambling-industry-trends__strategy-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-news-gambling-industry-trends__paragraph,
.page-news-gambling-industry-trends__intro-text,
.page-news-gambling-industry-trends__card-text,
.page-news-gambling-industry-trends__feature-text,
.page-news-gambling-industry-trends__strategy-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

/* Hero Section */
.page-news-gambling-industry-trends__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Use brand primary color for hero */
  color: #ffffff;
}

.page-news-gambling-industry-trends__hero-section .page-news-gambling-industry-trends__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-news-gambling-industry-trends__hero-content {
  max-width: 800px;
}

.page-news-gambling-industry-trends__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
}

.page-news-gambling-industry-trends__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-news-gambling-industry-trends__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news-gambling-industry-trends__btn-primary:hover {
  background-color: #a00606;
}

.page-news-gambling-industry-trends__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Content Grid */
.page-news-gambling-industry-trends__content-grid,
.page-news-gambling-industry-trends__features-grid,
.page-news-gambling-industry-trends__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news-gambling-industry-trends__card,
.page-news-gambling-industry-trends__feature-item,
.page-news-gambling-industry-trends__strategy-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news-gambling-industry-trends__card-image,
.page-news-gambling-industry-trends__feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Responsive image */
  display: block;
}

/* Content Wrapper with image left/right */
.page-news-gambling-industry-trends__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-news-gambling-industry-trends__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Responsive image */
  height: auto;
  display: block;
}

.page-news-gambling-industry-trends__content-image--left {
  order: 0;
}

.page-news-gambling-industry-trends__text-block {
  flex: 2;
  min-width: 300px;
}

/* Video Section */
.page-news-gambling-industry-trends__video-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-news-gambling-industry-trends__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%; /* Responsive video container */
  box-sizing: border-box;
}

.page-news-gambling-industry-trends__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  max-width: 100%; /* Responsive video */
  display: block;
}

/* FAQ Section */
.page-news-gambling-industry-trends__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-news-gambling-industry-trends__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-news-gambling-industry-trends__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-news-gambling-industry-trends__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

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

.page-news-gambling-industry-trends__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
}

.page-news-gambling-industry-trends__faq-answer p {
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-news-gambling-industry-trends__faq-item.active .page-news-gambling-industry-trends__faq-answer {
  max-height: 1000px !important; /* Sufficient height */
  padding: 15px 25px;
}

.page-news-gambling-industry-trends__faq-item.active .page-news-gambling-industry-trends__faq-toggle {
  transform: rotate(45deg); /* Change + to X */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-news-gambling-industry-trends__main-title {
    font-size: 2.2em;
  }
  .page-news-gambling-industry-trends__section-title {
    font-size: 2.2em;
  }
  .page-news-gambling-industry-trends__sub-title,
  .page-news-gambling-industry-trends__card-title,
  .page-news-gambling-industry-trends__feature-title,
  .page-news-gambling-industry-trends__strategy-title {
    font-size: 1.5em;
  }
  .page-news-gambling-industry-trends__hero-section .page-news-gambling-industry-trends__container {
    flex-direction: column;
  }
  .page-news-gambling-industry-trends__content-wrapper {
    flex-direction: column;
  }
  .page-news-gambling-industry-trends__content-image--left {
    order: unset;
  }
}

@media (max-width: 768px) {
  .page-news-gambling-industry-trends__main-title {
    font-size: 1.8em;
  }
  .page-news-gambling-industry-trends__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }
  .page-news-gambling-industry-trends__intro-text,
  .page-news-gambling-industry-trends__paragraph {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-news-gambling-industry-trends__section {
    padding: 60px 0;
  }
  .page-news-gambling-industry-trends__container {
    padding: 0 15px;
  }
  
  /* Mobile image, video, button responsiveness */
  .page-news-gambling-industry-trends img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-gambling-industry-trends__section,
  .page-news-gambling-industry-trends__card,
  .page-news-gambling-industry-trends__container,
  .page-news-gambling-industry-trends__content-wrapper,
  .page-news-gambling-industry-trends__video-section,
  .page-news-gambling-industry-trends__video-container,
  .page-news-gambling-industry-trends__video-wrapper,
  .page-news-gambling-industry-trends__faq-section,
  .page-news-gambling-industry-trends__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-news-gambling-industry-trends video,
  .page-news-gambling-industry-trends__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news-gambling-industry-trends__btn-primary,
  .page-news-gambling-industry-trends a[class*="button"],
  .page-news-gambling-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;
    text-align: center;
  }
  
  .page-news-gambling-industry-trends__cta-buttons,
  .page-news-gambling-industry-trends__button-group,
  .page-news-gambling-industry-trends__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-gambling-industry-trends__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure correct spacing on mobile */
  }
  
  .page-news-gambling-industry-trends__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Video section special padding for mobile */
  }
  
  .page-news-gambling-industry-trends__faq-question {
    padding: 15px 15px;
    font-size: 1.1em;
  }
  .page-news-gambling-industry-trends__faq-answer {
    padding: 0 15px;
  }
  .page-news-gambling-industry-trends__faq-item.active .page-news-gambling-industry-trends__faq-answer {
    padding: 10px 15px;
  }
}