/**
 * å…¨ç«™åº•éƒ¨ï¼šä¸Ž hunanqidian é¦–é¡µã€Œä¿¡ä»»æ¡ + é‡‘è‰²ä¸»åº•ã€ä¸€è‡´ï¼›é€‰æ‹©å™¨å°½é‡æŒ‚åœ¨ .footer.qidian-site-footer ä¸‹ï¼Œé¿å…æ±¡æŸ“ç«™å†…å…¶ä»– .footerã€‚
 */

.footer.qidian-site-footer {
  height: auto !important;
  background: none !important;
  background-image: none !important;
}

/* â€”â€” ä¿¡ä»»æ¡ï¼ˆè®¾è®¡ç¨¿ 1920 æ¯”ä¾‹ï¼‰ â€”â€” */
.qidian-trust-banner {
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-inner {
  width: 96%;
  max-width: 18rem;
  margin: 0 auto;
  box-sizing: border-box;
  min-height: 3.65rem;
  height: 3.65rem;
  display: grid;
  grid-template-columns: repeat(7,1fr);
  align-items: center;
  justify-content: space-around;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-item {
  width: 100%;
  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  /* justify-content: center; */
  /* text-align: center; */
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.footer.qidian-site-footer .qidian-trust-banner a.qidian-trust-item:hover {
  opacity: 0.92;
}

.footer.qidian-site-footer .qidian-trust-banner a.qidian-trust-item:focus-visible {
  outline: 2px solid #c99f41;
  outline-offset: 4px;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.18rem;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-icon img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 1.6rem;
  object-fit: contain;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-text {
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: 0.35rem;
  color: #8e60f4;
  margin: 0;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-line {
  display: block;
}

.footer.qidian-site-footer .qidian-trust-banner .qidian-trust-sep {
  width: 0.01rem;
  height: 0.93rem;
  background-color: #a29797;
  align-self: center;
  /* text-align: center; */
  margin: 0 auto;
}

/* â€”â€” é‡‘è‰²ä¸»åº• â€”â€” */
.footer.qidian-site-footer .qidian-footer-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
  /* padding: 0 1.7rem; */
  min-height: 5.45rem;
  height: auto !important;
  background-color: #f4e8d4;
  background-image: var(--qidian-footer-gold-bg, none);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.footer.qidian-site-footer .qidian-footer-main .wrap {
  width: 96%;
  max-width: 18rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  box-sizing: border-box;
}

.footer.qidian-site-footer .qidian-footer-main .ft-middle.ft-middle--index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.48rem;
  padding: 0.42rem 0;
  box-sizing: border-box;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left {
  margin-right: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left .logo {
  margin-bottom: 0.3rem;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left .logo a {
  display: block;
  line-height: 0;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left .logo img {
  width: 1.97rem;
  height: auto;
  max-height: 1.52rem;
  object-fit: contain;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left > p {
  font-size: 0.22rem;
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  color: #6e5404;
  margin: 0;
  text-align: center;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left > p:not(:last-child) {
  margin-bottom: 0.15rem;
}

.qidian-footer-nl-notice {
  font-size: 0.13rem;
  margin: 0 0 0.12rem;
  text-align: center;
  width: 100%;
  max-width: 5.6rem;
  line-height: 1.45;
}

.qidian-footer-nl-notice--ok {
  color: #1b5e20;
}

.qidian-footer-nl-notice--bad {
  color: #b71c1c;
}

.footer.qidian-site-footer .qidian-footer-main .ft-left .footer-email-form {
  position: relative;
  width: 80%;
  max-width: 100%;
  margin-top: 0.25rem;
}

.footer.qidian-site-footer .qidian-footer-main .footer-email-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 52px;
  box-sizing: border-box;
}

.footer.qidian-site-footer .qidian-footer-main .footer-email-input,
.footer.qidian-site-footer .qidian-footer-main .qidian-footer-newsletter__input {
  flex: 1;
  min-width: 0;
  height: 0.52rem;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  outline: none;
  padding: 0.12rem 0.2rem;
  background: #ffffff;
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: 0.19rem;
  color: #929191;
  line-height: 1.35;
  box-sizing: border-box;
}

.footer.qidian-site-footer .qidian-footer-main .footer-email-input::placeholder {
  color: #929191;
  opacity: 1;
}

.footer.qidian-site-footer .qidian-footer-main .footer-email-submit,
.footer.qidian-site-footer .qidian-footer-main .qidian-footer-newsletter__btn {
  flex-shrink: 0;
  min-width: 1.4rem;
  height: 0.52rem;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  background: #ffffff;
  cursor: pointer;
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: 0.19rem;
  color: #e3b413;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.28rem;
  box-sizing: border-box;
  letter-spacing: 0.02em;
}

.footer.qidian-site-footer .qidian-footer-main .footer-email-submit:hover,
.footer.qidian-site-footer .qidian-footer-main .qidian-footer-newsletter__btn:hover {
  opacity: 0.92;
}

.qidian-footer-newsletter__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.footer.qidian-site-footer .qidian-footer-main .qidian-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
  list-style: none;
  margin: 0.42rem auto 0;
  padding: 0;
  justify-content: center;
  width: 100%;
  max-width: 4.6rem;
}

.footer.qidian-site-footer .qidian-footer-main .qidian-footer-social li {
  margin: 0;
  padding: 0;
}

.footer.qidian-site-footer .qidian-footer-main .qidian-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.44rem;
  height: 0.44rem;
  overflow: hidden;
}

.footer.qidian-site-footer .qidian-footer-main .qidian-footer-social img {
  width: 0.44rem;
  height: 0.44rem;
  max-width: none;
  object-fit: contain;
}

.footer.qidian-site-footer .qidian-footer-main .footer-nav-columns {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(1.35rem, 1fr));
  column-gap: 0.58rem;
  row-gap: 0.32rem;
  align-items: start;
  justify-items: stretch;
}

.footer-nav-col {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.footer-nav-title {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 0.26rem;
  color: #000000;
  margin: 0 0 0.28rem;
  line-height: 1.25;
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.footer-nav-list li {
  margin: 0 0 0.15rem;
  padding: 0;
  display: block;
  line-height: normal;
}

.footer-nav-list li:last-child {
  margin-bottom: 0;
}

.footer-nav-list a {
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: 0.2rem;
  color: #6c5404;
  text-decoration: none;
  line-height: 1.55;
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  max-width: 100%;
}

/* TranslatePress 包裹层勿压行高 */
.footer.qidian-site-footer .footer-nav-title [data-no-translation],
.footer.qidian-site-footer .footer-nav-title span,
.footer.qidian-site-footer .footer-nav-list a [data-no-translation],
.footer.qidian-site-footer .footer-nav-list a span {
  white-space: normal !important;
  line-height: inherit !important;
  display: inline !important;
}

.footer-nav-list a:hover {
  text-decoration: underline;
}

.footer-nav-col--payment .footer-pay-methods {
  margin-top: 0.32rem;
}

.footer-pay-methods-title {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 0.26rem;
  color: #000000;
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
}

.footer-pay-methods-imgs {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.footer-pay-methods-imgs img {
  height: auto;
  max-height: 0.32rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* 非中文：缩小字号、加列间距，避免德/法文挤在一起或行重叠 */
@media screen and (min-width: 1025px) {
  body.qidian-lang-compact .footer.qidian-site-footer .qidian-footer-main .ft-left {
    margin-right: 0.6rem;
    flex: 0 1 4.2rem;
    max-width: 4.4rem;
  }

  body.qidian-lang-compact .footer.qidian-site-footer .qidian-footer-main .ft-left > p {
    font-size: 0.19rem;
    line-height: 1.45;
    max-width: 100%;
  }

  body.qidian-lang-compact .footer.qidian-site-footer .footer-nav-columns {
    grid-template-columns: repeat(4, minmax(1.2rem, 1fr));
    column-gap: 0.42rem;
  }

  body.qidian-lang-compact .footer.qidian-site-footer .footer-nav-title {
    font-size: 0.24rem;
    line-height: 1.25;
    margin-bottom: 0.22rem;
  }

  body.qidian-lang-compact .footer.qidian-site-footer .footer-nav-list li {
    margin-bottom: 0.12rem;
  }

  body.qidian-lang-compact .footer.qidian-site-footer .footer-nav-list a {
    font-size: 0.18rem;
    line-height: 1.5;
  }

  body.qidian-lang-compact .footer.qidian-site-footer .footer-pay-methods-title {
    font-size: 0.24rem;
  }

  body.translatepress-fr_FR.qidian-lang-compact .footer.qidian-site-footer .footer-nav-columns,
  body.translatepress-de_DE.qidian-lang-compact .footer.qidian-site-footer .footer-nav-columns {
    column-gap: 0.18rem;
  }
}

@media (max-width: 1200px) {
  .footer.qidian-site-footer .qidian-footer-main .footer-nav-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  /* çª„å±ï¼šè¦†ç›–æ¡Œé¢ 15rem å®šå®½ï¼Œé¿å… flex+space-between åœ¨è¶…å®½çˆ¶çº§ä¸ŠæŠŠä¸¤åˆ—ç”©åˆ°è§†å£å¤–å¯¼è‡´è£åˆ‡ */
  .footer.qidian-site-footer .qidian-trust-banner .qidian-trust-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.24rem;
    row-gap: 0.28rem;
    justify-items: center;
    align-items: start;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    padding: 0.32rem 0.28rem;
    box-sizing: border-box;
  }

  .footer.qidian-site-footer .qidian-trust-banner .qidian-trust-sep {
    display: none;
  }

  .footer.qidian-site-footer .qidian-trust-banner .qidian-trust-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    box-sizing: border-box;
  }

  .footer.qidian-site-footer .qidian-trust-banner .qidian-trust-text {
    font-size: 0.24rem;
    max-width: 100%;
    word-break: break-word;
  }

  .footer.qidian-site-footer .qidian-trust-banner .qidian-trust-icon {
    margin-bottom: 0.12rem;
  }

  .footer.qidian-site-footer .qidian-trust-banner .qidian-trust-icon img {
    max-height: 1.1rem;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .footer.qidian-site-footer .qidian-footer-main {
    padding: 0.46rem 0.32rem 0.42rem;
    min-height: 0;
  }

  .footer.qidian-site-footer .qidian-footer-main .wrap {
    width: 100% !important;
  }

  .footer.qidian-site-footer .qidian-footer-main .ft-left {
    display: block;
    margin-right: 0;
  }

  .footer.qidian-site-footer .qidian-footer-main .ft-left .footer-email-form {
    width: 85%;
    max-width: 100%;
  }

  .footer.qidian-site-footer .qidian-footer-main .ft-middle.ft-middle--index {
    flex-direction: column;
    align-items: center;
  }

  .footer.qidian-site-footer .qidian-footer-main .ft-middle.ft-middle--index .footer-nav-columns {
    width: 100%;
    max-width: 100%;
    margin-top: 0.4rem;
    display: grid;
    /* æ‰‹æœºç«¯ï¼šå››å—å¯¼èˆªä¸¤åˆ—ä¸¤æŽ’ï¼ˆ2Ã—2ï¼‰ï¼Œä¸æ”¹ä¸ºå•åˆ— */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.24rem;
    row-gap: 0.32rem;
    align-items: start;
    justify-items: stretch;
  }

  .footer.qidian-site-footer .footer-nav-col {
    min-width: 0;
    max-width: none;
  }

  .footer.qidian-site-footer .footer-nav-title,
  .footer.qidian-site-footer .footer-pay-methods-title {
    font-size: 0.3rem;
    margin-bottom: 0.24rem;
  }

  .footer.qidian-site-footer .footer-nav-list li {
    margin-bottom: 0.14rem;
  }

  .footer.qidian-site-footer .footer-nav-list a {
    font-size: 0.22rem;
    line-height: 1.5;
  }

  .footer.qidian-site-footer .footer-pay-methods-imgs img {
    max-height: 0.36rem;
  }

  .footer.qidian-site-footer .qidian-footer-main .qidian-footer-social a,
  .footer.qidian-site-footer .qidian-footer-main .qidian-footer-social img {
    width: 0.52rem;
    height: 0.52rem;
  }

  .footer.qidian-site-footer .qidian-footer-main .footer-email-row {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    flex-wrap: nowrap;
    gap: 0.12rem;
  }

  .footer.qidian-site-footer .qidian-footer-main .footer-email-input,
  .footer.qidian-site-footer .qidian-footer-main .qidian-footer-newsletter__input {
    width: 100%;
    min-height: 0.58rem;
    height: auto;
    font-size: 0.24rem;
    line-height: 1.4;
    padding-top: 0.14rem;
    padding-bottom: 0.14rem;
  }

  .footer.qidian-site-footer .qidian-footer-main .footer-email-submit,
  .footer.qidian-site-footer .qidian-footer-main .qidian-footer-newsletter__btn {
    width: 100%;
    min-width: 0;
    height: 0.58rem;
    min-height: 0.58rem;
    padding: 0 0.22rem;
    font-size: 0.2rem;
  }

  .footer.qidian-site-footer .qidian-footer-main .qidian-footer-social {
    justify-content: center;
  }
}
