/* =========================================================
   教师教育发展中心 - 合并样式表
   主色: RGB(48, 67, 139) = #30438B
   风格: 现代化 + 科技感
   ========================================================= */

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #30438B;
    --primary-light: #4a5fb5;
    --primary-dark: #1f2d6b;
    --accent: #00d4ff;
    --accent-2: #6c5ce7;
    --text: #2c3e50;
    --text-light: #6c7a89;
    --bg: #f5f7fa;
    --white: #ffffff;
    --border: #e1e8ed;
    --shadow: 0 4px 20px rgba(48, 67, 139, 0.08);
    --shadow-hover: 0 12px 32px rgba(48, 67, 139, 0.18);
    --gradient-primary: linear-gradient(135deg, #30438B 0%, #4a5fb5 100%);
    --gradient-tech: linear-gradient(135deg, #30438B 0%, #6c5ce7 50%, #00d4ff 100%);
    --radius: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: contain;
}


.container {
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
}

/* ---------- 顶部条 ---------- */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    padding: 10px 0;
}

.top-bar .container {
    
    width: 1600px;
    position: relative;
    height: 40px;
}
.top-bar span{
    width: 81%;
    position: relative;
    float: left;
    margin: 8px 0;
}
.top-bar .top-links{
    width: 4%;
    position: relative;
    float: left;
    margin: 8px 0;
}
.top-bar .search{
    float: right;
    position: relative;
    margin: 5px 0;
}
.top-bar .top-links a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0px;
}

.top-bar .top-links a:hover {
    color: var(--accent);
}

/* ---------- 头部 / Logo ---------- */
.header {
    background: #006dff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 31px;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(48, 67, 139, 0.35);
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.logo-text h1 {
    font-size: 26px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 15px;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* ---------- 导航 ---------- */
.nav {
    display: flex;
    align-items: center;
    width: 75%;
    justify-content: flex-end;
}

.nav > li {
    position: relative;
}

.nav > li > a {
    display: block;
    padding: 23px 12px;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    position: relative;
}

.nav > li > a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 4px;
    background: #ffffff;
    border-radius: 3px;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav > li:hover > a::after,
.nav > li.active > a::after {
    width: 100%;
}

.nav > li:hover > a,
.nav > li.active > a {
    color: #f0ee76;
}

/* 二级栏目 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(13px);
    background: var(--white);
    min-width: 230px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-top: 4px solid var(--accent);
}

.nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 13px 26px;
    font-size: 18px;
    color: var(--text);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.dropdown li a:hover {
    background: var(--bg);
    color: var(--primary);
    border-left-color: var(--accent);
    padding-left: 33px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- 轮播图 (16:5 全端统一) ---------- */
.carousel {
    position: relative;
    aspect-ratio: 16 / 5;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.carousel-btn.prev { left: 38px; }
.carousel-btn.next { right: 38px; }

.carousel-dots {
    position: absolute;
    bottom: 31px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 13px;
    z-index: 3;
}

.carousel-dots .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    width: 41px;
    border-radius: 8px;
    background: var(--accent);
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 15px 36px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 30px;
    font-size: 19px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(48, 67, 139, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(48, 67, 139, 0.45);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    box-shadow: none;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.btn-sm {
    padding: 20px 23px;
    font-size: 16px;
    line-height: 40px;
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 45px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 5px;
    background: var(--gradient-tech);
    border-radius: 2px;
}

.section-title p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 16px;
}

.section-title .more-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
}

.section-title .more-link:hover {
    color: var(--accent-2);
}

/* ---------- 中心简介 ---------- */
.intro-section {
    background: var(--white);
}

.intro-wrap {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.intro-text h2 {
    font-size: 39px;
    color: var(--primary);
    margin-bottom: 26px;
    font-weight: 700;
}

.intro-text .summary {
    color: var(--text-light);
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 30px;
    text-indent: 2em;
}

.intro-text .more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    padding: 13px 30px;
    border: 2px solid var(--primary);
    border-radius: 30px;
}

.intro-text .more-link:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- 快捷入口 ---------- */
.quick-section {
    background: var(--bg);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 31px;
}

.quick-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.quick-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-tech);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.quick-card:hover::before {
    transform: scaleX(1);
}

.quick-icon {
    width: 90px;
    height: 90px;
    margin: 10px auto 10px;
    border-radius: 22px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 38px;
    transition: var(--transition);
}

.quick-card:hover .quick-icon {
    transform: rotateY(180deg);
    background: var(--gradient-tech);
}

.quick-card h3 {
    font-size: 23px;
    color: var(--text);
}

.quick-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* ---------- 最新动态 ---------- */
.news-section {
    background: var(--white);
}

.news-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* ---------- 图片新闻滚动 ---------- */
.news-carousel {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
}

.news-carousel:hover {
    box-shadow: var(--shadow-hover);
}

.news-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.news-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-slide:hover img {
    transform: scale(1.08);
}

.news-slide .tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: var(--primary);
    color: #fff;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 15px;
}

