.page-resources-odds-analysis {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

.page-resources-odds-analysis__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #0056b3, #ffc107); /* Example gradient, adjust as needed */
    color: #ffffff;
}

.page-resources-odds-analysis__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-odds-analysis__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-odds-analysis__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-odds-analysis__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-odds-analysis__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff; /* High contrast for title */
    line-height: 1.2;
    font-weight: bold;
}

.page-resources-odds-analysis__intro-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0; /* Slightly off-white for body text */
}

.page-resources-odds-analysis__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #ffc107;
    color: #000000; /* Ensure high contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
}

.page-resources-odds-analysis__cta-button:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-odds-analysis__section {
    padding: 60px 20px;
}

.page-resources-odds-analysis__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-odds-analysis__dark-bg {
    background-color: #0056b3;
    color: #ffffff;
}

.page-resources-odds-analysis__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: #0056b3;
    font-weight: bold;
}

.page-resources-odds-analysis__section-title--light {
    color: #ffffff;
}

.page-resources-odds-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-odds-analysis p {
    margin-bottom: 1em;
    font-size: 1.05em;
}

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

.page-resources-odds-analysis__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-resources-odds-analysis__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-odds-analysis__card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-odds-analysis__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #0056b3;
    font-weight: 700;
}

.page-resources-odds-analysis__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-resources-odds-analysis__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-resources-odds-analysis__list--light li {
    color: #f0f0f0;
}

.page-resources-odds-analysis__text-block {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
    font-size: 1.1em;
}

.page-resources-odds-analysis__text-block--light {
    color: #f0f0f0;
}

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

.page-resources-odds-analysis__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-odds-analysis__btn-primary,
.page-resources-odds-analysis__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure buttons fit on mobile */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-resources-odds-analysis__btn-primary {
    background: #0056b3;
    color: #ffffff;
    border: 2px solid #0056b3;
}

.page-resources-odds-analysis__btn-primary:hover {
    background: #004085;
    border-color: #004085;
}

.page-resources-odds-analysis__btn-secondary {
    background: #ffffff;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.page-resources-odds-analysis__btn-secondary:hover {
    background: #e0e0e0;
    color: #004085;
    border-color: #004085;
}

/* FAQ Section */
.page-resources-odds-analysis__faq-list {
  margin-top: 40px;
}

.page-resources-odds-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-odds-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-odds-analysis__faq-item.active .page-resources-odds-analysis__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-odds-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-odds-analysis__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-odds-analysis__faq-question:active {
  background: #eeeeee;
}

.page-resources-odds-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-resources-odds-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-odds-analysis__faq-item.active .page-resources-odds-analysis__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Change to X or rotate */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-odds-analysis__main-title {
        font-size: 2.5em;
    }
    .page-resources-odds-analysis__section-title {
        font-size: 1.8em;
    }
    .page-resources-odds-analysis__grid {
        gap: 20px;
    }
    .page-resources-odds-analysis__card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources-odds-analysis__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-odds-analysis__hero-image img {
        border-radius: 4px;
    }
    .page-resources-odds-analysis__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important; /* Mobile button width */
        max-width: 300px !important; /* Limit max width for aesthetic */
    }
    .page-resources-odds-analysis__main-title {
        font-size: 2em;
    }
    .page-resources-odds-analysis__intro-text {
        font-size: 1em;
    }
    .page-resources-odds-analysis__section {
        padding: 40px 15px;
    }
    .page-resources-odds-analysis__section-title {
        font-size: 1.5em;
    }
    .page-resources-odds-analysis__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-odds-analysis__card img {
        height: auto !important; /* Ensure images scale */
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-resources-odds-analysis__list {
        margin-left: 0;
        padding-left: 20px;
    }
    .page-resources-odds-analysis__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-resources-odds-analysis__btn-primary,
    .page-resources-odds-analysis__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* FAQ Mobile */
    .page-resources-odds-analysis__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    .page-resources-odds-analysis__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    .page-resources-odds-analysis__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    .page-resources-odds-analysis__faq-answer {
      padding: 0 15px;
    }
    .page-resources-odds-analysis__faq-item.active .page-resources-odds-analysis__faq-answer {
      padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-resources-odds-analysis__main-title {
        font-size: 1.8em;
    }
    .page-resources-odds-analysis__section-title {
        font-size: 1.3em;
    }
    .page-resources-odds-analysis__card-title {
        font-size: 1.3em;
    }
    .page-resources-odds-analysis__list li,
    .page-resources-odds-analysis p {
        font-size: 0.95em;
    }
}