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

/* Core Layout & Typography */
.page-online-casino-table-games-rules {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark gray for good contrast on light backgrounds */
  line-height: 1.6;
  background-color: #f8f8f8; /* Very light gray background */
}

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

.page-online-casino-table-games-rules__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-online-casino-table-games-rules__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-online-casino-table-games-rules__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Dodger Blue for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-online-casino-table-games-rules__game-subtitle {
  font-size: 1.8em;
  color: #FFD700; /* Gold for subtitles */
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
  -webkit-text-stroke: 0.5px #666; /* Outline for better readability on light backgrounds */
  text-stroke: 0.5px #666;
}

.page-online-casino-table-games-rules__game-subheading {
  font-size: 1.4em;
  color: #1E90FF; /* Dodger Blue for sub-subheadings */
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-online-casino-table-games-rules__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-online-casino-table-games-rules__list--ordered {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-online-casino-table-games-rules__list li {
  margin-bottom: 8px;
  color: #444444;
}

/* Hero Section */
.page-online-casino-table-games-rules__hero {
  background: linear-gradient(135deg, #FFD700 0%, #1E90FF 100%);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap-reverse;
  gap: 40px;
  color: #ffffff; /* White text on gradient background */
  text-align: center;
}

.page-online-casino-table-games-rules__hero-content {
  max-width: 600px;
  padding: 0 20px;
}

.page-online-casino-table-games-rules__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-online-casino-table-games-rules__hero-image-wrapper {
  max-width: 500px;
  position: relative;
}

.page-online-casino-table-games-rules__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-online-casino-table-games-rules__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-online-casino-table-games-rules__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #333333; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

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

.page-online-casino-table-games-rules__btn--secondary {
  background-color: #1E90FF; /* Dodger Blue button */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #1E90FF;
  margin-left: 15px;
}

.page-online-casino-table-games-rules__btn--secondary:hover {
  background-color: #1a7ae0;
  transform: translateY(-2px);
  color: #ffffff;
}

/* Game Rules Section */
.page-online-casino-table-games-rules__game-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-online-casino-table-games-rules__game-card--reverse {
  flex-direction: row-reverse;
}

.page-online-casino-table-games-rules__game-image {
  width: 45%;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-online-casino-table-games-rules__game-details {
  flex: 1;
}

.page-online-casino-table-games-rules__content-block {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-online-casino-table-games-rules__content-block p {
  margin-bottom: 20px;
  text-align: left;
}

.page-online-casino-table-games-rules__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Call to Action Section */
.page-online-casino-table-games-rules__cta {
  background: linear-gradient(135deg, #1E90FF 0%, #0028ff 100%); /* Darker blue gradient */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-online-casino-table-games-rules__cta .page-online-casino-table-games-rules__section-title {
  color: #FFD700; /* Gold title on blue background */
  margin-bottom: 30px;
}

.page-online-casino-table-games-rules__cta p {
  font-size: 1.15em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-online-casino-table-games-rules__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-online-casino-table-games-rules__hero {
    flex-direction: column-reverse;
    padding: 60px 0;
  }

  .page-online-casino-table-games-rules__hero-title {
    font-size: 2.8em;
  }

  .page-online-casino-table-games-rules__game-card {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .page-online-casino-table-games-rules__game-card--reverse {
    flex-direction: column;
  }

  .page-online-casino-table-games-rules__game-image {
    width: 100%;
    max-width: 500px;
  }

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

  .page-online-casino-table-games-rules__game-subtitle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-online-casino-table-games-rules__hero-title {
    font-size: 2.2em;
  }

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

  .page-online-casino-table-games-rules__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-online-casino-table-games-rules__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-online-casino-table-games-rules__section {
    padding: 40px 0;
  }

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

  .page-online-casino-table-games-rules__game-subtitle {
    font-size: 1.3em;
  }

  .page-online-casino-table-games-rules__game-card {
    padding: 20px;
  }

  .page-online-casino-table-games-rules__cta p {
    font-size: 1em;
  }
}

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

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

  .page-online-casino-table-games-rules__hero-content, .page-online-casino-table-games-rules__container {
    padding: 0 15px;
  }

  .page-online-casino-table-games-rules__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-online-casino-table-games-rules__btn {
    width: 100%;
    max-width: 280px;
    margin-left: 0 !important;
  }
}