.page-blog-top-f1-races-to-bet-on {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #F5F7FA; /* Background color for the page body */
}

.page-blog-top-f1-races-to-bet-on__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-top-f1-races-to-bet-on__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Adjust as needed */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-blog-top-f1-races-to-bet-on__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-blog-top-f1-races-to-bet-on__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-blog-top-f1-races-to-bet-on__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-blog-top-f1-races-to-bet-on__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog-top-f1-races-to-bet-on__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-top-f1-races-to-bet-on__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-top-f1-races-to-bet-on__btn-primary,
.page-blog-top-f1-races-to-bet-on__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-top-f1-races-to-bet-on__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-top-f1-races-to-bet-on__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
}

.page-blog-top-f1-races-to-bet-on__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-blog-top-f1-races-to-bet-on__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  border-color: #FF5A4F;
  transform: translateY(-2px);
}

.page-blog-top-f1-races-to-bet-on__section-title {
  font-size: 2.2em;
  color: #E53935;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-blog-top-f1-races-to-bet-on__sub-section-title {
  font-size: 1.6em;
  color: #FF5A4F;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-top-f1-races-to-bet-on__introduction-section,
.page-blog-top-f1-races-to-bet-on__betting-strategies,
.page-blog-top-f1-races-to-bet-on__odds-analysis,
.page-blog-top-f1-races-to-bet-on__why-f1-bet,
.page-blog-top-f1-races-to-bet-on__cta-section,
.page-blog-top-f1-races-to-bet-on__faq-section,
.page-blog-top-f1-races-to-bet-on__regulation-security {
  padding: 60px 0;
  background-color: #FFFFFF;
  margin-bottom: 20px;
}

.page-blog-top-f1-races-to-bet-on__introduction-section p,
.page-blog-top-f1-races-to-bet-on__betting-strategies p,
.page-blog-top-f1-races-to-bet-on__odds-analysis p,
.page-blog-top-f1-races-to-bet-on__why-f1-bet p,
.page-blog-top-f1-races-to-bet-on__regulation-security p {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: #333333;
}

.page-blog-top-f1-races-to-bet-on__races-overview {
  padding: 60px 0;
  background-color: #F5F7FA;
  margin-bottom: 20px;
}

.page-blog-top-f1-races-to-bet-on__race-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-top-f1-races-to-bet-on__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-blog-top-f1-races-to-bet-on__card:hover {
  transform: translateY(-5px);
}

.page-blog-top-f1-races-to-bet-on__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-blog-top-f1-races-to-bet-on__card-title {
  font-size: 1.4em;
  color: #E53935;
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-blog-top-f1-races-to-bet-on__card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #333333;
}

.page-blog-top-f1-races-to-bet-on__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
}

.page-blog-top-f1-races-to-bet-on__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-blog-top-f1-races-to-bet-on__list-item {
  background-color: #f0f0f0;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #E53935;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-blog-top-f1-races-to-bet-on__list-item strong {
  color: #E53935;
}

.page-blog-top-f1-races-to-bet-on__cta-buttons--bottom {
  margin-top: 40px;
}

.page-blog-top-f1-races-to-bet-on__faq-list {
  margin-top: 40px;
}

.page-blog-top-f1-races-to-bet-on__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-top-f1-races-to-bet-on__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1em;
  color: #333333;
  background-color: #fcfcfc;
}

.page-blog-top-f1-races-to-bet-on__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-top-f1-races-to-bet-on__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-blog-top-f1-races-to-bet-on__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #E53935;
}

.page-blog-top-f1-races-to-bet-on__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

.page-blog-top-f1-races-to-bet-on__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-top-f1-races-to-bet-on__hero-content {
    padding: 30px 15px;
  }

  .page-blog-top-f1-races-to-bet-on__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }

  .page-blog-top-f1-races-to-bet-on__description {
    font-size: 1em;
  }

  .page-blog-top-f1-races-to-bet-on__section-title {
    font-size: 1.8em;
  }

  .page-blog-top-f1-races-to-bet-on__sub-section-title {
    font-size: 1.4em;
  }

  .page-blog-top-f1-races-to-bet-on__content-container {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-top-f1-races-to-bet-on {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-top-f1-races-to-bet-on__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* Body handles header offset */
  }

  .page-blog-top-f1-races-to-bet-on__hero-content {
    padding: 20px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-blog-top-f1-races-to-bet-on__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-blog-top-f1-races-to-bet-on__description {
    font-size: 0.95em;
  }

  .page-blog-top-f1-races-to-bet-on__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-top-f1-races-to-bet-on__btn-primary,
  .page-blog-top-f1-races-to-bet-on__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-blog-top-f1-races-to-bet-on__section-title {
    font-size: 1.6em;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-top-f1-races-to-bet-on__sub-section-title {
    font-size: 1.2em;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-top-f1-races-to-bet-on__introduction-section,
  .page-blog-top-f1-races-to-bet-on__betting-strategies,
  .page-blog-top-f1-races-to-bet-on__odds-analysis,
  .page-blog-top-f1-races-to-bet-on__why-f1-bet,
  .page-blog-top-f1-races-to-bet-on__cta-section,
  .page-blog-top-f1-races-to-bet-on__faq-section,
  .page-blog-top-f1-races-to-bet-on__regulation-security {
    padding: 30px 0;
  }

  .page-blog-top-f1-races-to-bet-on__content-container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-blog-top-f1-races-to-bet-on__race-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-top-f1-races-to-bet-on__card {
    padding: 0;
  }

  .page-blog-top-f1-races-to-bet-on__card-image {
    height: 200px;
  }

  .page-blog-top-f1-races-to-bet-on__card-title {
    font-size: 1.2em;
    padding: 15px;
  }

  .page-blog-top-f1-races-to-bet-on__card p {
    padding: 0 15px 15px;
  }

  .page-blog-top-f1-races-to-bet-on__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-top-f1-races-to-bet-on__list-item {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-blog-top-f1-races-to-bet-on__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-blog-top-f1-races-to-bet-on__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all images are responsive */
  .page-blog-top-f1-races-to-bet-on img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-top-f1-races-to-bet-on__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-blog-top-f1-races-to-bet-on__hero-section {
    min-height: 350px;
  }

  .page-blog-top-f1-races-to-bet-on__hero-content {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .page-blog-top-f1-races-to-bet-on__main-title {
    font-size: clamp(1.3em, 7vw, 2em);
  }

  .page-blog-top-f1-races-to-bet-on__description {
    font-size: 0.9em;
  }

  .page-blog-top-f1-races-to-bet-on__section-title {
    font-size: 1.4em;
  }

  .page-blog-top-f1-races-to-bet-on__sub-section-title {
    font-size: 1.1em;
  }
}