* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 登录页面 */
.onload {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom right, #dcf3f3 0%, #80d3e0 50%, #d4f2f1 100%);
}

.myload {
    position: fixed;
    width: 30vw;
    height: 40vh;
    background: #ffffffdf;
    left: 35vw;
    border-radius: 2%;
    box-shadow: 3px 3px 3px #a3e0d0d0;
}

.myload::after {
    content: '';
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    width: 100%;
    height: 30%;
    background: inherit;
    transform: scaleY(-1);
    opacity: 0.4;
    mask: linear-gradient(to bottom, transparent, black 80%);
    -webkit-mask: linear-gradient(to bottom, transparent, black 80%);
    pointer-events: none;
    /* 防止干扰交互 */
}

/* 登录页面-登陆部分 */
.input-group {
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    padding-bottom: 12px;
    padding-left: 5vw;
    gap: 10px;
}

.input-group label {

    margin-bottom: 8px;
    color: #555;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 4px;

}

.input-group input {
    width: 60%;

    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    border-radius: 0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-bottom: 2px solid #6fc0e6;
    box-shadow: none;
}


/* 登录按钮 */
.btn-login {
    width: 40%;
    padding: 12px;
    background-color: #80d3e0;
    color: #555;
    border: #ccc;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;

}



/* 顶部导航 */
.dh {
    height: 10vh;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.an {
    background: none;
    border: none;
    padding: 20px 15px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: normal;
}

.an::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0bb1b1;
    transition: width 0.3s ease;
}

.an:hover {
    color: #0bb1b1;
}

.an:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown-content button {
    background: none;
    border: none;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    display: block;
    font-weight: normal;
}

.dropdown-content button:hover {
    background-color: #f5f5f5;
    color: #0bb1b1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.an2 {
    font-size: 15px;
    width: 40px;
    height: 30px;
    border: none;
    background: none;
}



/* 医疗服务下拉菜单 */
.dropdown-container {
    position: relative;
    /* 确保下拉菜单相对于此容器定位 */
}

/* 一级下拉菜单样式 */
.dropdown-menu {
    width: 180px;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    background: #ffffff;
    z-index: 999;
    left: 0;
    top: 100%;
}

/* 显示下拉菜单时的样式 */
.dropdown-container:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* 子按钮样式 */
.sub-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    background: #ffffff;
    border: none;
    padding: 8px 30px 8px 12px;
    text-align: left;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
}

.sub-btn:hover {
    background-color: #f5f5f5;
    color: #0bb1b1;
}

