.page-blog-latest-gambling-trends {
  color: #333333; /* Default text color for light body background */
}

.page-blog-latest-gambling-trends__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-blog-latest-gambling-trends__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-latest-gambling-trends__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-latest-gambling-trends__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 8px;
  color: #ffffff;
}

.page-blog-latest-gambling-trends__hero-title {
  font-size: 3em;
  color: #D72638; /* Auxiliary color for prominence */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-latest-gambling-trends__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog-latest-gambling-trends__cta-button {
  display: inline-block;
  background-color: #D72638; /* Auxiliary color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-latest-gambling-trends__cta-button:hover {
  background-color: #b31e2d;
}

.page-blog-latest-gambling-trends__cta-button--secondary {
  background-color: #3A1C71; /* Main color for secondary CTA */
}

.page-blog-latest-gambling-trends__cta-button--secondary:hover {
  background-color: #2b1452;
}

.page-blog-latest-gambling-trends__cta-button--outline {
  background-color: transparent;
  border: 2px solid #D72638;
  color: #D72638;
}

.page-blog-latest-gambling-trends__cta-button--outline:hover {
  background-color: #D72638;
  color: #ffffff;
}

.page-blog-latest-gambling-trends__section {
  padding: 60px 20px;
}

.page-blog-latest-gambling-trends__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog-latest-gambling-trends__section-title {
  font-size: 2.5em;
  color: #3A1C71; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-blog-latest-gambling-trends__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #D72638;
  margin: 15px auto 0;
}

.page-blog-latest-gambling-trends__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-latest-gambling-trends__paragraph a {
  color: #3A1C71;
  text-decoration: underline;
}

.page-blog-latest-gambling-trends__paragraph a:hover {
  color: #D72638;
}

.page-blog-latest-gambling-trends__trends-grid {
  background-color: #f0f0f0;
}

.page-blog-latest-gambling-trends__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-latest-gambling-trends__grid-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-latest-gambling-trends__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-latest-gambling-trends__grid-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-latest-gambling-trends__item-title {
  font-size: 1.5em;
  color: #3A1C71;
  margin-bottom: 10px;
}

.page-blog-latest-gambling-trends__item-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  text-align: justify;
}

.page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__text-content {
  flex: 2;
  min-width: 300px;
}

.page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__image-content {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__image-content img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-blog-latest-gambling-trends__conclusion {
  text-align: center;
  background-color: #3A1C71;
  color: #ffffff;
}

.page-blog-latest-gambling-trends__conclusion .page-blog-latest-gambling-trends__section-title {
  color: #ffffff;
}

.page-blog-latest-gambling-trends__conclusion .page-blog-latest-gambling-trends__section-title::after {
  background-color: #D72638;
}

.page-blog-latest-gambling-trends__conclusion .page-blog-latest-gambling-trends__paragraph {
  color: #f0f0f0;
}

.page-blog-latest-gambling-trends__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-blog-latest-gambling-trends__hero-title {
    font-size: 2.5em;
  }
  .page-blog-latest-gambling-trends__hero-description {
    font-size: 1.1em;
  }
  .page-blog-latest-gambling-trends__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-gambling-trends__hero-section {
    padding-top: var(--header-offset, 120px); /* Keep padding for mobile */
    padding-bottom: 40px;
  }
  .page-blog-latest-gambling-trends__hero-content {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.7); /* Slightly darker overlay */
    width: 100%;
    max-width: none;
    padding: 30px 20px;
    border-radius: 0;
  }
  .page-blog-latest-gambling-trends__hero-title {
    font-size: 2em;
  }
  .page-blog-latest-gambling-trends__hero-description {
    font-size: 1em;
  }
  .page-blog-latest-gambling-trends__cta-button {
    width: 100%;
    text-align: center;
  }
  .page-blog-latest-gambling-trends__section {
    padding: 40px 15px;
  }
  .page-blog-latest-gambling-trends__section-title {
    font-size: 1.8em;
  }
  .page-blog-latest-gambling-trends__grid-item {
    padding: 20px;
  }
  .page-blog-latest-gambling-trends__grid-item img {
    max-width: 100%;
    height: auto;
  }
  .page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__content-wrapper {
    flex-direction: column;
  }
  .page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__text-content,
  .page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__image-content {
    min-width: unset;
    width: 100%;
  }
  .page-blog-latest-gambling-trends__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-latest-gambling-trends__paragraph img, 
  .page-blog-latest-gambling-trends__grid-item img, 
  .page-blog-latest-gambling-trends__responsible-gaming .page-blog-latest-gambling-trends__image-content img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
}

@media (max-width: 480px) {
  .page-blog-latest-gambling-trends__hero-title {
    font-size: 1.6em;
  }
  .page-blog-latest-gambling-trends__hero-description {
    font-size: 0.9em;
  }
  .page-blog-latest-gambling-trends__section-title {
    font-size: 1.5em;
  }
  .page-blog-latest-gambling-trends__item-title {
    font-size: 1.3em;
  }
  .page-blog-latest-gambling-trends__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}