/* style/resources-how-to-read-betting-odds.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #0d0d0d; /* Assuming shared.css defines --dark-bg, using a placeholder here */
  --border-color: #e0e0e0;
}

.page-resources-how-to-read-betting-odds {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background-color: var(--background-dark); /* Ensure body background is respected */
  padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-resources-how-to-read-betting-odds__hero-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-resources-how-to-read-betting-odds__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-resources-how-to-read-betting-odds__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-resources-how-to-read-betting-odds__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources-how-to-read-betting-odds__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-how-to-read-betting-odds__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-resources-how-to-read-betting-odds__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-read-betting-odds__cta-button--secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-resources-how-to-read-betting-odds__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--secondary-color);
}

.page-resources-how-to-read-betting-odds__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

/* Content Section */
.page-resources-how-to-read-betting-odds__content-section {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 60px 20px;
}

.page-resources-how-to-read-betting-odds__content-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-how-to-read-betting-odds__article {
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-resources-how-to-read-betting-odds__article-heading {
  font-size: 2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-resources-how-to-read-betting-odds__article-heading:first-of-type {
    margin-top: 0;
}

.page-resources-how-to-read-betting-odds__sub-heading {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-how-to-read-betting-odds__article p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-resources-how-to-read-betting-odds__article ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-resources-how-to-read-betting-odds__article ul ul {
  list-style-type: circle;
  margin-left: 20px;
}

.page-resources-how-to-read-betting-odds__article li {
  margin-bottom: 8px;
}

.page-resources-how-to-read-betting-odds__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-read-betting-odds__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-read-betting-odds__main-title {
    font-size: 2.8em;
  }
  .page-resources-how-to-read-betting-odds__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-read-betting-odds {
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-resources-how-to-read-betting-odds__hero-section {
    padding: 60px 15px;
  }

  .page-resources-how-to-read-betting-odds__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-how-to-read-betting-odds__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-how-to-read-betting-odds__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  
  .page-resources-how-to-read-betting-odds__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-how-to-read-betting-odds__content-section {
    padding: 40px 15px;
  }

  .page-resources-how-to-read-betting-odds__article {
    padding: 20px;
  }

  .page-resources-how-to-read-betting-odds__article-heading {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-how-to-read-betting-odds__sub-heading {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-resources-how-to-read-betting-odds__article p,
  .page-resources-how-to-read-betting-odds__article li {
    font-size: 0.95em;
  }

  .page-resources-how-to-read-betting-odds img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-how-to-read-betting-odds__content-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden !important;
  }
}