body {
    font-size: 16px;
}
.index-header {
    padding: 20px 0;
}

/* 导航菜单样式 */
.index-nav {
    background: #81411e;
    padding: 0;
}

.index-nav-list {
    width: 1200px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    margin-bottom: 1px;
}

.index-nav-list > li {
    position: relative;
    flex: 1;
}

.index-nav-list > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.index-nav-list > li:last-child > a {
    border-right: none;
}

/* 有子菜单的父菜单添加向下箭头 */
.index-nav-list > li:has(.index-nav-chld) > a::after {
    content: "∨";
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* 鼠标悬停时箭头向上 */
.index-nav-list > li.has-submenu:hover > a::after {
    transform: rotate(180deg);
}

/* 主菜单悬停效果 */
.index-nav-list > li > a:hover {
    background: #c55c10;
}

/* 子菜单样式 */
.index-nav-chld {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* 显示子菜单 - 悬停在整个父菜单项（包括子菜单区域）时显示 */
.index-nav-list > li:hover .index-nav-chld,
.index-nav-list > li.has-submenu:hover .index-nav-chld {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 子菜单区域作为父菜单项的一部分，悬停时保持显示 */

/* 子菜单项样式 */
.index-nav-chld li {
    border-bottom: 1px solid #f0f0f0;
}

.index-nav-chld li:last-child {
    border-bottom: none;
}

.index-nav-chld li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.index-nav-chld li a:hover {
    background: #c55c10;
    color: #fff;
    padding-left: 30px;
}

.index-nav-chld li a:hover::before {
    content: "→";
    position: absolute;
    left: 15px;
    color: #ffffff;
}

/* 兼容性支持 - 如果浏览器不支持:has()选择器 */
.index-nav-list > li.has-submenu > a::after {
    content: "∨";
    font-size: 14px;
    margin-left: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.index-nav-list > li.has-submenu:hover > a::after {
    transform: rotate(180deg);
    content: "∧";
}
/*医院介绍*/
.yyjj-context {
    padding: 50px 0 0px;
    background-color: #f9f7f3;
    background-image: url(/images/yyjj_bgbg.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 450px;
    box-sizing: border-box;
}
.yyjj-context-w {
    width: 1200px;
    margin: 0 auto;
}
.yyjj-img-content {
    width: 504px;
    position: relative;
    height: 347px;
    background-image: url(/images/index_yyjj_bj.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: all 1s;
}
.yyjj-img-content img {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    width: 452px; /* 设置明确的初始宽度 */
    height: 300px; /* 设置明确的初始高度 */
    border-radius: 20px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease; /* 增加过渡时间并添加缓动效果 */
}
.yyjj-title {
    margin-bottom: 15px;
}
.yyjj-text {
    line-height: 1.6;
    margin-bottom: 15px;
}
.yyjj-text p {
    margin-bottom: 8px;
}
.yyjj-img-content:hover img {
    width: 100%;
    height: 100%;
    transform: scale(1.05); /* 添加轻微放大效果 */
}
.yyjj-text-cont {
    width: 609px;
}
.index-zj-content {
    background-color: #81411e;
    overflow: hidden;
}
.title-zj {
    width: 1200px;
    text-align: center;
    margin: 10px auto;
}
.title-zj > img {
    margin: 0 auto;
}
.w1400 {
    width: 1400px;
    margin: 0 auto;
}
/*button按钮*/
.button {
    display: inline-block;
    border-radius: 10px;
    border: none;
    background: #ee7000;
    color: white;
    font-family: inherit;
    text-align: center;
    font-size: 13px;
    box-shadow: 0px 14px 46px -11px #ee7000;
    width: 10em;
    padding: 0.8em 1em;
    transition: all 0.4s;
    cursor: pointer;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.4s;
}

.button span:after {
    content: "→";
    position: absolute;
    opacity: 0;
    top: 0;
    right: -10px;
    transition: 0.7s;
}

.button:hover span {
    padding-right: 2.5em;
}

.button:hover span:after {
    opacity: 4;
    right: 0;
}

/*医院荣誉*/
.yy-ry {
    padding: 45px 0 20px;
}
.index-title {
    margin-bottom: 20px;
}
#ry-content {
    height: 260px;
}
.ry-list {
    font-size: 14px;
}
.ry-list li p {
    text-align: center;
    margin-top: 5px;
}
#ry-content .swiper-pagination-bullet-active,
.zl-content .swiper-pagination-bullet-active {
    background-color: #ee7000;
    width: 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

/*医院专利*/
.yyzl-content {
    height: 300px;
    margin-bottom: 45px;
    background-image: url(/images/zl_bj.jpg);
    background-repeat: no-repeat;
    background-position: center top;
}
.zl-content {
    width: 1095px;
    margin-top: 5px;
    margin-left: 15px;
    height: 335px;
}
.zl-list {
    width: 2244px;
    height: 300px;
    overflow: hidden;
}
.zl-list li {
    float: left;
    width: 357px;
    height: 300px;
    margin-right: 20px;
    background-color: #f9f7f3;
    border-radius: 16px;
}

.zl-text {
    overflow: hidden;
    width: 315px;
    margin: 15px auto 0;
}
.zl-text-title {
    width: 146px;
    line-height: 1.8;
}
.zl-text-img {
    width: 152px;
}
.zl-time {
    width: 60px;
    height: 60px;
    background-color: #81411e;
    color: #fff;
    text-align: center;
    margin-left: 20px;
    border-bottom-right-radius: 20px;
}
.zl-time span {
    font-size: 24px;
    height: 30px;
    display: block;
}
/*专家板块*/
.index-zj-content {
    width: 100%;
    height: 730px;
    background-image: url("/images/doctor_bg.jpg");
    background-repeat: no-repeat;
    background-position: center top;
}
.title-zj {
    margin: 50px auto 20px;
}
#zj-content {
    width: 1200px;
    position: relative;
}
#zj-content > ul {
    margin: 0 auto;
}
#zj-content > ul > li {
    width: 284px !important;
    float: left;
    overflow: hidden;
}
.zj-item {
    width: 284px;
    position: relative;
    height: 460px;
}
.zj-img {
    width: 284px;
    display: block;
    height: 396px;
    overflow: hidden;
    border-radius: 15px;
}
.zj-text {
    width: 210px;
    height: 90px;
    background-color: #ffffff;
    text-align: center;
    position: absolute;
    top: 340px;
    left: 37px;
    border-radius: 10px;
    z-index: 11;
    transition: all 0.4s;
}
.zj-text > h3 {
    font-size: 20px;
    color: #c55c10;
    margin-top: 14px;
}
.zj-detail {
    position: absolute;
    display: block;
    top: 340px;
    background-color: #ee7000;
    text-align: center;
    z-index: 10;
    color: #fff;
    left: 70px;
    transition: all 0.4s;
}
.zj-item:hover .zj-detail {
    top: 275px;
}
.zj-item:hover .zj-text {
    box-shadow: 10px 14px 30px -11px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
}
.zj-item .zj-img > img {
    transition: all 0.4s;
}
.zj-item:hover .zj-img > img {
    transform: scale(1.1);
}
.zj-content-wap .swiper-button-next,
.zj-content-wap .swiper-button-prev {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 40%;
    background-color: #ffffff;
    color: #c55c10 !important;
    background-size: 24px 24px; /* 控制SVG图标的大小 */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%; /* 圆形按钮 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* 添加阴影效果 */
}

/* 修改Swiper按钮的SVG图标颜色 */
.zj-content-wap .swiper-button-next::after,
.zj-content-wap .swiper-button-prev::after {
    color: #000000 !important;
    font-size: 12px !important;
}

/* 自定义SVG图标颜色 - 左箭头 */
.zj-content-wap .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23c55c10'%2F%3E%3C%2Fsvg%3E") !important;
}

/* 自定义SVG图标颜色 - 右箭头 */
.zj-content-wap .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23c55c10'%2F%3E%3C%2Fsvg%3E") !important;
}
.zj-content-wap {
    width: 1360px;
    margin: 0 auto;
    height: 500px;
    position: relative;
}

/*预约板块*/
.index-yy-content {
    background-color: #fff;
    margin-top: -100px;
    z-index: 20;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.11);
    margin-bottom: 30px;
    padding: 30px 30px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 10px;
    position: relative;
    transition: all 0.4s;
}
.index-yy-content:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
}
.index-yy-content .layui-form-label {
    width: 100px;
}
.zj-yuyue {
    width: 60px;
    writing-mode: vertical-lr;
    font-size: 28px;
    position: relative;
    height: 200px;
    margin-top: 20px;
}
.zj-yuyue h3 {
    position: absolute;
    z-index: 10;
    writing-mode: vertical-lr;
    color: #81411e;
}
.zj-yuyue span {
    position: absolute;
    z-index: 9;
    font-size: 16px;
    top: 50px;
    left: 45px;
    height: 200px;
    color: #999;
    writing-mode: vertical-lr;
    font-weight: normal;
    opacity: 0.6;
}
.form-content {
    width: 1060px;
}
.form-content input[type="text"] {
    border: #dadada 1px solid;
}
.form-content .layui-form-select dl dd,
.layui-form-select dl dt {
    line-height: 28px !important;
}

