/* style/resources-b52-popular-games-strategy.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-b52-popular-games-strategy {
  color: #ffffff; /* Light text on dark body background (#0a0a0a) */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Use transparent to let body background show */
}

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

/* Hero Section */
.page-resources-b52-popular-games-strategy__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset if body doesn't handle it */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-resources-b52-popular-games-strategy__hero-section .page-resources-b52-popular-games-strategy__container {
  position: relative;
  z-index: 2;
}

.page-resources-b52-popular-games-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-resources-b52-popular-games-strategy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-b52-popular-games-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-b52-popular-games-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-resources-b52-popular-games-strategy__section {
  padding: 60px 0;
}

.page-resources-b52-popular-games-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
}

.page-resources-b52-popular-games-strategy__sub-section-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-b52-popular-games-strategy__text-block p,
.page-resources-b52-popular-games-strategy__text-block li {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-resources-b52-popular-games-strategy__unordered-list,
.page-resources-b52-popular-games-strategy__ordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-b52-popular-games-strategy__unordered-list li,
.page-resources-b52-popular-games-strategy__ordered-list li {
  margin-bottom: 10px;
}

/* Color Schemes for Sections */
.page-resources-b52-popular-games-strategy__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
}

.page-resources-b52-popular-games-strategy__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Buttons */
.page-resources-b52-popular-games-strategy__btn-primary,
.page-resources-b52-popular-games-strategy__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, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-resources-b52-popular-games-strategy__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-b52-popular-games-strategy__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-resources-b52-popular-games-strategy__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-b52-popular-games-strategy__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-b52-popular-games-strategy__btn-center {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

/* Image Styling */
.page-resources-b52-popular-games-strategy__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-resources-b52-popular-games-strategy__faq-list {
  margin-top: 40px;
}

.page-resources-b52-popular-games-strategy__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-b52-popular-games-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0; /* Primary brand color for question background */
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-b52-popular-games-strategy__faq-question:hover {
  background-color: #1e87b3;
}

.page-resources-b52-popular-games-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-b52-popular-games-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-resources-b52-popular-games-strategy__faq-item.active .page-resources-b52-popular-games-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px;
}

.page-resources-b52-popular-games-strategy__faq-item.active .page-resources-b52-popular-games-strategy__faq-question {
  background-color: #1e87b3;
}

.page-resources-b52-popular-games-strategy__faq-item.active .page-resources-b52-popular-games-strategy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-b52-popular-games-strategy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-b52-popular-games-strategy__hero-description {
    font-size: 1.1em;
  }
  .page-resources-b52-popular-games-strategy__section-title {
    font-size: 2em;
  }
  .page-resources-b52-popular-games-strategy__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-b52-popular-games-strategy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-b52-popular-games-strategy__hero-section {
    padding: var(--header-offset, 120px) 0 40px; /* Ensure header offset for mobile */
  }
  .page-resources-b52-popular-games-strategy__hero-title {
    font-size: 2.2em;
  }
  .page-resources-b52-popular-games-strategy__hero-description {
    font-size: 1em;
  }
  .page-resources-b52-popular-games-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-b52-popular-games-strategy__btn-primary,
  .page-resources-b52-popular-games-strategy__btn-secondary {
    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-resources-b52-popular-games-strategy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-resources-b52-popular-games-strategy__section-title {
    font-size: 1.8em;
  }
  .page-resources-b52-popular-games-strategy__sub-section-title {
    font-size: 1.4em;
  }
  .page-resources-b52-popular-games-strategy__text-block p,
  .page-resources-b52-popular-games-strategy__text-block li {
    font-size: 1em;
  }
  .page-resources-b52-popular-games-strategy__image-content {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-resources-b52-popular-games-strategy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-b52-popular-games-strategy__faq-answer {
    padding: 0 15px;
  }
  .page-resources-b52-popular-games-strategy__faq-item.active .page-resources-b52-popular-games-strategy__faq-answer {
    padding: 15px;
  }
  .page-resources-b52-popular-games-strategy__btn-center {
    max-width: 100%;
  }
}