.page-casino-table-games-strategy {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

.page-casino-table-games-strategy__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-casino-table-games-strategy__hero-container {
  position: relative;
  max-width: 100%; /* Ensure it doesn't cause overflow */
  margin: 0 auto;
}

.page-casino-table-games-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  /* filter: brightness(0.7); Removed as per strict filter rule */
}

.page-casino-table-games-strategy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-casino-table-games-strategy__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #ffc107; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-casino-table-games-strategy__hero-button,
.page-casino-table-games-strategy__cta-button {
  display: inline-block;
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-casino-table-games-strategy__hero-button:hover,
.page-casino-table-games-strategy__cta-button:hover {
  background-color: #0056b3; /* Darker shade on hover */
  transform: translateY(-2px);
}

.page-casino-table-games-strategy__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.page-casino-table-games-strategy__section-title {
  font-size: 2.2em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-casino-table-games-strategy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color */
  margin: 10px auto 0;
  border-radius: 2px;
}

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

.page-casino-table-games-strategy__game-strategies-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.page-casino-table-games-strategy__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino-table-games-strategy__game-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover; /* Ensures image fills without distortion */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-casino-table-games-strategy__game-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-casino-table-games-strategy__game-description {
  font-size: 1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-casino-table-games-strategy__game-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color */
  color: #333333;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-casino-table-games-strategy__game-button:hover {
  background-color: #e0a800; /* Darker shade on hover */
  transform: translateY(-2px);
}

.page-casino-table-games-strategy__tg777-advantage-section {
  padding: 60px 0;
}

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

.page-casino-table-games-strategy__advantage-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.page-casino-table-games-strategy__advantage-icon {
  width: 200px; /* Enforce min size */
  height: 150px; /* Enforce min size */
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 150px; /* Enforce min size */
}

.page-casino-table-games-strategy__advantage-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-casino-table-games-strategy__advantage-description {
  font-size: 0.95em;
  color: #555555;
}

.page-casino-table-games-strategy__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #e9f5ff; /* Light primary background */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games-strategy__cta-text {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-casino-table-games-strategy__responsible-gaming-section {
  background-color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-casino-table-games-strategy__responsible-gaming-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-casino-table-games-strategy__responsible-gaming-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-casino-table-games-strategy__faq-section {
  padding: 60px 0;
}

.page-casino-table-games-strategy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px 30px;
}

.page-casino-table-games-strategy__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-casino-table-games-strategy__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-casino-table-games-strategy__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
}

.page-casino-table-games-strategy__cta-final .page-casino-table-games-strategy__section-title {
  color: #ffc107;
}

.page-casino-table-games-strategy__cta-final .page-casino-table-games-strategy__section-title::after {
  background-color: #ffffff;
}

.page-casino-table-games-strategy__cta-final .page-casino-table-games-strategy__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-casino-table-games-strategy__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #ffc107;
  color: #333333;
}

.page-casino-table-games-strategy__cta-button--large:hover {
  background-color: #e0a800;
}

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

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

  .page-casino-table-games-strategy__section-title {
    font-size: 1.8em;
  }

  .page-casino-table-games-strategy__text-content,
  .page-casino-table-games-strategy__game-description,
  .page-casino-table-games-strategy__advantage-description,
  .page-casino-table-games-strategy__faq-answer {
    font-size: 0.95em;
  }

  .page-casino-table-games-strategy__game-card,
  .page-casino-table-games-strategy__advantage-item {
    padding: 20px;
  }

  .page-casino-table-games-strategy__game-image,
  .page-casino-table-games-strategy__advantage-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 150px;
  }

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

  /* Ensure all images within the content area are responsive and do not cause overflow */
  .page-casino-table-games-strategy img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-casino-table-games-strategy__hero-button,
  .page-casino-table-games-strategy__cta-button--large {
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

  .page-casino-table-games-strategy__faq-question {
    font-size: 1.1em;
  }
}