/* style/game-strategy-guides.css */

/* Base Styles for the page content, ensuring light text on dark body background */
.page-game-strategy-guides {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-game-strategy-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #000000; /* Dark background for hero section */
}

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

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

.page-game-strategy-guides__hero-content {
  max-width: 800px;
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
}

.page-game-strategy-guides__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-strategy-guides__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Buttons */
.page-game-strategy-guides__btn-primary,
.page-game-strategy-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Section Titles and Text Blocks */
.page-game-strategy-guides__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-game-strategy-guides__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Light Background Section */
.page-game-strategy-guides__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

/* Dark Background Section */
.page-game-strategy-guides__dark-bg {
  background-color: #000000; /* Black background */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

/* Introduction Section */
.page-game-strategy-guides__introduction .page-game-strategy-guides__text-block {
  text-align: left;
}
.page-game-strategy-guides__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Game Strategies Grid */
.page-game-strategy-guides__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-strategy-guides__strategy-card {
  background-color: #ffffff; /* Light background for cards */
  color: #333333; /* Dark text for cards */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-game-strategy-guides__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-strategy-guides__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 0 15px 10px;
  font-weight: 600;
}

.page-game-strategy-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-strategy-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-strategy-guides__card-description {
  font-size: 0.95em;
  color: #555555;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-game-strategy-guides__strategy-card .page-game-strategy-guides__btn-secondary {
  margin: 0 auto; /* Center button */
  width: fit-content;
}

/* Expert Tips Section */
.page-game-strategy-guides__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-game-strategy-guides__tip-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-game-strategy-guides__tip-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-game-strategy-guides__tip-description {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.6;
}

/* CTA Section */
.page-game-strategy-guides__cta-section {
  text-align: center;
}

.page-game-strategy-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

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

.page-game-strategy-guides__faq-item {
  background-color: #f8f8f8; /* Light background for FAQ items */
  color: #333333; /* Dark text for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-game-strategy-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: #eaf7ff; /* Lighter background for question summary */
  color: #26A9E0;
  border-bottom: 1px solid #d0e7f7;
}

.page-game-strategy-guides__faq-question:hover {
  background-color: #e0f2ff;
}

.page-game-strategy-guides__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on entire summary */
}

.page-game-strategy-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Allow click on entire summary */
}

.page-game-strategy-guides__faq-item[open] .page-game-strategy-guides__faq-question {
  border-bottom: 1px solid transparent; /* Remove border when open */
}

.page-game-strategy-guides__faq-answer {
  padding: 20px 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

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

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

.page-game-strategy-guides__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}
.page-game-strategy-guides__faq-answer a:hover {
  text-decoration: none;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-strategy-guides__hero-content {
    max-width: 700px;
  }
  .page-game-strategy-guides__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-strategy-guides__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-game-strategy-guides__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-game-strategy-guides__main-title {
    font-size: 2em;
  }

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

  .page-game-strategy-guides__btn-primary,
  .page-game-strategy-guides__btn-secondary {
    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-strategy-guides__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-game-strategy-guides__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-game-strategy-guides__text-block {
    text-align: left;
    padding: 0 15px;
  }

  .page-game-strategy-guides__container {
    padding: 0 15px;
  }

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

  .page-game-strategy-guides__strategy-card {
    margin: 0 15px;
  }

  .page-game-strategy-guides__tips-list {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-game-strategy-guides__tip-item {
    margin-bottom: 20px;
  }

  .page-game-strategy-guides__faq-list {
    padding: 0 15px;
  }

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

  .page-game-strategy-guides__section,
  .page-game-strategy-guides__card,
  .page-game-strategy-guides__container,
  .page-game-strategy-guides__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific padding for sections to avoid double padding if container already has it */
  .page-game-strategy-guides__introduction,
  .page-game-strategy-guides__game-strategies,
  .page-game-strategy-guides__expert-tips,
  .page-game-strategy-guides__cta-section,
  .page-game-strategy-guides__faq-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-strategy-guides__card-image {
    height: auto; /* Allow height to adjust for mobile */
    max-height: 200px; /* Keep a max height if needed */
  }
}

/* Ensure no filter on images */
.page-game-strategy-guides img {
  filter: none !important;
}