/* 导航栏样式 */
/* 思路：
    - 文字小图处理 ： vw 扩大2-3倍
    - 间隙处理：auto
    - 大图处理：宽度64vw
    - 文字处理：宽度80vw
    - 导航处理：固定40px
    - footer处理：高度自适应
 */

/* 在CSS中添加全局样式，防止水平滚动 */
body, html {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-left-logo {
    margin-left: 10vw;
    display: flex;
    width: 80px;
    height: 20px;
}

.nav-right-container {
    display: none;
}

/* 导航栏样式 */
.nav-container {
    background: #fff;
    display: flex;
    width: 100%;
    height: 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
    margin: 0;
    height: auto;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 添加阴影增强视觉效果 */
    background-color: #fff;
}

.nav-list {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 0;
    padding: 0;
    list-style: none;
    height: auto !important; /* 让高度自适应内容 */;
}

.nav-item {
    width: 100% !important;
    height: auto !important; /* 让高度自适应内容 */
    text-align: left;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    font-size: 14px; /* 设置字体大小确保可读性 */
    line-height: 1.5; /* 设置行高增加可读性 */
    height: auto; /* 让高度自适应内容 */
}   

/* 移动端菜单按钮 */
.mobile-menu-button {
    margin-right: 15px;
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001; /* 确保按钮在导航之上 */
}

.mobile-menu-button .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-button.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
    
/* 底部容器 */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    height: auto;
}

.footer-ctx {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
    height: auto;
}

.footer-subctx-wrap {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 20px auto 30px auto;
}

.footer-logo {
    margin: 15px auto;
    height: 23px;
    width: 100px;
}

.footer-text {
    margin: 0 auto 15px auto;
    line-height: 22px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 22px;
}

.footer-qrcode {
    width: 150px;
    height: 150px;
}

.footer-qrtext {
    text-align: center;
    width: 100%;
    height: 30px;
    line-height: 30px;
    color: #FFFFFF;
    font-size: 14px;
}

.footer-end {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    margin: 0 auto 15px auto;
}

/* 新闻详情页 */
.news-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F8F8F8;
    /* padding: 30px 20px; */
    padding: 20px 10vw;
}
.news-container h1{
    font-size: 22px;
    height: auto;
    line-height: 26px;
}
.news-container h2{
    font-size: 16px;
    height: auto;
    line-height: 20px;
}

.news-container img{
    margin: 30px auto;
}

.news-container .news-author-wrap{
    padding: 10px;
    width: 100%;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}


.news-author-wrap div{
    font-size: 10px;
}

.news-content p{
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 20px;
}

/* home页 */

/* 内容区域banner */
.section-banner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.section-banner .banner-bg{
    width: 100%;
    height: 37.5vw;
}

.banner-title-wrap{
    padding: 0 10vw;
    top: 0% !important;
    left: 50% !important;
    transform: translate(-50%, 50%) !important;
}

#media-banner-title-wrap{
    transform: translate(-50%, 80%) !important;
}
#bao-banner-title-wrap{
    transform: translate(-50%, 90%) !important;
}
.banner-title-wrap h1{
    font-size: 16px;
    line-height: 2;
}

.banner-title-wrap h2 {
    font-size: 14px !important;
}
.banner-title-wrap h3 {
    font-size: 12px !important;
}

.banner-title-wrap span {
    font-size: 10px !important;
} 

.banner-title-wrap span{
    font-size: 12px;
    line-height: 1.8;
}

.banner-footer-container {
    height: auto !important;
    flex-direction: column !important;
    transform: translate(-50%, 110%) !important;
}

.banner-footer-item-wrap {
    width: 100%;
    padding: 10px;
    height: auto !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.banner-footer-left-wrap {
    width: 80px !important;
    height: 80px !important;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #E0E0E0;
}

.banner-footer-left-wrap img {
    width: 80px !important;
    height: 80px !important;
}

.banner-footer-right-wrap {
    padding-left: 15px;
    width: auto !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.banner-footer-right-title {
    line-height: 1.8 !important;
    width: 160px !important;
    height: auto !important;
    font-size: 16px !important;
}

.banner-footer-right-subtitle {
    line-height: 1.8 !important;
    width: 160px !important;
    height: auto !important;
    font-size: 14px !important;
} 

/* 袋小保banner的footer样式 */
#bao-banner-footer-wrap {
    flex-direction: row !important;
    width: 90% !important;
    transform: translate(-50%, 120%) !important;
}
.bannerfooter-bao-item-wrap {
    width: 25% !important;
    margin: auto;
}

.bannerfooter-bao-item-wrap #banner-logo {
    width: 5vw;
    height: 5vw;
}

.right-separator {
    display: none;
}

