/* 全站公共样式 */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}
.chinese-vertical,
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.silk-texture {
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(212, 175, 55, 0.05) 1px,
    transparent 0
  );
  background-size: 24px 24px;
}
.red-glow-hover:hover,
.imperial-glow:hover {
  box-shadow: 0 10px 40px -10px rgba(178, 34, 34, 0.4);
}
@keyframes hl-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll {
  display: flex;
  width: max-content;
  animation: hl-scroll 40s linear infinite;
}
#site-mobile-menu:not(.open) {
  display: none;
}

/* FAQ 手风琴 */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 24px;
}
.accordion-item.active .chevron-icon {
  transform: rotate(180deg);
}

/* 侧栏微信：图标悬浮显示二维码 */
.site-qr {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  color: #5a403e;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.site-qr:hover {
  color: #8f000d;
  transform: translateX(-4px);
}
.site-qr__icon {
  font-size: 20px;
}
.site-qr__label {
  font-size: 10px;
  line-height: 1;
}
.site-qr__img {
  display: none;
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  width: 125px;
  height: 125px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #e2beba;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(26, 28, 28, 0.15);
  padding: 8px;
  max-width: none;
}
.site-qr:hover .site-qr__img {
  display: block;
}

/* 爱番番客服弹层 */
.site-kefu-wrap {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.site-kefu-wrap[hidden] {
  display: none !important;
}
.site-kefu-iframe {
  position: fixed;
  right: 100px;
  bottom: 150px;
  width: min(1000px, calc(100vw - 120px));
  height: min(600px, calc(100vh - 180px));
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  background: #fff;
}
.news-type-btn {
  border-bottom-width: 0;
  border-color: transparent;
}
.news-type-btn.is-active {
  border-bottom-width: 2px;
  border-color: #8f000d;
  color: #8f000d;
}

/* 首页区块 */
.home-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .home-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.home-section-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f000d;
}
.home-more-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #8f000d;
  text-decoration: none;
}
.home-more-link:hover {
  opacity: 0.85;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
