.page-resources-igaming-trends-2024 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #000000, so text is white */
  background-color: #000000; /* Ensure main content background matches body */
}

.page-resources-igaming-trends-2024__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-igaming-trends-2024__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  background: linear-gradient(135deg, #26A9E0, #000000);
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-igaming-trends-2024__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-resources-igaming-trends-2024__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-igaming-trends-2024__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-igaming-trends-2024__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-igaming-trends-2024__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-igaming-trends-2024__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-resources-igaming-trends-2024__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-resources-igaming-trends-2024__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-igaming-trends-2024__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
}

.page-resources-igaming-trends-2024__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-igaming-trends-2024__overview-section,
.page-resources-igaming-trends-2024__trends-section,
.page-resources-igaming-trends-2024__opportunities-section,
.page-resources-igaming-trends-2024__video-section,
.page-resources-igaming-trends-2024__faq-section {
  padding: 60px 0;
  background-color: #000000; /* Ensure sections match body background */
  color: #ffffff;
}

.page-resources-igaming-trends-2024__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-igaming-trends-2024__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  margin: 10px auto 0;
}

.page-resources-igaming-trends-2024__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-resources-igaming-trends-2024__paragraph a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-igaming-trends-2024__paragraph a:hover {
  text-decoration: underline;
}

.page-resources-igaming-trends-2024__trends-section {
  background-color: #0d0d0d;
}

.page-resources-igaming-trends-2024__trend-item {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-igaming-trends-2024__trend-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-resources-igaming-trends-2024__trend-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
}

.page-resources-igaming-trends-2024__trend-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-igaming-trends-2024__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-igaming-trends-2024__video-section {
  background-color: #000000;
}

.page-resources-igaming-trends-2024__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-resources-igaming-trends-2024__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-resources-igaming-trends-2024__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-resources-igaming-trends-2024__faq-section {
  background-color: #0d0d0d;
}

.page-resources-igaming-trends-2024__faq-list {
  margin-top: 30px;
}

.page-resources-igaming-trends-2024__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-igaming-trends-2024__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-resources-igaming-trends-2024__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-igaming-trends-2024__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.page-resources-igaming-trends-2024__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-resources-igaming-trends-2024__faq-item.active .page-resources-igaming-trends-2024__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-igaming-trends-2024__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-igaming-trends-2024__faq-item.active .page-resources-igaming-trends-2024__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-igaming-trends-2024__hero-title {
    font-size: 3em;
  }
  .page-resources-igaming-trends-2024__hero-description {
    font-size: 1.2em;
  }
  .page-resources-igaming-trends-2024__section-title {
    font-size: 2em;
  }
  .page-resources-igaming-trends-2024__trend-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-igaming-trends-2024 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-igaming-trends-2024__hero-section {
    padding: 60px 15px;
  }
  .page-resources-igaming-trends-2024__hero-title {
    font-size: 2.2em;
  }
  .page-resources-igaming-trends-2024__hero-description {
    font-size: 1em;
  }
  .page-resources-igaming-trends-2024__cta-button {
    width: 100% !important;
    margin: 10px 0 !important;
  }
  .page-resources-igaming-trends-2024__btn-secondary {
    margin-left: 0 !important;
  }
  .page-resources-igaming-trends-2024__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-resources-igaming-trends-2024__overview-section,
  .page-resources-igaming-trends-2024__trends-section,
  .page-resources-igaming-trends-2024__opportunities-section,
  .page-resources-igaming-trends-2024__video-section,
  .page-resources-igaming-trends-2024__faq-section {
    padding: 40px 0;
  }
  .page-resources-igaming-trends-2024__container {
    padding: 0 15px;
  }
  .page-resources-igaming-trends-2024__section-title {
    font-size: 1.8em;
  }
  .page-resources-igaming-trends-2024__trend-title {
    font-size: 1.5em;
  }
  .page-resources-igaming-trends-2024__trend-content {
    flex-direction: column;
    text-align: left;
  }
  .page-resources-igaming-trends-2024__trend-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-igaming-trends-2024__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-resources-igaming-trends-2024__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-igaming-trends-2024__faq-question {
    padding: 15px 20px;
  }
  .page-resources-igaming-trends-2024__faq-title {
    font-size: 1em;
  }
  .page-resources-igaming-trends-2024__faq-answer {
    padding: 0 20px;
  }
  .page-resources-igaming-trends-2024__faq-item.active .page-resources-igaming-trends-2024__faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-igaming-trends-2024__hero-title {
    font-size: 1.8em;
  }
  .page-resources-igaming-trends-2024__hero-description {
    font-size: 0.9em;
  }
  .page-resources-igaming-trends-2024__section-title {
    font-size: 1.5em;
  }
  .page-resources-igaming-trends-2024__trend-title {
    font-size: 1.3em;
  }
}