.page-resources-best-online-betting-platforms-2024 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-resources-best-online-betting-platforms-2024__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-best-online-betting-platforms-2024__hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-resources-best-online-betting-platforms-2024__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-resources-best-online-betting-platforms-2024__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.page-resources-best-online-betting-platforms-2024__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-resources-best-online-betting-platforms-2024__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-best-online-betting-platforms-2024__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-resources-best-online-betting-platforms-2024__btn-primary:hover {
  background-color: #005f2e;
}

.page-resources-best-online-betting-platforms-2024__btn-conclusion {
  background-color: #C30808;
}

.page-resources-best-online-betting-platforms-2024__btn-conclusion:hover {
  background-color: #9a0606;
}

.page-resources-best-online-betting-platforms-2024__section {
  padding: 60px 0;
}

.page-resources-best-online-betting-platforms-2024__intro-section {
  background-color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__criteria-section {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__dark-section .page-resources-best-online-betting-platforms-2024__section-title,
.page-resources-best-online-betting-platforms-2024__dark-section .page-resources-best-online-betting-platforms-2024__section-subtitle {
  color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-best-online-betting-platforms-2024__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-best-online-betting-platforms-2024__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-resources-best-online-betting-platforms-2024__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-best-online-betting-platforms-2024__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-resources-best-online-betting-platforms-2024__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-best-online-betting-platforms-2024__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-best-online-betting-platforms-2024__dark-section .page-resources-best-online-betting-platforms-2024__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-best-online-betting-platforms-2024__dark-section .page-resources-best-online-betting-platforms-2024__card-title {
  color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-resources-best-online-betting-platforms-2024__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-best-online-betting-platforms-2024__dark-section .page-resources-best-online-betting-platforms-2024__card-title {
  color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__card-text {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1;
}

.page-resources-best-online-betting-platforms-2024__card--platform .page-resources-best-online-betting-platforms-2024__card-image {
  height: 250px;
}

.page-resources-best-online-betting-platforms-2024__card--platform .page-resources-best-online-betting-platforms-2024__btn-primary {
  margin-top: 20px;
  width: auto;
  padding: 10px 20px;
}

.page-resources-best-online-betting-platforms-2024__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-best-online-betting-platforms-2024__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-best-online-betting-platforms-2024__list-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources-best-online-betting-platforms-2024__list-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-best-online-betting-platforms-2024__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-best-online-betting-platforms-2024__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(0) invert(1); /* Ensure icons are white for dark background */
  min-width: 200px; /* Enforcing minimum size for icons */
  min-height: 200px;
}

.page-resources-best-online-betting-platforms-2024__benefit-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__benefit-text {
  font-size: 0.95em;
  line-height: 1.5;
}

.page-resources-best-online-betting-platforms-2024__faq-list {
  margin-top: 40px;
}

.page-resources-best-online-betting-platforms-2024__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-best-online-betting-platforms-2024__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-resources-best-online-betting-platforms-2024__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-best-online-betting-platforms-2024__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-resources-best-online-betting-platforms-2024__faq-item[open] .page-resources-best-online-betting-platforms-2024__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-best-online-betting-platforms-2024__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

.page-resources-best-online-betting-platforms-2024__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-resources-best-online-betting-platforms-2024__faq-item summary {
  list-style: none;
}

/* Ensure image color is not changed by filter for benefit icons */
.page-resources-best-online-betting-platforms-2024__benefit-icon {
  filter: none; /* Remove filter */
  background-color: transparent; /* Ensure background is transparent */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-best-online-betting-platforms-2024__hero-title {
    font-size: 2.8em;
  }
  .page-resources-best-online-betting-platforms-2024__hero-description {
    font-size: 1.1em;
  }
  .page-resources-best-online-betting-platforms-2024__section-title {
    font-size: 2em;
  }
  .page-resources-best-online-betting-platforms-2024__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-best-online-betting-platforms-2024 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-best-online-betting-platforms-2024__hero-section {
    height: 400px;
  }
  .page-resources-best-online-betting-platforms-2024__hero-title {
    font-size: 2em;
  }
  .page-resources-best-online-betting-platforms-2024__hero-description {
    font-size: 1em;
  }
  .page-resources-best-online-betting-platforms-2024__btn-primary {
    padding: 12px 25px;
  }
  .page-resources-best-online-betting-platforms-2024__section {
    padding: 40px 0;
  }
  .page-resources-best-online-betting-platforms-2024__section-title {
    font-size: 1.8em;
  }
  .page-resources-best-online-betting-platforms-2024__section-subtitle {
    font-size: 1em;
  }
  .page-resources-best-online-betting-platforms-2024__grid,
  .page-resources-best-online-betting-platforms-2024__grid--2-col {
    grid-template-columns: 1fr;
  }
  .page-resources-best-online-betting-platforms-2024__card {
    padding: 20px;
  }
  .page-resources-best-online-betting-platforms-2024__card-image {
    height: 200px;
  }
  .page-resources-best-online-betting-platforms-2024__card-title {
    font-size: 1.5em;
  }
  .page-resources-best-online-betting-platforms-2024__list-item {
    padding: 15px 20px;
  }
  .page-resources-best-online-betting-platforms-2024__list-title {
    font-size: 1.3em;
  }
  .page-resources-best-online-betting-platforms-2024__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  
  /* Mobile image, video, button responsiveness */
  .page-resources-best-online-betting-platforms-2024 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-best-online-betting-platforms-2024 video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-best-online-betting-platforms-2024__section,
  .page-resources-best-online-betting-platforms-2024__container,
  .page-resources-best-online-betting-platforms-2024__card,
  .page-resources-best-online-betting-platforms-2024__cta-button,
  .page-resources-best-online-betting-platforms-2024__btn-primary,
  .page-resources-best-online-betting-platforms-2024__btn-secondary,
  .page-resources-best-online-betting-platforms-2024 a[class*="button"],
  .page-resources-best-online-betting-platforms-2024 a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-best-online-betting-platforms-2024__btn-primary,
  .page-resources-best-online-betting-platforms-2024__btn-secondary,
  .page-resources-best-online-betting-platforms-2024 a[class*="button"],
  .page-resources-best-online-betting-platforms-2024 a[class*="btn"] {
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-best-online-betting-platforms-2024__hero-section {
    padding-top: 0 !important; /* Header offset is handled by main or body */
  }
  .page-resources-best-online-betting-platforms-2024__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset to video section if it's the first content */
  }
}

@media (max-width: 480px) {
  .page-resources-best-online-betting-platforms-2024__hero-title {
    font-size: 1.8em;
  }
  .page-resources-best-online-betting-platforms-2024__hero-description {
    font-size: 0.9em;
  }
  .page-resources-best-online-betting-platforms-2024__btn-primary {
    padding: 10px 20px;
  }
}