.page-sports-betting-guide {
  color: #f0f0f0; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #121212;
}

.page-sports-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports-betting-guide__section {
  padding: 60px 0;
}

.page-sports-betting-guide__section:nth-of-type(odd) {
  background-color: #1a1a1a;
}

.page-sports-betting-guide__section-title {
  font-size: 36px;
  color: #E44D26; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports-betting-guide__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports-betting-guide__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:bg:1920x1080:au88,sports_betting,guide,stadium_background]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-sports-betting-guide__main-title {
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports-betting-guide__description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-sports-betting-guide__cta-button--primary {
  background: #E44D26; /* Primary brand color */
  color: #ffffff;
}

.page-sports-betting-guide__cta-button--primary:hover {
  background: #cf4422;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports-betting-guide__cta-button--secondary {
  background: #333333; /* Secondary brand color */
  color: #ffffff;
}

.page-sports-betting-guide__cta-button--secondary:hover {
  background: #4f4f4f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sports-betting-guide__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 40px auto 0;
}

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

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

.page-sports-betting-guide__card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-sports-betting-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports-betting-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-sports-betting-guide__card-title {
  font-size: 24px;
  color: #E44D26;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports-betting-guide__card p {
  font-size: 16px;
  color: #cccccc;
}

.page-sports-betting-guide__list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 40px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-sports-betting-guide__list li {
  margin-bottom: 15px;
}

.page-sports-betting-guide__list li strong {
  color: #E44D26;
}

.page-sports-betting-guide__list--ordered {
  list-style-type: decimal;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 40px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-sports-betting-guide__list--ordered li {
  margin-bottom: 15px;
}

.page-sports-betting-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 40px auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-sports-betting-guide__sport-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-sports-betting-guide__sport-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports-betting-guide__sport-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
}

.page-sports-betting-guide__sport-title {
  font-size: 22px;
  color: #E44D26;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports-betting-guide__sport-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-sports-betting-guide__steps {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports-betting-guide__step-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-sports-betting-guide__step-number {
  width: 60px;
  height: 60px;
  background-color: #E44D26;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-sports-betting-guide__step-title {
  font-size: 24px;
  color: #E44D26;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports-betting-guide__step-item p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports-betting-guide__step-button {
  display: inline-block;
  padding: 12px 25px;
  background: #333333; /* Secondary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-sports-betting-guide__step-button:hover {
  background: #E44D26; /* Primary brand color on hover */
  transform: translateY(-1px);
}

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

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

.page-sports-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports-betting-guide__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-sports-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0;
  pointer-events: none;
}

.page-sports-betting-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E44D26;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-sports-betting-guide__faq-item.active .page-sports-betting-guide__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-sports-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #222222;
  color: #cccccc;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid #3a3a3a;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
}

.page-sports-betting-guide__faq-item.active .page-sports-betting-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-sports-betting-guide__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsible Gambling Section */
.page-sports-betting-guide__responsible-gambling {
  text-align: center;
  background-color: #121212;
}

.page-sports-betting-guide__responsible-gambling .page-sports-betting-guide__section-title {
  color: #E44D26;
}

.page-sports-betting-guide__responsible-gambling .page-sports-betting-guide__text-block {
  color: #f0f0f0;
}

.page-sports-betting-guide__responsible-gambling .page-sports-betting-guide__list {
  list-style-type: square;
  color: #cccccc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-sports-betting-guide__responsible-gambling .page-sports-betting-guide__list li {
  text-align: left;
  font-size: 17px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-betting-guide__main-title {
    font-size: 44px;
  }

  .page-sports-betting-guide__description {
    font-size: 18px;
  }

  .page-sports-betting-guide__section-title {
    font-size: 32px;
  }

  .page-sports-betting-guide__card-title,
  .page-sports-betting-guide__sport-title,
  .page-sports-betting-guide__step-title {
    font-size: 22px;
  }

  .page-sports-betting-guide__card p,
  .page-sports-betting-guide__sport-item p,
  .page-sports-betting-guide__step-item p,
  .page-sports-betting-guide__list li,
  .page-sports-betting-guide__text-block {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-sports-betting-guide__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-sports-betting-guide__main-title {
    font-size: 36px;
  }

  .page-sports-betting-guide__description {
    font-size: 16px;
  }

  .page-sports-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports-betting-guide__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 16px;
    padding: 12px 25px;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  .page-sports-betting-guide__section {
    padding: 40px 0;
  }

  .page-sports-betting-guide__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-sports-betting-guide__text-block {
    font-size: 15px;
    padding: 0 15px;
  }

  .page-sports-betting-guide__container {
    padding: 0 15px;
  }

  .page-sports-betting-guide__grid-3,
  .page-sports-betting-guide__grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports-betting-guide__card,
  .page-sports-betting-guide__sport-item,
  .page-sports-betting-guide__step-item {
    padding: 20px;
  }

  .page-sports-betting-guide__card-image,
  .page-sports-betting-guide__sport-image,
  .page-sports-betting-guide__hero-image,
  .page-sports-betting-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-sports-betting-guide__steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-sports-betting-guide__step-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-sports-betting-guide__list,
  .page-sports-betting-guide__list--ordered {
    padding-left: 20px;
    font-size: 15px;
    margin: 20px auto;
  }

  .page-sports-betting-guide__faq-question {
    padding: 15px 20px;
  }

  .page-sports-betting-guide__faq-question h3 {
    font-size: 16px;
  }

  .page-sports-betting-guide__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-sports-betting-guide__faq-answer {
    padding: 0 20px;
  }

  .page-sports-betting-guide__faq-item.active .page-sports-betting-guide__faq-answer {
    padding: 15px 20px !important;
  }

  .page-sports-betting-guide__faq-answer p {
    font-size: 15px;
  }

  .page-sports-betting-guide__responsible-gambling .page-sports-betting-guide__list {
    padding-left: 15px;
  }

  .page-sports-betting-guide__responsible-gambling .page-sports-betting-guide__list li {
    font-size: 16px;
  }
}

/* Ensure all images and containers are responsive and prevent overflow */
.page-sports-betting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Maintain aspect ratio without distortion */
}

.page-sports-betting-guide__container,
.page-sports-betting-guide__hero-section,
.page-sports-betting-guide__section,
.page-sports-betting-guide__card,
.page-sports-betting-guide__sport-item,
.page-sports-betting-guide__step-item,
.page-sports-betting-guide__cta-buttons,
.page-sports-betting-guide__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

@media (max-width: 768px) {
  .page-sports-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports-betting-guide__container,
  .page-sports-betting-guide__hero-section,
  .page-sports-betting-guide__section,
  .page-sports-betting-guide__card,
  .page-sports-betting-guide__sport-item,
  .page-sports-betting-guide__step-item,
  .page-sports-betting-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-sports-betting-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Allow buttons to wrap */
    gap: 15px; /* Adjust gap for mobile */
  }

  .page-sports-betting-guide__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports-betting-guide__step-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}