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

:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #0A2463; /* Using primary color for dark background sections */
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-resources-thabet-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: #ffffff; /* Explicitly setting for clarity, assuming shared.css default is white */
}

/* Hero Section */
.page-resources-thabet-betting-guide__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); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  overflow: hidden; /* Prevent content overflow */
}

.page-resources-thabet-betting-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources-thabet-betting-guide__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-resources-thabet-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-resources-thabet-betting-guide__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources-thabet-betting-guide__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

/* General Section Styles */
.page-resources-thabet-betting-guide__section {
  padding: 80px 20px;
  background-color: var(--bg-light);
  transition: background-color 0.3s ease;
  overflow: hidden; /* Prevent content overflow */
}

.page-resources-thabet-betting-guide__section:nth-of-type(even) {
  background-color: #ffffff;
}

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

.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__section-title,
.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__subsection-title,
.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__card-title,
.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__text-block,
.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__list-item,
.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__btn-secondary {
  color: var(--text-light);
}

.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for cards on dark sections */
  border-color: rgba(255, 255, 255, 0.2);
}

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

.page-resources-thabet-betting-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-resources-thabet-betting-guide__subsection-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-resources-thabet-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-resources-thabet-betting-guide__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}

.page-resources-thabet-betting-guide__list-item::before {
  content: "•";
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-resources-thabet-betting-guide__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-resources-thabet-betting-guide__ordered-list .page-resources-thabet-betting-guide__list-item::before {
  content: none;
}

/* Cards */
.page-resources-thabet-betting-guide__card {
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.page-resources-thabet-betting-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-thabet-betting-guide__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources-thabet-betting-guide__card-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Grid Layouts */
.page-resources-thabet-betting-guide__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

/* Buttons */
.page-resources-thabet-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-thabet-betting-guide__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-resources-thabet-betting-guide__btn-primary:hover {
  background: #071a47; /* Darken primary color */
  border-color: #071a47; /* Darken primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-thabet-betting-guide__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-resources-thabet-betting-guide__btn-secondary:hover {
  background: #c29d04; /* Darken secondary color */
  border-color: #c29d04; /* Darken secondary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-thabet-betting-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Game Category Specific Styles */
.page-resources-thabet-betting-guide__game-category {
  background: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__game-category {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.page-resources-thabet-betting-guide__dark-bg .page-resources-thabet-betting-guide__game-category .page-resources-thabet-betting-guide__category-title {
  color: var(--secondary-color);
}


.page-resources-thabet-betting-guide__category-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-thabet-betting-guide__category-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 0 auto 25px auto;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}