.page-resources-online-gambling-safety-guide {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #26A9E0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.page-resources-online-gambling-safety-guide__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  color: var(--text-light);
  background-color: var(--background-dark);
}

.page-resources-online-gambling-safety-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-gambling-safety-guide__btn-primary,
.page-resources-online-gambling-safety-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-online-gambling-safety-guide__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-online-gambling-safety-guide__btn-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-resources-online-gambling-safety-guide__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-online-gambling-safety-guide__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide__section {
  padding: 60px 0;
}

.page-resources-online-gambling-safety-guide__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-online-gambling-safety-guide__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-online-gambling-safety-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-resources-online-gambling-safety-guide__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__highlight {
  color: var(--secondary-color);
}

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

.page-resources-online-gambling-safety-guide__card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-resources-online-gambling-safety-guide__card-title,
.page-resources-online-gambling-safety-guide__tip-title,
.page-resources-online-gambling-safety-guide__solution-title,
.page-resources-online-gambling-safety-guide__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__card-title,
.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__tip-title,
.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__solution-title,
.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__feature-title {
  color: var(--secondary-color);
}

.page-resources-online-gambling-safety-guide__card-text {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__card-text {
  color: var(--text-dark);
}

.page-resources-online-gambling-safety-guide__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-online-gambling-safety-guide__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-online-gambling-safety-guide__feature-description {
  font-size: 1em;
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__tip-card,
.page-resources-online-gambling-safety-guide__solution-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-gambling-safety-guide__tip-card:hover,
.page-resources-online-gambling-safety-guide__solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-resources-online-gambling-safety-guide__faq-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-online-gambling-safety-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources-online-gambling-safety-guide__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--secondary-color);
}

.page-resources-online-gambling-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

.page-resources-online-gambling-safety-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-online-gambling-safety-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  font-size: 1em;
  color: var(--text-dark);
}

.page-resources-online-gambling-safety-guide__faq-item.active .page-resources-online-gambling-safety-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px !important;
}

.page-resources-online-gambling-safety-guide__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* Image and Video Responsive Rules */
.page-resources-online-gambling-safety-guide img,
.page-resources-online-gambling-safety-guide video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources-online-gambling-safety-guide__card-image,
.page-resources-online-gambling-safety-guide__hero-image {
  object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide__hero-section {
    min-height: 400px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 1em;
  }

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

  .page-resources-online-gambling-safety-guide__paragraph {
    font-size: 0.95em;
  }

  .page-resources-online-gambling-safety-guide__grid,
  .page-resources-online-gambling-safety-guide__feature-list,
  .page-resources-online-gambling-safety-guide__solution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-online-gambling-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-gambling-safety-guide__btn-primary,
  .page-resources-online-gambling-safety-guide__btn-secondary,
  .page-resources-online-gambling-safety-guide a[class*="button"],
  .page-resources-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;
  }

  .page-resources-online-gambling-safety-guide__cta-buttons,
  .page-resources-online-gambling-safety-guide__button-group,
  .page-resources-online-gambling-safety-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-online-gambling-safety-guide__section,
  .page-resources-online-gambling-safety-guide__card,
  .page-resources-online-gambling-safety-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-online-gambling-safety-guide img,
  .page-resources-online-gambling-safety-guide video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-online-gambling-safety-guide__video-section,
  .page-resources-online-gambling-safety-guide__video-container,
  .page-resources-online-gambling-safety-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}