.carousel-control img {width: 1.5rem;padding: 0 0.2rem;} 

/* 社交媒体图标样式 */

.top-nav-link{
    display: ruby;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-item {
    position: relative;
    cursor: pointer;
top:5px;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-item:hover .social-icon {
    transform: scale(1.1);
}

/* 二维码样式 */
.qrcode {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    width: 100px;
    height: 100px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-item:hover .qrcode {
    opacity: 1;
    visibility: visible;
}

.qrcode img {
    width: 100%;
    height: auto;
}

.qrcode p {
    color: #333;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

/* 响应式调整 */
@media screen and (max-width: 1024px) {
    .social-links {
        display: none;
    }
}




/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    transition: transform 0.3s ease;
    position: relative;
    min-height: 100vh;
    font-family: 'Source Sans Pro', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

.nav-conk-img {
    padding-top: 40px;
    background: url(../images/wl.png) no-repeat top right;
    width: 76.2%;
    margin: 0 auto;
}

.nav-tops {
    display: flex;
    justify-content: space-between;
}

/* 导航栏样式 */
.top-nav-li {
    display: flex;
    background: #972839;
    width: 100%;
}

.top-nav-links {
    display: flex;
    justify-content: space-between;
    width: 76.2%;
    margin: 0 auto;
    line-height: 2.5rem;
}

.top-nav-link a {
    margin: 0 0.5rem;
    color: #d88492;
    text-decoration: none;
    line-height: 1;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.top-logo-nav {
    margin: 0 auto 40px;
}

.top-nav-conk {
    width: 100%;
    background: #a42c3e url(../images/header-bg.jpg);
    transition: all 300ms;
    position: relative;
}

.top-navs {
    background: #972839;
    margin: 0 auto;
}

.top-navs-nav {
    display: flex;
    justify-content: space-around;
    padding-bottom: 1.2rem;
}

.top-navs-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
}

/* 二级菜单样式 */
.dropdown {
    position: relative;
    top: 9px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(151,41,58,0.5);
    min-width: 120px;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu li a {
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    text-align: center;
}

.submenu li a:hover {
    background-color: rgb(151 40 57);
}

.dropdown:hover .submenu {
    display: block;
}

/* 移动端菜单按钮 */
.mobile-menu-button {
    display: none;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 30;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    transform: translateY(-50%) scale(1.1);
}

/* 移动端搜索按钮 */
.mobile-search-button {
    display: none;
    position: absolute;
    top: 50%;
    right: 4rem;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 30;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* 搜索弹窗 */
.search-popup {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .7);
    padding: 1.5rem;
    z-index: 100;
    transition: top 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 50%;
    display: flex;
}

.search-popup.active {
    top: 0;
}

.search-popup-content {
    width: 1024px;
    margin: 10rem auto 0 auto;
    position: relative;
}

.search-popup .close-search {
    position: absolute;
    bottom: -10%;
    right: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.search-input-container {
    position: relative;
}

.search-popup input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 9rem;
    border: none;
    border-radius: 1.8rem;
    font-size: 1rem;
    outline: none;
}

.search-popup .search-button {
    position: absolute;
    right: 1rem;
    top: 36%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}


/* 侧边栏导航 - 支持三级导航 */
.sidebar {
    position: fixed;
    top: 0;
    left: -85%;
    width: 80%;
    max-width: 355px;
    height: 100vh;
    background: #972839;
    z-index: 20;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(#972839, #a02034, #a72135);
}


.sidebar * {
    pointer-events: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.sidebar-nav a {
    font-size: 1.2rem;
    color: white;
    line-height: 1.2;
    width: 75%;
    text-decoration: none;
    padding: 0.2rem 1.5rem;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    margin: 1rem 0;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 二级导航样式 */
.sidebar-dropdown {
    position: relative;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.sidebar-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1rem;
    color: white;
    padding-right: 1.5rem;
    cursor: pointer;
}
.sidebar-dropdown-toggle.tt {
    margin-left: 2rem;
}
.sidebar-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-dropdown-arrow {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
    cursor: pointer;
}

/* 二级子菜单样式 */
.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: max-height 0.5s ease-out; /* 延长过渡时间，使展开更平滑 */
}

.sidebar-submenu li {
      border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.sidebar-submenu li a {
    padding-left: 0.8rem;
    font-size: 1.2rem;
}

/* 三级导航样式 */
.sidebar-submenu .sidebar-dropdown {
    position: relative;
}

.sidebar-submenu .sidebar-dropdown-toggle {
    padding-left: 2.5rem;
    width: 100%;
}



.sidebar-submenu .sidebar-submenu li a {
    padding-left: 3rem;
    font-size: 1.2rem;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.popo {
    border-bottom: 0.0125rem solid rgba(255, 255, 255, .3);
    width: 100%;
    display: flex;
    justify-content: space-around;
}

a.aa {
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
border-right: 0.0125rem solid rgba(255, 255, 255, .3);
    padding: 0 2rem;
}

/* 遮罩层 */
.sidebar-overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 30, 30, 0.7);
    z-index: 11;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.sidebar-overlay * {
    pointer-events: auto;
}

.sidebar.active + .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

/* 轮播图和内容整合区域 */
.carousel-and-content {
    width: 100%;
}

/* 轮播图容器 */
.uuu {
    width: 76.2%;
    margin: 2rem auto 0 auto;
    height: 47rem;
    background: url("../images/top.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.caro {
    font-size: 24px;
    color: #333;
    line-height: 1.7;
    position: relative;
    z-index: 3;
    width: 70%;
}

.eng {
    font-size: 45px;
    color: #ededed;
    font-style: italic;
    position: absolute;
    bottom: 30px;
    left: 0;
    z-index: -1;
    font-family: 'Sourcehanserifsc bold', serif;
    font-weight: 600;
}

.caro p {
    font-size: 45px;
    color: #333;
    font-family: 'sourcehanserifsc bold', serif;
    font-weight: bold;
}

.caro:after {
    content: "";
    display: block;
    width: 182px;
    height: 9px;
    background-color: #972839;
    background-image: linear-gradient(100deg, #972839, #cc2943);
    position: absolute;
    bottom: 12px;
    left: 0;
    z-index: -1;
}

.carousel-container {
    display: grid;
    grid-template-columns: 6fr 1fr;
    gap: 1rem;
    height: 40rem;
    position: absolute;
    top: 11%;
    right: 4%;
}

.main-carousel {
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    -webkit-transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    background-color: rgb(255 255 255 / 22%);
    color: #1e293b;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #ffffff1f;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    cursor: pointer;
    z-index: 10;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



.control-prev {
    left: 1rem;
}

.control-next {
    right: 1rem;
}

/* 缩略图容器 */
.thumbnails-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 0.75rem;
    max-height: 738px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.thumbnails-wrapper {
    overflow-y: auto;
    max-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnails-wrapper::-webkit-scrollbar {
    display: none;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.thumbnail {
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    border: 2px solid transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.thumbnail:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.thumbnail.active {
    border: 0.325rem solid #df9b00;
}

.thumbnail img {
    width: 100%;
    height: 89px;
    object-fit: cover;
    -o-object-fit: cover;
}

.thumbnail-scroll {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2rem;
    color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.scroll-up {
    top: 0.5rem;
}

.scroll-down {
    bottom: 0.5rem;
}

/* 内容区域 */
.conk {
    width: 100%;
    margin: 0 auto;
    background: url(../images/back.png) no-repeat;
    background-size: 100% 100%;
}

.content-container {
    padding: 6rem 2rem 8rem 2rem;
    width: 82%;
    margin: 0 auto;
}

.cont-title-container {
    background: url("../images/lpl.png") no-repeat;
    background-size: 100% 100%;
    width: 30%;
    height: 0.6rem;
    margin-bottom: 1.5rem;
}

.content-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
    left: 13%;
    bottom: 56px;
}

.content-text {
    color: #4b5563;
    margin-top: 0.5rem;
}

.content-panel {
    display: none;
}

.content-panel.active {
    display: block;
}

/* 底部 */
.footer-container {
    display: flex;
    justify-content: space-around;
}

.row {
    display: flex;
    padding-top: 20px;
}

.col-md-6 {
    flex: 1;
}

.col-md-6 p {
    color: white;
    font-size: 1rem;
}

.rows {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
}

.rows span {
    display: flex;
    margin-left: 10px;
    color: white;
}

.rows img {
    display: flex;
    align-items: center;
    width: 100px;
    height: 100px;
}

.footer-containers {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-containers p {
    text-align: center;
    color: white;
    font-size: 1rem;
}

.footers {
    padding: 1rem 0;
    width: 100%;
    background: url("../images/footer-bg.jpg") no-repeat;
    background-size: cover;
}

.footers1 {
    background: #972839;
    width: 100%;
    padding: 0.5rem 0
}

/* 响应式设计 - 移动视图 */
@media screen and (max-width: 1024px) {
    .nav-conk-img {
        padding-top: 40px;
        background: url(./images/wl.png) no-repeat top right;
        width: 100%;
        margin: 0 auto;
    }

    .conk {
        background: #f3e2e5;
    }

    .nav-conk-img {
        padding-top: 0;
        background: none;
    }

    .logo-nav1 {
        display: none;
    }

    .top-nav-conk {
        padding-top: 0;
        height: 4rem;
    }

    .top-logo-nav {
        margin: 0;
    }

    .logo-nav {
        height: 3rem;
        display: flex;
        margin-left: 0.8rem;
        margin-top: 0.2rem;
    }

    .logo-nav img {
        height: 100%;
        margin-top: 3px;
    }

    .uuu {
        height: 578px;
        width: 90%;
    }

    .conk {
        width: 90%;
    }

    .carousel-container {
        display: block;
        height: 478px;
        top: 13%;
        right: 0;
        left: 0;
        margin-right: 2.5rem;
    }

    .thumbnails-container {
        display: none !important;
    }

    .main-carousel {
        height: 100%;
    }

    .carousel-control {
        width: 2rem;
        height: 2rem;
    }

    .control-prev {
        left: 0.5rem;
    }

    .control-next {
        right: 0.5rem;
    }

    .content-container {
        padding: 3rem 3rem 5rem 3rem;
        left: 0;
    }

    .cont-title-container {
        margin-bottom: 1rem;
    }

    .content-title {
        font-size: 1.5rem;
        left: 15%;
        bottom: 40px;
    }

    .content-text {
        width: 100%;
        font-size: 16px;
    }

    .top-nav-li {
        display: none !important;
    }

    /* 显示移动菜单按钮和搜索按钮 */
    .mobile-menu-button {
        display: flex;
    }

    .mobile-search-button {
        display: flex;
    }

    span.bot {
        position: relative;
        display: block;
        width: 1.5rem;
        height: .15rem;
        margin: .3rem auto;
        background-color: #fff;
        border-radius: .25rem;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        transition: all 0.3s;
    }

    .top-navs {
        display: none;
    }

    .container {
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        position: relative;
        z-index: 10;
        will-change: transform;
    }

    .sidebar.active ~ .container {
        transform: translateX(30%);
    }

    .sidebar {
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
        /* 确保侧边栏有足够高度容纳所有菜单 */
        min-height: 100vh;
        overflow-y: auto;
    }

    /* 移动端子菜单样式调整 */
    .sidebar-submenu {
        /* 增加过渡时间使展开更平滑 */
        transition: max-height 0.2s ease-out;
    }

    /* 确保三级菜单展开时二级菜单保持展开状态 */
    .sidebar-dropdown.active > .sidebar-submenu {
        /* 足够大的值确保能显示所有子项 */
        max-height: 2000px !important;
    }

    .footers {
        display: none !important;
    }

    .caro {
        font-size: 24px;
        color: #333;
        line-height: 1.7;
        position: relative;
        bottom: -9px;
        left: 13px;
        z-index: 3;
    }

    .eng {
        font-size: 33px;
        color: #ededed;
        font-style: italic;
        position: absolute;
        bottom: 30px;
        left: 0;
        z-index: -1;
        font-family: 'Sourcehanserifsc bold', serif;
        font-weight: 600;
    }

    .caro p {
        font-size: 36px;
        color: #333;
        font-family: 'sourcehanserifsc bold', serif;
        font-weight: bold;
    }

    .caro:after {
        content: "";
        display: block;
        width: 142px;
        height: 9px;
        background-color: #972839;
        background-image: linear-gradient(100deg, #972839, #cc2943);
        position: absolute;
        bottom: 12px;
        left: 0;
        z-index: -1;
    }

    .cont-title-container {
        background: url("../images/lpl.png") no-repeat;
        background-size: 100% 100%;
        width: 46%;
        height: 0.6rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 800px) {
    .uuu {
        height: 530px;
        width: 98%;
    }

    .content-title {
        font-size: 1.5rem;
        left: 15%;
        bottom: 34px;
    }

    .caro {
        font-size: 24px;
        color: #333;
        line-height: 1.7;
        position: relative;
        bottom: 0;
        left: 30px;
        z-index: 3;
    }

    .eng {
        font-size: 30px;
        color: #ededed;
        font-style: italic;
        position: absolute;
        bottom: 30px;
        left: 0;
        z-index: -1;
        font-family: 'Sourcehanserifsc bold', serif;
        font-weight: 600;
    }

    .cont-title-container {
        background: url("../images/lpl.png") no-repeat;
        background-size: 100% 100%;
        width: 56%;
        height: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .carousel-container {
        display: block;
        height: 440px;
        top: 13%;
        right: 0;
        left: 0;
        margin-right: 2.5rem;
        margin-left: 2rem;
    }

    .conk {
        width: 100%;
    }
}

@media (max-width: 568px) {
    .content-container {
               padding: 3rem 0;
        left: 0;
    }

    .eng {
        font-size: 28px;
        color: #ededed;
        font-style: italic;
        position: absolute;
        bottom: 30px;
        left: 0;
        z-index: -1;
        font-family: 'Sourcehanserifsc bold', serif;
        font-weight: 600;
    }

    .cont-title-container {
        background: url("../images/lpl.png") no-repeat;
        background-size: 100% 100%;
        width: 66%;
        height: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .conk {
        width: 100%;
    }

    .uuu {
        height: 316px;
        width: 100%;
    }

    .carousel-container {
        display: block;
        height: 250px;
        top: 13%;
        right: 0;
        left: 0;
        margin-right: 1.5rem;
        margin-left: 1rem;
    }

    .caro {
        font-size: 24px;
        color: #333;
        line-height: 1.7;
        position: relative;
        bottom: 18px;
        left: 16px;
        z-index: 3;
    }

    .sidebar {
        width: 85%;
        /* 确保在小屏幕上有足够高度 */
        min-height: 100vh;
    }

    /* 确保子菜单不会被截断 */
    .sidebar-dropdown {
        overflow: visible !important;
    }

    .sidebar-nav {
        overflow: visible !important;
    }

    /* 移动端子菜单样式增强 */
    .sidebar-submenu {
        padding-left: 0;
        width: 100%;
    }

    .sidebar-submenu .sidebar-submenu {
        width: 100%;
    }
}
