.page-blog-online-gambling-safety-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
  padding-bottom: 60px;
}

.page-blog-online-gambling-safety-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-online-gambling-safety-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

.page-blog-online-gambling-safety-guide__hero-content {
  max-width: 900px;
  text-align: center;
  color: var(--text-main);
  z-index: 1;
  position: relative;
  padding: 0 20px;
}

.page-blog-online-gambling-safety-guide__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-online-gambling-safety-guide__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-blog-online-gambling-safety-guide__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog-online-gambling-safety-guide__cta-button--secondary {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-online-gambling-safety-guide__cta-button--secondary:hover {
  background: var(--deep-green);
  border-color: var(--glow);
  color: #ffffff;
}

.page-blog-online-gambling-safety-guide__content-section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-blog-online-gambling-safety-guide__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-blog-online-gambling-safety-guide__light-bg {
  background-color: #0A4B2C; /* Deep Green for contrast */
  color: var(--text-main);
}

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

.page-blog-online-gambling-safety-guide__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--text-main);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.page-blog-online-gambling-safety-guide__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-online-gambling-safety-guide__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-blog-online-gambling-safety-guide__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-blog-online-gambling-safety-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-blog-online-gambling-safety-guide__list-item strong {
  color: var(--text-main);
}

.page-blog-online-gambling-safety-guide__list-item a {
  color: var(--glow);
  text-decoration: underline;
}

.page-blog-online-gambling-safety-guide__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

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

.page-blog-online-gambling-safety-guide__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-blog-online-gambling-safety-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.page-blog-online-gambling-safety-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-online-gambling-safety-guide__card-title {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-online-gambling-safety-guide__card-text {
  font-size: 0.95em;
  color: var(--text-secondary);
}

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

.page-blog-online-gambling-safety-guide__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog-online-gambling-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
  list-style: none;
}

.page-blog-online-gambling-safety-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-online-gambling-safety-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
  margin-left: 15px;
}

.page-blog-online-gambling-safety-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

.page-blog-online-gambling-safety-guide__faq-item[open] .page-blog-online-gambling-safety-guide__faq-question {
  background-color: var(--deep-green);
}

.page-blog-online-gambling-safety-guide__faq-item[open] .page-blog-online-gambling-safety-guide__faq-toggle {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-online-gambling-safety-guide__hero-content {
    padding: 0 15px;
  }
  .page-blog-online-gambling-safety-guide__container {
    padding: 0 15px;
  }
  .page-blog-online-gambling-safety-guide__card-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-blog-online-gambling-safety-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-online-gambling-safety-guide__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-blog-online-gambling-safety-guide__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-blog-online-gambling-safety-guide__hero-image,
  .page-blog-online-gambling-safety-guide__image,
  .page-blog-online-gambling-safety-guide__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-online-gambling-safety-guide__content-section,
  .page-blog-online-gambling-safety-guide__container,
  .page-blog-online-gambling-safety-guide__card,
  .page-blog-online-gambling-safety-guide__card-grid,
  .page-blog-online-gambling-safety-guide__faq-list,
  .page-blog-online-gambling-safety-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-online-gambling-safety-guide__cta-button,
  .page-blog-online-gambling-safety-guide a[class*="button"],
  .page-blog-online-gambling-safety-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add spacing for stacked buttons */
  }

  .page-blog-online-gambling-safety-guide__cta-button:last-child {
    margin-bottom: 0;
  }

  .page-blog-online-gambling-safety-guide__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-online-gambling-safety-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-blog-online-gambling-safety-guide__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-online-gambling-safety-guide__text-block,
  .page-blog-online-gambling-safety-guide__list-item,
  .page-blog-online-gambling-safety-guide__card-text {
    font-size: 1em;
  }

  .page-blog-online-gambling-safety-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-online-gambling-safety-guide__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-blog-online-gambling-safety-guide__main-title {
    font-size: 2em;
  }
  .page-blog-online-gambling-safety-guide__description {
    font-size: 1em;
  }
  .page-blog-online-gambling-safety-guide__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}

/* Color Contrast Fixes based on custom palette */
.page-blog-online-gambling-safety-guide__dark-bg {
  background-color: var(--background-color); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
}

.page-blog-online-gambling-safety-guide__light-bg {
  background-color: var(--deep-green); /* #0A4B2C */
  color: var(--text-main); /* #F2FFF6 */
}

.page-blog-online-gambling-safety-guide__card {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
  border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-blog-online-gambling-safety-guide__text-block,
.page-blog-online-gambling-safety-guide__list-item,
.page-blog-online-gambling-safety-guide__card-text {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-blog-online-gambling-safety-guide__main-title,
.page-blog-online-gambling-safety-guide__section-title,
.page-blog-online-gambling-safety-guide__sub-title,
.page-blog-online-gambling-safety-guide__card-title {
  color: var(--text-main); /* #F2FFF6 */
}

.page-blog-online-gambling-safety-guide__cta-button {
  color: #ffffff; /* Explicit white for button text */
}

.page-blog-online-gambling-safety-guide a {
  color: var(--glow); /* #57E38D for links in text */
}

.page-blog-online-gambling-safety-guide__faq-toggle {
  color: var(--glow);
}

.page-blog-online-gambling-safety-guide__faq-item[open] .page-blog-online-gambling-safety-guide__faq-question {
  background-color: var(--deep-green);
}

.page-blog-online-gambling-safety-guide__faq-item[open] .page-blog-online-gambling-safety-guide__faq-toggle {
  color: #ffffff;
}