.page-blog-why-onbet-is-your-first-choice {
  /* body padding-top is handled by shared.css var(--header-offset) */
  /* Ensure text color contrasts with body background #08160F */
  color: var(--text-main, #F2FFF6); /* Default light text for dark body background */
  background-color: var(--background, #08160F);
}

.page-blog-why-onbet-is-your-first-choice__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset from body */
  text-align: center;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-blog-why-onbet-is-your-first-choice__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-why-onbet-is-your-first-choice__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-why-onbet-is-your-first-choice__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-blog-why-onbet-is-your-first-choice__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main, #F2FFF6);
  max-width: 100%; /* Ensure H1 does not overflow */
  margin-bottom: 20px;
}

.page-blog-why-onbet-is-your-first-choice__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-blog-why-onbet-is-your-first-choice__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog-why-onbet-is-your-first-choice__btn-primary,
.page-blog-why-onbet-is-your-first-choice__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-why-onbet-is-your-first-choice__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-why-onbet-is-your-first-choice__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-why-onbet-is-your-first-choice__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--border, #2E7A4E);
}

.page-blog-why-onbet-is-your-first-choice__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  color: #ffffff;
  border-color: var(--glow, #57E38D);
}

.page-blog-why-onbet-is-your-first-choice__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-blog-why-onbet-is-your-first-choice__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-blog-why-onbet-is-your-first-choice__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-blog-why-onbet-is-your-first-choice__highlight-text {
  color: var(--glow, #57E38D);
  font-weight: 600;
}

.page-blog-why-onbet-is-your-first-choice__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-why-onbet-is-your-first-choice__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-main, #F2FFF6);
  border: 1px solid var(--border, #2E7A4E);
}

.page-blog-why-onbet-is-your-first-choice__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-why-onbet-is-your-first-choice__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--glow, #57E38D);
  margin-bottom: 15px;
}

.page-blog-why-onbet-is-your-first-choice__card-content {
  flex-grow: 1;
}

.page-blog-why-onbet-is-your-first-choice__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-blog-why-onbet-is-your-first-choice__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

.page-blog-why-onbet-is-your-first-choice__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow, #57E38D);
  font-weight: bold;
}

