/* style/resources-igaming-trends.css */

/* Base styles for the page content */
.page-resources-igaming-trends {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text on light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly white background */
}

/* Header offset for main content */
.page-resources-igaming-trends__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* General container for content sections */
.page-resources-igaming-trends__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-resources-igaming-trends__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-igaming-trends__section-intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Text blocks */
.page-resources-igaming-trends__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

/* Links within text blocks */
.page-resources-igaming-trends__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-resources-igaming-trends__text-block a:hover {
  color: #005a2d; /* Slightly darker green on hover */
}

/* Hero Section */
.page-resources-igaming-trends__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF; /* White text on hero image */
  min-height: 500px;
  overflow: hidden;
  background-color: #017439; /* Fallback background */
}

.page-resources-igaming-trends__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-resources-igaming-trends__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-resources-igaming-trends__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-resources-igaming-trends__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* Button Group */
.page-resources-igaming-trends__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Primary Button */
.page-resources-igaming-trends__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-igaming-trends__btn-primary:hover {
  background-color: #a00606; /* Darker red on hover */
  transform: translateY(-2px);
}

/* Secondary Button */
.page-resources-igaming-trends__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439; /* Brand primary color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-igaming-trends__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Intro Section */
.page-resources-igaming-trends__intro-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

/* Trends Section */
.page-resources-igaming-trends__trends-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background for trends section */
  color: #FFFFFF; /* White text on dark background */
}