/* RinFire 中文服务与支持页面 */
.rf-support-page {
  background: #fff;
  color: #606060;
  display: none !important;
}

.rf-support-page:target {
  display: block !important;
}

body:has(.rf-support-page:target) .rf-download-page,
body:has(.rf-support-page:target) .rf-assistant-page {
  display: none !important;
}

.rf-support-hero {
  background: #151515;
  height: clamp(240px, 30vw, 380px);
  overflow: hidden;
}

.rf-support-hero img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.rf-support-intro {
  background: #fff;
  padding: 45px 24px 54px;
  text-align: center;
}

.rf-support-intro h1 {
  color: #4f4f4f;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.rf-support-intro h1 strong {
  font-weight: 700;
}

.rf-support-intro p {
  color: #555;
  font-size: 20px;
  margin: 14px 0 0;
}

.rf-support-section-heading {
  align-items: center;
  background: #f4f5f6;
  display: flex;
  justify-content: center;
  min-height: 92px;
  padding: 20px 24px;
  text-align: center;
}

.rf-support-section-heading h2 {
  color: #707070;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.rf-support-product-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 920px;
  padding: 76px 44px 88px;
}

.rf-support-product-card {
  align-items: center;
  color: #606060;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  gap: 26px;
  text-align: center;
  transition: color 180ms ease, transform 180ms ease;
}

.rf-support-product-card:hover,
.rf-support-product-card:focus-visible {
  color: #ff8700;
  transform: translateY(-3px);
}

.rf-support-product-card:focus-visible,
.rf-support-contact-item:focus-visible {
  border-radius: 12px;
  outline: 3px solid rgba(255, 135, 0, 0.35);
  outline-offset: 8px;
}

.rf-support-product-media {
  align-items: center;
  display: flex;
  height: 210px;
  justify-content: center;
  width: 100%;
}

.rf-support-product-media img {
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.rf-support-contact-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 760px;
  padding: 74px 30px 100px;
}

.rf-support-contact-item {
  align-items: center;
  color: #5d5d5d;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  gap: 22px;
  text-align: center;
  transition: color 180ms ease, transform 180ms ease;
}

.rf-support-contact-item .iconfont {
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
}

.rf-support-contact-item:hover,
.rf-support-contact-item:focus-visible {
  color: #ff8700;
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .rf-support-hero {
    height: 230px;
  }

  .rf-support-hero img {
    object-position: 58% center;
  }

  .rf-support-intro {
    padding: 38px 18px 44px;
  }

  .rf-support-intro h1 {
    font-size: 21px;
  }

  .rf-support-intro p {
    font-size: 17px;
  }

  .rf-support-product-grid,
  .rf-support-contact-grid {
    gap: 56px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .rf-support-product-media {
    height: 150px;
  }

  .rf-support-product-card {
    font-size: 17px;
    gap: 20px;
  }

  .rf-support-contact-item {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .rf-support-product-grid,
  .rf-support-contact-grid {
    gap: 52px;
    grid-template-columns: 1fr;
  }

  .rf-support-product-grid {
    padding-bottom: 64px;
    padding-top: 58px;
  }

  .rf-support-product-media {
    height: 170px;
  }

  .rf-support-contact-grid {
    padding-bottom: 72px;
    padding-top: 58px;
  }
}
