body {
    overflow-x: hidden;
}

/* 主导航栏 */
.guide-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #CE6787;
    padding: 1px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 65px;
    transition: opacity 0.5s ease;
    opacity: 1;
    overflow: visible;
}

.guide-navbar.hidden {
    opacity: 0;
    pointer-events:none;
}

.guide-logo {
    height: 73px;
    width: auto;
    opacity:1;
    transition:opacity 0.5s ease;
    z-index:10000;
    padding-top: 5px;
}
.guide-logo.hidden {
    opacity: 0;
    pointer-events:none;
}

.guide-menu-btn {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
}

.guide-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #8B0000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.guide-menu-btn span:nth-child(1) {
    top: 0;
}

.guide-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.guide-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* 变X*/
.guide-menu-btn.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.guide-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.guide-menu-btn.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* 侧边导航栏 */
.guide-sidebar {
    position: fixed;
    top: 60px;
    right: -300px;
    width: 300px;
    min-width: 300px;
    height: calc(100vh - 60px);
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.guide-sidebar.open {
    right: 0;
}

/* 菜单项 */
.guide-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-nav-item {
    position: relative;
}

.guide-nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 1px solid #CE6787;
    cursor: pointer;
    font-size: 20px;
    font-family: Arial,sans-serif;
}

.guide-nav-title a {
    color: inherit; 
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.guide-nav-title:hover {
    background-color: rgba(206, 103, 135, 0.1);
    box-shadow: 0 0 10px rgba(206, 103, 135, 0.3);
}

/* 箭头 */
.guide-arrow-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

.guide-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #CE6787;
    transition: transform 0.3s ease;
}

.guide-arrow.up {
    transform: rotate(180deg);
}

.guide-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(226, 199, 205, 0.4);
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-submenu.open {
    max-height: 500px;
}

.guide-submenu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 40px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(206, 103, 135, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guide-submenu li a{
    font-size: 20px;
    font-family: Arial,sans-serif;
}

.guide-submenu li a:hover {
    background-color: rgba(206, 103, 135, 0.2);
}

.guide-submenu-icon {
    width: 40px;
    height: 40px;
    margin-right: 40px;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guide-sidebar {
        width: 280px;
        min-width: 280px;
        right: -280px;
    }
}

@media (max-width: 480px) {
    .guide-sidebar {
        width: 260px;
        min-width: 260px;
        right: -260px;
    }
    
    .guide-submenu li a {
        padding: 10px 15px 10px 30px;
        font-size: 18px;
    }
    
    .guide-submenu-icon {
        width: 35px;
        height: 35px;
        margin-right: 20px;
    }
    
    .guide-nav-title {
        padding: 12px 15px;
        font-size: 18px;
    }
}

/* 页面内容 */
.guide-main-content {
    margin-top: 80px;
    padding: 20px;
}