/* style/game-guides.css */

/* Base styles for the game guides page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0a0a0a;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-game-guides__hero-content {
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

.page-game-guides__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles */
.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-game-guides__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Text Blocks */
.page-game-guides__text-block {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.page-game-guides__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Buttons */
.page-game-guides__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__learn-more-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-guides__learn-more-btn {
  margin-top: 20px;
}

/* Content Grid for sections */
.page-game-guides__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-game-guides__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-game-guides__content-grid--reverse .page-game-guides__text-content {
  order: 2;
}

.page-game-guides__content-grid--reverse .page-game-guides__image-wrapper {
  order: 1;
}

.page-game-guides__image-wrapper {
  text-align: center;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Section Backgrounds and Text Colors */
.page-game-guides__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-game-guides__light-bg .page-game-guides__section-title,
.page-game-guides__light-bg .page-game-guides__sub-title {
  color: #26A9E0;
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-game-guides__faq-answer p {
  margin: 0;
}

/* Conclusion Section */
.page-game-guides__conclusion {
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__content-grid {
    grid-template-columns: 1fr;
  }

  .page-game-guides__content-grid--reverse .page-game-guides__text-content {
    order: initial;
  }

  .page-game-guides__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-game-guides__hero-description {
    font-size: 1rem;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-game-guides__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  /* Images responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__hero-image-wrapper,
  .page-game-guides__image-wrapper,
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__intro-section,
  .page-game-guides__sports-guide,
  .page-game-guides__casino-guide,
  .page-game-guides__slot-guide,
  .page-game-guides__fishing-guide,
  .page-game-guides__cockfighting-guide,
  .page-game-guides__safety-guide,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__learn-more-btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}