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

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

/* Hero Section */
.page-casino-table-games-guide__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
}

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

.page-casino-table-games-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

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

.page-casino-table-games-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-casino-table-games-guide__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-casino-table-games-guide__button {
  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: 2px solid transparent;
}

.page-casino-table-games-guide__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border-color: #FFFFFF;
}

.page-casino-table-games-guide__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-casino-table-games-guide__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border-color: #FCBC45;
}

.page-casino-table-games-guide__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

/* General Section Styling */
.page-casino-table-games-guide__introduction,
.page-casino-table-games-guide__game-overview,
.page-casino-table-games-guide__strategy-section,
.page-casino-table-games-guide__fairness-commitment,
.page-casino-table-games-guide__live-dealer-promo,
.page-casino-table-games-guide__cta,
.page-casino-table-games-guide__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Default light background */
}

.page-casino-table-games-guide__introduction {
  background-color: #f8f8f8;
}

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

.page-casino-table-games-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

/* Game Cards */
.page-casino-table-games-guide__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-table-games-guide__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-casino-table-games-guide__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-table-games-guide__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-casino-table-games-guide__card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 15px 10px;
}

.page-casino-table-games-guide__card-link {
  text-decoration: none;
  color: inherit;
}

.page-casino-table-games-guide__card-link:hover {
  color: #FCBC45;
}

.page-casino-table-games-guide__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-casino-table-games-guide__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-casino-table-games-guide__button--small:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* Strategy Section */
.page-casino-table-games-guide__strategy-section {
  background-color: #f0f0f0;
}

.page-casino-table-games-guide__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-table-games-guide__strategy-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: justify;
}

.page-casino-table-games-guide__strategy-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  text-align: center;
}

.page-casino-table-games-guide__strategy-text {
  color: #555555;
}

.page-casino-table-games-guide__button--learn-more {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-casino-table-games-guide__button--learn-more:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* Fairness Commitment */
.page-casino-table-games-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-table-games-guide__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games-guide__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 200px; /* Minimum size for content images */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px; /* Added for subtle styling */
}

.page-casino-table-games-guide__feature-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-casino-table-games-guide__feature-text {
  color: #555555;
}

.page-casino-table-games-guide__button--verify {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino-table-games-guide__button--verify:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

/* Live Dealer Promo */
.page-casino-table-games-guide__live-dealer-promo {
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino-table-games-guide__live-dealer-promo .page-casino-table-games-guide__section-title {
  color: #FCBC45;
}

.page-casino-table-games-guide__live-dealer-promo .page-casino-table-games-guide__section-title::after {
  background-color: #FFFFFF;
}

.page-casino-table-games-guide__live-dealer-promo .page-casino-table-games-guide__paragraph {
  color: #f0f0f0;
}

.page-casino-table-games-guide__live-dealer-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-casino-table-games-guide__live-dealer-text {
  flex: 1;
  min-width: 300px;
}

.page-casino-table-games-guide__live-dealer-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-casino-table-games-guide__live-dealer-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-casino-table-games-guide__button--live {
  margin-top: 20px;
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-casino-table-games-guide__button--live:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* CTA Section */
.page-casino-table-games-guide__cta {
  text-align: center;
  background-color: #f8f8f8;
}

.page-casino-table-games-guide__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-casino-table-games-guide__button--register-cta {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino-table-games-guide__button--register-cta:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-casino-table-games-guide__button--contact-support {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-casino-table-games-guide__button--contact-support:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

/* FAQ Section */
.page-casino-table-games-guide__faq-section {
  background-color: #FFFFFF;
}

.page-casino-table-games-guide__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games-guide__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino-table-games-guide__faq-answer {
  font-size: 1em;
  color: #555555;
  display: block; /* Ensures it's always visible for this design */
  text-align: justify;
}

.page-casino-table-games-guide__faq-link {
  color: #FCBC45;
  text-decoration: none;
}

.page-casino-table-games-guide__faq-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-table-games-guide__hero-title {
    font-size: 2.8em;
  }

  .page-casino-table-games-guide__hero-description {
    font-size: 1.1em;
  }

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

@media (max-width: 768px) {
  .page-casino-table-games-guide {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-casino-table-games-guide__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-casino-table-games-guide__button {
    width: 80%;
    max-width: 300px;
  }

  .page-casino-table-games-guide__game-cards,
  .page-casino-table-games-guide__strategy-grid,
  .page-casino-table-games-guide__features-grid {
    grid-template-columns: 1fr;
  }

  .page-casino-table-games-guide__live-dealer-content {
    flex-direction: column;
  }

  .page-casino-table-games-guide__live-dealer-text,
  .page-casino-table-games-guide__live-dealer-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-casino-table-games-guide__container img,
  .page-casino-table-games-guide__card-image,
  .page-casino-table-games-guide__feature-icon,
  .page-casino-table-games-guide__live-dealer-image {
    max-width: 100%;
    height: auto;
  }
  
  .page-casino-table-games-guide__feature-icon {
    width: 200px; /* Ensure minimum size is maintained */
    height: 200px;
  }

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

  .page-casino-table-games-guide__button--learn-more,
  .page-casino-table-games-guide__button--verify,
  .page-casino-table-games-guide__button--live,
  .page-casino-table-games-guide__button--register-cta,
  .page-casino-table-games-guide__button--contact-support {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games-guide__hero-title {
    font-size: 1.8em;
  }

  .page-casino-table-games-guide__hero-description {
    font-size: 0.9em;
  }

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

  .page-casino-table-games-guide__hero-content {
    padding: 20px;
  }

  .page-casino-table-games-guide__paragraph,
  .page-casino-table-games-guide__card-description,
  .page-casino-table-games-guide__strategy-text,
  .page-casino-table-games-guide__feature-text,
  .page-casino-table-games-guide__faq-answer {
    font-size: 0.95em;
  }
}