/* style/blog-sports-betting-tips.css */

/* General styles for the page content, ensuring text contrast on default body background */
.page-blog-sports-betting-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color, contrasting with dark backgrounds */
  background-color: #0A0A0A; /* General background color */
}

/* Container for main content, centered and max-width */
.page-blog-sports-betting-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-blog-sports-betting-tips__content-section {
  padding: 60px 0;
}

/* Darker sections for visual separation, using brand colors */
.page-blog-sports-betting-tips__dark-section {
  background-color: #111111; /* Card BG color */
}

/* Hero Section */
.page-blog-sports-betting-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* 10px top padding, not var(--header-offset) */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-blog-sports-betting-tips__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog-sports-betting-tips__hero-image {
  width: 1200px; /* HTML width attribute */
  height: 675px; /* HTML height attribute */
  max-width: 100%; /* Ensure responsiveness */
  height: auto;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
  display: block;
  filter: none; /* Explicitly disallow filters */
}

.page-blog-sports-betting-tips__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-sports-betting-tips__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-blog-sports-betting-tips__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* Titles */
.page-blog-sports-betting-tips__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main brand color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-blog-sports-betting-tips__sub-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary brand color */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Paragraphs */
.page-blog-sports-betting-tips p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

/* Lists */
.page-blog-sports-betting-tips__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-blog-sports-betting-tips__list li {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-blog-sports-betting-tips__list strong {
  color: #F2C14E; /* Highlight important terms */
}

/* Buttons */
.page-blog-sports-betting-tips__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width for max-width button */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 15px; /* Add padding to container for mobile */
}

.page-blog-sports-betting-tips__btn-primary,
.page-blog-sports-betting-tips__btn-secondary,
.page-blog-sports-betting-tips a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button itself is responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
}

.page-blog-sports-betting-tips__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light gradient button */
  border: none;
}

.page-blog-sports-betting-tips__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-blog-sports-betting-tips__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Border with glow color */
}

.page-blog-sports-betting-tips__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

/* Links within text */
.page-blog-sports-betting-tips a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-blog-sports-betting-tips a:hover {
  color: #F2C14E; /* Main brand color on hover */
}

/* FAQ Section */
.page-blog-sports-betting-tips__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Ensure contrast for FAQ */
}

.page-blog-sports-betting-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-sports-betting-tips__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-sports-betting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111;
  color: #F2C14E; /* Question text color */
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-sports-betting-tips__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Subtle hover effect */
}

.page-blog-sports-betting-tips__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-blog-sports-betting-tips__faq-item.active .page-blog-sports-betting-tips__faq-toggle {
  transform: rotate(45deg); /* Plus becomes an X */
}

.page-blog-sports-betting-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Adjust padding for collapsed state */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Answer text color */
}

.page-blog-sports-betting-tips__faq-item.active .page-blog-sports-betting-tips__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-blog-sports-betting-tips__faq-answer p {
  margin-bottom: 0; /* Remove extra margin for last paragraph in answer */
}

/* Conclusion section */
.page-blog-sports-betting-tips__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A0A0A; /* Ensure contrast */
}

/* Image styling - general responsive */
.page-blog-sports-betting-tips img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Explicitly disallow filters */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-blog-sports-betting-tips__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-sports-betting-tips__section-title {
    font-size: 2rem;
  }

  .page-blog-sports-betting-tips__sub-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-blog-sports-betting-tips__hero-section {
    padding-top: 10px !important; /* Ensure 10px top padding on mobile */
    padding-bottom: 40px;
  }

  .page-blog-sports-betting-tips__hero-image-wrapper {
    max-height: 250px;
    margin-bottom: 20px;
  }

  .page-blog-sports-betting-tips__content-section {
    padding: 40px 0;
  }

  .page-blog-sports-betting-tips__container {
    padding: 0 15px; /* Adjust container padding for mobile */
  }

  .page-blog-sports-betting-tips__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-sports-betting-tips__section-title {
    font-size: 1.8rem;
  }

  .page-blog-sports-betting-tips__sub-title {
    font-size: 1.3rem;
  }

  .page-blog-sports-betting-tips p,
  .page-blog-sports-betting-tips li {
    font-size: 1rem;
  }

  /* Mobile image responsiveness */
  .page-blog-sports-betting-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile button responsiveness */
  .page-blog-sports-betting-tips__cta-button,
  .page-blog-sports-betting-tips__btn-primary,
  .page-blog-sports-betting-tips__btn-secondary,
  .page-blog-sports-betting-tips a[class*="button"],
  .page-blog-sports-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-blog-sports-betting-tips__cta-buttons,
  .page-blog-sports-betting-tips__button-group,
  .page-blog-sports-betting-tips__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-blog-sports-betting-tips__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-blog-sports-betting-tips__faq-answer {
    padding: 0 15px;
  }

  .page-blog-sports-betting-tips__faq-item.active .page-blog-sports-betting-tips__faq-answer {
    padding: 15px;
  }
}