/* style/game-strategies.css */

/* Base styles for the page */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

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

.page-game-strategies__section {
  padding: 60px 0;
}

.page-game-strategies__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-strategies__section-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-game-strategies__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-game-strategies__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-game-strategies__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-game-strategies__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-strategies__main-title {
  font-size: clamp(32px, 5vw, 48px);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-strategies__description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
  text-align: center;
}

.page-game-strategies__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Buttons */
.page-game-strategies__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-game-strategies__btn-primary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

.page-game-strategies__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-game-strategies__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Dark Section */
.page-game-strategies__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__dark-section .page-game-strategies__section-title,
.page-game-strategies__dark-section .page-game-strategies__section-subtitle {
  color: #ffffff;
}

/* Grid for Featured Strategies */
.page-game-strategies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-strategies__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-strategies__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-strategies__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin: 0 15px 10px 15px;
  font-weight: bold;
}

.page-game-strategies__card-text {
  font-size: 16px;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-strategies__card .page-game-strategies__btn-secondary {
  margin-top: auto;
  align-self: center;
}

/* Tips Section */
.page-game-strategies__tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-game-strategies__tip-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-game-strategies__tip-title {
  font-size: 20px;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-strategies__tip-text {
  font-size: 16px;
  color: #555555;
}

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

.page-game-strategies__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-game-strategies__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-game-strategies__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

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

.page-game-strategies__faq-answer {
  padding: 15px 25px;
  font-size: 16px;
  color: #555555;
  border-top: none;
}

/* Additional Resources */
.page-game-strategies__additional-resources {
  text-align: center;
  background-color: #f0f8ff;
}

.page-game-strategies__resource-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategies__hero-content {
    max-width: 700px;
  }
}

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

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

  .page-game-strategies__section-title {
    font-size: 28px;
  }

  .page-game-strategies__section-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-game-strategies__main-title {
    font-size: 32px;
  }

  .page-game-strategies__description {
    font-size: 18px;
  }

  /* Images responsive */
  .page-game-strategies img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategies__hero-image-wrapper,
  .page-game-strategies__card,
  .page-game-strategies__tip-card,
  .page-game-strategies__faq-item,
  .page-game-strategies__cta-buttons,
  .page-game-strategies__resource-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary,
  .page-game-strategies a[class*="button"],
  .page-game-strategies 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;
  }

  .page-game-strategies__cta-buttons,
  .page-game-strategies__resource-links {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-strategies__card-image {
    height: 180px;
  }

  .page-game-strategies__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-game-strategies__faq-answer {
    padding: 10px 20px;
    font-size: 15px;
  }
  
  .page-game-strategies__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-game-strategies__section-title {
    font-size: 24px;
  }

  .page-game-strategies__main-title {
    font-size: 28px;
  }

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

  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-game-strategies__card-title {
    font-size: 20px;
  }

  .page-game-strategies__tip-title {
    font-size: 18px;
  }
}