/* 添加右箭头 */
.sub-btn::after {
    content: '>';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.sub-btn:hover::after {
    color: #0bb1b1;
}

/* 二级下拉菜单样式 */
.submenu1 {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    left: 100%;
    top: 0;
    background: #ffffff;
    white-space: nowrap;
    min-width: 180px;
}

/* 显示二级下拉菜单时的样式 */
.sub-btn:hover+.submenu1,
.submenu1.show {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* 二级按钮样式 */
.submenu1 button {
    display: block;
    width: 180px;
    height: 50px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #f0f0f0;
}

.submenu1 button:hover {
    background: #62d8e7e2;

}

/* 二级菜单2 */
.submenu2 {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    left: 100%;
    top: 50px;
    background: #ffffff;
    white-space: nowrap;
    min-width: 180px;
}

/* 显示二级下拉菜单时的样式 */
.sub-btn:hover+.submenu2,
.submenu2.show {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* 二级按钮样式 */
.submenu2 button {
    display: block;
    width: 180px;
    height: 50px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #f0f0f0;
}

.submenu2 button:hover {
    background: #62d8e7e2;

}

/* 二级菜单3 */
.submenu3 {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    left: 100%;
    top: 100px;
    background: #ffffff;
    white-space: nowrap;
    min-width: 180px;
}

/* 显示二级下拉菜单时的样式 */
.sub-btn:hover+.submenu3,
.submenu3.show {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* 二级按钮样式 */
.submenu3 button {
    display: block;
    width: 180px;
    height: 50px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #f0f0f0;

}

.submenu3 button:hover {
    background: #62d8e7e2;

}

/* 容器样式 */
.yl {
    width: 17vw;
    height: 30vh;
    display: flex;
    flex-direction: column;
}

.button-container {
    position: relative;
    /* 确保下拉菜单相对于此容器定位 */

}

/* 按钮样式 */
.yl-button {
    width: 17vw;
    height: 8vh;
    background: #ffffff;
    color: #333;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    padding-left: 30px;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f0f0f0;
}

/* 添加小圆点的伪元素 */
.yl-button::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #333;
    border-radius: 50%;
}

.yl-button:hover::before {
    background-color: #0bb1b1;
}

/* 鼠标悬停时的效果 */
.yl-button:hover {
    background-color: #f1f1f1;
    color: #0bb1b1;
    transform: scale(1.05);
    /* 轻微放大效果 */
}

/* 下拉菜单样式 */
.yl-menu {
    display: none;
    top: 100%;
    left: 0;
    width: 17vw;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.yl-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 下拉菜单项样式 */
.yl-item {
    width: 100%;
    padding: 10px;
    border: none;
    background: #ffffff;
    color: #333;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.yl-item:hover {
    background-color: #f5f5f5;
    color: #0bb1b1;
}

/* 符号样式 */
.yl-button span {
    font-size: 18px;
    font-weight: 600;
    color: #424242;

    transition: color 0.3s ease;
    margin-right: 20px;
}

.yl-button:hover span {
    color: #0bb1b1;
    /* 悬停时符号颜色变化 */
}

.yl-menu .yl-item {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
}

.content-area {
    padding: 20px;
    overflow-y: auto;
}

.submenu1, .submenu2, .submenu3 {
    display: none;
}

.hidden {
    display: none;
}

.show {
    display: block;
}

/*  */

/* 图片按钮样式 */
.image-button {
    background: none;
    border: none;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-button img {
    height: 90%;
}

/* 主内容区域 */
#mainContent {
    position: fixed;
    top: 10vh;
    left: 0;
    width: 100vw;
    height: 90vh;
    z-index: 997;
    overflow: auto;
    background: #f0f0f0;
}

/* 单个页面 */
/* .page {
    display: none;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.page.active {
    display: block;
} */

/* 图片样式 */
.sz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持比例裁剪填充 */
}

.sz-gk {
    width: 100vw;
    height: 70%;
    background: #ffffff;
    display: flex;
}

.szwh {
    width: 100vw;
    height: 75vh;
    background-image: url("images/qywh.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.sz-fc {
    width: 100vw;
    height: 75vh;
    background-image: url("images/tp3.png");
    background-size: cover;
    /* 核心控制 */
    background-position: center;
    background-repeat: no-repeat;
}

.sz-wh {
    width: 100vw;
    height: 100vh;
}

.sz-lx {
    width: 100vw;
    height: 60vh;
    /* background: linear-gradient(to bottom, #f0f0f0, #d9eeec); */
    display: flex;
    gap: 10vw;
}

/* 轮播图 - 修改为占满除导航栏外的部分 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持比例并填满容器 */
}

.caption {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 30px;
    border-radius: 8px;
}

/* 箭头按钮 */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 指示器 */
.indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 3;
}


.dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* 高亮当前页面按钮 */
.active-nav {
    color: #0bb1b1 !important;
}

.active-nav::after {
    width: 100% !important;
}

/* 下拉菜单高亮样式 */
.dropdown-content button.active-submenu {
    color: #0bb1b1;
    background-color: #f0f8ff;
}


/* 名医风采下拉 */

.dropdown-doctor {
    position: relative;
    display: inline-block;
}

.dropdown-doctor .an {
    background-color: #ffffff;
    padding: 12px 16px;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.dropdown-doctor-menu {
    display: none;
    /* 默认隐藏 */
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
    /* 在按钮下方显示 */
    left: 0;
}

.dropdown-doctor-menu button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

.dropdown-doctor-menu button:hover {
    background-color: #f1f1f1;
    color: #0bb1b1;
}


.myfc {
    width: 100%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    background: #ffffff;
    border-bottom: 1px dashed #474747;
    /* border-radius: 2%; */
    /* box-shadow: 2px 2px 2px 2px #ebe9e9; */
}

.my-tp {
    width: 150px;
    height: 200px;
    margin-top: 45px;
    margin-left: 75px;
}

.my-js {
    width: 65%;
    background: #ffffff;
    margin-top: 45px;
    border-radius: 2%;
    margin-bottom: 50px;
}



.my-xm {
    font-size: 25px;
    font-weight: 400;
    text-decoration: underline solid rgb(26, 236, 225);
    margin-top: 10px;
    text-align: center;
}

/* 招贤纳士 */
/* 添加在CSS部分 */
.zp {
    margin-left: 14.6vw;
    display: inline-block;
    padding: 8px 20px;
    background-color: #0bb1b1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.zp:hover {
    background-color: #098989;
    /* 更深的颜色 */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 或者添加下划线效果 */
.zp:hover {
    text-decoration: underline;
    background-color: transparent;
    color: #0bb1b1;
    border: 2px solid #0bb1b1;
}

/* 招贤纳士弹窗 */
.zp-modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* 半透明背景 */
}

.zp-modal-content {
    background-color: #ffffff;
    /* padding: 15vh; */
    padding-top: 10vh;
    width: 100vw;
    height: 100vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.zp-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.zp-close-btn:hover,
.zp-close-btn:focus {
    color: black;
    text-decoration: none;
}

.zp-activities {
    display: flex;
    flex-direction: column;
    margin-left: 19.5vw;
    margin-top: 50px;

}

.zp-activity {
    width: 90%;
    height: 12vh;
    margin-left: 50px;
    margin-bottom: 10px;
}

.zp-activity:active {
    transform: translateY(0);
}

.zp-date {
    font-weight: 400;
    font-size: 22px;
    color: #000000;
}

.zp-location {
    color: #343434;
    font-size: 18px;
    margin-left: 50px;
}

.zp-content {
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.5;
}

.zp-divider {
    width: 60vw;
    height: 1px;
    background-color: #c1c1c1;
    margin-bottom: 30px;
}

.action-btn {
    width: 55px;
    height: 30px;
    margin-left: 450px;
    background-color: #d7d9d9;
    color: #060b0b;
    border: none;
    border-radius: 2px;
}


/* 招纳贤士菜单 */
/* .dropdown-zp {
    position: relative;
    display: inline-block;
} */

/* 添加这行 */
/* .career-btn {
    background-color: #ffffff !important;
}

.dropdown-zp-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: rgb(255, 255, 255);
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-zp:hover .dropdown-zp-menu,
.dropdown-zp-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-zp-menu button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
}

.dropdown-zp-menu button:hover {
    background-color: #ffffff;
    color: #0bb1b1;
} */

/* 为招贤纳士按钮添加悬停效果 */
/* .dropdown-zp .an:hover {
    background-color: rgb(255, 255, 255);
} */


/* 下拉菜单样式 */
/* .action-dropdown {
    animation: fadeIn 0.2s ease;
}

.action-btn {
    width: 55px;
    height: 30px;
    background-color: #0bb1b1;
    color: #ffffff;
    border: none;
    border-radius: 2px;
}

.action-dropdown button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    border: none;
    background: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.action-dropdown button:hover {
    background-color: #ffffff;
    color: #0bb1b1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* .image-container {
        width: 18.5vw;
        position: relative;
        border-radius: 5%;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .image-container img {
        width: 100%;
        height: 100%;
        border-radius: 5%;
        transition: all 0.3s ease;
    }
     */
    /* 弹窗基础样式 */
.xz-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 67, 67, 0.55);
    color: white;
    border-radius: 5%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* 悬停效果 */
.xz-image-container:hover .xz-popup-overlay {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.xz-image-container:hover img {
    transform: scale(1.05);
}

/* 弹窗文字样式 */


.xz-popup-content {
    text-indent: 2em;
    font-size: 16px;
    line-height: 1.5;
    padding-top: 55px;
    color: #eee;
}

/* 确保图片过渡效果 */
.xz-image-container img {
    transition: all 0.3s ease;
}

/* 确保容器圆角和溢出隐藏 */
.xz-image-container {
    border-radius: 5%;
    overflow: hidden;
}

/* 父容器过渡效果 */
.zp-parent-container {
    transition: gap 0.3s ease;
}

/* 当有图片悬停时，缩小间距 */
.zp-parent-container:hover {
    gap: 1vw;
}

/* 悬停的图片放大并置顶 */
.xz-image-container:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* 未悬停的图片缩小并变暗 */
.zp-parent-container:hover .xz-image-container:not(:hover) {
    transform: scale(0.95);
    opacity: 0.85;
    filter: brightness(0.9);
}

/* 确保所有图片容器有过渡效果 */
.xz-image-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* 弹框样式 */
.job-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
}

.job-modal.active {
    display: block;
}

.modal-header {
    background-color: #0bb1b1;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
}

.modal-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: rgb(136, 133, 133);
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
}

/* 职位详情样式 */
.job-detail {
    margin-bottom: 15px;
}

.job-detail strong {
    color: #0bb1b1;
    margin-right: 10px;
    min-width: 100px;
    display: inline-block;
}

/* 遮罩层 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 1000;
}

.modal-overlay.active {
    display: block;
}

/* 确保弹框在内容上层 */
#careerPage {
    position: relative;
}


/* 视频容器样式 */
        .video-container {
            width: 50vw;
            height: 60vh;
            background-color: #999;
            margin: 30px auto;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        
        /* 视频样式 - 确保视频填充整个容器 */
        #myVideo {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 保持视频比例并填充容器 */
        }
        
        /* 视频控件容器 */
        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .video-container:hover .video-controls {
            opacity: 1;
        }
        
        .control-btn {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            margin: 0 5px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        .control-btn:hover {
            background-color: #2980b9;
        }
        
        .instructions {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .instructions h2 {
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .instructions ul {
            padding-left: 20px;
        }
        
        .instructions li {
            margin-bottom: 10px;
        }
        
        .video-info {
            background-color: #fff;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            text-align: center;
            font-style: italic;
            color: #7f8c8d;
        }
        
        @media (max-width: 1024px) {
            .video-container {
                width: 70vw;
            }
        }
        
        @media (max-width: 768px) {
            .video-container {
                width: 90vw;
                height: 50vh;
            }
        }





/* 新闻中心的样式 */
#newsPage h1 {
    font-weight: 400;
    text-decoration: underline solid rgb(26, 236, 225);
    padding-top: 40px;
    margin-left: 80px;
}

#newsContainer {
    width: 90vw;
    height: 70vh;
    margin-left: 10vw;
    display: flex;
    gap: 10vw;
}

.news-item {
    width: 35vw;
    height: 53vh;
    background-color: rgb(255, 255, 255);
    margin-top: 5vh;
    margin-left: 0.5vw;
    position: relative;
}

.news-item .image-container {
    width: 30vw;
    height: 30vh;
    margin: auto;
    margin-top: 50px;
}

.news-item img {
    width: 100%;
    height: 100%;
}

/* 确保新闻项目中的文字显示 */
.news-item p {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #333;
    font-size: 18px;
    margin-top: 15px;
    text-align: center;
    padding: 10px 15px;
    line-height: 1.4;
}

.news-item button {
    border: none;
    background-color: #ffffff;
    padding-top: 30px;
    font-size: 20px;
    text-align: center;
}

/* 新内容的样式 */
#newContent {
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}

.news-item button {
    transition: color 0.3s ease;
}

/* 定义鼠标悬停时的样式变化 */
.news-item:hover button {
    color: rgb(0, 34, 255);
    text-decoration: underline;
}

#modal1, #modal2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 999;
    overflow: auto;
}