.page-blog-why-onbet-is-your-first-choice__image-text-block {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-blog-why-onbet-is-your-first-choice__content-image {
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-why-onbet-is-your-first-choice__text-block {
  flex: 1;
  color: var(--text-secondary, #A7D9B8);
}

.page-blog-why-onbet-is-your-first-choice__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  margin-top: 25px;
}

.page-blog-why-onbet-is-your-first-choice__ordered-list,
.page-blog-why-onbet-is-your-first-choice__unordered-list {
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-blog-why-onbet-is-your-first-choice__ordered-list .page-blog-why-onbet-is-your-first-choice__list-item {
  list-style-type: decimal;
  margin-bottom: 8px;
  padding-left: 0;
}

.page-blog-why-onbet-is-your-first-choice__ordered-list .page-blog-why-onbet-is-your-first-choice__list-item::before,
.page-blog-why-onbet-is-your-first-choice__unordered-list .page-blog-why-onbet-is-your-first-choice__list-item::before {
  content: none;
}

.page-blog-why-onbet-is-your-first-choice__unordered-list .page-blog-why-onbet-is-your-first-choice__list-item {
  list-style-type: disc;
  margin-bottom: 8px;
  padding-left: 0;
}

.page-blog-why-onbet-is-your-first-choice__inline-link {
  color: var(--glow, #57E38D);
  text-decoration: none;
  font-weight: 500;
}

.page-blog-why-onbet-is-your-first-choice__inline-link:hover {
  text-decoration: underline;
}

.page-blog-why-onbet-is-your-first-choice__mt-20 {
  margin-top: 20px;
}

.page-blog-why-onbet-is-your-first-choice__mt-40 {
  margin-top: 40px;
}

.page-blog-why-onbet-is-your-first-choice__faq-list {
  margin-top: 30px;
}

.page-blog-why-onbet-is-your-first-choice__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-blog-why-onbet-is-your-first-choice__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  background-color: var(--card-bg, #11271B);
  list-style: none; /* For details/summary */
}

.page-blog-why-onbet-is-your-first-choice__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-why-onbet-is-your-first-choice__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow, #57E38D);
  margin-left: 15px;
}

.page-blog-why-onbet-is-your-first-choice__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
}

.page-blog-why-onbet-is-your-first-choice__faq-item[open] .page-blog-why-onbet-is-your-first-choice__faq-question {
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-blog-why-onbet-is-your-first-choice__related-articles {
  background-color: var(--background, #08160F);
  padding: 60px 20px;
  text-align: center;
}

.page-blog-why-onbet-is-your-first-choice__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-why-onbet-is-your-first-choice__article-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
}

.page-blog-why-onbet-is-your-first-choice__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-why-onbet-is-your-first-choice__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-why-onbet-is-your-first-choice__article-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  margin: 15px 20px 10px;
  flex-grow: 1;
  text-align: left;
}

.page-blog-why-onbet-is-your-first-choice__article-date {
  font-size: 0.9em;
  color: var(--text-secondary, #A7D9B8);
  margin: 0 20px 15px;
  text-align: left;
}

.page-blog-why-onbet-is-your-first-choice__view-all-button-wrapper {
  margin-top: 50px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-blog-why-onbet-is-your-first-choice__hero-content {
    max-width: 800px;
  }
  .page-blog-why-onbet-is-your-first-choice__main-title {
    font-size: clamp(2.2em, 5vw, 3em); /* Using clamp for H1 */
  }
  .page-blog-why-onbet-is-your-first-choice__section-title {
    font-size: 2em;
  }
  .page-blog-why-onbet-is-your-first-choice__image-text-block {
    flex-direction: column;
    align-items: center;
  }
  .page-blog-why-onbet-is-your-first-choice__content-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog-why-onbet-is-your-first-choice__hero-section,
  .page-blog-why-onbet-is-your-first-choice__content-area,
  .page-blog-why-onbet-is-your-first-choice__related-articles {
    padding: 30px 15px; /* Adjust padding for smaller screens */
  }

  .page-blog-why-onbet-is-your-first-choice__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-blog-why-onbet-is-your-first-choice__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Further clamp for mobile */
  }

  .page-blog-why-onbet-is-your-first-choice__description {
    font-size: 1em;
  }

  .page-blog-why-onbet-is-your-first-choice__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-why-onbet-is-your-first-choice__btn-primary,
  .page-blog-why-onbet-is-your-first-choice__btn-secondary,
  .page-blog-why-onbet-is-your-first-choice a[class*="button"],
  .page-blog-why-onbet-is-your-first-choice 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-blog-why-onbet-is-your-first-choice__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-why-onbet-is-your-first-choice__features-grid,
  .page-blog-why-onbet-is-your-first-choice__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-why-onbet-is-your-first-choice__card,
  .page-blog-why-onbet-is-your-first-choice__article-card {
    padding: 20px;
  }

  .page-blog-why-onbet-is-your-first-choice__card-title {
    font-size: 1.3em;
  }

  .page-blog-why-onbet-is-your-first-choice__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-why-onbet-is-your-first-choice__image-text-block {
    gap: 20px;
  }

  .page-blog-why-onbet-is-your-first-choice__sub-title {
    font-size: 1.5em;
  }

  .page-blog-why-onbet-is-your-first-choice__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog-why-onbet-is-your-first-choice__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all image containers are responsive */
  .page-blog-why-onbet-is-your-first-choice__hero-image-wrapper,
  .page-blog-why-onbet-is-your-first-choice__card,
  .page-blog-why-onbet-is-your-first-choice__article-card,
  .page-blog-why-onbet-is-your-first-choice__image-text-block,
  .page-blog-why-onbet-is-your-first-choice__content-area,
  .page-blog-why-onbet-is-your-first-choice__features-grid,
  .page-blog-why-onbet-is-your-first-choice__article-grid,
  .page-blog-why-onbet-is-your-first-choice__cta-buttons,
  .page-blog-why-onbet-is-your-first-choice__button-group,
  .page-blog-why-onbet-is-your-first-choice__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific overrides for button groups to ensure wrapping */
  .page-blog-why-onbet-is-your-first-choice__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Text readability on mobile */
  .page-blog-why-onbet-is-your-first-choice p,
  .page-blog-why-onbet-is-your-first-choice li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-why-onbet-is-your-first-choice__dark-bg {
    color: #ffffff;
  }

  .page-blog-why-onbet-is-your-first-choice__light-bg {
    color: #333333;
  }

  .page-blog-why-onbet-is-your-first-choice__medium-bg {
    color: #000000;
  }
}