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

/* Base styles for the page content */
.page-resources-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though shared.css defines var(--secondary-color) as #FFFFFF */
}

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

.page-resources-game-strategy__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-game-strategy__section--strategies {
  background-color: #f8f8f8;
}

.page-resources-game-strategy__section--specific-strategies {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text on primary color background */
}

.page-resources-game-strategy__section--tips {
  background-color: #ffffff;
}

.page-resources-game-strategy__section--cta {
  background-color: #f0f8ff; /* Light blue tint */
  padding: 80px 0;
}

.page-resources-game-strategy__section--faq,
.page-resources-game-strategy__section--blog {
  background-color: #f8f8f8;
}

.page-resources-game-strategy__section-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #26A9E0; /* Primary color for titles */
  font-weight: bold;
}

.page-resources-game-strategy__section-title--white {
  color: #ffffff;
}

.page-resources-game-strategy__sub-title {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0; /* Primary color for sub-titles */
}

.page-resources-game-strategy__section--specific-strategies .page-resources-game-strategy__sub-title {
  color: #ffffff;
}

.page-resources-game-strategy__paragraph {
  font-size: 17px;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-resources-game-strategy__paragraph--white {
  color: #ffffff;
}

.page-resources-game-strategy__highlight {
  font-weight: bold;
  color: #26A9E0; /* Highlight with primary color */
}

.page-resources-game-strategy__section--specific-strategies .page-resources-game-strategy__highlight {
  color: #ffffff; /* Highlight with white on dark background */
}

.page-resources-game-strategy__paragraph a,
.page-resources-game-strategy__tip-text a,
.page-resources-game-strategy__blog-excerpt a,
.page-resources-game-strategy__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-game-strategy__paragraph a:hover,
.page-resources-game-strategy__tip-text a:hover,
.page-resources-game-strategy__blog-excerpt a:hover,
.page-resources-game-strategy__faq-answer a:hover {
  color: #1a7bb5;
}

/* Hero Section */
.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); /* Fixed header offset */
  background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light gradient background for hero text area */
}

.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;
}

.page-resources-game-strategy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-resources-game-strategy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-resources-game-strategy__main-title {
  font-size: 42px;
  margin-bottom: 15px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-resources-game-strategy__intro-text {
  font-size: 19px;
  margin-bottom: 30px;
  color: #444444;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-game-strategy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-game-strategy__cta-button:hover {
  background: #1a7bb5; /* Darker shade on hover */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.4);
}

.page-resources-game-strategy__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

.page-resources-game-strategy__cta-button--secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-resources-game-strategy__cta-button--secondary:hover {
  background: #f0f8ff;
  color: #1a7bb5;
  border-color: #1a7bb5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Strategy Grid */
.page-resources-game-strategy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-game-strategy__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-resources-game-strategy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.page-resources-game-strategy__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-resources-game-strategy__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-game-strategy__card-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1; /* Allow text to grow and push elements down */
}

/* Specific Strategy Details */
.page-resources-game-strategy__content-block {
  margin-bottom: 40px;
  text-align: left;
}

.page-resources-game-strategy__image-full {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 25px 0;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-resources-game-strategy__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-game-strategy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 17px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-game-strategy__btn-primary:hover {
  background: #1a7bb5;
  transform: translateY(-2px);
}

.page-resources-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #26A9E0;
  text-decoration: none;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  font-size: 17px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Tips List */
.page-resources-game-strategy__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-resources-game-strategy__tip-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-game-strategy__tip-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}