﻿/* 基建部站点自定义样式（首页 / 列表 / 内容页共用） */

.gallery-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.gallery-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.gallery-nav {
  opacity: 0.72;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.group\/gallery:hover .gallery-nav {
  opacity: 1;
}
.gallery-nav:hover {
  transform: translateY(-50%) scale(1.06);
}
.gallery-nav:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}
.site-title-en {
  display: block;
  width: 100%;
  font-size: clamp(0.45rem, 0.95vw + 0.26rem, 0.6875rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .site-title-en {
    letter-spacing: 0.12em;
  }
}
/* 顶栏右侧全高配图：左右两侧渐隐，与红金底融合 */
.header-hero-fullbleed {
  height: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.38) 11%,
    rgba(0, 0, 0, 0.95) 26%,
    #000 36%,
    #000 76%,
    rgba(0, 0, 0, 0.92) 84%,
    rgba(0, 0, 0, 0.38) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.38) 11%,
    rgba(0, 0, 0, 0.95) 26%,
    #000 36%,
    #000 76%,
    rgba(0, 0, 0, 0.92) 84%,
    rgba(0, 0, 0, 0.38) 93%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* 内容页正文 */
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: rgb(41 37 36);
}
.article-body p {
  margin-bottom: 1rem;
}
.article-body .article-section {
  margin-bottom: 1.25rem;
}
.article-body strong {
  font-weight: 700;
  color: rgb(28 25 23);
}

.nav-submenu {
  background: linear-gradient(180deg, #6b1414 0%, #3f0c0c 55%, #2c0808 100%);
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-top: 3px solid #f59e0b;
}
.list-item-ico {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  box-shadow: 0 1px 2px rgba(127, 29, 29, 0.25);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E")
      center / 0.85rem no-repeat,
    linear-gradient(135deg, #b91c1c, #dc2626);
}
.channel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(231 229 228);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background-color 0.15s;
}
.channel-row:hover {
  border-color: rgba(185, 28, 28, 0.35);
  box-shadow: 0 4px 12px rgba(127, 29, 29, 0.08);
  background: rgb(255 251 235);
}
.route-ico {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(145deg, #b91c1c, #7f1d1d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.quick-channels li .channel-row {
  flex: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 2.35rem;
  padding: 0.35rem 0.5rem;
  align-items: center;
  gap: 0.5rem;
}
.quick-channels .route-ico {
  height: 1.5rem;
  width: 1.5rem;
}
.quick-channels .route-ico svg {
  width: 0.7rem;
  height: 0.7rem;
}
.quick-channels .channel-row .font-medium {
  overflow-wrap: anywhere;
  line-height: 1.25;
}