/* style/blog-q99-sports-betting-guide.css */

:root {
  --q99-primary-color: #C91F17;
  --q99-secondary-color: #E53935;
  --q99-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --q99-card-bg: #D32F2F;
  --q99-section-bg: #B71C1C;
  --q99-text-main: #FFF5E1;
  --q99-border-color: #F2B544;
  --q99-glow-color: #FFCC66;
  --q99-gold-color: #F4D34D;
  --q99-deep-red: #7A0E0E;
  --q99-dark-text: #333333;
  --q99-light-text: #ffffff;
}

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

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

.page-blog-q99-sports-betting-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--q99-primary-color);
  position: relative;
  padding-bottom: 15px;
}

.page-blog-q99-sports-betting-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--q99-gold-color);
  border-radius: 2px;
}

.page-blog-q99-sports-betting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-q99-sports-betting-guide__btn-primary,
.page-blog-q99-sports-betting-guide__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-q99-sports-betting-guide__btn-primary {
  background: var(--q99-button-gradient);
  color: var(--q99-text-main);
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-blog-q99-sports-betting-guide__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-blog-q99-sports-betting-guide__btn-secondary {
  background: var(--q99-primary-color);
  color: var(--q99-light-text);
  border: 2px solid var(--q99-gold-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-q99-sports-betting-guide__btn-secondary:hover {
  background: var(--q99-secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-blog-q99-sports-betting-guide__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: var(--q99-deep-red);
}

.page-blog-q99-sports-betting-guide__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  max-height: 700px; /* Limit hero image height */
}

.page-blog-q99-sports-betting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-blog-q99-sports-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: -150px; /* Pull content up over the image */
  color: var(--q99-light-text);
}

.page-blog-q99-sports-betting-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--q99-gold-color);
  line-height: 1.2;
}

.page-blog-q99-sports-betting-guide__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--q99-text-main);
}

/* Introduction Section */
.page-blog-q99-sports-betting-guide__introduction-section {
  padding: 60px 0;
  background-color: var(--q99-section-bg);
  color: var(--q99-text-main);
}

