.page-blog-why-choose-997bet {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-dark: #08160F;
  --bg-card: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-dark); /* Ensure body background is dark, text is light */
}

/* General Section Styling */
.page-blog-why-choose-997bet__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-why-choose-997bet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-why-choose-997bet__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-why-choose-997bet__text-block {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* Hero Section */
.page-blog-why-choose-997bet__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, add small top padding for visual */
  overflow: hidden;
}

.page-blog-why-choose-997bet__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-why-choose-997bet__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-why-choose-997bet__hero-content {
  position: relative; /* Ensure content is above any background effects */
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Space below image */
  padding: 0 20px;
}

.page-blog-why-choose-997bet__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gold-color);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-why-choose-997bet__description {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog-why-choose-997bet__btn-primary,
.page-blog-why-choose-997bet__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-why-choose-997bet__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin: 10px;
}

.page-blog-why-choose-997bet__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.page-blog-why-choose-997bet__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 10px;
}

.page-blog-why-choose-997bet__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-2px);
}

.page-blog-why-choose-997bet__cta-wrapper {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Intro Section */
.page-blog-why-choose-997bet__intro-section {
  background-color: var(--bg-dark); /* Using dark background for contrast */
  color: var(--text-main);
}

/* Features Section (Grid Layout) */
.page-blog-why-choose-997bet__features-section {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.page-blog-why-choose-997bet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-why-choose-997bet__card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.page-blog-why-choose-997bet__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-why-choose-997bet__card-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-why-choose-997bet__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* Responsible Gaming Section */
.page-blog-why-choose-997bet__responsible-gaming-section {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

/* FAQ Section */
.page-blog-why-choose-997bet__faq-section {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.page-blog-why-choose-997bet__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-blog-why-choose-997bet__faq-item {
  background-color: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-why-choose-997bet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--divider-color);
}

.page-blog-why-choose-997bet__faq-item[open] > .page-blog-why-choose-997bet__faq-question {
  border-bottom: none;
}

.page-blog-why-choose-997bet__faq-item:last-child .page-blog-why-choose-997bet__faq-question {
  border-bottom: none;
}

.page-blog-why-choose-997bet__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-blog-why-choose-997bet__faq-item[open] .page-blog-why-choose-997bet__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-why-choose-997bet__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-blog-why-choose-997bet__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* CTA Bottom Section */
.page-blog-why-choose-997bet__cta-bottom {
  background-color: var(--bg-dark);
  color: var(--text-main);
  padding-bottom: 80px;
}

.page-blog-why-choose-997bet__cta-bottom .page-blog-why-choose-997bet__btn-primary,
.page-blog-why-choose-997bet__cta-bottom .page-blog-why-choose-997bet__btn-secondary {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-why-choose-997bet__hero-content {
    margin-top: 20px;
  }
  .page-blog-why-choose-997bet__section {
    padding: 40px 0;
  }
  .page-blog-why-choose-997bet__section-title {
    font-size: clamp(24px, 4vw, 36px);
  }
  .page-blog-why-choose-997bet__text-block {
    font-size: 16px;
  }
  .page-blog-why-choose-997bet__card-title {
    font-size: 22px;
  }
  .page-blog-why-choose-997bet__card-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-why-choose-997bet {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-why-choose-997bet__hero-image,
  .page-blog-why-choose-997bet__card-image,
  .page-blog-why-choose-997bet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-why-choose-997bet__hero-section,
  .page-blog-why-choose-997bet__section,
  .page-blog-why-choose-997bet__container,
  .page-blog-why-choose-997bet__card,
  .page-blog-why-choose-997bet__cta-wrapper,
  .page-blog-why-choose-997bet__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-why-choose-997bet__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog-why-choose-997bet__main-title {
    font-size: clamp(30px, 8vw, 48px);
  }
  .page-blog-why-choose-997bet__description {
    font-size: clamp(16px, 4vw, 20px);
  }
  .page-blog-why-choose-997bet__btn-primary,
  .page-blog-why-choose-997bet__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin: 5px 0; /* Adjust margin for stacked buttons */
  }
  .page-blog-why-choose-997bet__cta-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-blog-why-choose-997bet__grid {
    grid-template-columns: 1fr;
  }
  .page-blog-why-choose-997bet__card {
    padding: 20px;
  }
  .page-blog-why-choose-997bet__card-image {
    height: 180px;
  }
  .page-blog-why-choose-997bet__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-blog-why-choose-997bet__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
}