/* Contact-only footer. Keep this separate from the generated app bundle. */
.hongxin-minimal footer > div:first-child {
  display: block !important;
  max-width: 1180px !important;
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

.hongxin-minimal footer > div:first-child > div:not(:first-child) {
  display: none !important;
}

.hongxin-minimal footer > div:first-child > div:first-child {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.35fr) minmax(260px, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 56px;
  width: 100%;
  max-width: none !important;
}

.hongxin-minimal footer > div:first-child > div:first-child > button {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0 !important;
}

.hongxin-minimal footer > div:first-child > div:first-child > p {
  grid-column: 2;
  margin: 0 !important;
}

.hongxin-minimal footer > div:first-child > div:first-child > p:first-of-type {
  align-self: end;
  margin-bottom: 8px !important;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
}

.hongxin-minimal footer > div:first-child > div:first-child > p:nth-of-type(2) {
  align-self: start;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

.hongxin-minimal footer > div:first-child > div:first-child > div {
  grid-column: 3;
  grid-row: 1 / 3;
  margin: 0 !important;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hongxin-minimal footer > div:first-child > div:first-child > div > div {
  padding: 5px 0;
  font-size: 13px;
}

.hongxin-minimal .hx-direct-contact-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.hongxin-minimal .hx-direct-contact-link:hover {
  color: #9f6a25;
  text-decoration: underline;
}

.hongxin-minimal footer .hx-direct-contact-link:hover {
  color: #d7b171;
}

.hongxin-minimal .hx-direct-contact-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid #9f6a25;
  outline-offset: 3px;
}

.hongxin-minimal footer > div:nth-child(2) > div {
  justify-content: center !important;
}

.hongxin-minimal footer > div:nth-child(2) > div > p:last-child {
  display: none !important;
}

@media (max-width: 767px) {
  .hongxin-minimal footer > div:first-child {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .hongxin-minimal footer > div:first-child > div:first-child {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hongxin-minimal footer > div:first-child > div:first-child > button {
    margin-bottom: 22px !important;
  }

  .hongxin-minimal footer > div:first-child > div:first-child > p:first-of-type {
    margin-bottom: 7px !important;
  }

  .hongxin-minimal footer > div:first-child > div:first-child > div {
    width: 100%;
    margin-top: 22px !important;
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}
