/* style/games-lottery-keno-rules.css */
.page-games-lottery-keno-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

.page-games-lottery-keno-rules__hero {
  background: linear-gradient(135deg, #CC0000 0%, #FFCC00 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-games-lottery-keno-rules__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-games-lottery-keno-rules__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #fff; /* Ensure high contrast */
}

.page-games-lottery-keno-rules__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
  color: #fff; /* Ensure high contrast */
}

.page-games-lottery-keno-rules__hero-image-wrapper {
  max-width: 600px;
  width: 100%;
  margin-top: 30px;
}

.page-games-lottery-keno-rules__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-games-lottery-keno-rules__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.page-games-lottery-keno-rules__section:nth-of-type(odd) {
  background-color: #fdfdfd;
}

.page-games-lottery-keno-rules__section-title {
  font-size: 2.5em;
  color: #CC0000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-games-lottery-keno-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-games-lottery-keno-rules__cta-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #CC0000; /* Adjusted for contrast */
  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;
  border: 2px solid #FFCC00;
}

.page-games-lottery-keno-rules__cta-button:hover {
  background-color: #CC0000;
  color: #fff; /* Adjusted for contrast */
  transform: translateY(-3px);
  border-color: #CC0000;
}

.page-games-lottery-keno-rules__cta-button--secondary {
  background-color: #CC0000;
  color: #fff;
  border-color: #CC0000;
}

.page-games-lottery-keno-rules__cta-button--secondary:hover {
  background-color: #FFCC00;
  color: #CC0000;
  border-color: #FFCC00;
}

.page-games-lottery-keno-rules__cta-button--primary {
  background-color: #CC0000;
  color: #fff;
  border-color: #CC0000;
}

.page-games-lottery-keno-rules__cta-button--primary:hover {
  background-color: #FFCC00;
  color: #CC0000;
  border-color: #FFCC00;
}

.page-games-lottery-keno-rules__cta-button--outline {
  background-color: transparent;
  color: #CC0000;
  border-color: #CC0000;
}

.page-games-lottery-keno-rules__cta-button--outline:hover {
  background-color: #CC0000;
  color: #fff;
}

.page-games-lottery-keno-rules__center-cta {
  text-align: center;
  margin-top: 40px;
}

.page-games-lottery-keno-rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-games-lottery-keno-rules__grid-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #CC0000;
}

.page-games-lottery-keno-rules__grid-item:hover {
  transform: translateY(-5px);
}

.page-games-lottery-keno-rules__grid-item h3 {
  color: #CC0000;
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-games-lottery-keno-rules__grid-item p {
  color: #555;
  font-size: 0.95em;
}

.page-games-lottery-keno-rules__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-games-lottery-keno-rules__content-block {
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fdfdfd;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-games-lottery-keno-rules__content-block h3 {
  color: #CC0000;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-games-lottery-keno-rules__content-block p {
  color: #444;
  margin-bottom: 10px;
}

.page-games-lottery-keno-rules__content-block ul,
.page-games-lottery-keno-rules__content-block ol {
  margin-left: 25px;
  color: #444;
  margin-bottom: 15px;
}

.page-games-lottery-keno-rules__content-block li {
  margin-bottom: 8px;
}

.page-games-lottery-keno-rules__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.page-games-lottery-keno-rules__content-image--left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  width: 40%;
  max-width: 300px;
}

.page-games-lottery-keno-rules__content-image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  width: 40%;
  max-width: 300px;
}

.page-games-lottery-keno-rules__content-block::after {
  content: '';
  display: table;
  clear: both;
}

.page-games-lottery-keno-rules__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.page-games-lottery-keno-rules__faq-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-games-lottery-keno-rules__faq-question {
  font-size: 1.3em;
  color: #CC0000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-games-lottery-keno-rules__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-games-lottery-keno-rules__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-games-lottery-keno-rules__faq-answer {
  color: #555;
  display: none;
  padding-top: 10px;
  border-top: 1px dashed #eee;
  margin-top: 10px;
}

.page-games-lottery-keno-rules__faq-answer.active {
  display: block;
}

.page-games-lottery-keno-rules__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

.page-games-lottery-keno-rules__final-cta p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #444;
}

.page-games-lottery-keno-rules__final-cta .page-games-lottery-keno-rules__cta-button {
  margin: 0 10px;
}

.page-games-lottery-keno-rules a {
  color: #CC0000;
  text-decoration: none;
}

.page-games-lottery-keno-rules a:hover {
  text-decoration: underline;
}

.page-games-lottery-keno-rules .highlight-text {
  color: #CC0000;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-games-lottery-keno-rules__title {
    font-size: 2.8em;
  }
  .page-games-lottery-keno-rules__subtitle {
    font-size: 1.1em;
  }
  .page-games-lottery-keno-rules__section-title {
    font-size: 2em;
  }
  .page-games-lottery-keno-rules__content-image--left,
  .page-games-lottery-keno-rules__content-image--right {
    float: none;
    margin: 20px auto;
    width: 80%;
    max-width: 400px;
  }
  .page-games-lottery-keno-rules__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-games-lottery-keno-rules__hero {
    padding: 60px 15px;
  }
  .page-games-lottery-keno-rules__title {
    font-size: 2.2em;
  }
  .page-games-lottery-keno-rules__subtitle {
    font-size: 1em;
  }
  .page-games-lottery-keno-rules__section {
    padding: 40px 15px;
  }
  .page-games-lottery-keno-rules__section-title {
    font-size: 1.8em;
  }
  .page-games-lottery-keno-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-games-lottery-keno-rules__final-cta .page-games-lottery-keno-rules__cta-button {
    display: block;
    margin: 15px auto;
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-games-lottery-keno-rules__title {
    font-size: 1.8em;
  }
  .page-games-lottery-keno-rules__section-title {
    font-size: 1.5em;
  }
  .page-games-lottery-keno-rules__grid-item h3 {
    font-size: 1.3em;
  }
  .page-games-lottery-keno-rules__content-block h3 {
    font-size: 1.5em;
  }
  .page-games-lottery-keno-rules__faq-question {
    font-size: 1.1em;
  }
}