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

:root {
  --page-primary-color: #017439;
  --page-secondary-color: #FFFFFF;
  --page-text-color-dark: #333333;
  --page-text-color-light: #ffffff;
  --page-background-color-dark: #121212; /* From shared.css body background */
  --page-register-btn-bg: #C30808;
  --page-login-btn-bg: #C30808;
  --page-register-login-font: #FFFF00;
}

.page-resources-latest-game-strategies {
  color: var(--page-text-color-light); /* Body background is dark, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--page-background-color-dark);
}

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

.page-resources-latest-game-strategies__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: calc(var(--header-offset, 120px) + 60px); /* Ensure space for fixed header */
  text-align: center;
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #004d2b 100%);
  color: var(--page-text-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources-latest-game-strategies__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-register-login-font); /* Using yellow for highlight */
}

.page-resources-latest-game-strategies__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-latest-game-strategies__btn-primary,
.page-resources-latest-game-strategies__btn-secondary {
  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, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-latest-game-strategies__btn-primary {
  background-color: var(--page-register-btn-bg);
  color: var(--page-register-login-font);
  border: 2px solid var(--page-register-btn-bg);
}

.page-resources-latest-game-strategies__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-resources-latest-game-strategies__btn-secondary {
  background-color: transparent;
  color: var(--page-text-color-light);
  border: 2px solid var(--page-text-color-light);
}

.page-resources-latest-game-strategies__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-resources-latest-game-strategies__content-section {
  padding: 60px 0;
  background-color: var(--page-background-color-dark);
}

.page-resources-latest-game-strategies__light-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content */
  padding: 40px;
  border-radius: 10px;
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--page-register-login-font);
  font-weight: bold;
}

.page-resources-latest-game-strategies__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--page-primary-color);
  font-weight: bold;
}

.page-resources-latest-game-strategies__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-latest-game-strategies__list-item {
  margin-bottom: 10px;
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-resources-latest-game-strategies__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0d0d0d; /* Even darker background for video section */
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-latest-game-strategies__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  filter: none; /* Ensure no CSS filter is applied */
  cursor: pointer;
}

.page-resources-latest-game-strategies__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-resources-latest-game-strategies__faq-section {
  padding: 60px 0;
  background-color: var(--page-primary-color);
  color: var(--page-text-color-light);
}

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

.page-resources-latest-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-resources-latest-game-strategies__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-latest-game-strategies__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-text-color-light);
}

.page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 20px 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-latest-game-strategies__hero-title {
    font-size: 2.8em;
  }

  .page-resources-latest-game-strategies__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-game-strategies__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }

  .page-resources-latest-game-strategies__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-latest-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-game-strategies__btn-primary,
  .page-resources-latest-game-strategies__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-latest-game-strategies__content-section,
  .page-resources-latest-game-strategies__video-section,
  .page-resources-latest-game-strategies__faq-section {
    padding: 40px 0;
  }

  .page-resources-latest-game-strategies__light-bg {
    padding: 20px;
  }

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

  .page-resources-latest-game-strategies__sub-title {
    font-size: 1.5em;
  }

  .page-resources-latest-game-strategies__paragraph,
  .page-resources-latest-game-strategies__list-item,
  .page-resources-latest-game-strategies__faq-question,
  .page-resources-latest-game-strategies__faq-answer p {
    font-size: 1em;
  }

  .page-resources-latest-game-strategies img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-game-strategies video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-latest-game-strategies__container,
  .page-resources-latest-game-strategies__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-resources-latest-game-strategies__faq-question {
    padding: 15px 20px;
  }

  .page-resources-latest-game-strategies__faq-answer {
    padding: 0 20px;
  }

  .page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}

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

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

  .page-resources-latest-game-strategies__sub-title {
    font-size: 1.3em;
  }
}