article ul,
article ol {
  box-sizing: border-box;
  padding: 0 20px;
}

article ul li,
article ol li {
  margin-bottom: 10px;
}

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 0;
}

hr {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: 1px #767676 dotted;
  text-decoration: none;
}

.singlePage-article img {
  display: inline-block;
  height: auto;
  object-fit: cover;
  /* width: 100%; */
  margin: 10px auto;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: 700;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.iconfont {
  font-size: 24px !important;
  font-weight: 400;
  color: inherit;
  line-height: initial;
}

.icon-global-default,
.icon-menu {
  cursor: pointer;
}

.wp-block-table table {
  width: 100%;
}
.wp-block-table td,
.wp-block-table th,
table td {
  border: 1.5px solid #f3a4b1;
  padding: 10px;
}

.wp-block-image figcaption {
  font-size: 16px;
  text-align: center;
  color: #565656;
}

.wp-block-image img {
  width: 100%;
  max-width: 600px;
}

.widget_recent_entries {
  display: none;
}

.wp-block-embed__wrapper > div,
.wp-block-embed iframe {
  display: block;
  margin: 10px auto;
}

.nav-links .page-numbers {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
}

.nav-links .page-numbers.current {
  background-color: #a5d4f8;
}

@media screen and (max-width: 820px) {
  body,
  html {
    font-size: 16px;
  }

  html {
    margin-top: 0 !important;
  }

  h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 20px auto;
  }

  h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  h4,
  h5 {
    font-size: 18px;
  }

  .wp-block-image .alignright,
  .wp-block-image .alignleft,
  .wp-block-image figure {
    margin: 0;
  }

  .wp-block-image figcaption {
    font-size: 14px;
  }
}

.qt-h1 {
  font-size: 42px;
  line-height: 52px;
  font-weight: bold;
  margin-top: 40px;
}

.qt-italic {
  font-style: italic;
}

.qt-medium {
  font-weight: 500;
}

.qt-right {
  text-align: right;
}

.qt-left {
  text-align: left;
}

.qt-h2 {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  color: #2f2f2f;
  margin: 0 !important;
}

.qt-h2 + p,
.qt-h2 + div {
  margin-top: 16px;
}

.qt-h3-bold {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: bold;
  color: #2f2f2f !important;
  margin-bottom: 0 !important;
}

.qt-h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.qt-secondary {
  font-size: 16px;
  line-height: 24px;
  color: #3f3f3f;
  opacity: 0.8;
}

.qt-secondary + .qt-secondary {
  margin-top: 16px;
  margin-bottom: 0;
}

.qt-date {
  font-size: 16px;
  line-height: 24px;
  display: block;
}

.qt-block {
  margin: 40px 0;
}

.qt-text-block + .qt-text-block {
  margin-top: 32px;
}

.qt-p-block {
  margin: 16px 0;
  display: inline-block;
}

.qt-img-block {
  margin: 32px 0;
  max-width: 1160px;
  width: fit-content;
}

.qt-faq-block,
.wp-block-yoast-faq-block {
  border: 1px solid #f2e8d2;
  padding: 40px;
  border-radius: 6px;
}

.qt-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 32px;
}

.qt-banner {
  position: relative;
  height: auto;
  width: 100%;
}

