/* style/resources-gameplay-tips.css */
.page-resources-gameplay-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: #0a0a0a; /* Inherited from body, ensure consistency */
}

.page-resources-gameplay-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #017439, #004d2e);
  color: #ffffff;
  overflow: hidden;
}

.page-resources-gameplay-tips__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-resources-gameplay-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFF00; /* Custom color for prominent title */
}

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

.page-resources-gameplay-tips__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #C30808; /* Custom color for button */
  color: #FFFF00; /* Custom color for button font */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-gameplay-tips__hero-button:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

.page-resources-gameplay-tips__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-gameplay-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-gameplay-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff; /* Light text on dark background */
  background-color: #0a0a0a; /* Dark background */
}

.page-resources-gameplay-tips__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-gameplay-tips__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand color for titles */
  font-weight: bold;
}

.page-resources-gameplay-tips__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Brand color for subtitles */
  font-weight: bold;
}

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

.page-resources-gameplay-tips__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-gameplay-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-gameplay-tips__image-container {
  width: 100%;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px; /* Constrain content images */
}

.page-resources-gameplay-tips__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-gameplay-tips__faq-section {
  background-color: #017439; /* Brand color for FAQ section */
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 15px;
  margin-top: 60px;
}

.page-resources-gameplay-tips__faq-section .page-resources-gameplay-tips__section-title {
  color: #ffffff; /* White title on brand background */
}

.page-resources-gameplay-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-gameplay-tips__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-gameplay-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-resources-gameplay-tips__faq-question:hover {
  color: #FFFF00; /* Highlight on hover */
}

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

.page-resources-gameplay-tips__faq-item.active .page-resources-gameplay-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-gameplay-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-gameplay-tips__hero-title {
    font-size: 2.8em;
  }

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

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

  .page-resources-gameplay-tips__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-resources-gameplay-tips__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-gameplay-tips__content-area,
  .page-resources-gameplay-tips__faq-section {
    padding: 30px 15px;
  }

  .page-resources-gameplay-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-resources-gameplay-tips__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-gameplay-tips__text-block,
  .page-resources-gameplay-tips__list-item,
  .page-resources-gameplay-tips__faq-question,
  .page-resources-gameplay-tips__faq-answer p {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-resources-gameplay-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-gameplay-tips__hero-image-container,
  .page-resources-gameplay-tips__image-container,
  .page-resources-gameplay-tips__content-area,
  .page-resources-gameplay-tips__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-resources-gameplay-tips__hero-button,
  .page-resources-gameplay-tips a[class*="button"],
  .page-resources-gameplay-tips 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-resources-gameplay-tips__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
}

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

  .page-resources-gameplay-tips__section-title {
    font-size: 1.5em;
  }

  .page-resources-gameplay-tips__faq-question {
    font-size: 1.1em;
  }
}