.page-resources-tg77-app-download-faq {
  color: #ffffff; /* Body background is dark (#1a1a1a), so text should be light */
}

.page-resources-tg77-app-download-faq__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content clears fixed header */
  background-color: #000000; /* Main color for hero background */
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources-tg77-app-download-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image for text readability */
  z-index: 0;
}

.page-resources-tg77-app-download-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text clarity */
  border-radius: 10px;
}

.page-resources-tg77-app-download-faq__hero-title {
  font-size: 2.8em;
  color: #FFFFFF; /* Auxiliary color for titles */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-tg77-app-download-faq__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-tg77-app-download-faq__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-tg77-app-download-faq__button {
  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: none;
  cursor: pointer;
}

.page-resources-tg77-app-download-faq__button--download {
  background-color: #FCBC45; /* Login color for download button */
  color: #000000;
}

.page-resources-tg77-app-download-faq__button--download:hover {
  background-color: #e0a53b;
}

.page-resources-tg77-app-download-faq__button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
}

.page-resources-tg77-app-download-faq__button--register:hover {
  background-color: #f0f0f0;
}

.page-resources-tg77-app-download-faq__content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-size: 1.1em;
  background-color: #1a1a1a; /* Match body background */
  color: #ffffff; /* Light text on dark background */
}

.page-resources-tg77-app-download-faq__article-container {
  background-color: #000000; /* Dark background for article content */
  padding: 30px;
  border-radius: 10px;
}

.page-resources-tg77-app-download-faq__intro-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-tg77-app-download-faq__section-title {
  font-size: 2em;
  color: #FCBC45; /* Login color for main section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(252, 188, 69, 0.3);
  padding-bottom: 10px;
}

.page-resources-tg77-app-download-faq__section-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-resources-tg77-app-download-faq__subsection-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-tg77-app-download-faq__sub-subsection-title {
  font-size: 1.3em;
  color: #FCBC45;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-resources-tg77-app-download-faq__text {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-resources-tg77-app-download-faq__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-tg77-app-download-faq__list-item {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-resources-tg77-app-download-faq__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-resources-tg77-app-download-faq__image--centered {
  text-align: center;
}

.page-resources-tg77-app-download-faq__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-tg77-app-download-faq__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-resources-tg77-app-download-faq__button--inline {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 10px;
  margin-right: 15px;
}

.page-resources-tg77-app-download-faq__call-to-action {
  background-color: #1a1a1a;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-tg77-app-download-faq__cta-text {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-tg77-app-download-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-tg77-app-download-faq__button--cta-download {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-tg77-app-download-faq__button--cta-download:hover {
  background-color: #e0a53b;
}

.page-resources-tg77-app-download-faq__button--cta-login {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-tg77-app-download-faq__button--cta-login:hover {
  background-color: #f0f0f0;
}

.page-resources-tg77-app-download-faq__return-link-container {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tg77-app-download-faq__return-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-tg77-app-download-faq__return-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-tg77-app-download-faq__hero-title {
    font-size: 2em;
  }

  .page-resources-tg77-app-download-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-tg77-app-download-faq__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-tg77-app-download-faq__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-tg77-app-download-faq__content-area {
    padding: 20px 15px;
    font-size: 1em;
  }

  .page-resources-tg77-app-download-faq__section-title {
    font-size: 1.8em;
  }

  .page-resources-tg77-app-download-faq__subsection-title {
    font-size: 1.4em;
  }

  .page-resources-tg77-app-download-faq__sub-subsection-title {
    font-size: 1.2em;
  }

  /* Critical: prevent content images from overflowing on mobile */
  .page-resources-tg77-app-download-faq__content-area img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-tg77-app-download-faq__cta-text {
    font-size: 1.2em;
  }

  .page-resources-tg77-app-download-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-tg77-app-download-faq__hero-title {
    font-size: 1.8em;
  }

  .page-resources-tg77-app-download-faq__hero-content {
    padding: 20px 15px;
  }

  .page-resources-tg77-app-download-faq__section-title {
    font-size: 1.6em;
  }

  .page-resources-tg77-app-download-faq__subsection-title {
    font-size: 1.3em;
  }
}