/* style/resources-mobile-gambling-trends.css */

.page-resources-mobile-gambling-trends {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-mobile-gambling-trends__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  text-align: center;
}

.page-resources-mobile-gambling-trends__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-mobile-gambling-trends__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-mobile-gambling-trends__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-mobile-gambling-trends__hero-button {
  display: inline-block;
  background-color: #28a745; /* Secondary color for button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-mobile-gambling-trends__hero-button:hover {
  background-color: #218838;
  transform: translateY(-3px);
}

.page-resources-mobile-gambling-trends__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-resources-mobile-gambling-trends__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-mobile-gambling-trends__content-area {
  max-width: 800px; /* Optimal width for long article reading */
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  font-size: 1.1em;
}

.page-resources-mobile-gambling-trends__article-nav {
  margin-bottom: 40px;
  text-align: left;
}

.page-resources-mobile-gambling-trends__back-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-mobile-gambling-trends__back-link:hover {
  color: #0056b3;
}

.page-resources-mobile-gambling-trends__article-heading {
  font-size: 2.5em;
  color: #007bff;
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-resources-mobile-gambling-trends__article-subheading {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 35px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-resources-mobile-gambling-trends__article-paragraph {
  margin-bottom: 20px;
  font-size: 1em;
  color: #333333;
}

.page-resources-mobile-gambling-trends__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-mobile-gambling-trends__action-button {
  display: inline-block;
  background-color: #28a745; /* Secondary color for button */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-mobile-gambling-trends__action-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.page-resources-mobile-gambling-trends__action-button--secondary {
  background-color: #007bff;
  margin-left: 20px;
}

.page-resources-mobile-gambling-trends__action-button--secondary:hover {
  background-color: #0056b3;
}

.page-resources-mobile-gambling-trends__article-conclusion-heading {
  font-size: 2.2em;
  color: #007bff;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-mobile-gambling-trends__call-to-action {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-mobile-gambling-trends__hero-section {
    padding: 60px 15px;
  }

  .page-resources-mobile-gambling-trends__hero-title {
    font-size: 2.5em;
  }

  .page-resources-mobile-gambling-trends__hero-description {
    font-size: 1em;
  }

  .page-resources-mobile-gambling-trends__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-mobile-gambling-trends__content-area {
    padding: 30px 15px;
    font-size: 1em;
  }

  .page-resources-mobile-gambling-trends__article-heading {
    font-size: 2em;
  }

  .page-resources-mobile-gambling-trends__article-subheading {
    font-size: 1.5em;
  }

  .page-resources-mobile-gambling-trends__article-image {
    max-width: 100%;
    height: auto;
  }

  /* Enforce minimum image size for content area images */
  .page-resources-mobile-gambling-trends__article-image,
  .page-resources-mobile-gambling-trends__content-area img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure images don't overflow */
    height: auto;
  }

  .page-resources-mobile-gambling-trends__action-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-resources-mobile-gambling-trends__action-button {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}