@charset "utf-8";
/* CSS Document */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInItem {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#left-sidebar {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.pennant-flag {
    display: flex;
    padding: 0;
}

.pennant-flag-body {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pennant-flag-body img {
    width: 90%;
    height: auto;
    object-fit: contain;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeInItem 0.4s ease-out forwards;
    animation-delay: 0s;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.sidebar-footer p {
    margin: 0 0 0.15rem !important;
}

.sidebar-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sidebar-footer #link-studio:hover {
    color: #dc3545;
    border-bottom: 1px solid #dc3545;
}

.sidebar-footer #link-xxh:hover {
    color: #198754;
    border-bottom: 1px solid #198754;
}

/* ==================== 导航菜单样式 - 扁平化设计 ==================== */
.nav-container {
    padding-right: 1rem;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.nav-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ==================== 一级菜单分组容器 ==================== */
.nav-container > ul > .nav-item {
    position: relative;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeInItem 0.4s ease-out forwards;
}

.nav-container > ul > .nav-item:nth-child(1) { animation-delay: 0.15s; }
.nav-container > ul > .nav-item:nth-child(2) { animation-delay: 0.3s; }
.nav-container > ul > .nav-item:nth-child(3) { animation-delay: 0.45s; }
.nav-container > ul > .nav-item:nth-child(4) { animation-delay: 0.6s; }
.nav-container > ul > .nav-item:nth-child(5) { animation-delay: 0.75s; }
.nav-container > ul > .nav-item:nth-child(6) { animation-delay: 0.9s; }
.nav-container > ul > .nav-item:nth-child(7) { animation-delay: 1.05s; }

/* 所有一级菜单项设置一致宽度 */
.nav-container > ul > .nav-item {
    width: calc(100% - 0.75rem);
    margin-left: auto;
}

/* 一级菜单展开时的背景效果 */
.nav-container > ul > .nav-item:has(.collapse.show) {
    background: rgba(0, 0, 0, 0.2);
}

/* ==================== 一级导航链接 ==================== */
.nav-container > ul > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.875rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
}

/* 一级菜单左侧边框指示 */
.nav-container > ul > .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background-color 0.2s ease;
}

/* 一级菜单悬停效果 */
.nav-container > ul > .nav-item > .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-container > ul > .nav-item > .nav-link:hover::before,
.nav-container > ul > .nav-item:has(.collapse .nav-link:hover) > .nav-link::before,
.nav-container > ul > .nav-item:has(.collapse.show) > .nav-link::before {
    background: #00c8ff;
}

/* 一级菜单激活状态 */
.nav-container > ul > .nav-item > .nav-link.active {
    background: rgba(0, 200, 255, 0.1);
    color: #ffffff;
}

.nav-container > ul > .nav-item > .nav-link.active::before {
    background: #00c8ff;
}

/* 一级菜单图标 */
.nav-container > ul > .nav-item > .nav-link i {
    margin-left: 0.75rem;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-container > ul > .nav-item > .nav-link:hover i,
.nav-container > ul > .nav-item > .nav-link.active i {
    color: #00c8ff;
}

/* ==================== 折叠按钮箭头 ==================== */
.nav-container > ul > .nav-item > button.nav-link::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-container > ul > .nav-item > button.nav-link:hover::after,
.nav-container > ul > .nav-item > button.nav-link[aria-expanded="true"]::after {
    color: #00c8ff;
}

.nav-container > ul > .nav-item > button.nav-link[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

/* ==================== 二级菜单容器 ==================== */
.nav-container .collapse {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
    border-left: 3px solid rgba(0, 200, 255, 0.3);
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    opacity: 0;
    display: block !important;
    visibility: hidden;
}

.nav-container .collapse.show {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

/* 处理Bootstrap collapse过渡过程中的闪烁问题 */
.nav-container .collapsing {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.nav-container .collapse .nav-item,
.nav-container .collapsing .nav-item {
    padding-right: 0;
}

.nav-container .collapse .nav-link,
.nav-container .collapsing .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.55rem 1.25rem;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.825rem;
    color: #ffffff;
    font-weight: 400;
    transition: background-color 0.15s ease, color 0.15s ease;
    background: transparent;
}

.nav-container .collapse .nav-link:hover,
.nav-container .collapsing .nav-link:hover {
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.nav-container .collapse .nav-link i,
.nav-container .collapsing .nav-link i {
    margin-left: 0.625rem;
    font-size: 0.75rem;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.6);
}

.nav-container .collapse .nav-link:hover i,
.nav-container .collapsing .nav-link:hover i {
    opacity: 0.9;
    color: #00c8ff;
}



/* ==================== 菜单分隔线 ==================== */
.nav-container .nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.75rem 0;
}

/* ==================== 底部栏目卡片 ==================== */
#bottom-columns .column-card {
    background: rgba(0, 20, 40, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 200, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#bottom-columns .column-card-header {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.25), rgba(0, 120, 255, 0.15));
    border-bottom: 1px solid rgba(0, 200, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#bottom-columns .column-card-header i {
    color: #00c8ff;
    filter: drop-shadow(0 0 4px rgba(0, 200, 255, 0.5));
}

#bottom-columns .column-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#bottom-columns .column-card-list li {
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#bottom-columns .column-card-list li:last-child {
    border-bottom: none;
}

#bottom-columns .column-card-list li:hover {
    background: rgba(0, 200, 255, 0.12);
    color: #ffffff;
}

#bottom-columns .column-card-list .date {
    color: rgba(0, 200, 255, 0.7);
    font-size: 0.75rem;
    margin-right: 0.75rem;
}

