/* === 移动端全局重置 === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
    font-family: "Microsoft YaHei";
}
/* === Header 容器 === */
.header {
    position: relative;
    width: 100%;
    height: 61.33vw;
    overflow: hidden;
}
/* === Banner 层（底层） === */
.header_banner {
    width: 100%;
    height: 105.33vw; /* 790/750*100 */
    overflow: hidden;
}
/* ========== 幻灯片列表 ========== */
.header_banner .bd,
.header_banner .banner_ul,
.header_banner .banner_li {
    width: 100%;
    height: 100%;
}

.header_banner .banner_li img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ========== 指示器（小圆点）========== */
.header_banner .hd {
    position: absolute;
    bottom: 36px;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.13vw;            /* 圆点间距: 16/750*100 */
}

/* 隐藏SuperSlide自动生成的文字分页，只保留圆点 */
.header_banner .hd .hd-list {
    display: flex;
    gap: 2.13vw;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header_banner .hd .hd-list li {
    width: 2.13vw;          /* 圆点大小: 16/750*100 */
    height: 2.13vw;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    /* 隐藏SuperSlide默认的文字数字 */
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
}

/* 当前激活的圆点 */
.header_banner .hd .hd-list li.on {
    background: #fff;
    width: 5.33vw;
    border-radius: 2.67vw;
}

.header_banner .hd .prev,
.header_banner .hd .next {
    display: none;
}


@media (min-width: 768px) {
    .header_banner .hd .prev,
    .header_banner .hd .next {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 10.67vw;
        height: 10.67vw;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        color: #fff;
        font-size: 5.33vw;
        z-index: 10;
        text-decoration: none;
    }
    .header_banner .hd .prev { left: 2.67vw; }
    .header_banner .hd .next { right: 2.67vw; }
}

/* === 顶部区域：Logo + 搜索框 横向排列 === */
.header_top {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    display: flex;
    flex-direction: row;       /* ★ 改为横向排列 */
    align-items: center;       /* ★ 垂直居中 */
    justify-content: space-between; /* 两端对齐 */
    height: 50px;              /* 固定高度，确保行高一致 */
    padding: 0 15px;
    padding-top: calc(12px + constant(safe-area-inset-top));
    padding-top: calc(12px + env(safe-area-inset-top));
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}

/* 返回按钮样式 */
.header_top > a {
    text-decoration: none;
    color: #ffffff;
    font-size: 25px;
    width: 18px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.header_top a i {
    color: #fff;
    line-height: 1;
    font-size: 28px;
}

/* 标题 - 使用绝对定位实现完美居中 */
.header_top h3 {
    position: absolute;        /* ★ 脱离文档流，不受两侧元素宽度影响 */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;            /* 限制最大宽度，避免与按钮重叠 */
    text-align: center;
    pointer-events: none;      /* 可选：防止标题遮挡点击事件 */
}





/* === 底部区域：撑满整个页面宽度 === */
.header_bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    width: 100%; /* ★ 撑满整个页面宽度 */
    padding: 0;   /* 去掉内边距，让内容真正撑满边缘 */
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}
.header_bottom img {
    width: 100%;  /* ★ 图片铺满整个底部宽度 */
    height: auto;
    display: block;
}

/* === 仅限制桌面端最大宽度 === */
@media screen and (min-width: 768px) {
    .header { max-width: 750px; margin: 0 auto; }
}
.main_info{
    background-color: #e3fdff;
    width: 100%;
    height: auto;
}
.main1{
    width: 100%;
    padding: 20px 10px;
    height: auto;
    background-color: #e3fdff;
}
.main1 img{
    width: 100%;
    height: auto;
}

.main2{
    width: 100%;
    padding: 20px 10px;
    height: auto;
    background-color: #e3fdff;
}
.main2_banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ========== 轮播内容区域 ========== */
.main2_banner .bd {
    width: 100%;
    overflow: hidden;           /* 配合slide插件的leftLoop效果 */
}

.main2_banner_ul {
    display: flex;              /* slide插件会自动计算宽度，flex作为基础布局兜底 */
}

.main2_banner_li {
    flex-shrink: 0;             /* 防止轮播项被压缩 */
    width: 100%;                /* 单张占满容器宽度，vis:1时生效 */
}

.main2_banner_li a {
    display: block;
    width: 100%;
}

.main2_banner_li img {
    width: 100%;
    height: auto;               /* 高度自适应，保持图片原始比例 */
    display: block;             /* 消除img底部默认间隙 */
    object-fit: cover;          /* 若需固定高度可改为cover裁剪填充 */
}

/* ========== 控制栏（按钮+指示点） ========== */
.main2_banner .hd {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;                  /* 按钮与指示点之间的间距 */
    pointer-events: none;       /* 让控制栏不遮挡图片点击 */
}

/* 恢复按钮和指示点的点击事件 */
.main2_banner .hd a,
.main2_banner .hd ul {
    pointer-events: auto;
}

/* ========== 左右切换按钮 ========== */
.main2_banner .hd .prev,
.main2_banner .hd .next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: none;
}
.main2_banner .hd .prev{
    position: absolute;
    left: 0;
    bottom: 50px;
}
.main2_banner .hd .next{
    position: absolute;
    right: 0;
    bottom: 50px;
}
.main2_banner .hd .prev:hover,
.main2_banner .hd .next:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* 用CSS绘制箭头图标，无需额外引入字体或图片 */
.main2_banner .hd .prev::before,
.main2_banner .hd .next::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
}