/* 内容区域-容器 */
#home-section-first-wrap{
    position: relative;
    margin-top: 360px !important; 
}
#bao-section-first-wrap{
    margin-top: 100px !important; 
}
/* 主标题部分 */
.section-title-wrap {
    margin-top: 30px !important;
}

.section-title {
    font-size: 18px;
    line-height: 2.2;
    height: auto !important;
}

.section-line {
    width: 50px !important;
}

.section-subtitle {
    font-size: 14px !important;
    margin: 10px 0;
    height: auto !important;
    width: 80% !important;
    line-height: 2.2 !important;
}

/* 副标题-第二部分 */
.section-second-wrap {
    font-size: 16px;
    margin: 20px 0;
}

.section-second-seg-show-wrap {
    margin-top: 20px;
    height: auto !important;
    padding: 0 10vw;
    flex-wrap: wrap;
}

.seg-item {
    margin: 10px;
    width: 20vw;
    height: auto ;
}

.seg-item .title {
    font-size: 16px;
    height: auto !important;
    width: auto !important;
    line-height: 1.8;
}
.seg-item .title span{
    font-size: 8px;
}

.seg-item .title::after {
    font-size: 10px;
}

.seg-item .subtitle {
    font-size: 10px;
    height: auto ;
    line-height: 1.8;
}

/* 四宫格图片wrap */
.section-grid-wrap {
    padding: 0 auto !important;
}

.section-grid-item-wrap {
    width: 90% !important;
    height: auto !important;
    margin: 2.1vw !important;
    padding: 0 6.3vw !important;
    transition: all 0.3s ease;
}

.section-grid-item-wrap:hover {
    transform: translateY(-1vw);
}

.grid-flag {
    margin-top: 6vw;
    width: 6vw;
    height: 1.2vw;
}

.grid-title {
    font-size: 3vw;
    height: auto;
    margin-top: 1.2vw;
    line-height: 2;
}

.grid-line {
    margin: 1vw 0;
}

.grid-desc {
    margin-top: 1vw;
    font-size: 1.6vw;
    line-height: 2;
    height: auto;
}

.grid-ctx {
    height: auto;
    margin: 15px auto;
}

.grid-ctx .grid-ctx-item {
    width: 21vw;
    height: 27vw;
    height: auto;
    margin: 0 10vw;
}

.grid-ctx-item .icon {
    width: 21vw;
    height: 21vw;
}

.home-liuliang-img{
    width: 66.9vw;
    height: 30.6vw;
}

.grid-ctx-item .logo-name {
    width: 20.1vw;
    height: auto;
    line-height: 2;
    font-family: 1.8vw;
}

/* ***********2倍********* */
.ctx-biglogo {
    margin-top: 10.5vw;
    width: 90vw;
    height: 60vw;
}

.ctx-sub-logos-wrap {
    padding: 0;
    margin-top: 8vw;
    width: 100%;
    height: 26.4vw;
}

.sub-logo-item {
    width: 26.8vw;
    height: 26.4vw;
}

.sub-logo-item .sub-logo {
    width: 9.6vw;
    height: 9.6vw;
}

.sub-logo-item .sub-logo-title {
    height: 8.6vw;
    font-size: 3.1vw;
    line-height: 8.6vw;
}

.section-sub-ctx {
    margin-top: 9.1vw;
    height: 41.7vw;
    width: 93.75vw;
}

.sub-ctx-left-wrap {
    width: 46.8vw;
    height: 32.4vw;
}

.sub-ctx-left-wrap-img {
   width: 12.5vw ;
   height: 32.4vw; 
}

.sub-ctx-left-img {
    width: 12.5vw ;
    height: 32.4vw; 
}

.sub-ctx-left-textlist-wrap {
    margin-left: 10px;
    width: 22.2vw;
    height: 32.4vw;
}

.sub-ctx-left-textlist-item {
    height: auto;
}

.textlist-item-icon {
    width: 6vw;
    height: 6vw;
    margin-right: 5px;
}

.textlist-item-title {
    height: 6vw;
    line-height: 6vw;
    font-size: 1.4vw;
}

.sub-ctx-right-wrap {
    width: 46.8vw;
    height: 32.4vw;
    padding: 0 5.4vw;
}

/* 首页袋小保自助取袋机 右侧文字适配 */
.section-sub-ctx{
    display: flex;
    flex-direction: column;
    height: auto;
    width: 80vw;
    margin: 0;
    padding: 0;
}


.sub-ctx-left-wrap,.sub-ctx-right-wrap{
    width: 70vw;
    height: auto;
    padding: 0;
    margin: 15px auto;
}
.sub-ctx-right-wrap{
    width: 80vw;
}
.sub-ctx-left-wrap-img{
    width: 30vw;
    height: 78vw;
}