/* ==================== 轮播图 ==================== */
#slideshow-row {
    min-height: 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
}

.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slideshow-container .slide.active {
    opacity: 1;
}

.slideshow-container .slide img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 0.5rem;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes slideZoomIn {
    from {
        transform: translate(-50%, -50%) scale(1.08);
        filter: brightness(1.1);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }
}

.slideshow-container .slide.active img {
    animation: slideZoomIn 1.5s ease-out forwards;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    width: 100%;
    color: rgba(0, 0, 0, 0.5);
}

.breadcrumb-nav .separator {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.6rem;
    margin: 0 0.5rem;
}

.breadcrumb-nav .current {
    color: #0090cc;
}

/* ==================== 文章列表页 ==================== */
.article-list-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    margin-top: 1rem;
}

.article-list-card::-webkit-scrollbar {
    width: 6px;
}

.article-list-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
}

.article-list-card::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.article-list-card::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.article-list-header {
    padding: 1rem 1.25rem 0;
    flex-shrink: 0;
    background: transparent;
    border-bottom: none;
}

.article-list-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.6rem;
    position: relative;
    letter-spacing: 0.5px;
}

.article-list-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background: #0090cc;
    border-radius: 2px;
}

.article-list-header h2 i {
    color: #0090cc;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.article-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.15s ease;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.article-list li a:hover {
    background: rgba(0, 0, 0, 0.04);
    padding-left: 1.75rem;
}

.article-list li a:hover .article-title {
    color: #0090cc;
}

.article-list li a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(0, 144, 204, 0.4);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.article-list li a:hover::before {
    background: #0090cc;
    transform: scale(1.5);
}

.article-title {
    color: rgba(0, 0, 0, 0.75);
    font-size: 17px;
    font-weight: 700;
    flex: 1;
    transition: color 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.6;
}

.article-date {
    color: rgba(0, 0, 0, 0.3);
    font-size: 0.75rem;
    margin-left: 1.5rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.article-list-footer {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pagination-nav {
    display: flex;
    gap: 0.35rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 0.35rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.page-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #0090cc;
    border-color: rgba(0, 144, 204, 0.3);
}

.page-btn.active {
    background: rgba(0, 144, 204, 0.1);
    border-color: rgba(0, 144, 204, 0.4);
    color: #0090cc;
}

.page-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ==================== 文章正文页 ==================== */
.article-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.5rem 0;
}

.article-content-scroll::-webkit-scrollbar {
    width: 4px;
}

.article-content-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.article-content-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.article-content-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.article-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    color: rgba(0, 0, 0, 0.45);
    font-size: 0.8rem;
}

.article-meta i {
    color: rgba(0, 144, 204, 0.6);
    margin-right: 0.25rem;
}

.article-text {
    color: rgba(0, 0, 0, 0.75);
    font-size: 0.9rem;
    line-height: 1.9;
}

.article-text h3 {
    color: rgba(0, 0, 0, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid #0090cc;
}

.article-text p {
    margin: 0 0 0.75rem;
    text-indent: 2em;
}

.article-text p:last-child {
    margin-bottom: 0;
}

.article-nav {
    margin-top: 2rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1rem;
}

.article-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.4rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.15s ease;
    text-decoration: none;
}

.article-nav-item:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 144, 204, 0.25);
}

.article-nav-item:last-child {
    text-align: right;
}

.article-nav-label {
    color: rgba(0, 144, 204, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.article-nav-item a {
    color: rgba(0, 0, 0, 0.75);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease;
    line-height: 1.5;
}

.article-nav-item:hover a {
    color: #0090cc;
}





/* 师资团队 */
.color-line {
    width: 15%;
    height: 4px;
    background: #0090cc;
    border-radius: 2px;
}






/* ==================== 移动端头部 ==================== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.mobile-logo img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.mobile-menu-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.mobile-nav .collapse a {
    padding: 0.55rem 1.25rem 0.55rem 2rem;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.6);
}

.mobile-nav .collapse a:hover {
    color: #00c8ff;
}
