/* ===== 顶部 Hero 视频/图片横幅（全宽） ===== */
.jz-hero-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 20px;
    overflow: hidden;
    background: #f5f5f5;
}
.jz-hero-swiper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}
@media (min-width: 768px) {
    .jz-hero-swiper { height: 360px; }
}
.jz-hero-slide {
    position: relative;
    overflow: hidden;
}
.jz-hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 渐变遮罩（左侧浓 → 右侧透明） */
.jz-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.35) 40%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}
html[data-night="night"] .jz-hero-mask {
    background: linear-gradient(90deg, rgba(30,30,30,.85) 0%, rgba(30,30,30,.35) 40%, rgba(30,30,30,0) 70%);
}
/* 文字层：abs-center 模式（垂直居中，左对齐） */
.jz-hero-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    width: 100%;
    padding: 0 0 0 6%;
    box-sizing: border-box;
}
.jz-hero-title {
    font-size: 30px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin: 0 0 12px;
}
.jz-hero-title span { color: #ff3b30; }
html[data-night="night"] .jz-hero-title { color: #eee; }
.jz-hero-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 18px;
}
html[data-night="night"] .jz-hero-subtitle { color: #ccc; }
.jz-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #c0392b;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.jz-hero-btn:hover {
    background: #a93226;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.jz-hero-btn-icon {
    width: 16px;
    height: 16px;
    fill: #fff;
}
@media (max-width: 767px) {
    .jz-hero-text { padding-left: 5%; }
    .jz-hero-title { font-size: 20px; }
    .jz-hero-subtitle { font-size: 13px; }
}

/* ===== 首页 Hero 激活：导航与 Hero 融为一体 ===== */
body.jz-hero-active .joe_header {
    background: transparent !important;
    box-shadow: none !important;
}
body.jz-hero-active .joe_header__above {
    background: transparent !important;
    box-shadow: none !important;
}
/* 隐藏导航背景特效层，避免遮挡 Hero 视频 */
body.jz-hero-active .joe_header__above-bg-effect {
    display: none !important;
}
/* 导航文字在视频上保持可读：加轻微阴影 */
body.jz-hero-active .joe_header__above-nav a,
body.jz-hero-active .joe_header__above-logo {
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
/* Hero 上移紧贴导航下方，消除白色间隙 */
body.jz-hero-active .jz-hero-wrap {
    margin-top: -70px !important;
}
/* 深色模式下导航前景色适配 */
html[data-night="night"] body.jz-hero-active .joe_header__above {
    background: transparent !important;
}
