.page-blog-online-gambling-safety-guide {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-online-gambling-safety-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-online-gambling-safety-guide__section {
  padding: 40px 0;
}

.page-blog-online-gambling-safety-guide__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-blog-online-gambling-safety-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height on desktop */
  overflow: hidden;
}

.page-blog-online-gambling-safety-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-online-gambling-safety-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -80px; /* Pull content slightly over the image for visual flow, but not *on* the image */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-online-gambling-safety-guide__main-title {
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-online-gambling-safety-guide__description {
  color: #A7D9B8;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-blog-online-gambling-safety-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  text-align: center;
}

.page-blog-online-gambling-safety-guide__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-blog-online-gambling-safety-guide__section-title {
  color: #F2FFF6;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-blog-online-gambling-safety-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #22C768;
  border-radius: 2px;
}

.page-blog-online-gambling-safety-guide__text-content {
  color: #A7D9B8;
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-online-gambling-safety-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-online-gambling-safety-guide__card {
  background-color: #11271B;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E;
}

.page-blog-online-gambling-safety-guide__card:hover {
  transform: translateY(-5px);
}

.page-blog-online-gambling-safety-guide__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure no extra space below image */
}

.page-blog-online-gambling-safety-guide__card-title {
  color: #F2FFF6;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-blog-online-gambling-safety-guide__card-text {
  color: #A7D9B8;
  font-size: 0.95em;
}

.page-blog-online-gambling-safety-guide__security-list,
.page-blog-online-gambling-safety-guide__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-blog-online-gambling-safety-guide__list-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-blog-online-gambling-safety-guide__list-item-title {
  color: #22C768;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-blog-online-gambling-safety-guide__list-item p {
  color: #A7D9B8;
}

.page-blog-online-gambling-safety-guide__content-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-blog-online-gambling-safety-guide__read-more-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-online-gambling-safety-guide__read-more-button:hover {
  opacity: 0.9;
}

.page-blog-online-gambling-safety-guide__faq-list {
  margin-top: 30px;
}

.page-blog-online-gambling-safety-guide__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-online-gambling-safety-guide__faq-question {
  color: #F2FFF6;
  font-size: 1.2em;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-blog-online-gambling-safety-guide__faq-question:hover {
  background-color: #0A4B2C;
}

.page-blog-online-gambling-safety-guide__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-blog-online-gambling-safety-guide__faq-item.active .page-blog-online-gambling-safety-guide__faq-question::after {
  transform: rotate(45deg);
}

.page-blog-online-gambling-safety-guide__faq-answer {
  color: #A7D9B8;
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-online-gambling-safety-guide__faq-item.active .page-blog-online-gambling-safety-guide__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 10px;
}

.page-blog-online-gambling-safety-guide__cta-button--bottom {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-online-gambling-safety-guide__hero-content {
    margin-top: -40px;
    padding: 20px;
  }

  .page-blog-online-gambling-safety-guide__main-title {
    font-size: 2em;
  }

  .page-blog-online-gambling-safety-guide__section-title {
    font-size: 2em;
  }

  .page-blog-online-gambling-safety-guide__grid {
    grid-template-columns: 1fr;
  }

  .page-blog-online-gambling-safety-guide__card-image,
  .page-blog-online-gambling-safety-guide__content-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-blog-online-gambling-safety-guide img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-blog-online-gambling-safety-guide__main-title {
    font-size: 1.5em;
  }

  .page-blog-online-gambling-safety-guide__section-title {
    font-size: 1.5em;
  }

  .page-blog-online-gambling-safety-guide__cta-button {
    width: 100%;
    box-sizing: border-box;
  }

  .page-blog-online-gambling-safety-guide__hero-content {
    margin-top: -20px;
    padding: 15px;
  }
}