.page-sports-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for content area */
}

/* Hero Section */
.page-sports-betting-guide__hero-section {
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 60px;
  background-color: #f0f8ff; /* Light background for hero section */
  color: #333333;
}

.page-sports-betting-guide__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

.page-sports-betting-guide__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-sports-betting-guide__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports-betting-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-sports-betting-guide__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-sports-betting-guide__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-sports-betting-guide__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element for layout */
}

/* General Section Styling */
.page-sports-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-sports-betting-guide__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for section titles */
}

.page-sports-betting-guide__section-title--white {
  color: #ffffff;
}

.page-sports-betting-guide__text-block {
  font-size: 1em;
  margin-bottom: 1em;
  color: #333333;
}

.page-sports-betting-guide__text-block--white {
  color: #ffffff;
}

/* Buttons */
.page-sports-betting-guide__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for button max-width */
}

.page-sports-betting-guide__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-sports-betting-guide__btn-primary:hover {
  background-color: #1e8bc3;
  border-color: #1e8bc3;
}

.page-sports-betting-guide__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports-betting-guide__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e8bc3;
  border-color: #1e8bc3;
}

/* Introduction Section */
.page-sports-betting-guide__introduction-section {
  background-color: #ffffff;
}

/* Bet Types Section */
.page-sports-betting-guide__bet-types-section {
  background-color: #26A9E0; /* Darker background for contrast */
  color: #ffffff;
}

.page-sports-betting-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports-betting-guide__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

.page-sports-betting-guide__card:hover {
  transform: translateY(-5px);
}

.page-sports-betting-guide__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-sports-betting-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports-betting-guide__card-description {
  font-size: 0.95em;
  color: #555555;
}

/* Guide Section */
.page-sports-betting-guide__guide-section {
  background-color: #f9f9f9;
}

.page-sports-betting-guide__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-sports-betting-guide__guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-sports-betting-guide__guide-step-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-sports-betting-guide__guide-step-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  display: block;
}

/* Tips Section */
.page-sports-betting-guide__tips-section {
  background-color: #ffffff;
}

/* Responsible Gambling Section */
.page-sports-betting-guide__responsible-gambling-section {
  background-color: #000000; /* Dark background for important message */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-sports-betting-guide__responsible-gambling-content {
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ Section */
.page-sports-betting-guide__faq-section {
  background-color: #f9f9f9;
}

.page-sports-betting-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
}

.page-sports-betting-guide__faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  color: #333333;
}

.page-sports-betting-guide__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  padding: 10px 0;
}

.page-sports-betting-guide__faq-item summary::-webkit-details-marker {
  display: none; /* Hide for webkit browsers */
}

.page-sports-betting-guide__faq-qtext {
  flex-grow: 1;
  padding-right: 10px;
}

.page-sports-betting-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-sports-betting-guide__faq-item[open] .page-sports-betting-guide__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-sports-betting-guide__faq-answer {
  padding-top: 15px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  padding-left: 10px;
  padding-right: 10px;
}

/* Final CTA Section */
.page-sports-betting-guide__cta-section {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-sports-betting-guide__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports-betting-guide__cta-buttons--center {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Global image styling for content area */
.page-sports-betting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports-betting-guide__hero-title {
    font-size: 2.4em;
  }
  .page-sports-betting-guide__section-title {
    font-size: 2em;
  }
  .page-sports-betting-guide__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-sports-betting-guide__hero-content {
    text-align: center;
  }
  .page-sports-betting-guide__hero-cta-buttons {
    justify-content: center;
  }
  .page-sports-betting-guide__guide-step:nth-child(even) {
    flex-direction: column; /* Reset alternating layout for smaller screens */
  }
}

@media (max-width: 768px) {
  /* 1. HERO 双栏 (Hero Section) */
  .page-sports-betting-guide__hero-section {
    padding-top: 10px !important; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
  }
  .page-sports-betting-guide__hero-container {
    padding: 20px 15px;
    flex-direction: column;
    gap: 20px;
  }
  .page-sports-betting-guide__hero-content {
    min-width: unset;
    flex: 1 1 100%;
    order: 2; /* Content below image */
  }
  .page-sports-betting-guide__hero-image {
    min-width: unset;
    flex: 1 1 100%;
    order: 1; /* Image above content */
  }
  .page-sports-betting-guide__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-sports-betting-guide__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-sports-betting-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-sports-betting-guide__btn {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-sports-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-sports-betting-guide__cta-buttons--center {
    flex-direction: column;
  }

  /* 4. Tutorial Long Text / Promotion / Trust / FAQ / Blog / Intro Layout */
  .page-sports-betting-guide__container {
    padding: 40px 15px;
  }
  .page-sports-betting-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports-betting-guide__grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }
  .page-sports-betting-guide__card {
    padding: 20px;
  }
  .page-sports-betting-guide__guide-steps {
    gap: 40px;
  }
  .page-sports-betting-guide__guide-step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }
  .page-sports-betting-guide__responsible-gambling-section,
  .page-sports-betting-guide__cta-section {
    padding: 60px 15px;
  }
  .page-sports-betting-guide__faq-item summary {
    font-size: 1.1em;
  }
  .page-sports-betting-guide__faq-answer {
    font-size: 0.95em;
  }

  /* 5. General Images and Containers */
  .page-sports-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports-betting-guide__section,
  .page-sports-betting-guide__card,
  .page-sports-betting-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 6. Buttons and Button Containers (already covered in HERO section, but repeating for generality) */
  .page-sports-betting-guide__cta-button,
  .page-sports-betting-guide__btn-primary,
  .page-sports-betting-guide__btn-secondary,
  .page-sports-betting-guide a[class*="button"],
  .page-sports-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;
  }
  .page-sports-betting-guide__cta-buttons,
  .page-sports-betting-guide__button-group,
  .page-sports-betting-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-sports-betting-guide__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for mobile CTAs */
  }
}