/* style/casino-table-games.css */

.page-casino-table-games {
  color: #333333; /* Dark text for default light body background */
}

.page-casino-table-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-casino-table-games__hero-container {
  position: relative;
  width: 100%;
}

.page-casino-table-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino-table-games__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 51, 102, 0.7); /* Overlay with main color, semi-transparent */
  color: #ffffff;
  padding: 20px;
}

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

.page-casino-table-games__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-casino-table-games__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-casino-table-games__button--primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color */
  border: 2px solid #FFCC00;
}

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

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

.page-casino-table-games__overview-section,
.page-casino-table-games__games-section,
.page-casino-table-games__strategy-section,
.page-casino-table-games__trust-section,
.page-casino-table-games__bonus-section,
.page-casino-table-games__getting-started-section,
.page-casino-table-games__faq-section,
.page-casino-table-games__final-cta-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-casino-table-games__overview-section {
  background-color: #f5f5f5;
}

.page-casino-table-games__overview-title,
.page-casino-table-games__games-title,
.page-casino-table-games__strategy-title,
.page-casino-table-games__trust-title,
.page-casino-table-games__bonus-title,
.page-casino-table-games__getting-started-title,
.page-casino-table-games__faq-title,
.page-casino-table-games__final-cta-title {
  font-size: 2.8em;
  color: #003366; /* Main color */
  text-align: center;
  margin-bottom: 40px;
}

.page-casino-table-games__overview-text,
.page-casino-table-games__games-intro,
.page-casino-table-games__strategy-intro,
.page-casino-table-games__trust-text,
.page-casino-table-games__bonus-text,
.page-casino-table-games__getting-started-intro,
.page-casino-table-games__final-cta-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-casino-table-games__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino-table-games__feature-heading {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-casino-table-games__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-casino-table-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino-table-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino-table-games__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-casino-table-games__game-card-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-casino-table-games__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-casino-table-games__strategy-item,
.page-casino-table-games__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-left: 5px solid #003366;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games__strategy-heading,
.page-casino-table-games__step-heading {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-casino-table-games__strategy-description,
.page-casino-table-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-casino-table-games__bonus-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games__faq-accordion {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-casino-table-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.page-casino-table-games__faq-question {
  background-color: #003366;
  color: #ffffff;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__faq-question:hover {
  background-color: #004488;
}

.page-casino-table-games__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino-table-games__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-casino-table-games__faq-answer {
  padding: 0 25px;
  background-color: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-casino-table-games__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 15px 25px;
}

.page-casino-table-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-casino-table-games__final-cta-section {
  background-color: #003366; /* Main color */
  color: #ffffff;
  text-align: center;
}

.page-casino-table-games__final-cta-title {
  color: #FFCC00; /* Auxiliary color */
}

.page-casino-table-games__final-cta-description {
  color: #f0f0f0;
}

@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 3em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.1em;
  }
  .page-casino-table-games__overview-title,
  .page-casino-table-games__games-title,
  .page-casino-table-games__strategy-title,
  .page-casino-table-games__trust-title,
  .page-casino-table-games__bonus-title,
  .page-casino-table-games__getting-started-title,
  .page-casino-table-games__faq-title,
  .page-casino-table-games__final-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-section {
    padding-top: var(--header-offset, 80px);
  }
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-casino-table-games__button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-casino-table-games__container {
    padding: 30px 15px;
  }
  .page-casino-table-games__overview-title,
  .page-casino-table-games__games-title,
  .page-casino-table-games__strategy-title,
  .page-casino-table-games__trust-title,
  .page-casino-table-games__bonus-title,
  .page-casino-table-games__getting-started-title,
  .page-casino-table-games__faq-title,
  .page-casino-table-games__final-cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__overview-text,
  .page-casino-table-games__games-intro,
  .page-casino-table-games__strategy-intro,
  .page-casino-table-games__trust-text,
  .page-casino-table-games__bonus-text,
  .page-casino-table-games__getting-started-intro,
  .page-casino-table-games__final-cta-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__feature-list,
  .page-casino-table-games__game-card-grid,
  .page-casino-table-games__strategy-list,
  .page-casino-table-games__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino-table-games__game-card-image {
    height: 200px;
  }
  .page-casino-table-games__feature-heading,
  .page-casino-table-games__game-card-title,
  .page-casino-table-games__strategy-heading,
  .page-casino-table-games__step-heading {
    font-size: 1.4em;
  }
  .page-casino-table-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
  }
}