/* style/resources-betting-guide.css */
.page-resources-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-betting-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-resources-betting-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-betting-guide__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.page-resources-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-betting-guide__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-betting-guide__btn-primary,
.page-resources-betting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

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

.page-resources-betting-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-betting-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-betting-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-betting-guide__dark-bg {
  background-color: #0a0a0a; /* Matches body background from shared.css */
  color: #ffffff;
}

.page-resources-betting-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

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

.page-resources-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-resources-betting-guide__text-block--white {
  color: #f0f0f0;
}

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

.page-resources-betting-guide__grid-container--two-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-resources-betting-guide__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-resources-betting-guide__card--dark {
  background-color: #1a1a1a;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-betting-guide__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-betting-guide__card-title--white {
  color: #ffffff;
}

.page-resources-betting-guide__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-betting-guide__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-betting-guide__list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-resources-betting-guide__list-icon {
  color: #26A9E0;
  font-size: 1.2em;
  margin-right: 10px;
  line-height: 1.6;
}

.page-resources-betting-guide__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-betting-guide__ordered-list li {
  margin-bottom: 10px;
}

.page-resources-betting-guide__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-betting-guide__product-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.page-resources-betting-guide__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-betting-guide__product-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-resources-betting-guide__mobile-app-showcase {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-betting-guide__mobile-app-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px;
}

.page-resources-betting-guide__mobile-app-text {
  flex: 2;
  min-width: 300px;
}

.page-resources-betting-guide__actions-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-betting-guide__faq-list {
  margin-top: 40px;
}

.page-resources-betting-guide__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #e8e8e8;
  color: #333333;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-betting-guide__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-betting-guide__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

.page-resources-betting-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px;
}

.page-resources-betting-guide__final-cta {
  text-align: center;
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-betting-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-betting-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-betting-guide__section-title {
    font-size: 2em;
  }
  .page-resources-betting-guide__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-betting-guide__hero-section {
    height: 500px;
  }
  .page-resources-betting-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-betting-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-betting-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-betting-guide__btn-primary,
  .page-resources-betting-guide__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-betting-guide__content-area {
    padding: 40px 15px;
  }
  .page-resources-betting-guide__grid-container,
  .page-resources-betting-guide__grid-container--two-col,
  .page-resources-betting-guide__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-betting-guide__card-image,
  .page-resources-betting-guide__product-image {
    height: 200px;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-betting-guide__mobile-app-showcase {
    flex-direction: column;
    gap: 20px;
  }
  .page-resources-betting-guide__mobile-app-image {
    width: 100%;
    max-width: 100%;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-resources-betting-guide__actions-row {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-betting-guide__section,
  .page-resources-betting-guide__card,
  .page-resources-betting-guide__container,
  .page-resources-betting-guide__hero-section,
  .page-resources-betting-guide__product-card,
  .page-resources-betting-guide__mobile-app-showcase,
  .page-resources-betting-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-betting-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-betting-guide__faq-question,
  .page-resources-betting-guide__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-betting-guide__faq-item.active .page-resources-betting-guide__faq-answer {
    padding: 15px 15px !important;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-resources-betting-guide img {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast fixes */
.page-resources-betting-guide__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-resources-betting-guide__dark-section .page-resources-betting-guide__card {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333333;
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__text-block,
.page-resources-betting-guide__dark-bg .page-resources-betting-guide__product-card p {
  color: #f0f0f0;
}

.page-resources-betting-guide__dark-bg .page-resources-betting-guide__section-title {
  color: #ffffff;
}