/* style/game-strategy-guides.css */
.page-game-strategy-guides {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
}

.page-game-strategy-guides__dark-bg {
  background: #E53935; /* Primary color as dark background */
  color: #ffffff; /* White text for dark background */
}

.page-game-strategy-guides__light-bg {
  background: #F5F7FA; /* Light background as specified */
  color: #333333; /* Dark text for light background */
}

.page-game-strategy-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  min-height: 500px;
}

.page-game-strategy-guides__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-game-strategy-guides__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

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

.page-game-strategy-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.page-game-strategy-guides__main-title {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategy-guides__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategy-guides__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-strategy-guides__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-game-strategy-guides__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 40px;
  color: inherit;
}

.page-game-strategy-guides__introduction p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-game-strategy-guides__text-link {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
}

.page-game-strategy-guides__text-link:hover {
  text-decoration: underline;
}

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

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

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

.page-game-strategy-guides__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-game-strategy-guides__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-game-strategy-guides__game-strategy-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 40px;
  padding: 30px;
  text-align: left;
  color: #ffffff;
}

.page-game-strategy-guides__game-strategy-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-game-strategy-guides__game-image {
  flex: 1;
  max-width: 45%;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 30px;
}

.page-game-strategy-guides__game-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-game-strategy-guides__game-content {
  flex: 1;
  max-width: 55%;
}

.page-game-strategy-guides__game-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FF5A4F;
}

.page-game-strategy-guides__game-content p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

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

.page-game-strategy-guides__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-game-strategy-guides__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Constrain height for uniform look */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-strategy-guides__feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-game-strategy-guides__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-game-strategy-guides__feature-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-game-strategy-guides__cta-block {
  margin-top: 60px;
  padding: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-game-strategy-guides__cta-block p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #333333;
}

.page-game-strategy-guides__mistake-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategy-guides__mistake-item {
  background: rgba(255, 255, 255, 0.15);
  border-left: 5px solid #FF5A4F;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #ffffff;
}

.page-game-strategy-guides__mistake-item strong {
  color: #FF5A4F;
}

.page-game-strategy-guides__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-game-strategy-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #FFFFFF;
  color: #333333;
}
details.page-game-strategy-guides__faq-item summary.page-game-strategy-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-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question:hover {
  background: #f5f5f5;
}
.page-game-strategy-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-game-strategy-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-strategy-guides__faq-item .page-game-strategy-guides__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-game-strategy-guides__conclusion p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-strategy-guides__game-strategy-item {
    flex-direction: column;
    padding: 20px;
  }
  .page-game-strategy-guides__game-strategy-item:nth-child(even) {
    flex-direction: column;
  }
  .page-game-strategy-guides__game-image {
    max-width: 100%;
    margin: 0 0 20px 0;
  }
  .page-game-strategy-guides__game-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-game-strategy-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 400px;
  }
  .page-game-strategy-guides__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-game-strategy-guides__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-game-strategy-guides__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-strategy-guides__section {
    padding: 60px 15px;
  }
  .page-game-strategy-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-strategy-guides__introduction p, .page-game-strategy-guides__conclusion p {
    font-size: 1em;
  }
  .page-game-strategy-guides__card-grid, .page-game-strategy-guides__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-strategy-guides__card, .page-game-strategy-guides__feature-card {
    padding: 20px;
  }
  .page-game-strategy-guides__card-title, .page-game-strategy-guides__feature-title {
    font-size: 1.3em;
  }
  .page-game-strategy-guides__game-strategy-item {
    padding: 20px 15px;
  }
  .page-game-strategy-guides__game-title {
    font-size: 1.5em;
  }
  .page-game-strategy-guides__game-content p {
    font-size: 0.95em;
  }
  .page-game-strategy-guides__cta-block {
    padding: 30px 20px;
  }
  .page-game-strategy-guides__cta-block p {
    font-size: 1.1em;
  }
  .page-game-strategy-guides__mistake-item {
    font-size: 1em;
    padding: 12px 15px;
  }
  details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question { padding: 15px; }
  .page-game-strategy-guides__faq-qtext { font-size: 15px; }

  /* Image responsiveness */
  .page-game-strategy-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-game-strategy-guides__container,
  .page-game-strategy-guides__section,
  .page-game-strategy-guides__card,
  .page-game-strategy-guides__feature-card,
  .page-game-strategy-guides__game-strategy-item,
  .page-game-strategy-guides__cta-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategy-guides__cta-buttons,
  .page-game-strategy-guides__button-group,
  .page-game-strategy-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-game-strategy-guides__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}