.page-blog-safe-betting-guide {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff);
  line-height: 1.6;
}

.page-blog-safe-betting-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Ensure brand color for dark section */
}

.page-blog-safe-betting-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-blog-safe-betting-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-safe-betting-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-blog-safe-betting-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-safe-betting-guide__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-safe-betting-guide__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-safe-betting-guide__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-blog-safe-betting-guide__btn-primary:hover {
  background-color: #d66f06;
  transform: translateY(-2px);
}

.page-blog-safe-betting-guide__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-blog-safe-betting-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-blog-safe-betting-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Explicitly white background for content */
  color: #333333;
}

.page-blog-safe-betting-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-safe-betting-guide__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-blog-safe-betting-guide p {
  margin-bottom: 1em;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
}

.page-blog-safe-betting-guide__highlight-text {
  font-weight: 700;
  color: #26A9E0;
}

.page-blog-safe-betting-guide__article-image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-blog-safe-betting-guide__article-image {
  width: 100%;
  max-width: 800px; /* Recommended max-width for content images */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-blog-safe-betting-guide__feature-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #26A9E0;
}

.page-blog-safe-betting-guide__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-safe-betting-guide__feature-item p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 0;
}

.page-blog-safe-betting-guide__inline-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
}

.page-blog-safe-betting-guide__inline-link:hover {
  color: #1a7bb0;
}

.page-blog-safe-betting-guide__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-blog-safe-betting-guide__faq-list {
  margin-top: 30px;
}

.page-blog-safe-betting-guide__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-blog-safe-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.page-blog-safe-betting-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-safe-betting-guide__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-blog-safe-betting-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-safe-betting-guide__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-blog-safe-betting-guide__faq-item[open] .page-blog-safe-betting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-safe-betting-guide__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

.page-blog-safe-betting-guide__cta-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-blog-safe-betting-guide__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-safe-betting-guide__cta-section .page-blog-safe-betting-guide__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-blog-safe-betting-guide__cta-section p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-blog-safe-betting-guide__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog-safe-betting-guide__hero-section {
    padding: 10px 15px 50px;
  }

  .page-blog-safe-betting-guide__content-area,
  .page-blog-safe-betting-guide__faq-section,
  .page-blog-safe-betting-guide__cta-section {
    padding: 40px 15px;
  }

  .page-blog-safe-betting-guide__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-blog-safe-betting-guide__btn-secondary {
    margin-left: 10px;
  }
}

@media (max-width: 768px) {
  .page-blog-safe-betting-guide__hero-section {
    padding: 10px 15px 40px !important;
  }

  .page-blog-safe-betting-guide__main-title {
    font-size: 2.2rem !important;
  }

  .page-blog-safe-betting-guide__intro-text {
    font-size: 1rem !important;
  }

  .page-blog-safe-betting-guide__section-title {
    font-size: 2rem !important;
  }

  .page-blog-safe-betting-guide__sub-title {
    font-size: 1.3rem !important;
  }

  .page-blog-safe-betting-guide p,
  .page-blog-safe-betting-guide__feature-item p,
  .page-blog-safe-betting-guide__faq-answer {
    font-size: 0.95rem !important;
  }

  .page-blog-safe-betting-guide__cta-button,
  .page-blog-safe-betting-guide__btn-primary,
  .page-blog-safe-betting-guide__btn-secondary,
  .page-blog-safe-betting-guide a[class*="button"],
  .page-blog-safe-betting-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: 5px 0 !important; /* Adjust margins for stacking */
  }

  .page-blog-safe-betting-guide__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-safe-betting-guide__hero-image,
  .page-blog-safe-betting-guide__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-safe-betting-guide__hero-image-wrapper,
  .page-blog-safe-betting-guide__article-image-wrapper,
  .page-blog-safe-betting-guide__section,
  .page-blog-safe-betting-guide__card,
  .page-blog-safe-betting-guide__container,
  .page-blog-safe-betting-guide__feature-item,
  .page-blog-safe-betting-guide__faq-item,
  .page-blog-safe-betting-guide__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-blog-safe-betting-guide__video-section {
    padding-top: 10px !important;
  }

  .page-blog-safe-betting-guide__faq-question {
    font-size: 1rem !important;
    padding: 15px;
  }

  .page-blog-safe-betting-guide__faq-answer {
    padding: 0 15px 15px;
  }
}