.page-resources-game-strategy {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: var(--auxiliary-color, #FFFFFF);
  line-height: 1.6;
}

.page-resources-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color, #017439), var(--auxiliary-color, #FFFFFF));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-resources-game-strategy__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-game-strategy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #333333; /* Dark text for better contrast on potentially lighter gradient parts */
}

.page-resources-game-strategy__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--primary-color, #017439);
  font-weight: 700;
  line-height: 1.2;
}

.page-resources-game-strategy__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-game-strategy__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-game-strategy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  text-align: center;
}

.page-resources-game-strategy__cta-button--register {
  background: var(--register-color, #C30808);
  color: var(--register-font-color, #FFFF00);
  border: 2px solid var(--register-color, #C30808);
}

.page-resources-game-strategy__cta-button--register:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__cta-button--login {
  background: var(--login-color, #C30808);
  color: var(--login-font-color, #FFFF00);
  border: 2px solid var(--login-color, #C30808);
}

.page-resources-game-strategy__cta-button--login:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__cta-button--secondary {
  background: var(--auxiliary-color, #FFFFFF);
  color: var(--primary-color, #017439);
  border: 2px solid var(--primary-color, #017439);
}

.page-resources-game-strategy__cta-button--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__section {
  padding: 80px 20px;
  background-color: var(--background-color, #FFFFFF);
  text-align: center;
}

.page-resources-game-strategy__section--intro {
  background-color: #f9f9f9;
  padding-bottom: 40px;
}

.page-resources-game-strategy__section--strategies {
  background-color: var(--background-color, #FFFFFF);
}

.page-resources-game-strategy__section--faq {
  background-color: #f0f8f0; /* Light green tint */
}

.page-resources-game-strategy__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-game-strategy__section-title {
  font-size: 2.2em;
  color: var(--primary-color, #017439);
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-game-strategy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color, #017439);
  border-radius: 2px;
}

.page-resources-game-strategy__section-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
  text-align: left;
}

.page-resources-game-strategy__strategy-item {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  padding: 30px;
  border: 1px solid #e0e0e0;
}

.page-resources-game-strategy__strategy-heading {
  font-size: 1.8em;
  color: var(--primary-color, #017439);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources-game-strategy__strategy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-resources-game-strategy__strategy-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-resources-game-strategy__strategy-content p {
  color: #444444;
  font-size: 1.05em;
}

.page-resources-game-strategy__strategy-content ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-resources-game-strategy__strategy-content li {
  background: #e6ffe6; /* Light green background for list items */
  padding: 10px 15px;
  margin-bottom: 8px;
  border-left: 4px solid var(--primary-color, #017439);
  border-radius: 4px;
  font-size: 1em;
  color: #333333;
}

/* FAQ Styles */
.page-resources-game-strategy__faq-list {
  margin-top: 40px;
}

.page-resources-game-strategy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #fdfdfd;
  color: #555555;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
}

.page-resources-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-game-strategy__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-game-strategy__faq-question:active {
  background: #eeeeee;
}

.page-resources-game-strategy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color, #017439);
  pointer-events: none;
}

.page-resources-game-strategy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color, #017439);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--primary-color, #017439);
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-toggle {
  color: #ffffff;
  background-color: var(--primary-color, #017439);
  transform: rotate(45deg);
}

.page-resources-game-strategy__section--conclusion {
  background-color: #f9f9f9;
  padding-top: 60px;
}

.page-resources-game-strategy__cta-group--bottom {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-strategy__hero-title {
    font-size: 2.5em;
  }
  .page-resources-game-strategy__section-title {
    font-size: 2em;
  }
  .page-resources-game-strategy__strategy-heading {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-game-strategy__hero-image img {
    border-radius: 8px;
  }

  .page-resources-game-strategy__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-game-strategy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-game-strategy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-game-strategy__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-game-strategy__section {
    padding: 50px 15px;
  }

  .page-resources-game-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-game-strategy__section-text {
    font-size: 1em;
  }

  .page-resources-game-strategy__strategy-item {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-resources-game-strategy__strategy-heading {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .page-resources-game-strategy__strategy-content p,
  .page-resources-game-strategy__strategy-content li {
    font-size: 0.95em;
  }

  .page-resources-game-strategy__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-game-strategy__faq-question {
    padding: 15px;
  }

  .page-resources-game-strategy__faq-question h3 {
    font-size: 1em;
  }

  .page-resources-game-strategy__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
    padding: 15px !important;
  }

  .page-resources-game-strategy__cta-group--bottom {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all images and containers adapt to mobile */
  .page-resources-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-game-strategy__section,
  .page-resources-game-strategy__card,
  .page-resources-game-strategy__container,
  .page-resources-game-strategy__strategy-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific override for section padding for better visual */
  .page-resources-game-strategy__section {
    padding-left: 0;
    padding-right: 0;
  }
}