/* style/resources-online-betting-guide-for-beginners.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #0A1931;
  --border-color: #e0e0e0;
}

.page-resources-online-betting-guide-for-beginners {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

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

.page-resources-online-betting-guide-for-beginners__section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.page-resources-online-betting-guide-for-beginners__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-online-betting-guide-for-beginners__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources-online-betting-guide-for-beginners__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Color Schemes */
.page-resources-online-betting-guide-for-beginners__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-online-betting-guide-for-beginners__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-online-betting-guide-for-beginners__text-light {
  color: var(--text-light);
}

.page-resources-online-betting-guide-for-beginners__dark-bg .page-resources-online-betting-guide-for-beginners__section-title {
  color: var(--secondary-color);
}

/* Buttons */
.page-resources-online-betting-guide-for-beginners__cta-button,
.page-resources-online-betting-guide-for-beginners__btn-primary,
.page-resources-online-betting-guide-for-beginners__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Important for mobile */
  box-sizing: border-box; /* Important for mobile */
  white-space: normal; /* Important for mobile */
  word-wrap: break-word; /* Important for mobile */
}

.page-resources-online-betting-guide-for-beginners__cta-button {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-resources-online-betting-guide-for-beginners__cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-online-betting-guide-for-beginners__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-resources-online-betting-guide-for-beginners__btn-primary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-resources-online-betting-guide-for-beginners__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-online-betting-guide-for-beginners__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* HERO Section */
.page-resources-online-betting-guide-for-beginners__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); /* Fixed header offset */
  background: linear-gradient(135deg, #0A1931, #2C3E50); /* Dark gradient background */
  color: var(--text-light);
}

.page-resources-online-betting-guide-for-beginners__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-online-betting-guide-for-beginners__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-online-betting-guide-for-beginners__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-guide-for-beginners__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-online-betting-guide-for-beginners__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-resources-online-betting-guide-for-beginners__hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Step-by-step cards */
.page-resources-online-betting-guide-for-beginners__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-online-betting-guide-for-beginners__dark-bg-card {
  background-color: #1a2a47; /* Slightly lighter dark blue for cards */
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-online-betting-guide-for-beginners__dark-bg-card .page-resources-online-betting-guide-for-beginners__card-title {
  color: var(--secondary-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.page-resources-online-betting-guide-for-beginners__dark-bg-card p {
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-resources-online-betting-guide-for-beginners__dark-bg-card .page-resources-online-betting-guide-for-beginners__btn-secondary {
  margin-top: 20px;
  align-self: flex-end; /* Align button to bottom-right */
}

/* Game Types Grid */
.page-resources-online-betting-guide-for-beginners__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-betting-guide-for-beginners__card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-online-betting-guide-for-beginners__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-online-betting-guide-for-beginners__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  flex-grow: 0;
}