/*医院科普*/
.index-news,
.index-kp {
    width: 585px;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
}
.new-tab {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #d1d1d1;
    margin: 15px 0;
}
.new-tab > li {
    float: left;
    width: 100px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}
.new-tab > li.cur {
    border-bottom: 3px solid #b64c00;
    font-weight: bold;
    font-size: 18px;
    color: #81411e;
}
.new-toutiao {
    overflow: hidden;
    width: 100%;
}
.ts-img {
    width: 239px;
    height: 160px;
    overflow: hidden;
    margin-right: 15px;
}
.ts-img img {
    width: 100%;
    height: 100%;
}
.new-title {
    display: flex;
    justify-content: space-between;
}
.new-title > a {
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-top: 5px;
    border-radius: 5px;
    background-color: #81411e;
    color: #fff;
    font-size: 14px;
    display: inline-block;
}
.ts-text {
    width: 290px;
    height: 160px;
    overflow: hidden;
}
.new-list {
    overflow: hidden;
    margin-top: 20px;
}
.new-content {
    display: none;
}
.new-list li {
    overflow: hidden;
    width: 100%;
    border-bottom: 1px dashed #d1d1d1;
    margin-bottom: 8px;
    padding-bottom: 8px;
}
.new-list li:last-child {
    border: none;
}
.new-list li > a {
    width: 500px;
    float: left;
    transition: all 0.4s;
    box-sizing: border-box;
}
.new-list li > a:hover {
    color: #b64c00;
    padding-left: 10px;
}
.new-list li > a:hover::before {
    content: " ";
    display: inline-block;
    margin-right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b64c00;
}
.new-list li > span {
    width: 45px;
    float: right;
    font-size: 14px;
    color: #666;
}
