/* 芝素堂现网 SuperPage 公开快照的排版修正。 */
header > .webwidth {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header > .webwidth > a {
  min-width: 0;
}

header > .webwidth .logo {
  float: none;
  height: auto;
  margin: 0;
}

header > .webwidth .logo img {
  display: block;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

header .nav a:focus-visible,
header button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

header .nav > li > a[aria-current] {
  background: #c40011;
  color: #fff;
}

@media screen and (min-width: 722px) {
  header {
    --review-nav-height: 56px;
  }

  header > .webwidth {
    min-height: 84px;
  }

  header > .webwidth .logo img {
    height: 64px;
  }

  header > .webwidth .contact {
    /* 清除窄屏面板收起后保留的行内 display。 */
    display: block !important;
    float: none;
    margin: 0;
  }

  header .contact-number {
    font-size: 22px;
  }

  header .nav_box {
    height: var(--review-nav-height);
    line-height: normal;
  }

  header .nav_box > .webwidth {
    display: flex;
    align-items: stretch;
    height: 100%;
  }

  header .nav_box > .webwidth > .nav {
    display: flex !important;
    flex: 1;
    min-width: 0;
  }

  header .nav > li {
    flex: 1;
    float: none;
    min-width: 0;
    line-height: normal;
  }

  header .nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--review-nav-height);
    padding-inline: 6px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
  }

  header #nav_search {
    position: static;
    flex: 0 0 48px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
  }

  header .nav_box > .search {
    top: 100%;
  }

  header .fixednav.hide {
    top: calc(-1 * var(--review-nav-height));
  }
}

@media screen and (min-width: 722px) and (max-width: 1024px) {
  header > .webwidth {
    padding-inline: 16px;
  }
}

.section[id="#站长推荐"]:not(:has(h2, h3, li, a, img, video)) {
  display: none;
}

#gengxin > .list_r {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 20px;
}

#gengxin .list_r li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  float: none;
  width: auto;
  margin: 0;
}

#gengxin .list_r li a {
  display: block;
  width: auto;
  overflow: visible;
  overflow-wrap: anywhere;
}

.list_p {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 20px;
}

.list_p li {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

.list_p li .img {
  overflow: hidden;
  background: #fff;
}

.list_p li .img img {
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.list_p li h2,
.list_it li h2,
.list_it li p {
  display: block;
  height: auto;
  overflow: visible;
  overflow-wrap: anywhere;
}

.list_it li + li {
  border-top: 1px solid #ece7e5;
}

.list_it li .info {
  margin-right: 0;
}

.product-update-list li img,
.list_it li img.report-list-cover,
.list_it li img[src$="/202612011796094785510055.png"] {
  object-fit: contain;
  background: #fff;
}

.content,
.content a {
  overflow-wrap: anywhere;
}

.content [style*="text-wrap-mode: nowrap"] {
  white-space: normal !important;
}

.live-review-image-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35em 0.8em;
  padding: 0.25em 0.75em;
}

.live-review-image-note,
.live-review-missing-report {
  max-width: 100%;
  border: 1px solid #e4dbd8;
  border-radius: 4px;
  background: #f8f4f3;
  color: #63534e;
  font-size: 0.875rem;
}

.live-review-image-note a,
.live-review-missing-report a {
  color: #953727;
  text-decoration: underline;
}

.live-review-missing-report {
  margin-block: 12px;
  padding: 8px 12px;
}

.live-review-missing-report summary {
  cursor: pointer;
}

.live-review-missing-report ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-block-start: 8px;
}

body:has(> footer > .footer) {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  min-block-size: 100dvh;
}

body > footer:has(> .footer) {
  margin-block-start: auto;
}

footer:has(> .footer),
footer > .footer {
  padding: 0;
}

.footer-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  max-width: 1024px;
  min-block-size: 160px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
  color: #f8f6f5;
  text-align: left;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 28px;
  padding-block: 11px;
}

.footer-contact {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
}

