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

/* Base styling for the page content */
.page-resources-game-strategy {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-game-strategy__hero-section {
  background-color: #007bff; /* Primary brand color for hero background */
  color: #ffffff; /* White text for dark hero background */
  padding: 60px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-game-strategy__hero-content-wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column; /* Default for mobile, stack vertically */
  align-items: center;
  gap: 40px;
}

.page-resources-game-strategy__hero-text-container {
  max-width: 700px; /* Constrain text width */
  text-align: center;
}

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

.page-resources-game-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-game-strategy__cta-button {
  display: inline-block;
  background-color: #28a745; /* Auxiliary color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__cta-button:hover {
  background-color: #218838;
}

.page-resources-game-strategy__hero-image-container {
  width: 100%; /* Take full width on small screens */
  max-width: 800px; /* Max width for image on larger screens */
  text-align: center;
}

.page-resources-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforced by prompt */
  min-height: 200px; /* Enforced by prompt */
}

.page-resources-game-strategy__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-game-strategy__intro-paragraph {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: justify;
}

.page-resources-game-strategy__section-title {
  font-size: 2.2em;
  color: #007bff; /* Primary color for main section titles */
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-resources-game-strategy__sub-section-title {
  font-size: 1.8em;
  color: #0056b3; /* Slightly darker primary for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-game-strategy__game-sub-title {
  font-size: 1.5em;
  color: #0069d9;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-game-strategy__content-area p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-game-strategy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-resources-game-strategy__list-item {
  margin-bottom: 10px;
}

.page-resources-game-strategy__nested-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 5px;
}

.page-resources-game-strategy__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-resources-game-strategy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it takes up its own line */
  margin: 0 auto; /* Center the image */
  min-width: 200px; /* Enforced by prompt */
  min-height: 200px; /* Enforced by prompt */
}

.page-resources-game-strategy__secondary-button {
  display: inline-block;
  background-color: #6c757d; /* Grey for secondary actions */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: normal;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-resources-game-strategy__secondary-button:hover {
  background-color: #5a6268;
}

.page-resources-game-strategy__cta-wrapper {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-resources-game-strategy__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-resources-game-strategy__secondary-button--back {
  background-color: #007bff; /* Primary color for back button */
  margin-top: 0;
}

.page-resources-game-strategy__secondary-button--back:hover {
  background-color: #0056b3;
}

.page-resources-game-strategy__scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5em;
  cursor: pointer;
  display: none; /* Hidden by default */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.page-resources-game-strategy__scroll-to-top:hover {
  background-color: #0056b3;
}

/* Responsive adjustments */
@media (min-width: 992px) {
  .page-resources-game-strategy__hero-content-wrapper {
    flex-direction: row; /* Side-by-side on larger screens */
    justify-content: space-between;
    text-align: left;
  }

  .page-resources-game-strategy__hero-text-container {
    text-align: left;
    flex: 1; /* Allow text to grow */
    padding-right: 40px; /* Space between text and image */
  }

  .page-resources-game-strategy__hero-image-container {
    flex: 1; /* Allow image to grow */
    max-width: 50%; /* Image takes up to half width */
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategy__hero-title {
    font-size: 2.5em;
  }

  .page-resources-game-strategy__hero-description {
    font-size: 1.1em;
  }

  .page-resources-game-strategy__section-title {
    font-size: 1.8em;
  }

  .page-resources-game-strategy__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-game-strategy__game-sub-title {
    font-size: 1.3em;
  }

  .page-resources-game-strategy__content-area {
    margin: 20px auto;
    padding: 0 15px;
  }
  
  /* Mobile content image constraint */
  .page-resources-game-strategy__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size is maintained */
    min-height: 200px; /* Ensure min size is maintained */
  }

  .page-resources-game-strategy__cta-button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}

@media (max-width: 480px) {
  .page-resources-game-strategy__hero-title {
    font-size: 2em;
  }

  .page-resources-game-strategy__hero-description {
    font-size: 1em;
  }

  .page-resources-game-strategy__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-game-strategy__section-title {
    font-size: 1.6em;
  }

  .page-resources-game-strategy__sub-section-title {
    font-size: 1.3em;
  }
}