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

.page-resources-betting-tips__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #017439, #005f2e);
}

.page-resources-betting-tips__hero-content {
  z-index: 10;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-betting-tips__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

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

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

.page-resources-betting-tips__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-resources-betting-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed for stylistic overlay, not color change */
}

.page-resources-betting-tips__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-betting-tips__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body bg for contrast */
  color: #ffffff;
}

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

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

.page-resources-betting-tips__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherits from section background */
}

.page-resources-betting-tips__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-resources-betting-tips__link {
  color: #017439; /* Brand green for links on light bg */
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-betting-tips__dark-bg .page-resources-betting-tips__link {
  color: #FFFF00; /* Yellow for links on dark bg */
}

.page-resources-betting-tips__link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.page-resources-betting-tips__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-betting-tips__content-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

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

.page-resources-betting-tips__sub-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-resources-betting-tips__highlight {
  font-weight: bold;
  color: #017439; /* Brand green for highlights on light bg */
}

.page-resources-betting-tips__dark-bg .page-resources-betting-tips__highlight {
  color: #FFFF00; /* Yellow for highlights on dark bg */
}

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

.page-resources-betting-tips__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-betting-tips__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #017439;
}

.page-resources-betting-tips__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-resources-betting-tips__feature-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

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

.page-resources-betting-tips__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #017439;
}

.page-resources-betting-tips__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-resources-betting-tips__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-betting-tips__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: inherit;
}

.page-resources-betting-tips__list-item::before {
  content: '✓';
  color: #FFFF00; /* Yellow checkmark on dark bg */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

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

.page-resources-betting-tips__info-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

.page-resources-betting-tips__info-image {
  width: 100%;
  height: 200px; /* Minimum 200px height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-betting-tips__info-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #017439;
}

.page-resources-betting-tips__info-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-resources-betting-tips__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources-betting-tips__center-buttons {
  justify-content: center;
}

.page-resources-betting-tips__btn-primary,
.page-resources-betting-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-resources-betting-tips__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-betting-tips__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-resources-betting-tips__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-betting-tips__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Custom colors for Register/Login if they appear as buttons */
.page-resources-betting-tips__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-betting-tips__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources-betting-tips__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-betting-tips__btn-login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources-betting-tips__faq-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
}

.page-resources-betting-tips__faq-container {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-betting-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

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

.page-resources-betting-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-betting-tips__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-resources-betting-tips__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.page-resources-betting-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-resources-betting-tips__faq-answer p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-betting-tips__hero-title {
    font-size: 2.8em;
  }

  .page-resources-betting-tips__section-title {
    font-size: 2em;
  }

  .page-resources-betting-tips__image-text-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-betting-tips__content-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-resources-betting-tips__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-betting-tips__hero-title {
    font-size: 2.2em;
  }

  .page-resources-betting-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-betting-tips__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources-betting-tips__btn-primary,
  .page-resources-betting-tips__btn-secondary,
  .page-resources-betting-tips__btn-register,
  .page-resources-betting-tips__btn-login,
  .page-resources-betting-tips a[class*="button"],
  .page-resources-betting-tips a[class*="btn"] {
    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;
  }

  .page-resources-betting-tips__cta-buttons,
  .page-resources-betting-tips__button-group,
  .page-resources-betting-tips__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  .page-resources-betting-tips__section,
  .page-resources-betting-tips__content-area {
    padding: 30px 15px;
  }

  .page-resources-betting-tips__section-title {
    font-size: 1.8em;
  }

  .page-resources-betting-tips__paragraph,
  .page-resources-betting-tips__list-item,
  .page-resources-betting-tips__card-text,
  .page-resources-betting-tips__feature-text,
  .page-resources-betting-tips__info-text,
  .page-resources-betting-tips__faq-answer {
    font-size: 0.95em;
  }

  .page-resources-betting-tips__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-betting-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-betting-tips__section,
  .page-resources-betting-tips__card,
  .page-resources-betting-tips__container,
  .page-resources-betting-tips__image-text-layout,
  .page-resources-betting-tips__grid-layout,
  .page-resources-betting-tips__feature-grid,
  .page-resources-betting-tips__info-cards-grid,
  .page-resources-betting-tips__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-resources-betting-tips__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-betting-tips__faq-answer {
    padding: 0 20px;
  }

  .page-resources-betting-tips__faq-item.active .page-resources-betting-tips__faq-answer {
    padding: 15px 20px 20px 20px;
  }
}