.page-poker-rules-tips {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker-rules-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-poker-rules-tips__hero-section {
  background-color: #f0f0f0;
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-poker-rules-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-poker-rules-tips__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability, no color change */
  display: block;
}

.page-poker-rules-tips__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff; /* Light text for dark image overlay */
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-poker-rules-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker-rules-tips__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-poker-rules-tips__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker-rules-tips__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Section Titles */
.page-poker-rules-tips__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark red for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-poker-rules-tips__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

/* Rules Overview Section */
.page-poker-rules-tips__rules-overview {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-poker-rules-tips__rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-poker-rules-tips__rule-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker-rules-tips__rule-card:hover {
  transform: translateY(-5px);
}

.page-poker-rules-tips__rule-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker-rules-tips__card-title {
  font-size: 1.4em;
  color: #8B0000;
  margin: 20px 15px 10px 15px;
}

.page-poker-rules-tips__card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px 15px;
}

.page-poker-rules-tips__card-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  padding-bottom: 15px;
  transition: color 0.3s ease;
}

.page-poker-rules-tips__card-link:hover {
  color: #e6c200;
}

.page-poker-rules-tips__cta-banner {
  background: linear-gradient(45deg, #8B0000, #FFD700);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}

.page-poker-rules-tips__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
}

.page-poker-rules-tips__cta-description {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-poker-rules-tips__cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #8B0000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-poker-rules-tips__cta-button:hover {
  background-color: #f0f0f0;
  color: #a00000;
}

/* Advanced Strategies Section */
.page-poker-rules-tips__advanced-strategies {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-poker-rules-tips__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker-rules-tips__strategy-item {
  background-color: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-poker-rules-tips__strategy-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-poker-rules-tips__strategy-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-poker-rules-tips__item-title {
  font-size: 1.3em;
  color: #8B0000;
  margin: 15px 15px 8px 15px;
}

.page-poker-rules-tips__item-description {
  font-size: 0.9em;
  color: #666666;
  padding: 0 15px 15px 15px;
}

.page-poker-rules-tips__item-link {
  display: block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  padding: 0 15px 15px 15px;
  transition: color 0.3s ease;
}

.page-poker-rules-tips__item-link:hover {
  color: #e6c200;
}

.page-poker-rules-tips__full-strategy-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  background-color: #8B0000; /* Dark red button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-poker-rules-tips__full-strategy-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

/* Responsible Gambling Section */
.page-poker-rules-tips__responsible-gambling {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-poker-rules-tips__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-poker-rules-tips__responsible-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
}

.page-poker-rules-tips__responsible-link {
  display: block;
  text-align: center;
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-poker-rules-tips__responsible-link:hover {
  color: #FFD700;
}

/* FAQ Section */
.page-poker-rules-tips__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-poker-rules-tips__faq-item {
  background-color: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-poker-rules-tips__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-poker-rules-tips__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-poker-rules-tips__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-poker-rules-tips__faq-answer a:hover {
  text-decoration: underline;
}

/* Bottom CTA Section */
.page-poker-rules-tips__cta-bottom {
  padding: 60px 0;
  background: linear-gradient(135deg, #FFD700, #8B0000);
  text-align: center;
  color: #ffffff;
}

.page-poker-rules-tips__cta-bottom-title {
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker-rules-tips__cta-bottom-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker-rules-tips__cta-bottom-button {
  display: inline-block;
  background-color: #ffffff;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-poker-rules-tips__cta-bottom-button:hover {
  background-color: #f0f0f0;
  color: #a00000;
  transform: translateY(-2px);
}

.page-poker-rules-tips__cta-bottom-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker-rules-tips__cta-bottom-button--secondary:hover {
  background-color: #a00000;
  color: #ffffff;
  border-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker-rules-tips__hero-title {
    font-size: 3em;
  }
  .page-poker-rules-tips__section-title {
    font-size: 2em;
  }
  .page-poker-rules-tips__cta-bottom-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker-rules-tips__hero-title {
    font-size: 2.5em;
  }
  .page-poker-rules-tips__hero-description {
    font-size: 1.1em;
  }
  .page-poker-rules-tips__section-title {
    font-size: 1.8em;
  }
  .page-poker-rules-tips__section-intro {
    font-size: 1em;
  }
  .page-poker-rules-tips__cta-title {
    font-size: 1.8em;
  }
  .page-poker-rules-tips__cta-bottom-title {
    font-size: 2em;
  }
  .page-poker-rules-tips__rules-grid,
  .page-poker-rules-tips__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker-rules-tips__rule-card img,
  .page-poker-rules-tips__strategy-item img {
    height: 200px; /* Ensure images are not too small */
  }
  .page-poker-rules-tips__cta-bottom-button {
    margin: 10px 0;
    width: 90%;
  }
  /* Mobile content image overflow prevention */
  .page-poker-rules-tips img {
    max-width: 100%;
    height: auto;
  }
  .page-poker-rules-tips__container {
    padding: 0 15px;
  }
  .page-poker-rules-tips__hero-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-poker-rules-tips__hero-title {
    font-size: 2em;
  }
  .page-poker-rules-tips__hero-description {
    font-size: 0.95em;
  }
  .page-poker-rules-tips__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker-rules-tips__section-title {
    font-size: 1.5em;
  }
  .page-poker-rules-tips__cta-bottom-title {
    font-size: 1.8em;
  }
  .page-poker-rules-tips__rule-card img,
  .page-poker-rules-tips__strategy-item img {
    height: 200px; /* Ensure images are not too small */
  }
}