.footer-contact dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-contact dt,
.footer-service p,
.footer-follow figcaption {
  color: #d3cecc;
}

.footer-service {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 26px);
  padding-inline-start: clamp(16px, 3vw, 28px);
  border-inline-start: 1px solid #575250;
}

.footer-service p,
.footer-legal p {
  margin: 0;
}

.footer-service strong {
  display: block;
  margin-block-start: 4px;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-follow {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin: 0;
  text-align: center;
}

.footer-follow img {
  display: block;
  width: 80px;
  height: auto;
}

.footer-follow figcaption {
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-legal,
.footer-registration,
.footer-maps {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.footer-legal {
  justify-content: space-between;
  padding-block: 9px;
  border-block-start: 1px solid #575250;
  color: #d3cecc;
  font-size: 12px;
  line-height: 1.5;
}

.footer-legal p {
  color: inherit;
}

.footer-legal a {
  color: #fff;
  text-underline-offset: 2px;
}

.footer-legal a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.footer-registration > span {
  white-space: nowrap;
}

body:has(.product-catalog) {
  --catalog-gutter: clamp(12px, 3vw, 24px);
}

.section:has(> .product-catalog) > .breadcrumb {
  padding-inline: var(--catalog-gutter);
}

.section > :is(.product-catalog-title, .product-updates-title) {
  margin: 18px var(--catalog-gutter, 20px) 16px;
  padding: 0;
  color: #363636;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.list_p.product-catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  margin: 0;
  padding: 0 var(--catalog-gutter) 28px;
}

.product-catalog > li {
  border: 1px solid #ece7e5;
  border-radius: 6px;
  background: #fff;
}

.product-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  height: 100%;
  padding: clamp(8px, 1.4vw, 14px);
  color: #363636;
}

.product-card-link:focus-visible {
  outline: 2px solid #c40011;
  outline-offset: -2px;
}

.product-catalog .product-card-link > .img {
  display: block;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 3px;
  background: #f8f7f6;
}

.product-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.product-catalog .product-card-copy h2 {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.5;
}

.product-card-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #e9cecd;
  border-radius: 3px;
  color: #aa0010;
  font-size: 14px;
  font-weight: 600;
}

.product-card-link:hover .product-card-action {
  border-color: #aa0010;
  background: #aa0010;
  color: #fff;
}

@media screen and (min-width: 841px) {
  .product-card-link {
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
  }

  .product-card-copy {
    justify-content: center;
    gap: 16px;
  }
}

@media screen and (max-width: 721px) {
  header > .webwidth {
    gap: 8px;
    min-height: 60px;
    padding-inline: 10px;
  }

  header > .webwidth .logo img {
    height: 44px;
  }

  header .button_c {
    display: flex;
    flex: none;
    flex-direction: row-reverse;
    gap: 2px;
  }

  header .button_c :is(#nav, #search, #contact) {
    float: none;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 5px;
    font-size: 13px;
    line-height: 16px;
  }

  header .button_c :is(#nav, #search, #contact) i {
    margin-bottom: 3px;
    font-size: 19px;
    line-height: 1;
  }

  header .nav > li > a {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 24px;
  }

  #gengxin > .list_r,
  #gengxin .list_r li {
    grid-template-columns: minmax(0, 1fr);
  }

  .list_p {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .list_it li p {
    margin-top: 8px;
  }
}

@media screen and (max-width: 640px) {
  .footer-inner {
    min-block-size: 0;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 12px;
  }

  .footer-contact {
    gap: 2px;
    font-size: 12px;
  }

  .footer-service {
    justify-content: space-between;
    padding: 8px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid #575250;
  }

  .footer-follow img {
    width: 72px;
  }

  .footer-legal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px 12px;
    padding-block: 8px;
  }

  .footer-legal > p {
    grid-column: 1 / -1;
  }

  .footer-maps {
    display: grid;
    justify-items: end;
    gap: 4px;
  }
}

@media screen and (max-width: 360px) {
  header > .webwidth .logo img {
    height: 42px;
  }
}
