.page-resources-swerte99-app-guide {
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Assumes shared.css provides a light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-swerte99-app-guide__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
}

.page-resources-swerte99-app-guide__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-swerte99-app-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-resources-swerte99-app-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-swerte99-app-guide__hero-image {
  margin-bottom: 40px;
}

.page-resources-swerte99-app-guide__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-swerte99-app-guide__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-swerte99-app-guide__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, transform 0.2s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-resources-swerte99-app-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-swerte99-app-guide__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-resources-swerte99-app-guide__button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-swerte99-app-guide__button--download:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-resources-swerte99-app-guide__content-area {
  max-width: 800px; /* Article content width */
  margin: 40px auto;
  padding: 0 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-swerte99-app-guide__table-of-contents {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  border-radius: 4px;
}

.page-resources-swerte99-app-guide__toc-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-resources-swerte99-app-guide__toc-list {
  list-style: none;
  padding: 0;
}

.page-resources-swerte99-app-guide__toc-list li {
  margin-bottom: 10px;
}

.page-resources-swerte99-app-guide__toc-list a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-resources-swerte99-app-guide__toc-list a:hover {
  color: #FCBC45;
}

.page-resources-swerte99-app-guide__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-swerte99-app-guide__article-subheading {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources-swerte99-app-guide__article-paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

.page-resources-swerte99-app-guide__ordered-list,
.page-resources-swerte99-app-guide__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-swerte99-app-guide__ordered-list li,
.page-resources-swerte99-app-guide__unordered-list li {
  margin-bottom: 10px;
}

.page-resources-swerte99-app-guide__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-resources-swerte99-app-guide__image-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-swerte99-app-guide__button--register-inline {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-resources-swerte99-app-guide__button--register-inline:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-resources-swerte99-app-guide__button--explore-games {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-resources-swerte99-app-guide__button--explore-games:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-resources-swerte99-app-guide__faq-section {
  margin-top: 40px;
}

.page-resources-swerte99-app-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-swerte99-app-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources-swerte99-app-guide__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-resources-swerte99-app-guide__button--read-more-faq {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-resources-swerte99-app-guide__button--read-more-faq:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-resources-swerte99-app-guide__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-swerte99-app-guide__cta-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-swerte99-app-guide__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-swerte99-app-guide__cta-image {
  margin-bottom: 40px;
}

.page-resources-swerte99-app-guide__cta-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-swerte99-app-guide__button--cta-register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-swerte99-app-guide__button--cta-register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-resources-swerte99-app-guide__button--cta-download:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-resources-swerte99-app-guide__back-link-container {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 40px;
}

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

.page-resources-swerte99-app-guide__back-link:hover {
  color: #e0a53a;
}

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

  .page-resources-swerte99-app-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-swerte99-app-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-swerte99-app-guide__button {
    width: 100%;
    max-width: 300px;
  }

  .page-resources-swerte99-app-guide__article-heading {
    font-size: 1.8em;
  }

  .page-resources-swerte99-app-guide__article-subheading {
    font-size: 1.3em;
  }

  .page-resources-swerte99-app-guide__article-paragraph,
  .page-resources-swerte99-app-guide__ordered-list,
  .page-resources-swerte99-app-guide__unordered-list,
  .page-resources-swerte99-app-guide__faq-answer {
    font-size: 0.95em;
  }

  .page-resources-swerte99-app-guide__image-container img,
  .page-resources-swerte99-app-guide__hero-image img,
  .page-resources-swerte99-app-guide__cta-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for mobile */
    min-height: 200px;
  }

  .page-resources-swerte99-app-guide__content-area {
    padding: 0 15px;
    margin: 20px auto;
  }

  .page-resources-swerte99-app-guide__cta-title {
    font-size: 1.8em;
  }

  .page-resources-swerte99-app-guide__button--cta-register,
  .page-resources-swerte99-app-guide__button--cta-download {
    width: 100%;
    max-width: 300px;
  }

  /* Mobile content area images must not overflow */
  .page-resources-swerte99-app-guide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}