.page-support {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-support__hero-section {
  background-color: #0A2463; /* Main color as background */\  /* HERO主图必须用<img>显示，禁止background-image */
  color: #ffffff;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-support__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E5A000; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.page-support__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 1.1em;
}

.page-support__button--primary {
  background-color: #E5A000; /* Auxiliary color for primary action */
  color: #0A2463;
  border: 2px solid #E5A000;
}

.page-support__button--primary:hover {
  background-color: #f5b000;
  transform: translateY(-2px);
}

.page-support__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-support__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-support__section-title {
  font-size: 2.2em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-support__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E5A000;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-support__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-support__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-support__faq-item:hover {
  transform: translateY(-5px);
}

.page-support__faq-question {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-support__faq-answer {
  color: #555555;
  margin-bottom: 15px;
}

.page-support__link {
  color: #E5A000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: #f5b000;
  text-decoration: underline;
}

.page-support__guides-section {
  padding: 60px 0;
}

.page-support__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
}

.page-support__guide-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-support__guide-title {
  font-size: 1.25em;
  color: #0A2463;
  margin: 20px 20px 10px;
  flex-grow: 1;
}

.page-support__guide-title a {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-title a:hover {
  color: #E5A000;
}

.page-support__guide-description {
  color: #555555;
  padding: 0 20px 20px;
}

.page-support__button--small {
  font-size: 0.9em;
  padding: 10px 20px;
  margin: 0 20px 20px;
  background-color: #0A2463;
  color: #ffffff;
  border: 2px solid #0A2463;
}

.page-support__button--small:hover {
  background-color: #1a3c7a;
  border-color: #1a3c7a;
}

.page-support__contact-cta-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
}

.page-support__contact-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-support__contact-cta-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-support__contact-cta-text {
  max-width: 500px;
  text-align: left;
}

.page-support__contact-cta-text .page-support__section-title {
  color: #ffffff;
  text-align: left;
}

.page-support__contact-cta-text .page-support__section-title::after {
  margin-left: 0;
}

.page-support__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-support__button--large {
  font-size: 1.2em;
  padding: 18px 35px;
  background-color: #E5A000;
  color: #0A2463;
  border: 2px solid #E5A000;
  margin-right: 20px;
}

.page-support__button--large:hover {
  background-color: #f5b000;
  border-color: #f5b000;
}

.page-support__link--contact {
  color: #E5A000;
  font-size: 1.1em;
}

.page-support__link--contact:hover {
  color: #f5b000;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-support__hero-section {
    padding: 60px 20px 40px;
  }

  .page-support__main-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1.1em;
  }

  .page-support__contact-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .page-support__contact-cta-text {
    text-align: center;
  }

  .page-support__contact-cta-text .page-support__section-title {
    text-align: center;
  }

  .page-support__contact-cta-text .page-support__section-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .page-support__button--large {
    margin-bottom: 20px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset if needed */
  }

  .page-support__main-title {
    font-size: 1.8em;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }

  .page-support__faq-grid, .page-support__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-support__hero-actions {
    flex-direction: column;
  }

  .page-support__button {
    width: 100%;
    max-width: 300px;
  }

  .page-support__button--large {
    max-width: none;
  }

  .page-support__contact-cta-image {
    max-width: 100%;
  }

  /* Critical: Ensure all images within .page-support are responsive and do not overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must not be smaller than 200px */
  .page-support__guide-image {
    height: 200px; /* Minimum height for cards on mobile */
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding: 40px 15px 30px;
  }

  .page-support__main-title {
    font-size: 1.5em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__section-title {
    font-size: 1.5em;
  }

  .page-support__faq-item, .page-support__guide-card {
    padding: 20px;
  }

  .page-support__faq-question {
    font-size: 1.1em;
  }

  .page-support__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}