/* Contact us page */

.contact-page {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.55);
  background: #010406;
  width: 100%;
  min-height: 100dvh;
  font-family: PingFang SC, "Microsoft YaHei", sans-serif;
}

.contact-page .page-main {
  padding: 24px 0 60px;
  gap: 0;
}

.contact-content.layout-section {
  width: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1200px;
}

.legal-breadcrumb {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 12px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-family: PingFang SC, sans-serif;
  font-weight: 500;
  line-height: 24px;
}

.legal-breadcrumb__back {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.legal-breadcrumb__back img {
  display: block;
  width: 24px;
  height: 24px;
  filter: invert(1);
  opacity: 0.9;
}

.legal-breadcrumb__back:hover img {
  opacity: 1;
}

.legal-breadcrumb__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-breadcrumb__current strong {
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 600;
}

.legal-breadcrumb__current > span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.contact-panel {
  width: 100%;
  min-height: 272px;
  padding: 72px 24px;
  background: #0e1012;
  border-radius: 12px;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.contact-panel__section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-panel__title {
  margin: 0;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  font-family: PingFang SC, sans-serif;
  font-weight: 400;
  line-height: 32px;
}

.contact-channels {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-channel {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.contact-channel__icon-wrap {
  width: 80px;
  height: 80px;
  padding: 20px;
  background: #292929;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-channel__icon {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.contact-channel__label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-family: PingFang SC, sans-serif;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.contact-channel:hover .contact-channel__label {
  color: #e9b54b;
}

.contact-channel--disabled {
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-page {
    background: none;
    min-height: auto;
  }

  .contact-page .page-main {
    padding: 12px 0 0;
    gap: 0;
  }

  .contact-content.layout-section {
    width: 100%;
    gap: 18px;
    padding-left: var(--layout-padding-x);
    padding-right: var(--layout-padding-x);
    padding-bottom: 12px;
    box-sizing: border-box;
  }

  .legal-breadcrumb {
    font-size: 12px;
    line-height: 18px;
  }

  .contact-panel {
    padding: 24px 20px;
    background: #fff;
    border-radius: 18px;
    border: none;
    outline: 1px solid var(--color-black-alpha-10);
    outline-offset: -1px;
    backdrop-filter: none;
    gap: 18px;
    overflow: hidden;
  }

  .contact-panel__section {
    width: 100%;
    max-width: 303px;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-panel__title {
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
  }

  .contact-channels {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 12px;
  }

  .contact-channel {
    gap: 12px;
    flex: 0 0 auto;
  }

  .contact-channel__icon-wrap {
    width: 44px;
    height: 44px;
    padding: 11px;
  }

  .contact-channel__icon {
    width: 22px;
    height: 22px;
  }

  .contact-channel__label {
    font-size: 12px;
    line-height: 18px;
  }
}