.sub-ctx-left-textlist-wrap{
    width: 40vw;
    margin: auto;
    height: 78vw;
    text-align: center;
    justify-content: space-evenly;
}
.textlist-item-icon{
    width: 6vw;
    height: 6vw;
    margin: auto 10px;
}

.textlist-item-title {
    margin: auto 0;
    height: auto;
    width: 100%;
    line-height: 2;
    font-size: 2.7vw;
}
/* 应用场景 */
#home-scene-img-wrap{
    flex-direction: column; 
    margin-top: 10px;
}

.home-scene{
    width: 64vw;
    height: 34.5vw;
    margin: 10px auto;
}

/* 客户展示 */
.customer-wrap {
    margin-top: 5.2vw;
    width: 94.5vw;
    height: auto;
}

.customer-wrap img {
    margin: 1vw;
    width: 24vw;
    height: 12vw;
}
/* 医院列表 */
#bao-hospital-wrap{
    width: 80vw; 
}
#bao-hospital-wrap img{
  width: 15vw;
  height: auto;
}
/* 新闻动态 */
.news-list-wrap {
    margin: 5.4vw auto;
    width: 94.5vw;
    height: auto;
}

.new-item-wrap {
    height: auto;
    width: 30vw;
    border-radius: 2vw;
    box-shadow: 0.6vw 0.9vw 1.5vw 0.3px rgba(209, 209, 209, 0.31);
}
.news-header {
    width: 30vw;
    height: 20.6vw;
}

.new-text-wrap {
    padding: auto;
}

.new-title {
    height: auto;
    width: 100%;
    margin-top: 1.8vw;
    line-height: 1.8;
    font-size: 2.2vw;
    max-lines: 2;
}

.new-subtitle {
    width: 100%;
    height: auto;
    margin-top: 1.5vw;
    font-size: 1.4vw;
    line-height: 2;
    max-lines: 5;
}

.new-text-footer {
    font-size: 2.1vw;
    height: 5vw;
    line-height: 5vw;
}
.home-news-arrow{
    width: 2.1vw;
    height: 1.5vw;
}
/* 跃海传媒页面样式 */
/* 医院场景 - 流量副标题 */
.hai-section-line-text{
    font-size: 14px !important;
    line-height: 1.8;
    padding: 0 10vw;
    text-align: center;
}

.hai-section-line-text span{
    font-size: 10px !important;
}
/* 大健康领域头部优质账号 */
.section-grid-item-wrap2{
    margin: 6px;
    width: 100% !important;
    height: auto !important;
    box-shadow: 3px 4px 16px 1px rgba(235,235,235,0.39);
    border-radius: 5px;
    border: 1px solid #E9E9E9;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.section-grid-item-wrap2 .grid-flag{
    width: 10px;
    height: 1px;
    margin: 10px 0 0 0 !important;
}
.section-grid-item-wrap2 .grid-title{
    font-size: 12px;
    line-height: 1.8;
    margin: 5px 0 5px 0 !important;
}
.section-grid-item-wrap2 .grid-line{
    width: 100%;
}
.section-grid-item-wrap2 .grid-ctx{
    height: auto;
}
.section-grid-item-wrap2 .grid-ctx img{
    width: 80px;
    height: 80px;
}
.section-grid-item-wrap2 .grid-ctx .text{
    width: auto;
    height: auto;
    max-height: 100px;
    font-size: 12px;
    padding: 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* 显示4行文字 */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.5;
}
.section-grid-item-wrap2 .grid-footer{
    margin: 10px 0;
}
.section-grid-item-wrap2 .grid-footer div{
    font-size: 10px;
}
/* 医患群体私域社群 */
#hai-siyu-wrap{
    flex-direction: column !important;
    width: 80% !important;
    margin-bottom: 10px;
}
.hai-siyu-item{
    width: 100% !important;
    border-radius: 10px;
    border: 1px solid #E9E9E9;
    padding: 20px 20px 0 20px;
    margin: 10px 0;
    transition: all 0.3s ease;
}
.hai-siyu-item:hover{
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.siyu-header{
    width: 100% !important;
}
#hai-siyu-header-top-wrap{
    width: 100% !important;
}
.siyu-wx-icon{
    width: 40px;
    height: 40px;
}
.siyu-content{
    width: 100% !important;
}
.siyu-content .title{
    font-size: 14px;
    line-height: 1.6;
    min-height: 40px;
}
.siyu-content .list-item{
    font-size: 12px;
    height: 40px;
    line-height: 40px;
}

