/* style/resources-sports-betting-guide.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-bg-color: #000000;
  --light-bg-color: #FFFFFF;
  --text-on-dark: #FFFFFF;
  --text-on-light: #333333;
  --login-button-color: #EA7C07;
}

.page-resources-sports-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for the page body, assuming dark shared.css body */
  background-color: var(--dark-bg-color); /* Matches shared.css body background */
}

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

.page-resources-sports-betting-guide__section-title {
  font-size: 2.5em;
  color: var(--text-on-dark);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-sports-betting-guide__section-description {
  font-size: 1.1em;
  color: var(--text-on-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-sports-betting-guide__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--text-on-dark);
  padding: 60px 20px; /* Base padding */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-sports-betting-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

.page-resources-sports-betting-guide__hero-section .page-resources-sports-betting-guide__container {
  position: relative;
  z-index: 1;
}

.page-resources-sports-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-on-dark);
}

.page-resources-sports-betting-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-on-dark);
}

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

.page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-sports-betting-guide__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-sports-betting-guide__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources-sports-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-sports-betting-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-sports-betting-guide__intro-section,
.page-resources-sports-betting-guide__steps-section,
.page-resources-sports-betting-guide__tips-section,
.page-resources-sports-betting-guide__faq-section {
  padding: 80px 0;
  color: var(--text-on-light);
  background-color: var(--light-bg-color);
}

.page-resources-sports-betting-guide__dark-bg {
  background-color: var(--dark-bg-color);
  color: var(--text-on-dark);
}

.page-resources-sports-betting-guide__light-bg {
  background-color: var(--light-bg-color);
  color: var(--text-on-light);
}

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__section-title,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__section-description,
.page-resources-sports-betting-guide__dark-bg p,
.page-resources-sports-betting-guide__dark-bg li,
.page-resources-sports-betting-guide__dark-bg a {
  color: var(--text-on-dark);
}

.page-resources-sports-betting-guide__light-bg .page-resources-sports-betting-guide__section-title,
.page-resources-sports-betting-guide__light-bg .page-resources-sports-betting-guide__section-description,
.page-resources-sports-betting-guide__light-bg p,
.page-resources-sports-betting-guide__light-bg li,
.page-resources-sports-betting-guide__light-bg a {
  color: var(--text-on-light);
}

.page-resources-sports-betting-guide__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources-sports-betting-guide__text-block {
  flex: 1;
}

.page-resources-sports-betting-guide__image-block {
  flex: 1;
  text-align: center;
}

.page-resources-sports-betting-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-sports-betting-guide__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-sports-betting-guide__benefits-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-sports-betting-guide__benefits-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-sports-betting-guide__benefits-image {
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-resources-sports-betting-guide__card {
  background: var(--secondary-color);
  color: var(--text-on-light);
  border: 1px solid #e0e0e0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-sports-betting-guide__step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-sports-betting-guide__step-card p {
  margin-bottom: 15px;
}

.page-resources-sports-betting-guide__step-button {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.page-resources-sports-betting-guide__steps-image {
  margin-top: 40px;
  border: 1px solid #e0e0e0;
}

.page-resources-sports-betting-guide__sports-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-sports-betting-guide__sports-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  justify-content: center;
}

.page-resources-sports-betting-guide__sports-item {
  background-color: rgba(var(--primary-color), 0.1);
  border: 1px solid var(--primary-color);
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: bold;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-resources-sports-betting-guide__sports-item:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-sports-betting-guide__sports-item a {
  color: inherit; /* Inherit color from parent li */
  text-decoration: none;
}

.page-resources-sports-betting-guide__sports-item a:hover {
  text-decoration: underline;
}

.page-resources-sports-betting-guide__sports-image {
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-resources-sports-betting-guide__tip-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-sports-betting-guide__tips-image {
  margin-top: 40px;
  border: 1px solid #e0e0e0;
}

.page-resources-sports-betting-guide__responsible-section {
  padding: 80px 0;
}

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

.page-resources-sports-betting-guide__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-on-light);
}

.page-resources-sports-betting-guide__faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3em;
  font-weight: bold;
  padding: 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-resources-sports-betting-guide__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-resources-sports-betting-guide__faq-qtext {
  flex-grow: 1;
}

.page-resources-sports-betting-guide__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-sports-betting-guide__faq-item[open] .page-resources-sports-betting-guide__faq-toggle {
  transform: rotate(180deg);
}

.page-resources-sports-betting-guide__faq-answer {
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  color: var(--text-on-light);
}

.page-resources-sports-betting-guide__faq-answer p {
  margin-bottom: 0;
  color: var(--text-on-light);
}

.page-resources-sports-betting-guide__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-sports-betting-guide__cta-title {
  font-size: 2.8em;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.page-resources-sports-betting-guide__cta-description {
  font-size: 1.2em;
  color: var(--text-on-dark);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-sports-betting-guide a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-sports-betting-guide a:hover {
  color: darken(var(--primary-color), 10%);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-sports-betting-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-sports-betting-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 2em;
  }
  .page-resources-sports-betting-guide__content-wrapper {
    flex-direction: column;
  }
  .page-resources-sports-betting-guide__image-block {
    margin-top: 30px;
  }
  .page-resources-sports-betting-guide__benefits-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-resources-sports-betting-guide__step-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources-sports-betting-guide__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-sports-betting-guide__hero-section {
    min-height: 400px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-sports-betting-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-sports-betting-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-sports-betting-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-sports-betting-guide__btn-primary,
  .page-resources-sports-betting-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-sports-betting-guide__section-description {
    font-size: 0.95em;
  }
  .page-resources-sports-betting-guide__intro-section,
  .page-resources-sports-betting-guide__benefits-section,
  .page-resources-sports-betting-guide__steps-section,
  .page-resources-sports-betting-guide__sports-section,
  .page-resources-sports-betting-guide__tips-section,
  .page-resources-sports-betting-guide__responsible-section,
  .page-resources-sports-betting-guide__faq-section,
  .page-resources-sports-betting-guide__cta-section {
    padding: 50px 0;
  }
  .page-resources-sports-betting-guide__container {
    padding: 0 15px;
  }
  .page-resources-sports-betting-guide__image,
  .page-resources-sports-betting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-sports-betting-guide__image-block,
  .page-resources-sports-betting-guide__video-wrapper,
  .page-resources-sports-betting-guide__content-wrapper,
  .page-resources-sports-betting-guide__step-grid,
  .page-resources-sports-betting-guide__tips-grid,
  .page-resources-sports-betting-guide__benefits-list,
  .page-resources-sports-betting-guide__sports-list,
  .page-resources-sports-betting-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-resources-sports-betting-guide__card {
    padding: 20px;
  }
  .page-resources-sports-betting-guide__cta-title {
    font-size: 2em;
  }
  .page-resources-sports-betting-guide__cta-description {
    font-size: 1em;
  }
  .page-resources-sports-betting-guide__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-sports-betting-guide__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-sports-betting-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-sports-betting-guide__benefits-item,
  .page-resources-sports-betting-guide__step-card,
  .page-resources-sports-betting-guide__tip-card {
    padding: 20px 15px;
  }
  .page-resources-sports-betting-guide__cta-title {
    font-size: 1.8em;
  }
  .page-resources-sports-betting-guide__sports-list {
    grid-template-columns: 1fr;
  }
}