/* ==================== Page Title 遮罩和渐变 ==================== */
.page-title-parallax {
    position: relative;
    overflow: hidden;
}

/* 页面标题英文副标题美化 */
.page-title-content p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}


.page-title-parallax .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-title-parallax .video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-title-parallax .video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(14, 88, 173, 0.99) 0%,
            rgba(14, 88, 173, 0.8) 40%,
            rgba(14, 88, 173, 0.7) 60%,
            rgba(14, 88, 173, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
    /* backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px); */
}

.page-title-parallax .container {
    position: relative;
    z-index: 2;
}

.page-title-parallax h1,
.page-title-parallax h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==================== 侧边栏导航样式 ==================== */
.hc-content-wrapper {
    margin-top: -2.5rem;
    position: relative;
    z-index: 5;
}

.hc-sidebar-nav {
    position: relative;
    min-height: calc(100vh - 180px);
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.hc-sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    padding-right: 3rem;
    background: linear-gradient(135deg, #0078D7 0%, #005a9e 100%);
    position: relative;
    overflow: visible;
    clip-path: polygon(0 0, 100% 0, calc(100% - 2.5rem) 100%, 0 100%);
}

.hc-sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
}

.hc-sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 25%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.6) 75%,
            transparent 100%);
    animation: headerShine 3s ease-in-out infinite;
}

@keyframes headerShine {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.hc-sidebar-title-icon {
    position: relative;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}

.hc-sidebar-title {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 0.05em;
}

.hc-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0.75rem;
}

.hc-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: #333 !important;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.hc-sidebar-item:hover {
    color: #0078D7;
    background: linear-gradient(90deg, rgba(0, 120, 215, 0.08), transparent);
    border-left-color: #0078D7;
}

.hc-sidebar-item.active {
    color: #0078D7;
    background: linear-gradient(90deg, rgba(0, 120, 215, 0.1), transparent);
    border-left-color: #0078D7;
    font-weight: 500;
}

.hc-sidebar-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: inherit;
    transition: transform 0.25s ease;
}

.hc-sidebar-item:hover .hc-sidebar-icon {
    transform: scale(1.1);
}

.hc-sidebar-text {
    flex: 1;
    font-size: 0.9375rem;
}

.hc-sidebar-arrow {
    width: 0.875rem;
    height: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-0.5rem);
    transition: all 0.25s ease;
}

.hc-sidebar-item:hover .hc-sidebar-arrow,
.hc-sidebar-item.active .hc-sidebar-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== 内容区域样式 ==================== */
.hc-content-area {
    padding: 2rem 2.5rem;
    min-height: calc(100vh - 180px);
    background: #fff;
}

.hc-content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0078D7;
    padding-bottom: 0.875rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 120, 215, 0.15);
    position: relative;
}

.hc-content-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, #0078D7, transparent);
}

.hc-content-body {
    color: #555;
    line-height: 1.8;
}

.hc-article-header {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.hc-article-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
}

.hc-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.hc-article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

.hc-article-meta-item i {
    font-size: 1rem;
    color: #0078D7;
}

.hc-article-meta-item.author {
    font-weight: 500;
    color: #555;
}

.hc-article-meta-item.date {
    color: #888;
}

.hc-article-meta-item.views {
    color: #888;
}

.hc-article-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 120, 215, 0.08);
    border-radius: 1rem;
    font-size: 0.8rem;
    color: #0078D7;
    font-weight: 500;
}

.hc-article-content {
    padding: 1.5rem 0;
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
}

.hc-article-content p {
    margin-bottom: 1.25rem;
}

.hc-search-section {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.hc-search-section .hc-input-group-compact .btn {
    border-radius: 0;
}

.hc-search-section .hc-input-group-compact .btn:hover {
    background: #0a4a8f;
}

.hc-search-section .hc-input-group-compact .btn:hover::before {
    left: 100%;
}

.hc-expandable-list {
    padding: 0;
}

/* ==================== Footer样式 ==================== */
#footer {
    position: relative;
    background: linear-gradient(135deg, #0078D7 0%, #0862A7 100%) !important;
    padding: 2rem 0;
    margin-top: 2rem;
    overflow: hidden;
    border-top: none;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

#footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

#footer .row {
    margin: 0;
}

#footer .col-md-12 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9375rem;
    letter-spacing: 0.1em;
    font-weight: 300;
    position: relative;
    padding: 0 2rem;
}

/* ==================== 子菜单光波hover效果 ==================== */
.sub-menu-container .menu-item>.menu-link {
    position: relative;
    overflow: hidden;
}

.sub-menu-container .menu-item>.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 88, 173, 0.08), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.sub-menu-container .menu-item:hover>.menu-link::before {
    left: 100%;
}

@media (min-width: 991px) {

    /* ==================== 一级菜单间距和hover效果 ==================== */
    .menu-container>.menu-item>.menu-link {
        --cnvs-primary-menu-padding-y: 28px;
        margin: var(--cnvs-primary-menu-padding-y) 0;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
        border: 1px solid transparent;
    }

    .menu-container>.menu-item>.menu-link:hover {
        border-color: #FFF;
    }

}

@media (max-width: 575.98px) {
    .hc-content-area {
        padding: 1rem 0.5rem;
    }

    .hc-sidebar-nav{
        min-height: auto;
    }
}