/* style/resources-betting-guide.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-betting-guide {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Hero Section */
.page-resources-betting-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-resources-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 */
  z-index: 1;
}

.page-resources-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-resources-betting-guide__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-betting-guide__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-betting-guide__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-resources-betting-guide__section {
  padding: 80px 0;
  position: relative;
}

.page-resources-betting-guide__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Light blue tint on dark body background */
  color: #ffffff;
}

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

.page-resources-betting-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-betting-guide__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #26A9E0;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-betting-guide__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Buttons */
.page-resources-betting-guide__btn-primary,
.page-resources-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, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-resources-betting-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-betting-guide__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-resources-betting-guide__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-betting-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Content Grid for text and image layouts */
.page-resources-betting-guide__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}