/* style/resources-game-strategy-basics.css */
.page-resources-game-strategy-basics {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-game-strategy-basics__hero-section {
  position: relative;
  background-color: #26A9E0;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-resources-game-strategy-basics__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-game-strategy-basics__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-resources-game-strategy-basics__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-game-strategy-basics__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(50%); /* Allowed for stylistic effects that don't change color hue */
}

.page-resources-game-strategy-basics__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-game-strategy-basics__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-game-strategy-basics__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-resources-game-strategy-basics__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-game-strategy-basics__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: left;
}

.page-resources-game-strategy-basics__list {
  list-style: disc inside;
  text-align: left;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-resources-game-strategy-basics__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-game-strategy-basics__image-block {
  margin: 40px auto;
  max-width: 1000px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy-basics__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-resources-game-strategy-basics__cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-resources-game-strategy-basics__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-game-strategy-basics__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-resources-game-strategy-basics__btn-primary:hover {
  background-color: #1a7fb3;
  transform: translateY(-3px);
}

.page-resources-game-strategy-basics__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-resources-game-strategy-basics__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7fb3;
  transform: translateY(-3px);
}

/* Color Contrast Specifics */
.page-resources-game-strategy-basics__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-game-strategy-basics__dark-bg .page-resources-game-strategy-basics__section-title,
.page-resources-game-strategy-basics__dark-bg .page-resources-game-strategy-basics__sub-title {
  color: #FFFFFF;
}

.page-resources-game-strategy-basics__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-game-strategy-basics__light-bg .page-resources-game-strategy-basics__section-title,
.page-resources-game-strategy-basics__light-bg .page-resources-game-strategy-basics__sub-title {
  color: #26A9E0;
}

/* FAQ Section */
.page-resources-game-strategy-basics__faq-section {
  padding-bottom: 80px;
}

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

.page-resources-game-strategy-basics__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-game-strategy-basics__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-resources-game-strategy-basics__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-game-strategy-basics__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-game-strategy-basics__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-resources-game-strategy-basics__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-strategy-basics__hero-title {
    font-size: 2.8em;
  }
  .page-resources-game-strategy-basics__section-title {
    font-size: 2.2em;
  }
  .page-resources-game-strategy-basics__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategy-basics__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-game-strategy-basics__hero-title {
    font-size: 2em;
  }
  .page-resources-game-strategy-basics__hero-description {
    font-size: 1em;
  }
  .page-resources-game-strategy-basics__section {
    padding: 40px 15px;
  }
  .page-resources-game-strategy-basics__section-title {
    font-size: 1.8em;
  }
  .page-resources-game-strategy-basics__sub-title {
    font-size: 1.4em;
  }
  .page-resources-game-strategy-basics__paragraph,
  .page-resources-game-strategy-basics__list-item,
  .page-resources-game-strategy-basics__faq-item summary,
  .page-resources-game-strategy-basics__faq-answer p {
    font-size: 1em;
  }

  /* Mobile Image Responsiveness */
  .page-resources-game-strategy-basics img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure content images take full width */
    height: auto !important;
    display: block !important;
  }
  .page-resources-game-strategy-basics__image-block,
  .page-resources-game-strategy-basics__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Mobile Button Responsiveness */
  .page-resources-game-strategy-basics__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-game-strategy-basics__cta-button,
  .page-resources-game-strategy-basics__btn-primary,
  .page-resources-game-strategy-basics__btn-secondary,
  .page-resources-game-strategy-basics a[class*="button"],
  .page-resources-game-strategy-basics 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-resources-game-strategy-basics__content-area,
  .page-resources-game-strategy-basics__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-game-strategy-basics__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-game-strategy-basics__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-game-strategy-basics__hero-title {
    font-size: 1.8em;
  }
  .page-resources-game-strategy-basics__section-title {
    font-size: 1.6em;
  }
  .page-resources-game-strategy-basics__sub-title {
    font-size: 1.2em;
  }
  .page-resources-game-strategy-basics__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}