.news-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 70px 28px 28px;
    background: linear-gradient(to top, rgba(15, 23, 52, 0.82) 0%, rgba(15, 23, 52, 0.35) 55%, rgba(15, 23, 52, 0) 100%);
    color: #fff;
}

.news-slide-caption h3 {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-slide:hover .news-slide-caption h3 {
    color: var(--accent);
}

.news-slide-caption p {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.88;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-slide-caption .date {
    font-size: 15px;
    opacity: 0.8;
}

.news-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-carousel:hover .news-carousel-btn {
    opacity: 1;
}

.news-carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.news-carousel-btn.prev { left: 18px; }
.news-carousel-btn.next { right: 18px; }

.news-carousel-dots {
    position: absolute;
    bottom: 22px;
    right: 28px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.news-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.news-carousel-dots .dot.active {
    width: 34px;
    border-radius: 7px;
    background: var(--accent);
}


.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 23px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: var(--transition);
    border-left: 5px solid transparent;
}

.news-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    border-left-color: var(--accent);
    transform: translateX(6px);
}

.news-item .date-box {
    flex-shrink: 0;
    text-align: center;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 8px;
    padding: 10px 10px;
    width: 14%;
}

.news-item .date-box .day {
    font-size: 28px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.news-item .date-box .month {
    font-size: 14px;
    opacity: 0.9;
}

.news-item .info h4 {
    font-size: 19px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item:hover .info h4 {
    color: var(--primary);
}

.news-item .info p {
    font-size: 16px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 首页通知公告列表 ---------- */
.notice-section {
    background: var(--bg);
}

.home-notice {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.notice-item {
    display: flex;
    gap: 20px;
    padding: 20px 30px;
    border-bottom: 1px dashed var(--border);
    transition: var(--transition);
    align-items: center;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: var(--bg);
    padding-left: 41px;
}

.notice-tag {
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
}

.notice-title {
    flex: 1;
    font-size: 19px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-item:hover .notice-title {
    color: var(--primary);
}

.notice-date {
    flex-shrink: 0;
    font-size: 15px;
    color: var(--text-light);
}

/* ---------- 首页教师发展 / 师范生培养 ---------- */
.teacher-section {
    background: var(--white);
}

.student-section {
    background: var(--bg);
}

.home-text-list {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px 30px;
}

/* ---------- 页面横幅 ---------- */
.page-banner {
    height: 400px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(108, 92, 231, 0.3) 0%, transparent 40%);
}

.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 52px 52px;
}

.page-banner h2 {
    font-size: 46px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.page-banner .breadcrumb {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    font-size: 18px;
    opacity: 0.9;
}

.page-banner .breadcrumb a:hover {
    color: var(--accent);
}

/* ---------- 二级布局 ---------- */
.sub-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 40px;
    padding: 64px 0;
}

.sub-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 116px;
}

.sidebar-title {
    background: var(--gradient-primary);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.sidebar-title h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.sidebar-title p {
    font-size: 15px;
    opacity: 0.85;
    letter-spacing: 1px;
}

.sidebar-nav {
    padding: 12px 0 0;
}
.sidebar-nav li{
     position: relative;
     border-bottom:1px solid #0000000f
}
.sidebar-nav li a {
    display: block;
    padding: 16px 30px;
    color: var(--text);
    font-size: 19px;
    border-left: 5px solid #00000000;
    transition: var(--transition);
}
.sidebar-nav li.active > a{
    border-left-color: var(--accent);
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: var(--bg);
    color: var(--primary);
    border-left-color: var(--accent);
    padding-left: 36px;
}

.sidebar-contact {
    padding: 26px 30px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.sidebar-contact h4 {
    font-size: 19px;
    color: var(--primary);
    margin-bottom: 13px;
}

.sidebar-contact p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.sub-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 44px;
    min-height: 640px;
}

.content-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 23px;
    margin-bottom: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-header h2 {
    font-size: 31px;
    color: var(--primary);
    font-weight: 600;
}

.content-header .location {
    font-size: 16px;
    color: var(--text-light);
}

.content-header .location a:hover {
    color: var(--primary);
}

.single-page img{
   margin: 0 auto;
 }

/* ---------- 列表页（不含图片） ---------- */
.text-list {
    display: flex;
    flex-direction: column;
}

.text-list li {
    border-bottom: 1px dashed var(--border);
}

.text-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    color: var(--text);
    transition: var(--transition);
}

.text-list li a:hover {
    color: var(--primary);
    padding-left: 20px;
}

.text-list li a .title {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    font-size: 18px;
}

.text-list li a .title::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.text-list li a:hover .title::before {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.text-list li a .title .label {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 4px;
}

.text-list li a .date {
    color: var(--text-light);
    font-size: 15px;
    flex-shrink: 0;
    margin-left: 20px;
}

/* ---------- 列表页（含图片） ---------- */
.img-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 31px;
}

.img-list--4col {
    grid-template-columns: repeat(4, 1fr);
}

.img-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    /* padding: 5px; */
}

.img-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.img-card-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.img-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    padding: 10px;
}

.img-card:hover .img-card-cover img {
    transform: scale(1.1);
}

.img-card-cover .tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(48, 67, 139, 0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 15px;
    backdrop-filter: blur(4px);
}

.img-card-body {
    padding: 10px;
}

.img-card-body h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.img-card:hover .img-card-body h3 {
    color: var(--primary);
}

.img-card-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.img-card-body .meta {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-light);
}

