.page-game-guides {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  position: relative; /* Ensure content is above image if image is a sibling */
  z-index: 1;
  padding: 40px 20px 60px;
  max-width: 960px;
  margin: 0 auto;
}

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-game-guides__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 44px;
  box-sizing: border-box;
}

.page-game-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D;
}

.page-game-guides__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__guide-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #1F2D3D;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  line-height: 1.4;
  color: #000000;
}

.page-game-guides__card-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  padding: 0 20px;
  flex-grow: 1;
}

.page-game-guides__read-more {
  display: inline-block;
  color: #2F6BFF;
  font-weight: 600;
  margin: 20px;
  text-decoration: none;
}

.page-game-guides__read-more:hover {
  text-decoration: underline;
}

.page-game-guides__faq-section {
  background-color: #F4F7FB;
}

.page-game-guides__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-game-guides__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-game-guides__faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.page-game-guides__faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-game-guides__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-game-guides__faq-answer a:hover {
  text-decoration: underline;
}

.page-game-guides__cta-bottom {
  text-align: center;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-game-guides__cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-game-guides__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-button--secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__cta-button--secondary:hover {
  background: #E0E0E0;
  color: #2F6BFF;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-game-guides__hero-section {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .page-game-guides__hero-image-wrapper {
    order: 1;
    aspect-ratio: 16/9;
    width: 100%;
  }

  .page-game-guides__hero-content {
    order: 2;
    padding: 30px 20px;
    text-align: center;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-game-guides__cta-button {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .page-game-guides__section-title {
    font-size: 2rem;
  }

  .page-game-guides__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-game-guides__cta-title {
    font-size: 2rem;
  }

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

  .page-game-guides__card-image {
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

  .page-game-guides__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-game-guides__card-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-game-guides__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

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

  .page-game-guides__section-title {
    font-size: 1.8rem;
  }

  .page-game-guides__cta-title {
    font-size: 1.8rem;
  }

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

  .page-game-guides__faq-question {
    font-size: 1.1rem;
  }
}