/* style/resources-online-betting-guide.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --register-login-font-color: #FFFF00;
  --body-bg-color: #1a1a1a; /* From shared.css context */
  --text-light: #ffffff;
  --text-dark: #333333;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--body-bg-color); /* Inherit from body or shared.css */
}

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

.page-resources-online-betting-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-online-betting-guide__dark-bg {
  background-color: var(--body-bg-color);
  color: var(--text-light);
}

.page-resources-online-betting-guide__light-bg {
  background-color: var(--card-bg-light);
  color: var(--text-dark);
}

.page-resources-online-betting-guide__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-online-betting-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--text-light);
  font-weight: bold;
}

.page-resources-online-betting-guide__light-bg .page-resources-online-betting-guide__section-title {
  color: var(--primary-color);
}

.page-resources-online-betting-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  color: var(--text-light);
}

.page-resources-online-betting-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-online-betting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-online-betting-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-resources-online-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-online-betting-guide__hero-buttons,
.page-resources-online-betting-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-betting-guide__btn-primary,
.page-resources-online-betting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-guide__btn-primary {
  background-color: var(--register-button-bg); /* Use specific color for register */
  color: var(--register-login-font-color); /* Use specific font color */
  border: 2px solid var(--register-button-bg);
}

.page-resources-online-betting-guide__btn-primary:hover {
  background-color: #a30606; /* Darken for hover */
  border-color: #a30606;
}

.page-resources-online-betting-guide__btn-secondary {
  background-color: var(--login-button-bg); /* Use specific color for login */
  color: var(--register-login-font-color); /* Use specific font color */
  border: 2px solid var(--login-button-bg);
}

.page-resources-online-betting-guide__btn-secondary:hover {
  background-color: #a30606; /* Darken for hover */
  border-color: #a30606;
}

.page-resources-online-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: left;
}

.page-resources-online-betting-guide__text-center {
  text-align: center;
}