/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 注意：禁止在此处给 html 加 scroll-behavior: smooth。
   ScrollTrigger.refresh() 若在「页面已滚动」状态下执行，smooth 会让所有触发点的
   start/end 整体偏移 -scrollY（全变负数）→ 触发点永久不可达，入场与二次重播动画全部失效。 */

body {
    background: #fff;
    overflow-x: hidden;
}

/* 加载动画样式 */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader-content {
    text-align: center;
    color: white;
}

#loading-text {
    font-size: 24px;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.loading-char {
    display: inline-block;
    animation: fadeIn 0.8s ease infinite;
}

.loading-char:nth-child(2) { animation-delay: 0.2s; }
.loading-char:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeIn {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.loading-dots {
    display: inline-block;
    margin-left: 10px;
}

.loading-dots span {
    animation: bounce 1s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
}

#loader-progress {
    width: 200px;
    height: 4px;
    background: #333;
    margin: 20px auto;
    border-radius: 2px;
    overflow: hidden;
}

#loader-bar {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.3s ease;
}

#loader-percentage {
    font-size: 16px;
    color: #999;
    margin-top: 10px;
}

.page-container {
    position: relative;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    overflow: hidden;
}

.psd-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.bg-segment {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.elem {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    display: block;
}

@media (max-width: 1680px) {
    .page-container {
        max-width: none;
    }
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* 分组/前缀容器：透明包裹层，不新建层叠上下文，子元素仍相对 section 定位 */
.elem-group {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* 组件轮播 */
.carousel-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dots span.is-active {
    background: #fff;
}

/* ===== 文章列表白卡（替换原 element14 占位图 zt2627_sec2_14.png） =====
   设计稿白卡：1200 × 524，圆角 32px（按 1680 设计宽度换算）
   列表排版沿用站点 大头栏目模板 的 ul.list-style2（50px 行高 / 5px 上下间距 / 1px 虚线分隔 / 圆点 6px）
   字号 = 设计稿 20px 随白卡等比缩放：白卡宽 = 71.4286vw（≤1680 视口）= 20px × 白卡宽/1200 = 1.1905vw */
.article-list-card {
    --list-hover-color: #2a6cb5;
    --card-font-size: min(20px, 1.1905vw);
    aspect-ratio: 1200 / 524;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 2.6667% / 6.1069%;
    color: #333;
    font-family: "Microsoft YaHei", "PingFang SC", Helvetica, Arial, sans-serif;
    font-size: var(--card-font-size);
    font-weight: 400;
    text-align: left;
}

.article-list-card ul,
.article-list-card li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-list-card a,
.article-list-card a:link,
.article-list-card a:visited {
    color: #000;
    text-decoration: none;
}

.article-list-card ul.list-style2 {
    width: 83.3333%;
    margin: 0 auto;
}

.article-list-card ul.list-style2 li.list-item {
    position: relative;
    overflow: hidden;
    line-height: 2.5em;
    margin: 0.25em 0;
    border-bottom: 1px dashed #c8c8c8;
}

.article-list-card ul.list-style2 li.list-item a h1 {
    float: left;
    width: 86%;
    padding-left: 0.7em;
    font-size: 1em;
    font-weight: 400;
    color: #333;
    text-align: left;
    white-space: normal;
}

.article-list-card ul.list-style2 li.list-item a span.date {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 13%;
    font-size: 0.7em;
    color: #333;
    text-align: right;
}

.article-list-card ul.list-style2 li.list-item::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 0.3em;
    height: 0.3em;
    border-radius: 50%;
    background-color: #666;
}

.article-list-card ul.list-style2 li.list-item:hover a h1 {
    color: var(--list-hover-color);
    font-weight: 700;
}

.article-list-card ul.list-style2 li.list-item:hover::before {
    background-color: var(--list-hover-color);
}

/* “更多>>”入口：卡片右下角，右侧与列表内容区（83.3333%）对齐 */
.article-list-card .article-list-more {
    position: absolute;
    right: 8.3333%;
    bottom: 1.6em;
    font-size: 0.85em;
    line-height: 1;
    color: #333;
}

.article-list-card .article-list-more:hover {
    color: var(--list-hover-color);
    font-weight: 700;
}

/* ===== 视频播放按钮（叠加在 sl2_a 动图上，纯装饰，点击仍走外层链接） =====
   圆形直径 = 动图宽度的 12%（1680 视口下约 89px），随动图等比缩放 */
.video-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s ease;
}

.video-play-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-42%, -50%);
    width: 34%;
    height: 38%;
    background: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.sl2_a:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
}

/* ===== 带链接图片的悬停放大（sl2 动图除外） =====
   不裁切：放大后超出原边界的部分照常完整显示 */
a.elem-link:not(.sl2_a) img {
    transition: transform 0.3s ease;
}

a.elem-link:not(.sl2_a):hover img {
    transform: scale(1.06);
}