.has-navbar {

}

#blogTitle {
    display: none;
}

#nav_main {
    display: none;
}

        .container-header {
            height: 40vh;
            width: 100%;
            position: relative;
            align-items: center;
            justify-items: center;
            justify-content: center;
            display: flex;
            background-size: cover;
            background-image: linear-gradient(
                rgba(34, 34, 34, 0.3),
                rgba(34, 34, 34, 0.3)
            ),
            url(https://img2024.cnblogs.com/blog/2186769/202511/2186769-20251122001157228-1973654218.jpg);
            color: #fff;
            overflow: hidden; /* 确保波浪不会溢出header */
        }

        .container-person {
            align-items: center;
            position: absolute;
            transform: translate(-150%, -0);
            z-index: 10; /* 确保内容在波浪上方 */
        }

        .header-person {
            display: flex;
            gap: 1rem;
            align-items: center;
            justify-items: center;
            height: 3.2rem;
            margin-bottom: 1rem;
        }

        .header-person img {
            border-radius: 50%;
            height: 3rem;
            transition: all 0.4s;
        }

        .header-person img:hover {
            transform: scale(1.1);
        }

        .header-person p {
            font-size: 2.5rem;
        }

        .header-person p:hover {
            color: #f7c900;
        }

        .person-info {
            transition: all 0.4s;
        }

        .person-info:hover {
            color: #f7c900;
        }

        .container-person p {
            margin: 0;
        }

        /* 波浪容器样式 - 新增 */
        .waves-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%; /* 占据header高度的50% */
            z-index: 1; /* 确保波浪在内容下方但高于背景 */
        }

        .waves {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 100%;
            margin-bottom: -1px; /* 修复Safari浏览器可能的间隙 */
        }

        /* 波浪动画效果 - 新增 [1](@ref) */
        .parallax > use {
            animation: move-forever 15s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
        }

        .parallax > use:nth-child(1) {
            animation-delay: -2s;
            animation-duration: 20s;
        }

        .parallax > use:nth-child(2) {
            animation-delay: -3s;
            animation-duration: 25s;
        }

        @keyframes move-forever {
            0% {
                transform: translate3d(-90px, 0, 0);
            }
            100% {
                transform: translate3d(85px, 0, 0);
            }
        }

        /* 媒体查询 - 屏幕宽度小于1200px */
        @media (max-width: 1200px) {
            .container-person {
                transform: translate(-100%, 0);
            }

            .header-person p {
                font-size: 2.2rem;
            }
        }

        /* 媒体查询 - 屏幕宽度小于992px（平板） */
        @media (max-width: 992px) {
            .container-person {
                transform: translate(-80%, 0);
            }

            .header-person p {
                font-size: 2rem;
            }

            .person-info {
                font-size: 1.1rem;
            }
        }

        /* 媒体查询 - 屏幕宽度小于768px（大屏手机） */
        @media (max-width: 768px) {
            .container-person {
                transform: translate(-50%, 0);
                left: 50%;
            }
            
            /* 移动端波浪高度调整 */
            .waves-container {
                height: 20%; /* 移动端适当减小波浪高度 */
            }
        }

        /* 媒体查询 - 屏幕宽度小于480px（手机） */
        @media (max-width: 480px) {
            .waves-container {
                height: 20%; /* 在小屏幕上进一步减小波浪高度 */
            }
        }