/* ---------- 内容页 ---------- */
.article-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 38px;
}

.article-header h1 {
    font-size: 33px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-meta {
    font-size: 18px;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 31px;
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-body {
    font-size: 20px;
    line-height: 2;
    color: var(--text);
}

.article-body p {
    margin-bottom: 23px;
    text-indent: 2em;
}

.article-body h3 {
    font-size: 26px;
    color: var(--primary);
    margin: 33px 0 18px;
    padding-left: 18px;
    border-left: 5px solid var(--accent);
}

.article-body img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 26px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-footer {
    margin-top: 46px;
    padding-top: 31px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.article-nav a {
    display: block;
    color: var(--text-light);
    font-size: 18px;
    padding: 8px 0;
}

.article-nav a:hover {
    color: var(--primary);
}

/* ---------- 单页 ---------- */
.single-page h3 {
    font-size: 26px;
    color: var(--primary);
    margin: 31px 0 18px;
    padding-left: 18px;
    border-left: 5px solid var(--accent);
}

.single-page p {
    margin-bottom: 20px;
    text-indent: 2em;
    color: var(--text);
    line-height: 2;
}

.single-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin: 31px 0;
}

.single-page .feature-item {
    background: var(--bg);
    padding: 31px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.single-page .feature-item:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-5px);
}

.single-page .feature-item .num {
    font-size: 41px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.single-page .feature-item:hover .num {
    color: #fff;
}

.single-page .feature-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.single-page .feature-item p {
    font-size: 16px;
    text-indent: 0;
    opacity: 0.85;
}

/* ---------- 视频列表 ---------- */
.video-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 31px;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.video-cover {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.85;
}

.video-card:hover .video-cover img {
    transform: scale(1.08);
    opacity: 1;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(48, 67, 139, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 31px;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.5);
}

.video-card:hover .video-play {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.15);
}

.video-duration {
    position: absolute;
    bottom: 13px;
    right: 13px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 13px;
    border-radius: 4px;
    font-size: 15px;
}

.video-body {
    padding: 20px;
}

.video-body h3 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-body h3 {
    color: var(--primary);
}

.video-body .meta {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-light);
}