.siyu-right{
    width: 100px;
    height: auto;
}
#hai-data-server-container-wrap{
    width: 80% !important;
}
.ctx-biglogo3{
    width: 30% !important;
    height: auto !important;
}
.hai-data-server-wrap{
    width: 30% !important;
    margin: 0 auto;
}
.hai-data-server-wrap .title{
    font-size: 14px;
    line-height: 2.2;
    height: auto;
    margin-bottom: 10px;
}
.hai-data-server-wrap .title span{
    font-size: 10px;
}
.hai-data-server-wrap .list-item2{
    font-size: 10px;
    line-height: 2;
    margin: 5px auto;
}

.hai-data-server-wrap .list-item2 img{
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.customer-wrap .style1{
    width: 30%;
    height: auto;
}
/* 袋小保样式 */
#bao-xiansu-title-wrap{
    margin-top: 0px !important;
}
.bao-xiansu-wrap{
    height: auto;
}

.bao-xiansu-wrap img{
    width: 7.8vw;
    height: 7.8vw;
    margin-right: 3vw;
}
.bao-xiansu-wrap a{
    font-size: 6.3vw;
    line-height: 9.9vw;
}
.bao-xiansu-subtitle{
    font-size: 5.1vw;
    line-height: 8.7vw;
    height: 8.7vw;
}

.bao-xiansu-bigimg{
    width: 80vw;
    height: 47vw;
    margin-top: 3.6vw;
}

#bao-xiansu-zhengce-sub-wrap img{
    width: 64vw;
    height: 49.1vw;
    margin: 10px auto;
}

#bao-xiansu-zhengce-sub-wrap .sub-ctx-right-wrap{
    height: auto;
    margin: 0;
    width: 80vw;
    padding: 0;
}

#bao-xiansu-zhengce-sub-wrap .sub-ctx-right-wrap .indented-paragraphs p{
    font-size: 12px;
    line-height: 2;
    width: 80vw;
    height: auto;
}

#bao-product-subtext{
    width: 80vw;
    height: auto;
    font-size: 2.4vw;
    margin: 1.6vw 0;
    line-height: 1.8;
}
#bao-product1-wrap img{
    width: 70vw;
    height:25.7vw;
    margin-top: 2.8vw;
}
.bao-product3-pic{
    width: 70vw;
    height: 34.7vw;
    margin: 3.2vw 0;
}

.bao-yingjian-bgimg{
    width: 100%;
    height: 45.5vw;
    margin-top: 6vw;
}

.bao-yingjian-ctximg{
    width: 70vw;
    height: 31.2vw;
    margin-top: -38.6vw;
    margin-bottom: 10vw;
}
/* 开放合作 */
#bao-open-ctx-wrap{
    flex-direction: column;
}
.text-img-style1-wrap,.text-img-style2-wrap{
    width: 64vw;
    height: auto;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 1.5vw;
}

.style1-title,.style2-title{
    line-height: 2.2;
    height: auto;
    font-size: 3vw;
}

.style1-pic,.style2-pic {
    width: 64vw;
    height: 47.6vw;
}

.text-img-style1-subtext,.text-img-style2-subtext {
    font-size: 2vw;
    line-height: 1.6;
    padding: 0 10px;
    margin-top: -12.8vw;
    height: 12.8vw;
    max-lines: 3;
}

.bao-guanfang-img{
    width: 64vw;
    height: 28.1vw;
    margin-top: 2vw;
}
/* 关于我们 */
#join-jieshao-ctx-wrap{
    flex-direction: column;
}

.join-company-img{
    width: 64vw;
    height: 53.4vw;
    margin: 2vw auto;
}

.join-company-paragraph-wrap {
    width: 80vw;
    margin: 0 auto;
}

.join-company-paragraph-wrap p{
    font-size: 12px;
    line-height: 2;
    letter-spacing: 1px;
}

.join-culture{
    flex-direction: column;
}
.join-culture img{
    width: 64vw;
    height: 48.3vw;
    margin: 4vw auto;
}
.join-develop-img{
    width: 64vw;
    height: 31.23vw;
    margin-top: 4.6vw;
}

.join-develop-img {
    width: 64vw;
    height: 34.22vw;
    margin-top: 5.2vw;
}

.join-contact-wrap {
    grid-template-columns: repeat(1, 64vw);
    grid-template-rows: repeat(4, 4.4vw);
    padding: 0;
    margin: 5.2vw auto 3.2vw auto;
}

.join-contact-item {
    font-size: 1.9vw;
    line-height: 2;
    text-align: center;
}

/* 高德地图组件 */
.my-map {
    margin: 0 auto 6vw auto;
    width: 64vw;
    height: 19.3vw;
}
.my-map img{
    width: 64vw;
    height: 19.3vw;
}