.modal-content {
    width: 100%;
    height: 100%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    overflow-y: auto;
    position: relative;
}

/* 活动中心 */
.activity {
    transition: background-color 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.activity:hover {
    background-color: #fdfefe;
}

.activity-center {
    width: 100%;
    height: 15vh;

}

.header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-left: 9vw;
}

.line {
    width: 5px;
    height: 40px;
    background-color: #0bb1b1;
    margin-left: 25px;
    margin-top: 13px;
}

.header h2 {
    font-size: 40px;
    margin: 0;
}

.activities {
    display: flex;
    flex-direction: column;
    margin-left: 10vw;
    margin-top: 50px;

}

.activity {
    width: 90%;
    height: 15vh;
    margin-bottom: 20px;
}

.activity:active {
    transform: translateY(0);
}

.date {
    font-weight: bold;
    font-size: 20px;
    color: #666;
}

.location {
    color: #888;
    font-size: 20px;
    margin-left: 20px;
}

.content {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.5;
}

.divider {
    width: 80vw;
    height: 1px;
    background-color: #c1c1c1;
    margin-bottom: 30px;
}

/* 隐藏所有的页面内容 */
.page-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(255, 255, 255);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    overflow-y: auto;
}

.page-content.active {
    display: block;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 20px 30px; */
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: auto;
    margin-top: 5vh;
    font-size: 24px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0 10px;
}

/* .close-btn:hover {
    color: #0bb1b1;
} */

.modal-body {
    padding: 30px;
    width: 70%;
    margin: auto;
    
}

.modal-body p {
    margin-top: 20px;
    text-indent: 2em;
    font-size: 18px;
    line-height: 2;
    color: #333;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    margin: 8px 0;
    line-height: 1.5;
}

/* 返回按钮样式 */
.page-content button {
    margin-top: 20px;
    padding: 10px 20px;
    /* background-color: #0bb1b1; */
    color: rgb(61, 60, 60);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
}

.page-content button:hover {
    background-color: #9999995b;
}

/* 确保页面内容样式 */
.page-content {
    display: none;
    padding: 40px;
    margin: 20px auto;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.5s ease;
}

.page-content h3 {
    color: #272727;
    margin-bottom: 20px;
    font-size: 28px;
}

.page-content p {
    margin: 10px 0;
    line-height: 1.6;
    color: #333;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 防止背景滚动 */
body.modal-open {
    overflow: hidden;
}