.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default body background */
}

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

/* Hero Section */
.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9; /* Light background for hero */
}

.page-game-guides__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-game-guides__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

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

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

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

/* Buttons */
.page-game-guides__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-game-guides__cta-buttons--center {
  margin-top: 30px;
  margin-bottom: 30px;
}

.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: 1.05rem;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-game-guides__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
}

/* General Section Styles */
.page-game-guides__introduction-section,
.page-game-guides__game-types-section,
.page-game-guides__get-started-section,
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__why-guides-section,
.page-game-guides__strategies-section {
  padding: 60px 0;
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-game-guides__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

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

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

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

.page-game-guides__text-block--white {
  color: #f0f0f0;
}

/* Grid Layouts */
.page-game-guides__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-game-guides__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-game-guides__card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-guides__card--dark .page-game-guides__card-title {
  color: #FFFF00;
}

/* Article Content */
.page-game-guides__article-body {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-game-guides__game-guide-article {
  margin-bottom: 60px;
}

.page-game-guides__article-subtitle {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: #017439;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: left;
}

.page-game-guides__game-guide-article h4 {
  font-size: 1.3rem;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides__game-guide-article p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
}

.page-game-guides__game-guide-article ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-game-guides__game-guide-article ul li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-game-guides__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  object-fit: cover; /* Ensures image covers area without distortion */
}

/* Steps Grid */
.page-game-guides__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-game-guides__step-card {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

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

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: #f5f5f5;
}

.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__container {
    padding: 20px 30px;
  }

  .page-game-guides__hero-image img {
    max-height: 500px;
  }
}

@media (max-width: 849px) {
  .page-game-guides__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-game-guides__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section */
  .page-game-guides__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-game-guides__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Sections */
  .page-game-guides__introduction-section,
  .page-game-guides__game-types-section,
  .page-game-guides__get-started-section,
  .page-game-guides__faq-section,
  .page-game-guides__why-guides-section,
  .page-game-guides__strategies-section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-game-guides__text-block {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Grid Layouts */
  .page-game-guides__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-game-guides__card {
    padding: 25px;
  }

  .page-game-guides__card-title {
    font-size: 1.3rem;
  }

  /* Article Content */
  .page-game-guides__article-body {
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .page-game-guides__game-guide-article {
    margin-bottom: 40px;
  }

  .page-game-guides__article-subtitle {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-game-guides__game-guide-article h4 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides__game-guide-article p,
  .page-game-guides__game-guide-article ul li {
    font-size: 0.95rem;
  }

  .page-game-guides__article-image {
    margin: 20px 0;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Steps Grid */
  .page-game-guides__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-game-guides__step-card {
    padding: 20px;
  }

  .page-game-guides__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-game-guides__step-title {
    font-size: 1.2rem;
  }

  /* FAQ Section */
  .page-game-guides__faq-list {
    padding: 0 15px;
  }

  details.page-game-guides__faq-item summary.page-game-guides__faq-question {
    padding: 15px;
  }

  .page-game-guides__faq-qtext {
    font-size: 15px;
  }

  details.page-game-guides__faq-item .page-game-guides__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Universal image and container adaptation */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__hero-section,
  .page-game-guides__introduction-section,
  .page-game-guides__why-guides-section,
  .page-game-guides__game-types-section,
  .page-game-guides__strategies-section,
  .page-game-guides__get-started-section,
  .page-game-guides__faq-section,
  .page-game-guides__card,
  .page-game-guides__step-card,
  .page-game-guides__game-guide-article {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

  .page-game-guides__products-grid {
    /* If game guides had a product grid, this would apply */
    grid-template-columns: 1fr 1fr;
    overflow-x: hidden;
  }
}