.page-blog-q99-sports-betting-guide__introduction-section .page-blog-q99-sports-betting-guide__section-title {
  color: var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__introduction-section p {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-blog-q99-sports-betting-guide__introduction-section p a {
  color: var(--q99-gold-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-q99-sports-betting-guide__introduction-section p a:hover {
  text-decoration: underline;
}

/* Steps Section */
.page-blog-q99-sports-betting-guide__steps-section {
  padding: 60px 0;
  background-color: var(--background-color, #f5f5f5);
}

.page-blog-q99-sports-betting-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-blog-q99-sports-betting-guide__step-card {
  background-color: var(--q99-card-bg);
  color: var(--q99-text-main);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-q99-sports-betting-guide__step-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 3px solid var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__step-card p {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Advantages Section */
.page-blog-q99-sports-betting-guide__advantages-section {
  padding: 60px 0;
  background-color: var(--q99-primary-color);
  color: var(--q99-light-text);
}

.page-blog-q99-sports-betting-guide__advantages-section .page-blog-q99-sports-betting-guide__section-title {
  color: var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  font-size: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-blog-q99-sports-betting-guide__advantage-list li {
  background-color: var(--q99-secondary-color);
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 45px;
}

.page-blog-q99-sports-betting-guide__advantage-list li::before {
  content: '✔';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--q99-gold-color);
  font-weight: bold;
  font-size: 20px;
}

.page-blog-q99-sports-betting-guide__advantage-list li a {
  color: var(--q99-gold-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-q99-sports-betting-guide__advantage-list li a:hover {
  text-decoration: underline;
}

/* Responsible Gaming Section */
.page-blog-q99-sports-betting-guide__responsible-gaming-section {
  padding: 60px 0;
  background-color: var(--q99-deep-red);
  color: var(--q99-text-main);
  text-align: center;
}

.page-blog-q99-sports-betting-guide__responsible-gaming-section .page-blog-q99-sports-betting-guide__section-title {
  color: var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__responsible-gaming-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
details.page-blog-q99-sports-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--q99-border-color);
  overflow: hidden;
  background: var(--q99-card-bg);
  color: var(--q99-text-main);
}

details.page-blog-q99-sports-betting-guide__faq-item summary.page-blog-q99-sports-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-blog-q99-sports-betting-guide__faq-item summary.page-blog-q99-sports-betting-guide__faq-question:hover {
  background: var(--q99-secondary-color);
}

.page-blog-q99-sports-betting-guide__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--q99-gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

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

details.page-blog-q99-sports-betting-guide__faq-item .page-blog-q99-sports-betting-guide__faq-answer {
  padding: 0 20px 20px;
  background: var(--q99-deep-red);
  border-radius: 0 0 5px 5px;
  font-size: 16px;
}

.page-blog-q99-sports-betting-guide__faq-answer p {
  margin-bottom: 0;
}

.page-blog-q99-sports-betting-guide__faq-section {
  padding: 60px 0;
  background-color: var(--background-color, #f5f5f5);
}

/* CTA Section */
.page-blog-q99-sports-betting-guide__cta-section {
  padding: 60px 0;
  background-color: var(--q99-primary-color);
  color: var(--q99-text-main);
  text-align: center;
}

.page-blog-q99-sports-betting-guide__cta-section .page-blog-q99-sports-betting-guide__section-title {
  color: var(--q99-gold-color);
}

.page-blog-q99-sports-betting-guide__cta-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-blog-q99-sports-betting-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Mobile Responsive (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-blog-q99-sports-betting-guide {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* Hero Section */
  .page-blog-q99-sports-betting-guide__hero-section {
    min-height: auto;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-blog-q99-sports-betting-guide__hero-content {
    padding: 30px 15px;
    margin-top: -80px; /* Adjust pull-up for mobile */
  }

  .page-blog-q99-sports-betting-guide__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-q99-sports-betting-guide__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-q99-sports-betting-guide__btn-primary,
  .page-blog-q99-sports-betting-guide__btn-secondary {
    font-size: 16px;
    padding: 10px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Section Titles */
  .page-blog-q99-sports-betting-guide__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* Introduction Section */
  .page-blog-q99-sports-betting-guide__introduction-section p {
    font-size: 16px;
  }

  /* Steps Section */
  .page-blog-q99-sports-betting-guide__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-blog-q99-sports-betting-guide__step-card {
    padding: 25px;
  }

  .page-blog-q99-sports-betting-guide__step-title {
    font-size: 20px;
  }

  /* Advantages Section */
  .page-blog-q99-sports-betting-guide__advantage-list {
    grid-template-columns: 1fr;
    font-size: 16px;
    gap: 15px;
  }

  .page-blog-q99-sports-betting-guide__advantage-list li {
    padding: 15px 15px 15px 40px;
  }

  .page-blog-q99-sports-betting-guide__advantage-list li::before {
    font-size: 18px;
    left: 10px;
  }

  /* Responsible Gaming Section */
  .page-blog-q99-sports-betting-guide__responsible-gaming-section p {
    font-size: 16px;
  }

  /* FAQ Section */
  details.page-blog-q99-sports-betting-guide__faq-item summary.page-blog-q99-sports-betting-guide__faq-question {
    padding: 15px;
  }

  .page-blog-q99-sports-betting-guide__faq-qtext {
    font-size: 16px;
  }

  .page-blog-q99-sports-betting-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-blog-q99-sports-betting-guide__faq-item .page-blog-q99-sports-betting-guide__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* CTA Section */
  .page-blog-q99-sports-betting-guide__cta-section p {
    font-size: 16px;
  }

  .page-blog-q99-sports-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Universal image & container rules for mobile */
  .page-blog-q99-sports-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-q99-sports-betting-guide__section,
  .page-blog-q99-sports-betting-guide__card,
  .page-blog-q99-sports-betting-guide__container,
  .page-blog-q99-sports-betting-guide__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}