/* 视频弹窗 */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    width: 100%;
    max-width: 1130px;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.video-modal video {
    width: 100%;
    border-radius: var(--radius);
}

/* ---------- 分页 ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 52px;
}

.pagination a {
    min-width: 52px;
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 18px;
    background: var(--white);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 30px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    padding-bottom: 30px;
}

.footer-col h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 13px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 39px;
    height: 3px;
    background: var(--accent);
}

.footer-col p {
    font-size: 18px;
    line-height: 2;
    color: rgb(243 243 243);
}
.footer-col ul{
    display: flex;
    flex-wrap: wrap;
}
.footer-col li {
    font-size: 18px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.65);
    width: 50%;
}
.footer-col li a{
    color:#ececec
}
.footer-col li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
}

.footer-logo .logo-icon {
    width: 54px;
    height: 54px;
    font-size: 26px;
}

.footer-logo h3 {
    margin: 0;
    padding: 0;
}

.footer-logo h3::after {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 26px 0;
    text-align: center;
    font-size: 16px;
    color: rgb(253 253 253);
}

/* ---------- 返回顶部 ---------- */
.back-top {
    position: fixed;
    bottom: 38px;
    right: 38px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(48, 67, 139, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    transform: translateY(-4px);
    background: var(--gradient-tech);
}

/* =========================================================
   响应式适配
   ========================================================= */

/* 平板端 */
@media (max-width: 992px) {
    .container {width: 94%;}

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 0 20px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1100;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .nav.open { right: 0; }

    .nav > li { width: 100%; }

    .nav > li > a {
        width: 100%;
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
    }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-top: none;
        min-width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav > li:hover .dropdown {
        transform: none;
    }

    .nav > li.dropdown-open .dropdown {
        max-height: 400px;
    }

    .dropdown li a {
        padding: 12px 40px;
        font-size: 14px;
        border-left: none;
        border-bottom: 1px solid var(--border);
    }

    .dropdown li a:hover {
        padding-left: 50px;
        border-left: none;
        background: var(--bg);
    }
    .quick-icon{width: 50%;height: 50%;}
    .menu-toggle { display: flex; z-index: 1200; }
    .logo{}
    .quick-grid { grid-template-columns: repeat(2, 1fr); }

    .news-wrap { grid-template-columns: 1fr; }
 
    .news-carousel-btn { opacity: 1; width: 40px; height: 40px; font-size: 16px; }
    .news-carousel-btn.prev { left: 12px; }
    .news-carousel-btn.next { right: 12px; }


    .sub-layout { grid-template-columns: 1fr; }
    .sub-sidebar { position: static; }

    .img-list, .img-list--4col, .video-list { grid-template-columns: repeat(2, 1fr); }

    .footer-grid {display: block;padding-bottom: 10px;}
    .footer-col{ padding: 10px 0;}
    .footer-col ul{display: flex;flex-wrap: wrap;}
    .single-page .feature-grid { grid-template-columns: 1fr; }
    .footer-col li {font-size: 16px;padding: 0 10px;width: 50%;}
    .footer-col p {font-size: 16px;padding: 0 10px;}
    .top-bar .container {
        width: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .top-bar span{
        width: 83%;
        margin: 10px 10px;
    }
    .top-bar .top-links{
        width: 10%;
        margin: 10px 0;
    }
    .top-bar .top-links a{
        margin: 0 auto;
    }
    .top-bar .search{
        display: none;
    }
}

/* 手机端 */
@media (max-width: 600px) {
    .news-item .date-box {width: 100%;padding: 5px;}
    
    .img-card-body h3 {font-size: 16px;}
    .text-list li a .title {font-size: 16px;}

    .img-card-body p {font-size: 13px;}
    .news-item .info{}
    .news-item .info h4 {font-size: 16px;}

    .news-item .info p {font-size: 13px;}
    .news-item .date-box .day {font-size: 18px;font-weight: 400;}

    .news-item .date-box .month {font-size: 13px;}


    .news-feature-body p {font-size: 14px;}
    .news-feature-body h3 {font-size: 18px;}
    .quick-card h3 {font-size: 16px;}
    .top-bar .container {flex-direction: column;gap: 6px;}
    .top-bar .top-links a { margin: 0 8px; }
    .top-bar .container {
        height: auto;
        flex-direction: row;
    }
    .top-bar span{
        width: auto;
    }
    .top-bar .top-links{
        width: auto;
        margin: 10px 10px;
    }
    .top-bar .search{
    display: none;
    }
    .logo-text h1 { font-size: 16px; }
    .logo-text p { font-size: 10px; }
    .logo-icon { width: 42px; height: 42px; font-size: 20px; }

    .carousel-btn { width: 38px; height: 38px; font-size: 18px; }
    .carousel-btn.prev { left: 10px; }
    .carousel-btn.next { right: 10px; }
    .news-carousel-btn { display: none; }
    .news-slide-caption { padding: 50px 20px 22px; }
    .news-slide-caption h3 { font-size: 20px; }
    .news-slide-caption p { font-size: 14px; -webkit-line-clamp: 1; }
    .news-carousel-dots { bottom: 14px; right: 20px; gap: 8px; }
    .news-carousel-dots .dot { width: 9px; height: 9px; }
    .news-carousel-dots .dot.active { width: 24px; }

    .section { padding: 44px 0; }
    .section-title h2 { font-size: 24px; }

    .intro-text h2 { font-size: 22px; }
    .intro-text .summary { font-size: 14px; }

    .quick-grid {/* grid-template-columns: 1fr; *//* display: flex; */}
    .quick-card {padding: 20px 20px;width: 100%;}
    .quick-icon{width: 50%;height: 50%;}
    .img-list, .img-list--4col, .video-list { grid-template-columns: 1fr; }

    .sub-content { padding: 20px; }
    .content-header h2 { font-size: 20px; display: none; }
    .article-header h1 { font-size: 20px; }
    .article-body { font-size: 15px; }

    .page-banner { height: 180px; }
    .page-banner h2 { font-size: 26px; }

    .footer-grid {/* padding-bottom: 10px; */}

    .back-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }

    .text-list li a { flex-direction: column; align-items: flex-start; gap: 6px; }
    .text-list li a .date {margin-left: 20px;font-size: 14px;}

    .news-item { flex-direction: column; }

    .notice-item {flex-wrap: wrap;gap: 10px 10px;padding: 15px 10px;}
    .notice-item:hover {padding-left: 30px;}
    .notice-title {font-size: 16px;white-space: normal;width: 100%;order: 3;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
    .notice-date {font-size: 14px;order: 2;}
    .footer-bottom { padding: 20px 5px; text-align: center;  font-size: 12px;}
}