/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

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

.page-game-guides__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-guides__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-game-guides__text-block {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-game-guides__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF; /* White text for dark hero background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__lead-text {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 30px;
  color: #F0F0F0;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

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

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

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

/* Grid Layout for sections */
.page-game-guides__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-game-guides__grid-2-col--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-game-guides__grid-2-col .page-game-guides__text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-game-guides__grid-2-col .page-game-guides__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__grid-2-col .page-game-guides__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Section specific styles */
.page-game-guides__introduction .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__sports-betting .page-game-guides__section-title {
  color: #FFFFFF;
}

.page-game-guides__sports-betting .page-game-guides__text-block {
  color: #F0F0F0;
}

.page-game-guides__casino-strategy .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__slots-fishing .page-game-guides__section-title {
  color: #FFFFFF;
}

.page-game-guides__slots-fishing .page-game-guides__text-block {
  color: #F0F0F0;
}

/* FAQ Section */
.page-game-guides__faq-section {
  text-align: left;
}

.page-game-guides__faq-section .page-game-guides__section-title {
  color: #26A9E0;
  text-align: center;
}

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

.page-game-guides__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-game-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  outline: none;
  background-color: #f8f8f8;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #555555;
  text-align: justify;
  border-top: 1px solid #eee;
}

.page-game-guides__faq-answer p {
  margin-bottom: 10px;
}

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

/* CTA Section */
.page-game-guides__cta-section {
  padding: 80px 0;
}

.page-game-guides__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__cta-section .page-game-guides__section-title {
  color: #FFFFFF;
}

.page-game-guides__cta-section .page-game-guides__text-block {
  color: #F0F0F0;
  margin-bottom: 40px;
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Color Contrast Classes */
.page-game-guides__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-guides__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__dark-section .page-game-guides__section-title {
  color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-game-guides__grid-2-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-game-guides__grid-2-col--reverse {
    grid-template-columns: 1fr;
  }

  .page-game-guides__grid-2-col .page-game-guides__image-container {
    order: -1; /* Image appears above text on smaller screens */
  }

  .page-game-guides__hero-content {
    padding: 0 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(30px, 8vw, 48px);
  }

  .page-game-guides__lead-text {
    font-size: clamp(16px, 3vw, 20px);
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-game-guides__text-block {
    font-size: 16px;
  }

  /* Mobile responsive images */
  .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-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive buttons */
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="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;
    margin: 10px 0 !important; /* Adjust margins for vertical stacking */
  }
  
  .page-game-guides__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* FAQ items */
  .page-game-guides__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-game-guides__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }

  /* Padding for sections on mobile */
  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* Body handles offset, small decorative padding */
  }
}