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

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

.page-casino-table-games-strategy-guide__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-casino-table-games-strategy-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-casino-table-games-strategy-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-casino-table-games-strategy-guide__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-table-games-strategy-guide__hero-button:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

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

.page-casino-table-games-strategy-guide__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-casino-table-games-strategy-guide__introduction-section,
.page-casino-table-games-strategy-guide__game-strategy-section,
.page-casino-table-games-strategy-guide__general-tips-section,
.page-casino-table-games-strategy-guide__conclusion-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

.page-casino-table-games-strategy-guide__section-text {
  font-size: 1.1em;
  color: #333333;
  text-align: justify;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-table-games-strategy-guide__strategy-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino-table-games-strategy-guide__strategy-card img {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games-strategy-guide__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-table-games-strategy-guide__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 800px;
}

.page-casino-table-games-strategy-guide__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-casino-table-games-strategy-guide__card-button:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

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

.page-casino-table-games-strategy-guide__tip-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino-table-games-strategy-guide__tip-item img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games-strategy-guide__tip-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino-table-games-strategy-guide__tip-text {
  font-size: 0.95em;
  color: #555555;
  text-align: justify;
}

.page-casino-table-games-strategy-guide__cta-button,
.page-casino-table-games-strategy-guide__conclusion-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-casino-table-games-strategy-guide__cta-button:hover,
.page-casino-table-games-strategy-guide__conclusion-button:hover {
  background-color: #e6a73c;
  transform: translateY(-4px);
}

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

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

@media (max-width: 768px) {
  .page-casino-table-games-strategy-guide {
    padding-top: var(--header-offset, 80px);
  }

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

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

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

  .page-casino-table-games-strategy-guide__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-casino-table-games-strategy-guide__introduction-section,
  .page-casino-table-games-strategy-guide__game-strategy-section,
  .page-casino-table-games-strategy-guide__general-tips-section,
  .page-casino-table-games-strategy-guide__conclusion-section {
    padding: 40px 0;
  }

  .page-casino-table-games-strategy-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-casino-table-games-strategy-guide__section-text {
    font-size: 0.95em;
  }

  .page-casino-table-games-strategy-guide__strategy-card {
    padding: 30px 20px;
  }

  .page-casino-table-games-strategy-guide__card-title {
    font-size: 1.6em;
  }

  .page-casino-table-games-strategy-guide__card-text {
    font-size: 0.9em;
  }

  .page-casino-table-games-strategy-guide__card-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

  .page-casino-table-games-strategy-guide__tip-item img,
  .page-casino-table-games-strategy-guide__strategy-card img {
    max-width: 100%; /* Ensure mobile images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }

  /* Critical: Prevent content overflow for all images within the content area */
  .page-casino-table-games-strategy-guide img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures block-level behavior for sizing */
  }

  .page-casino-table-games-strategy-guide__cta-button,
  .page-casino-table-games-strategy-guide__conclusion-button {
    padding: 15px 25px;
    font-size: 1.1em;
    margin-top: 40px;
  }
}

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

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

  .page-casino-table-games-strategy-guide__card-title {
    font-size: 1.4em;
  }

  .page-casino-table-games-strategy-guide__tip-title {
    font-size: 1.3em;
  }
}