.qt-banner img {
  border-radius: 16px;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.qt-banner .qt-bot {
  position: absolute;
  bottom: 0;
  background-color: color-mix(in oklab, #000000 50%, transparent);
  padding: 32px 40px;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
  color: #fff;
}

.qt-note {
  padding: 32px;
  margin: 16px 0;
  border-radius: 10px;
  position: relative;
  border: 2px solid #ede4dc;
  background-color: #f9f5ec;
}

.qt-note > p {
  z-index: 3;
  position: relative;
}

.qt-note-bg1 {
  background-image: url("./img/note-bg.png");
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-size: auto;
  background-position: center;
  z-index: 1;
}

.qt-note-bg2 {
  position: absolute;
  background-size: cover;
  background-position: center;
  z-index: 2;
  width: 180px;
  height: 100px;
  right: 0;
  bottom: 0;
  background-image: url("./img/note-vector.png");
}

.qt-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.qt-features .qt-features-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #f2e8d2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(47, 47, 47, 0.1);
  transition: background-color 0.2s ease;
  /* 添加背景色过渡效果 */
  cursor: pointer;
  text-decoration: none;
  /* 去掉下划线 */
  color: inherit;
}

.qt-features .qt-features-item:hover {
  background-color: #f2e8d2;
}

.qt-features .qt-features-item-desc {
  font-size: 16px;
  line-height: 24px;
  color: #2f2f2f !important;
  margin-bottom: 0 !important;
}

.qt-accordion {
  width: 100%;
  margin: 0 auto;
}

.qt-accordion-item {
  margin-bottom: 5px;
  border-radius: 4px;
  overflow: hidden;
}

.qt-accordion-input {
  display: none !important;
}

.qt-accordion-label {
  display: flex;
  cursor: pointer;
  position: relative;
}

.qt-accordion-label::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #9a7858;
  border-bottom: 2px solid #9a7858;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}

.qt-accordion-input:checked + .qt-accordion-label::after {
  transform: translateY(-50%) rotate(-135deg);
}

.qt-accordion-arrow {
  padding: 0 20px;
}

.qt-accordion-content {
  max-height: 0;
  padding-top: 8px;
  overflow: hidden;
  color: #8c919e;
  font-size: 14px;
  line-height: 20px;
}

.qt-accordion-input:checked ~ .qt-accordion-content {
  /* 足够大的值以容纳内容 */
  max-height: fit-content;
}

.qt-accordion-item + .qt-accordion-item::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #e8ebf3;
  display: block;
  margin: 16px 0;
}

.qt-list {
  margin: 16px 0;
  color: #3f3f3f;
  opacity: 0.8;
  font-size: 16px;
  padding: 0 18px;
  list-style: disc;
}

.qt-list li::marker {
  font-size: 14px;
}

.singlePage-article ul {
  list-style: disc;
  padding: 0 60px;
}

.singlePage-article ol {
  padding: 0 60px;
}

.singlePage-article li {
  font-size: 16px;
}

.singlePage-article a {
  color: #009e60;
}

.singlePage-article p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 24px;
}

.singlePage-article h2 {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  color: #2f2f2f;
  margin-top: 40px;
  margin-bottom: 16px;
}

.singlePage-article h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.singlePage-article h4 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.schema-faq-question {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.schema-faq-section + .schema-faq-section::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #e8ebf3;
  display: block;
  margin: 16px 0;
}

.qt-nav-container {
  padding-top: 64px;
  text-align: center;
}

@media screen and (max-width: 820px) {
  .qt-h1 {
    font-size: 32px;
    line-height: 42px;
    text-align: center;
    padding: 0 20px !important;
  }

  .qt-h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .qt-h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .qt-h3-bold {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .qt-secondary {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .qt-date {
    font-size: 14px !important;
    text-align: center;
    line-height: 20px !important;
    display: block;
  }

  .qt-block {
    margin: 40px 20px !important;
  }

  .qt-faq-block,
  .wp-block-yoast-faq-block {
    padding: 40px 20px !important;
  }

  .qt-img-block > img {
    width: 100%;
  }

  .qt-card {
    padding: 40px 20px;
    border-radius: 16px;
  }

  .qt-note-bg2 {
    width: 160px;
    height: 80px;
  }

  .qt-banner img {
    border-radius: 8px;
  }

  .qt-banner .qt-bot {
    padding: 16px 20px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .qt-features {
    grid-template-columns: repeat(1, 1fr);
  }

  .qt-features-item div,
  .qt-features-item h3,
  .qt-features-item p {
    text-align: center;
  }

  .qt-features .qt-features-item-desc {
    font-size: 14px;
    line-height: 20px;
    color: #3f3f3f;
    opacity: 0.8;
  }

  .qt-list {
    font-size: 14px;
    line-height: 20px;
  }

  .qt-accordion-content {
    font-size: 12px;
    line-height: 16px;
  }

  .singlePage-article ul {
    list-style: disc;
    padding: 0 30px;
  }

  .singlePage-article ol {
    padding: 0 30px;
  }

  .singlePage-article li {
    font-size: 14px;
  }

  .singlePage-article p {
    font-size: 14px;
    line-height: 20px;
  }

  .singlePage-article h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .singlePage-article h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .singlePage-article h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .schema-faq-question {
    font-size: 20px;
    line-height: 28px;
  }
}
