/* style/resources-game-strategies-tips.css */

/* Base Styles & Typography */
.page-resources-game-strategies-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8; /* A very light grey for subtle contrast */
  padding-top: 0; /* Handled by shared.css or hero-section if needed */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-resources-game-strategies-tips__section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-game-strategies-tips__dark-bg {
  background-color: var(--secondary-color, #000080); /* Navy blue */
  color: #ffffff; /* White text on dark background */
}

.page-resources-game-strategies-tips__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text */
}

.page-resources-game-strategies-tips__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--secondary-color, #000080); /* Navy blue for titles on light background */
}

.page-resources-game-strategies-tips__section-title--white {
  color: #ffffff; /* White for titles on dark background */
}

.page-resources-game-strategies-tips__text-block {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

.page-resources-game-strategies-tips__text-block--white {
  color: #f0f0f0; /* Slightly off-white for better contrast on navy */
}

.page-resources-game-strategies-tips__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-resources-game-strategies-tips__list--white {
  color: #f0f0f0;
}

.page-resources-game-strategies-tips__list-item {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.7;
  position: relative;
  padding-left: 30px;
}

.page-resources-game-strategies-tips__list-item::before {
  content: '✓';
  color: var(--primary-color, #FFD700); /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

/* Hero Section */
.page-resources-game-strategies-tips__hero-section {
  position: relative;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-game-strategies-tips__hero-section .page-resources-game-strategies-tips__container {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
}

.page-resources-game-strategies-tips__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-color, #FFD700); /* Gold title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-game-strategies-tips__description {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-resources-game-strategies-tips__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding and border in width */
}

.page-resources-game-strategies-tips__btn-primary {
  background: var(--primary-color, #FFD700); /* Gold */
  color: #000080; /* Navy text on gold for contrast */
}

.page-resources-game-strategies-tips__btn-primary:hover {
  background: #e0c200; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategies-tips__btn-secondary {
  background: transparent;
  color: var(--primary-color, #FFD700); /* Gold text */
  border: 2px solid var(--primary-color, #FFD700); /* Gold border */
}

.page-resources-game-strategies-tips__btn-secondary:hover {
  background: var(--primary-color, #FFD700); /* Gold background */
  color: #000080; /* Navy text */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategies-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2; /* Subtle background image */
}

/* Feature Grid Section */
.page-resources-game-strategies-tips__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-resources-game-strategies-tips__feature-item:hover {
  transform: translateY(-5px);
}

.page-resources-game-strategies-tips__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-resources-game-strategies-tips__feature-title {
  font-size: 24px;
  color: var(--secondary-color, #000080);
  margin-bottom: 15px;
}

/* Image Full Width */
.page-resources-game-strategies-tips__image-full {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

/* Game Strategies Grid */
.page-resources-game-strategies-tips__game-strategies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-game-strategies-tips__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-resources-game-strategies-tips__game-card:hover {
  transform: translateY(-5px);
}

.page-resources-game-strategies-tips__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-resources-game-strategies-tips__game-card-content {
  padding: 25px;
}

.page-resources-game-strategies-tips__game-card-title {
  font-size: 22px;
  color: var(--secondary-color, #000080);
  margin-bottom: 15px;
}

.page-resources-game-strategies-tips__game-card-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: #555555;
}

.page-resources-game-strategies-tips__game-card-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-resources-game-strategies-tips__btn-link {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: var(--primary-color, #FFD700);
  color: #000080;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-game-strategies-tips__btn-link:hover {
  background: #e0c200;
  transform: translateY(-2px);
}

/* CTA Section */
.page-resources-game-strategies-tips__cta-section {
  padding: 100px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-strategies-tips__main-title {
    font-size: 44px;
  }
  .page-resources-game-strategies-tips__description {
    font-size: 20px;
  }
  .page-resources-game-strategies-tips__section-title {
    font-size: 32px;
  }
  .page-resources-game-strategies-tips__hero-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategies-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-game-strategies-tips__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    min-height: 450px;
  }

  .page-resources-game-strategies-tips__container {
    padding: 0 15px; /* Smaller padding for mobile */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-strategies-tips__section {
    padding: 40px 0;
  }

  .page-resources-game-strategies-tips__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources-game-strategies-tips__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-game-strategies-tips__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources-game-strategies-tips__text-block,
  .page-resources-game-strategies-tips__list-item {
    font-size: 16px;
  }

  .page-resources-game-strategies-tips__cta-group {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px; /* Ensure buttons have padding and don't touch edges */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-strategies-tips__cta-button {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-game-strategies-tips__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Images responsive on mobile */
  .page-resources-game-strategies-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0; /* Container handles padding */
  }
  
  .page-resources-game-strategies-tips__container,
  .page-resources-game-strategies-tips__feature-grid,
  .page-resources-game-strategies-tips__game-strategies-grid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-game-strategies-tips__feature-item,
  .page-resources-game-strategies-tips__game-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-strategies-tips__game-card-image {
    height: 200px; /* Adjust height for mobile */
  }
}