/* style/resources-latest-gameplay-analysis.css */
.page-resources-latest-gameplay-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#1a1a2e), so text is light */
  background-color: #1a1a2e; /* Inherited from shared, but for specific sections */
}

.page-resources-latest-gameplay-analysis__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); /* Ensure content is not hidden by fixed header */
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-latest-gameplay-analysis__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 8px;
}

.page-resources-latest-gameplay-analysis__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlighted color for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-latest-gameplay-analysis__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-resources-latest-gameplay-analysis__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-resources-latest-gameplay-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-latest-gameplay-analysis__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a2e; /* Dark background for content area */
  color: #ffffff;
}

.page-resources-latest-gameplay-analysis__container {
  max-width: 960px;
  margin: 0 auto;
}

.page-resources-latest-gameplay-analysis__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand color for main titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-resources-latest-gameplay-analysis__sub-title {
  font-size: 1.8em;
  color: #FFFF00; /* Highlighted color for subtitles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-latest-gameplay-analysis__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-resources-latest-gameplay-analysis__list,
.page-resources-latest-gameplay-analysis__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-latest-gameplay-analysis__ordered-list {
  list-style-type: decimal;
}

.page-resources-latest-gameplay-analysis__list li,
.page-resources-latest-gameplay-analysis__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-latest-gameplay-analysis__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
}

.page-resources-latest-gameplay-analysis__image-centered {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-resources-latest-gameplay-analysis__btn-primary,
.page-resources-latest-gameplay-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-resources-latest-gameplay-analysis__btn-primary {
  background: #C30808; /* Specific color for register/login */
  color: #FFFF00; /* Specific color for register/login font */
  border: 2px solid #C30808;
}

.page-resources-latest-gameplay-analysis__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
}

.page-resources-latest-gameplay-analysis__btn-secondary {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-latest-gameplay-analysis__btn-secondary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

.page-resources-latest-gameplay-analysis__cta-section {
  background-color: #017439; /* Primary brand color */
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources-latest-gameplay-analysis__cta-title {
  font-size: 2.5em;
  color: #FFFF00; /* Highlighted color for CTA title */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-latest-gameplay-analysis__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* FAQ Section */
.page-resources-latest-gameplay-analysis__faq-container {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-latest-gameplay-analysis__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}

.page-resources-latest-gameplay-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.page-resources-latest-gameplay-analysis__faq-question:hover {
  color: #FFFF00;
}

.page-resources-latest-gameplay-analysis__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff; /* Ensure high contrast on dark background */
}

.page-resources-latest-gameplay-analysis__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-resources-latest-gameplay-analysis__faq-item.active .page-resources-latest-gameplay-analysis__faq-toggle {
  transform: rotate(45deg);
  color: #FFFF00;
}

.page-resources-latest-gameplay-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-latest-gameplay-analysis__faq-item.active .page-resources-latest-gameplay-analysis__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-latest-gameplay-analysis {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-latest-gameplay-analysis__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

  .page-resources-latest-gameplay-analysis__hero-title {
    font-size: 2em;
  }

  .page-resources-latest-gameplay-analysis__hero-description {
    font-size: 1em;
  }

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

  .page-resources-latest-gameplay-analysis__btn-primary,
  .page-resources-latest-gameplay-analysis__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-latest-gameplay-analysis__content-area,
  .page-resources-latest-gameplay-analysis__cta-section {
    padding: 30px 15px;
  }

  .page-resources-latest-gameplay-analysis__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-resources-latest-gameplay-analysis__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-resources-latest-gameplay-analysis__text-block,
  .page-resources-latest-gameplay-analysis__list li,
  .page-resources-latest-gameplay-analysis__ordered-list li {
    font-size: 1em;
  }

  .page-resources-latest-gameplay-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-latest-gameplay-analysis__image-full-width,
  .page-resources-latest-gameplay-analysis__image-centered {
    margin: 20px 0;
  }

  .page-resources-latest-gameplay-analysis__faq-question {
    padding: 8px 0;
  }

  .page-resources-latest-gameplay-analysis__faq-title {
    font-size: 1.1em;
  }

  .page-resources-latest-gameplay-analysis__faq-toggle {
    font-size: 1.3em;
  }

  .page-resources-latest-gameplay-analysis__faq-answer {
    padding: 10px 15px;
  }

  .page-resources-latest-gameplay-analysis__cta-title {
    font-size: 2em;
  }

  .page-resources-latest-gameplay-analysis__cta-description {
    font-size: 1em;
  }

  .page-resources-latest-gameplay-analysis__container,
  .page-resources-latest-gameplay-analysis__faq-container,
  .page-resources-latest-gameplay-analysis__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-resources-latest-gameplay-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}