.main2_banner .hd .prev::before {
    transform: rotate(-135deg);
    margin-left: 2px;           /* 视觉居中修正 */
}

.main2_banner .hd .next::before {
    transform: rotate(45deg);
    margin-right: 2px;          /* 视觉居中修正 */
}

/* ========== 指示点列表 ========== */
.main2_banner .hd .hd-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
}

/* slide插件自动生成的li指示点 */
.main2_banner .hd .hd-list li {
    width: 12px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 当前激活的指示点（slide插件会自动添加on类名） */
.main2_banner .hd .hd-list li.on {
    width: 20px;
    background: #7bd5b7;
}
.main3{
    width: 100%;
    padding: 10px 10px;
    height: auto;
    background-color: #e3fdff;
}
.main3 p{
    font-size: 16px;
    line-height: 2;
    text-indent: 2em;
}
.main3 p img {
    max-width: 100% !important;
    height: auto !important;
    text-indent: 0 !important;
    margin-bottom: 10px;
    margin-top: 10px;
}
@supports selector(:has(*)) {
    .main3 p:has(img) {
        text-indent: 0!important;
    }
}

.main4{
    width: 100%;
    padding: 10px 10px 100px 10px;
    height: auto;
    background-color: #e3fdff;
}
.main4_list {
    width: 100%;
    box-sizing: border-box;
}

/* ========== 网格布局（一行两列） ========== */
.main4_ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ========== 单个卡片 ========== */
.main4_li {
    position: relative;
    overflow: hidden;
}

.main4_li a {
    display: block;
    text-decoration: none;
}

/* ========== 图片样式 ========== */
.main4_li img {
    width: 100%;
    height: auto;               /* 高度自适应，保持原始比例 */
    display: block;             /* 消除img底部默认间隙 */
    object-fit: cover;          /* 若需固定高度可改为cover裁剪 */
}

/* ========== 悬浮文字（左下角） ========== */
.main4_li h3 {
    position: absolute;
    left: 10px;
    bottom: 10px;
    margin: 0;                  /* 清除h3默认外边距，确保定位精准 */
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    max-width: calc(100% - 20px); /* 防止文字过长溢出右侧 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); /* 深色阴影增强可读性 */
    pointer-events: none;       /* 避免文字遮挡a标签的点击区域 */
}