/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Main content area, let body handle background */
}

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  background-color: #26A9E0; /* Main brand color for hero */
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-game-guides__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-game-guides__intro-section,
.page-game-guides__specific-guides-section,
.page-game-guides__benefits-section,
.page-game-guides__final-cta-section {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-game-guides__general-strategy-section,
.page-game-guides__download-section,
.page-game-guides__faq-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-game-guides__general-strategy-section .page-game-guides__section-title,
.page-game-guides__download-section .page-game-guides__section-title,
.page-game-guides__faq-section .page-game-guides__section-title {
  color: #FFFFFF;
}

.page-game-guides__general-strategy-section .page-game-guides__text-block,
.page-game-guides__download-section .page-game-guides__text-block,
.page-game-guides__faq-section .page-game-guides__text-block {
  color: #FFFFFF;
}

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

.page-game-guides__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__strategy-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-game-guides__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-game-guides__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-game-guides__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-game-guides__download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-game-guides__download-text {
  flex: 1;
  min-width: 300px;
}

.page-game-guides__download-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-game-guides__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__download-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-game-guides__download-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFFFFF;
}

.page-game-guides__download-list a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-game-guides__download-list a:hover {
  color: #EA7C07;
}

.page-game-guides__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-game-guides__benefits-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
  position: relative;
  padding-left: 30px;
}

.page-game-guides__benefits-list li strong {
  color: #26A9E0;
}

.page-game-guides__benefits-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #26A9E0;
}

.page-game-guides__benefits-list a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-game-guides__benefits-list a:hover {
  color: #007bff;
}

.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-answer p {
  margin-bottom: 0;
  color: #FFFFFF;
}

/* Details element specific styling */
.page-game-guides__faq-item summary {
  list-style: none;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-guides__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-game-guides__cta-content {
  max-width: 800px;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb3;
  border-color: #1a7fb3;
}

/* General image responsiveness */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images must be at least 200px */
.page-game-guides__card-image,
.page-game-guides__download-image {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-guides__hero-title {
    font-size: 2.5em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-game-guides__download-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-game-guides__hero-title {
    font-size: 2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__strategy-grid,
  .page-game-guides__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__game-card {
    margin-bottom: 20px;
  }
  .page-game-guides__card-image {
    height: 200px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

  /* Mobile image responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Mobile video responsiveness */
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-guides__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__cta-button,
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides 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-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-game-guides__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}