.page-casino-table-games-guide {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF; /* Matches body background */
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino-table-games-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino-table-games-guide__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px; /* Adjusted padding for visual balance */
  overflow: hidden;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
}

.page-casino-table-games-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.page-casino-table-games-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino-table-games-guide__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino-table-games-guide__intro-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-casino-table-games-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-casino-table-games-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-casino-table-games-guide__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-casino-table-games-guide__cta-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-casino-table-games-guide__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino-table-games-guide__cta-button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-casino-table-games-guide__overview-section,
.page-casino-table-games-guide__game-section,
.page-casino-table-games-guide__tips-section,
.page-casino-table-games-guide__responsible-gaming-section,
.page-casino-table-games-guide__join-us-section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-casino-table-games-guide__overview-section:last-of-type,
.page-casino-table-games-guide__game-section:last-of-type,
.page-casino-table-games-guide__tips-section:last-of-type,
.page-casino-table-games-guide__responsible-gaming-section:last-of-type,
.page-casino-table-games-guide__join-us-section:last-of-type {
  border-bottom: none;
}

.page-casino-table-games-guide__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-casino-table-games-guide__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-casino-table-games-guide__sub-section-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.page-casino-table-games-guide__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-casino-table-games-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure min width */
  min-height: 200px; /* Ensure min height */
}

.page-casino-table-games-guide__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure min width */
  min-height: 200px; /* Ensure min height */
}

.page-casino-table-games-guide__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino-table-games-guide__tip-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-casino-table-games-guide__tip-item:hover {
  transform: translateY(-5px);
}

.page-casino-table-games-guide__tip-item .page-casino-table-games-guide__sub-section-title {
  font-size: 1.4em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino-table-games-guide__tip-item .page-casino-table-games-guide__text-content {
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

.page-casino-table-games-guide__cta-button--promo,
.page-casino-table-games-guide__cta-button--learn-more {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-casino-table-games-guide__cta-button--promo:hover,
.page-casino-table-games-guide__cta-button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-casino-table-games-guide__cta-button--register-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-casino-table-games-guide__cta-button--register-large:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-casino-table-games-guide__cta-button--contact-support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-casino-table-games-guide__cta-button--contact-support:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-casino-table-games-guide__main-title {
    font-size: 2.5em;
  }

  .page-casino-table-games-guide__intro-description {
    font-size: 1em;
  }

  .page-casino-table-games-guide__section-title {
    font-size: 2em;
  }

  .page-casino-table-games-guide__sub-section-title {
    font-size: 1.5em;
  }

  .page-casino-table-games-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino-table-games-guide__cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-casino-table-games-guide__tips-list {
    grid-template-columns: 1fr;
  }

  .page-casino-table-games-guide__hero-section {
    padding: 60px 15px 40px;
  }

  .page-casino-table-games-guide__overview-section,
  .page-casino-table-games-guide__game-section,
  .page-casino-table-games-guide__tips-section,
  .page-casino-table-games-guide__responsible-gaming-section,
  .page-casino-table-games-guide__join-us-section {
    padding: 40px 0;
  }

  .page-casino-table-games-guide__image-full-width,
  .page-casino-table-games-guide__image-content {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    min-width: 200px; /* Ensure min width */
    min-height: 200px; /* Ensure min height */
  }

  /* Ensure no horizontal scroll for content */
  .page-casino-table-games-guide {
    overflow-x: hidden;
  }
}