.page-sitemap {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though body is already white */
  line-height: 1.6;
}

.page-sitemap__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding */
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-sitemap__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  order: 2; /* Content below image */
}

.page-sitemap__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px; /* Spacing between image and content */
  order: 1; /* Image above content */
}

.page-sitemap__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sitemap__description {
  font-size: 1.1em;
  color: #555555;
  max-width: 700px;
  margin: 0 auto;
}

.page-sitemap__content-area {
  padding: 40px 20px;
}

.page-sitemap__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
}

.page-sitemap__section-heading,
.page-sitemap__sub-heading {
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-sitemap__section-heading {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  text-align: center;
}

.page-sitemap__sub-heading {
  font-size: clamp(1.4em, 2.8vw, 2em);
}

.page-sitemap__paragraph {
  margin-bottom: 20px;
  font-size: 1em;
  color: #333333;
}

.page-sitemap__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-sitemap__keyword-highlight {
  font-weight: bold;
  color: #26A9E0;
}

.page-sitemap__sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-sitemap__sitemap-category {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sitemap__category-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-sitemap__category-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 15px;
}

.page-sitemap__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sitemap__link-list li {
  margin-bottom: 10px;
}

.page-sitemap__link-list li a {
  color: #555555;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.page-sitemap__link-list li a:hover {
  color: #26A9E0;
  text-decoration: underline;
}

.page-sitemap__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sitemap__list-benefits {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #333333;
}

.page-sitemap__list-benefits li {
  margin-bottom: 10px;
}

.page-sitemap__list-benefits li strong {
  color: #26A9E0;
}

.page-sitemap__cta-section {
  background-color: #f0f8ff; /* Light blue background for CTA */
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-sitemap__cta-heading {
  font-size: clamp(1.6em, 3vw, 2.2em);
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-sitemap__cta-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-sitemap__cta-text .page-sitemap__cta-link {
  color: #EA7C07; /* Login color for CTA link */
  font-weight: bold;
  text-decoration: underline;
}

.page-sitemap__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-sitemap__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Important for mobile */
  box-sizing: border-box; /* Important for mobile */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-sitemap__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sitemap__btn-primary:hover {
  background-color: #1f8ac9;
  border-color: #1f8ac9;
}

.page-sitemap__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sitemap__btn-secondary:hover {
  background-color: #e0f2ff;
  color: #26A9E0;
  border-color: #26A9E0;
}

/* --- Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-sitemap__hero-section {
    padding: 10px 30px 30px;
  }

  .page-sitemap__hero-content {
    margin-bottom: 20px;
  }

  .page-sitemap__hero-image {
    margin-bottom: 20px;
  }

  .page-sitemap__main-title {
    font-size: 2.5em;
  }

  .page-sitemap__description {
    font-size: 1.05em;
  }

  .page-sitemap__content-area {
    padding: 30px;
  }

  .page-sitemap__article-wrap {
    padding: 0 15px;
  }

  .page-sitemap__section-heading {
    font-size: 2.2em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-sitemap__sub-heading {
    font-size: 1.7em;
  }

  .page-sitemap__sitemap-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-sitemap__sitemap-category {
    padding: 20px;
  }

  .page-sitemap__cta-section {
    padding: 30px;
    margin-top: 40px;
  }

  .page-sitemap__cta-heading {
    font-size: 2em;
  }

  .page-sitemap__cta-buttons {
    gap: 15px;
  }

  .page-sitemap__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-sitemap__hero-section {
    padding: 10px 15px 30px !important; /* Small top padding for mobile */
  }

  .page-sitemap__main-title {
    font-size: 1.8em !important; /* Adjust H1 size for mobile */
  }

  .page-sitemap__description {
    font-size: 1em !important;
    padding: 0 10px !important;
  }

  /* 2. 单栏长文容器 */
  .page-sitemap__article-wrap {
    padding: 0 15px !important; /* Inner padding for main content area */
  }

  .page-sitemap__section-heading {
    font-size: 1.6em !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
  }

  .page-sitemap__sub-heading {
    font-size: 1.3em !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
  }

  .page-sitemap__paragraph {
    font-size: 0.95em !important;
  }

  .page-sitemap__list-benefits {
    padding-left: 0 !important;
    font-size: 0.95em !important;
  }

  /* 3. 通用图片与 figure */
  .page-sitemap img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Image containers and main content containers */
  .page-sitemap__hero-section,
  .page-sitemap__content-area,
  .page-sitemap__article-wrap,
  .page-sitemap__sitemap-category,
  .page-sitemap__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-sitemap__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 15px !important; /* Spacing between stacked buttons */
    padding-left: 0 !important; /* Handled by parent container */
    padding-right: 0 !important;
  }

  .page-sitemap__btn {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 5. 注册教程与 FAQ 区块 (Sitemap doesn't have these explicitly, but general list/card rules apply) */
  .page-sitemap__sitemap-grid {
    grid-template-columns: 1fr !important; /* Single column for categories */
    gap: 20px !important;
  }

  .page-sitemap__sitemap-category {
    padding: 20px !important;
  }

  .page-sitemap__category-title {
    font-size: 1.2em !important;
  }

  .page-sitemap__link-list li {
    margin-bottom: 8px !important;
  }

  .page-sitemap__link-list li a {
    font-size: 0.95em !important;
  }
}