/* Homepage additions; shared page styles remain in style.css. */
.home-page {
  --home-text-inset: max(0px, calc(var(--fixed-contact-space) + 12px - max(4vw, (100vw - 1208px) / 2)));
}

/* Preserve the full-width sections; reserve space inside reading areas. */
.home-page.has-contact-rail .app {
  padding-right: 0;
}

.home-page.has-contact-rail .part_1 .header {
  width: 98%;
  right: 0;
}

/* Contain the existing entrance animation without widening the document. */
.home-page .part_7 {
  overflow-x: clip;
}

.home-page .main_part1 .box .sec_one,
.home-page .home-process-intro p,
.home-page .home-trust ul,
.home-page .home-stores-intro p,
.home-page .home-store-links,
.home-page .part_5 .home-guide-links {
  padding-inline-end: var(--home-text-inset);
}

.home-page .part_4 {
  padding-inline-end: max(0px, calc(var(--fixed-contact-space) + 12px - max(4vw, (100vw - 1238px) / 2)));
}

.home-page .trade {
  padding-inline-end: max(0px, calc(var(--fixed-contact-space) + 12px - max(3vw, (100vw - 1738px) / 2)));
}

.home-page .ques_bg .container3 {
  padding-inline-end: max(0px, calc(var(--fixed-contact-space) + 12px - max(4vw, (100vw - 1380px) / 2)));
}

.home-page .footer .container1 {
  padding-inline-end: max(0px, calc(var(--fixed-contact-space) + 12px - max(4vw, (100vw - 1664px) / 2)));
}

.home-page .main_bt1 {
  font-weight: 400;
}

/* Feather the coin artwork into the black section without changing its size. */
.home-page .main_part1 .box .pic {
  position: relative;
}

.home-page .main_part1 .box .pic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, #000, transparent 16%, transparent 84%, #000),
    linear-gradient(to bottom, #000, transparent 14%, transparent 86%, #000);
}

.home-page .index_banner .container1 .content {
  position: relative;
  z-index: 1;
  padding-top: max(72px, 7rem);
}

.home-page .index_banner .container1 .content .desc p {
  font-size: 16px;
  line-height: 1.8;
}

.home-page .more12 {
  color: #000;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 12px 20px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.home-page .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6rem;
}

.home-page .home-actions .more12 {
  min-width: 0;
  min-height: 50px;
  height: auto;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid #ffb638;
  font-size: clamp(16px, 1.45vw, 22px);
}

.home-page .home-actions .home-secondary {
  background: transparent;
  color: #ffb638;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 2px solid #ffb638;
  outline-offset: 5px;
}

.home-page .home-directions {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.home-page .home-directions p + p {
  margin-top: 8px;
}

.home-page .part_4 .content .desc {
  padding-bottom: 24px;
}

.home-page .home-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-page .home-service-list li {
  padding-top: 18px;
  border-top: 1px solid #ffb638;
}

.home-page .home-service-list h3,
.home-page .home-trust h3 {
  margin-bottom: 12px;
  font-size: clamp(18px, 1.5vw, 24px);
}

.home-page .home-service-list p,
.home-page .home-process-intro p,
.home-page .home-trust p,
.home-page .home-stores-intro p,
.home-page .home-guide-links,
.home-page .home-enquiry p {
  font-size: 16px;
  line-height: 1.8;
}

.home-page .home-service-list a,
.home-page .home-trust a,
.home-page .home-store-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 0;
  color: #ffb638;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page .home-service-list p a {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
}

.home-page .home-stores h3 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page .home-process-intro {
  margin-bottom: 48px;
}

.home-page .home-process-intro .main_bt1 {
  margin-bottom: 24px;
}

.home-page .home-process-intro p + p {
  margin-top: 12px;
}

.home-page .part_5 .index_bt.qipao .txt {
  font-size: 1.5em;
}

.home-page .home-guide-links {
  margin-top: 36px;
  text-align: center;
}

.home-page .home-guide-links a {
  color: #ffb638;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page .home-trust {
  margin-bottom: 10rem;
}

.home-page .home-trust .main_bt1,
.home-page .home-stores-intro .main_bt1 {
  margin-bottom: 28px;
}

.home-page .home-trust ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.home-page .home-trust a,
.home-page .home-store-cta,
.home-page .home-store-links a {
  color: #704500;
}

.home-page .home-stores-intro {
  margin-bottom: 48px;
  text-align: center;
}

.home-page .home-store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 20px;
}

.home-page .home-store-links a {
  padding: 10px 4px;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page .home-stores .part_9 {
  scroll-margin-top: 28px;
}

.home-page .home-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.home-page .ques_bg .que_2 ul li .title {
  font-weight: 400;
}

.home-page .ques_bg .que_2 ul li .title .tpleft {
  font-size: clamp(17px, 1.5625vw, 30px);
  text-transform: none;
}

.home-page .ques_bg .que_2 ul li .desc {
  color: #fff;
  font-size: 18px;
}

.home-page .home-enquiry {
  margin-top: 64px;
}

.home-page .home-enquiry h2 {
  margin-bottom: 20px;
  font-size: clamp(24px, 2.5vw, 40px);
}

@media screen and (max-width: 767px) {
  .home-page .index_banner .container1 .content {
    padding-inline-end: var(--home-text-inset);
  }

  .home-page .index_banner .container1 .tpright {
    display: none;
  }

  .home-page .home-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .home-page .home-actions .more12 {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .home-page .home-service-list {
    gap: 24px 20px;
  }

  .home-page .home-trust {
    margin-bottom: 48px;
  }

  .home-page .home-trust ul {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-page .ques_bg .que_2 ul li .desc {
    font-size: 16px;
  }
}

@media screen and (max-width: 450px) {
  .home-page .home-stores .part_9 .box {
    padding-inline-end: var(--home-text-inset);
  }

  .home-page .home-service-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .home-page .index_banner .container1 .content {
    width: 57%;
  }

  .home-page .index_banner .container1 .tpright {
    top: max(64px, 7rem);
    right: 2%;
    width: 35%;
  }
}

@media screen and (max-width: 768px) {
  .home-page .part_7 .box .content {
    padding-inline-end: var(--home-text-inset);
  }
}
