.page-casino-table-games {
  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 clears fixed header */
}

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

.page-casino-table-games__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  background-color: #0A2E36; /* Fallback background if image fails */
}

.page-casino-table-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim image for text readability */
  z-index: 0;
}

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

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

.page-casino-table-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-casino-table-games__button--primary {
  background-color: #FFD700; /* Gold accent */
  color: #0A2E36; /* Dark text */
}

.page-casino-table-games__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino-table-games__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-casino-table-games__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
  transform: translateY(-2px);
}

.page-casino-table-games__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino-table-games__intro-section,
.page-casino-table-games__games-overview-section,
.page-casino-table-games__strategies-section,
.page-casino-table-games__cta-section {
  padding: 60px 0;
}

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

.page-casino-table-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
}

.page-casino-table-games__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #555555;
}

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

.page-casino-table-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-casino-table-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-casino-table-games__game-card-title {
  font-size: 1.6em;
  margin: 25px 15px 15px;
  color: #0A2E36;
}

.page-casino-table-games__game-card-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-casino-table-games__game-card-link:hover {
  color: #FFD700;
}

.page-casino-table-games__game-card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
}

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

.page-casino-table-games__strategy-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-casino-table-games__strategy-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-casino-table-games__strategy-item-title {
  font-size: 1.8em;
  color: #0A2E36;
  margin: 25px 15px 15px;
}

.page-casino-table-games__strategy-item-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-casino-table-games__strategy-item-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-casino-table-games__cta-section {
  background-color: #0A2E36;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-casino-table-games__cta-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-table-games__cta-section .page-casino-table-games__section-title {
  color: #FFD700;
}

.page-casino-table-games__cta-section .page-casino-table-games__section-title::after {
  background-color: #FFD700;
}

.page-casino-table-games__cta-section .page-casino-table-games__section-text {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 3em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.2em;
  }
  .page-casino-table-games__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-title {
    font-size: 2.5em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino-table-games__section-title {
    font-size: 2em;
  }
  .page-casino-table-games__game-cards,
  .page-casino-table-games__strategy-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-casino-table-games__game-card-image,
  .page-casino-table-games__strategy-item-image {
    height: 200px; /* Adjust height for smaller screens, maintaining aspect */
  }
  .page-casino-table-games__cta-image {
    max-width: 100%;
  }
  .page-casino-table-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 2em;
  }
  .page-casino-table-games__button {
    width: 90%;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
}