/* 仅保留 .right 内容区样式，其他公共样式见 defult.css */

.main .right .xxbs-title {
  height: 70px;
  background-color: #E7F5FC;
  margin: 0 0 16px;
  color: #0072AA;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 70px;
  text-align: center;
}

.xxbs-intro {
  width: 100%;
  margin: 0 auto 0px;
  color: var(--xxbs-muted);
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
}

.xxbs-section {
  margin-top: 30px;
  margin-bottom: 54px;
}

.xxbs-section:last-child {
  margin-bottom: 20px;
}

.xxbs-section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0 34px;
  color: var(--xxbs-text);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  text-align: center;
}

.xxbs-section-title::before,
.xxbs-section-title::after {
  content: '';
  flex: 1 1 auto;
  height: 2px;
  background: var(--xxbs-primary);
}

.xxbs-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.xxbs-figure {
  position: relative;
  flex: 0 1 var(--xxbs-figure-w);
  width: var(--xxbs-figure-w);
  min-width: 0;
  max-width: 100%;
  margin: 0;
  aspect-ratio: var(--xxbs-figure-w) / var(--xxbs-figure-h);
}

.xxbs-figure.xxxh {
  --xxbs-figure-w: 782px;
  --xxbs-figure-h: 313px;
}

.xxbs-figure.xmzh {
  --xxbs-figure-w: 928px;
  --xxbs-figure-h: 309px;
}

.xxbs-figure.bzcs {
  --xxbs-figure-w: 674px;
  --xxbs-figure-h: 494px;
}

.xxbs-figure.xqbz {
  --xxbs-figure-w: 666px;
  --xxbs-figure-h: 515px;
}

.xxbs-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xxbs-download {
  position: absolute;
  top: 16px;
  left: calc(100% + 36px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 120px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #C0C0C0;
  background: #FFFFFF;
  color: #666666;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease;
}

.xxbs-download::after {
  content: '';
  flex: 0 0 9px;
  display: block;
  width: 9px;
  height: 13px;
  background: url('../xxbs_img/xiazia1.png') no-repeat center / 9px 13px;
}

.xxbs-download:hover,
.xxbs-download:focus-visible {
  color: #FFFFFF;
  border-color: #fff;
  background: var(--xxbs-deep);
}

.xxbs-download:hover::after,
.xxbs-download:focus-visible::after {
  background-image: url('../xxbs_img/xaizia.png');
}

.xxbs-download:active {
  transform: translateY(0);
}

@media only screen and (max-width: 1550px) {
  .main .right {
    flex: 1 1 auto;
    width: auto;
    margin-left: 40px;
  }
}

@media only screen and (max-width: 1250px) {
  .xxbs-download {
    left: calc(100% + 16px);
  }
}

@media only screen and (min-width: 981px) and (max-width: 1550px) {
  .xxbs-figure {
    flex: 0 0 auto;
    width: calc(100% - 156px);
  }
}

@media only screen and (min-width: 981px) and (max-width: 1250px) {
  .xxbs-figure {
    width: calc(100% - 136px);
  }
}

@media only screen and (max-width: 980px) {
  .main .right {
    width: 100%;
    margin-left: 0;
  }

  .main .right .xxbs-title {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .xxbs-intro {
    margin-bottom: 28px;
    font-size: 13px;
  }

  .xxbs-section-title {
    font-size: 16px;
    gap: 10px;
  }

  .xxbs-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .xxbs-figure {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .xxbs-figure img {
    width: 100%;
    height: auto;
  }

  .xxbs-download {
    position: static;
    top: auto;
    left: auto;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xxbs-download {
    transition: none !important;
  }
}
