/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 东财品牌颜色 */
    --primary-color: #003d7a;
    --secondary-color: #e63946;
    --success-color: #28a745;
    --background-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #dee2e6;
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9c 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 36px;
}
.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-phone {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.phone-icon {
    font-size: 11px;
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}
.social-item {
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.social-tip {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}
.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    transition: all 0.25s;
    cursor: pointer;
}
.social-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: scale(1.1);
}
.social-qrcode {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    z-index: 1000;
    text-align: center;
}
.social-qrcode::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 2px;
    transform: translateX(-50%) rotate(45deg);
}
.social-item:hover .social-qrcode {
    display: block;
}
.social-qrcode img {
    width: 130px;
    height: 130px;
    display: block;
    border-radius: 8px;
}
.qr-tip {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}
.navbar-search {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s;
    position: relative;
    order: -1;
}
.navbar-search.expanded {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    padding-left: 12px;
}
.navbar-search.expanded:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}
.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 13px;
    width: 0;
    padding: 0;
    opacity: 0;
    transition: width 0.3s, opacity 0.25s, padding 0.3s;
}
.navbar-search.expanded .search-input {
    width: 130px;
    padding: 6px 0;
    opacity: 1;
}
.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}
.search-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}
.navbar-search.expanded .search-btn {
    background: transparent;
    width: 30px;
    height: 30px;
}
.search-btn:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: scale(1.1);
}
.navbar-search.expanded .search-btn:hover {
    transform: none;
}
/* 东财官网校徽图标 */
.dufe-emblem {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
    position: relative;
}
.dufe-emblem img {
    width: 30px;
    height: 30px;
    display: block;
}
.dufe-emblem:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.dufe-emblem .dufe-emblem-tip {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 1000;
}
.dufe-emblem:hover .dufe-emblem-tip {
    display: block;
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 2000;
    padding: 8px 0;
}
.search-group-title {
    padding: 8px 16px 4px;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-result-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-item:hover {
    background: #f0f7ff;
    color: #003d7a;
}
.search-empty {
    padding: 20px 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}
.search-fallback {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #ff9800;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
    text-align: center;
}
.search-fallback:hover {
    background: #fff8e1;
}
.search-more {
    padding: 8px 16px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

.logo-image {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 20px;
}

.navbar-title h1 {
    font-size: 24px;
    font-weight: 600;
}

.navbar-title p {
    font-size: 12px;
    opacity: 0.9;
}

.navbar-tools {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 35px 8px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
}

.search-box:hover input {
    width: 200px;
    opacity: 1;
}

.search-box input:focus {
    width: 250px;
    opacity: 1;
}

.search-box button {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s;
    z-index: 1;
}

.search-box button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.user-actions {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border: 1px solid white;
    background: transparent;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover, .btn-register:hover {
    background: white;
    color: var(--primary-color);
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 20px;
    top: 18px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 主导航 */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    list-style: none;
    gap: 0;
}

.navbar-nav li {
    position: relative;
}

.navbar-nav a {
    display: block;
    padding: 20px 30px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'PingFang SC', 'Noto Sans SC', -apple-system, sans-serif;
    font-weight: 350;
    font-size: 16px;
    letter-spacing: 2.5px;
    position: relative;
}

.navbar-nav a::after {
    content: "";
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.95), rgba(255,255,255,0.4));
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s ease;
}

.navbar-nav a:hover {
    color: #fff;
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 28px;
}

/* Banner 轮播 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.7) 0%, rgba(0, 90, 156, 0.5) 100%);
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* 快速入口 */
.quick-access {
    padding: 60px 20px;
    background: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.quick-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
}

.quick-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 75%;
    margin: 0 auto;
}

.quick-grid-6 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}
.quick-grid-6 .quick-item {
    flex: 0 0 calc((100% - 56px) / 3);
    box-sizing: border-box;
}

/* 快速入口卡片精致化（仅作用于首页6宫格） */
.quick-grid-6 .quick-item {
    position: relative;
    padding: 36px 24px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.06);
}
.quick-grid-6 .quick-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.quick-grid-6 .quick-item:hover::before { transform: scaleX(1); }
.quick-grid-6 .quick-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(0, 51, 102, 0.16);
    border-color: transparent;
}
.quick-grid-6 .quick-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    font-size: 30px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.22);
    transition: transform 0.35s ease;
}
.quick-grid-6 .quick-item:hover .quick-icon {
    transform: scale(1.08) rotate(-4deg);
}
.quick-grid-6 .quick-item h3 { font-size: 17px; margin-bottom: 8px; }
.quick-grid-6 .quick-item p { font-size: 13px; line-height: 1.5; }

.login-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.quick-item {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
}

.quick-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 61, 122, 0.15);
}

.quick-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.quick-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.quick-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* 内容区域 */
.content-section {
    padding: 60px 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* 新闻列表 */
.news-list {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.news-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: all 0.3s;
}

.news-tab.active {
    color: var(--primary-color);
}

.news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    gap: 15px;
    transition: all 0.3s;
}

.news-item:hover {
    background: var(--background-light);
    margin: 0 -15px;
    padding: 20px 15px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    min-width: 60px;
}

.news-date .day {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.news-date .month {
    font-size: 12px;
    opacity: 0.9;
}

.news-content h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.news-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h4 a:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.more-link {
    display: block;
    text-align: right;
    margin-top: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.more-link:hover {
    text-decoration: underline;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.announcement-item {
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.announcement-item a:hover {
    color: var(--primary-color);
}

.announcement-item .tag {
    background: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 知行课堂卡片式列表 */
.zhixing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
    border: 1px solid #e8f0fa;
    border-left: 3px solid var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.zhixing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.1);
    border-left-color: #e67e22;
    background: #fff;
}
.zhixing-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.zhixing-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zhixing-item:hover .zhixing-title {
    color: var(--primary-color);
}
.zhixing-lecturer {
    font-size: 12px;
    color: #556677;
}
.zhixing-lecturer::before {
    content: '👤 ';
    font-size: 11px;
}
.zhixing-status {
    flex-shrink: 0;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    background: #f0f7ff;
    color: var(--primary-color);
    font-weight: 500;
}
.zhixing-status.live {
    background: #fff3e6;
    color: #e67e22;
}

/* 招生卡片 */
.admission-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9c 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.admission-highlight h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
    border: none;
    padding: 0;
}

.admission-highlight p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.admission-highlight .btn-cta {
    background: white;
    color: var(--primary-color);
}

/* 数据统计 */
.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9c 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #003d7a 0%, #002855 100%);
    color: white;
    padding: 50px 20px 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #f57c00, #ff9800);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 35px;
}

.footer-section h4 {
    font-size: 17px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 152, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: #ff9800;
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    padding-left: 16px;
    position: relative;
}

.footer-section ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    line-height: inherit;
    color: #ff9800;
    font-size: 16px;
    font-weight: bold;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ff9800;
    padding-left: 4px;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* ===== 正文容器：右侧留出悬浮按钮安全通道，竖条+右下圆钮都不再压内容 ===== */
    .container {
        padding-right: 52px;
    }
    /* 页尾自成一体，恢复对称内边距 */
    .footer .container {
        padding-right: 20px;
    }

    /* ===== 页尾：紧凑双列 ===== */
    .footer {
        padding: 30px 16px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 18px 8px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 7px;
        gap: 4px;
    }

    .footer-section h4::before {
        width: 3px;
        height: 13px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
        padding-left: 13px;
    }

    .footer-section a {
        font-size: 12px;
    }

    .footer-section ul li {
        padding-left: 11px;
    }

    .footer-section ul li::before {
        font-size: 13px;
    }

    .footer-section p {
        font-size: 12.5px;
        line-height: 1.75;
    }

    /* 联系方式一组横跨整行，收尾更稳 */
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 4px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-section:last-child p {
        display: inline-block;
        margin-right: 18px;
    }

    .footer-bottom {
        padding-top: 16px;
        font-size: 11px;
        line-height: 1.7;
    }

    .navbar-top {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .navbar-logo {
        max-width: calc(100% - 50px);
    }

    .navbar-logo img {
        height: 32px !important;
        max-width: 100%;
        object-fit: contain;
    }

    /* 移动端：默认隐藏社交/电话入口，菜单展开时以横排形式显示 */
    .navbar-contact {
        display: none;
    }

    .navbar.mobile-menu-open .navbar-contact {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
        order: 3;
        padding: 14px 20px 6px;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 4px;
    }

    .navbar.mobile-menu-open .contact-phones {
        gap: 6px;
    }

    .navbar.mobile-menu-open .contact-phone {
        font-size: 13px;
    }

    .navbar.mobile-menu-open .social-icons {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 22px;
    }

    /* 移动端二维码：改为点击展开(.qr-open)，居中定位避免溢出屏幕 */
    .navbar.mobile-menu-open .social-item.qr-open .social-qrcode {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3000;
        box-shadow: 0 10px 60px rgba(0,0,0,0.5);
    }

    .navbar.mobile-menu-open .social-item.qr-open .social-qrcode::before {
        display: none;
    }

    .navbar.mobile-menu-open .social-qrcode img {
        width: 200px;
        height: 200px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar-top {
        flex-wrap: wrap;
    }

    .navbar-nav {
        flex-direction: column;
        display: none;
        padding: 10px 0;
        width: 100%;
        order: 2;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-nav a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .banner {
        height: 300px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .page-header {
        padding: 40px 18px;
    }

    .page-header h1 {
        font-size: 24px;
        line-height: 1.35;
        word-break: break-word;
    }

    .page-header p {
        font-size: 15px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid,
    .quick-grid-4,
    .quick-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .quick-grid-6 {
        gap: 10px;
        max-width: 100%;
    }

    /* 3列排布：5个项目自然形成 3+2 */
    .quick-grid-6 .quick-item {
        flex: 0 0 calc((100% - 20px) / 3);
        padding: 18px 8px;
        border-radius: 14px;
    }

    .quick-grid-6 .quick-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
        font-size: 22px;
        border-radius: 13px;
    }

    .quick-grid-6 .quick-item h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .quick-grid-6 .quick-item p {
        font-size: 11px;
        line-height: 1.4;
    }

    .login-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-box input {
        width: 150px;
    }

    .user-actions {
        flex-direction: column;
        width: 100%;
    }

    /* ===== 手机端整体密度收缩 ===== */
    .page-content {
        padding: 24px 14px;
    }

    .card {
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 14px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    }

    .card h2 {
        font-size: 18px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .card ul li {
        padding: 9px 0;
        font-size: 14px;
    }

    .page-header {
        padding: 30px 16px;
    }

    .entrance-button {
        padding: 15px;
        font-size: 17px;
        border-radius: 12px;
        margin: 18px 0;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* ===== 新闻模块手机端优化 ===== */
    .news-list {
        border-radius: 12px;
        padding: 16px;
    }

    .news-tabs {
        gap: 2px;
        margin-bottom: 18px;
        justify-content: space-between;
        overflow-x: visible;
    }

    .news-tab {
        padding: 10px 4px;
        font-size: 13.5px;
        white-space: nowrap;
        flex-shrink: 1;
    }

    .news-item {
        padding: 14px 0;
        gap: 12px;
    }

    .news-item:hover {
        margin: 0;
        padding: 14px 0;
        background: transparent;
    }

    .news-date {
        min-width: 50px;
        padding: 8px 6px;
        border-radius: 6px;
    }

    .news-date .day {
        font-size: 20px;
    }

    .news-date .month {
        font-size: 11px;
    }

    .news-content h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .news-content p {
        font-size: 13px;
        line-height: 1.5;
        /* 限制摘要最多2行，超出省略 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .more-link {
        margin-top: 14px;
        font-size: 13px;
    }

    /* 侧边栏卡片收缩 */
    .sidebar {
        gap: 16px;
    }

    .sidebar-card,
    .admission-highlight {
        border-radius: 12px;
        padding: 16px;
    }

    .sidebar-card h3,
    .admission-highlight h3 {
        font-size: 16px;
    }

    /* ===== 内联大尺寸自动降级（全局兜底）===== */
    /* section padding 收缩 */
    section[style*="padding: 60px"],
    section[style*="padding:60px"],
    div[style*="padding: 60px"],
    div[style*="padding:60px"] {
        padding: 28px 14px !important;
    }

    section[style*="padding: 40px"],
    section[style*="padding:40px"],
    div[style*="padding: 40px"],
    div[style*="padding:40px"] {
        padding: 20px 14px !important;
    }

    div[style*="padding: 35px"],
    div[style*="padding:35px"] {
        padding: 18px 14px !important;
    }

    /* 标题字号降级 */
    h1[style*="font-size: 42px"],
    h1[style*="font-size:42px"] {
        font-size: 26px !important;
    }

    h2[style*="font-size: 32px"],
    h2[style*="font-size:32px"],
    h2[style*="font-size: 28px"],
    h2[style*="font-size:28px"] {
        font-size: 20px !important;
    }

    h2[style*="font-size: 26px"],
    h2[style*="font-size:26px"],
    h3[style*="font-size: 24px"],
    h3[style*="font-size:24px"] {
        font-size: 18px !important;
    }

    /* 大数字展示降级 */
    div[style*="font-size: 48px"],
    div[style*="font-size:48px"] {
        font-size: 30px !important;
        white-space: nowrap !important;
    }

    div[style*="font-size: 42px"],
    div[style*="font-size:42px"] {
        font-size: 26px !important;
        white-space: nowrap !important;
    }

    div[style*="font-size: 40px"],
    div[style*="font-size:40px"] {
        font-size: 26px !important;
    }

    div[style*="font-size: 60px"],
    div[style*="font-size:60px"] {
        font-size: 36px !important;
    }

    div[style*="font-size: 30px"],
    div[style*="font-size:30px"] {
        font-size: 22px !important;
    }

    /* 段落文本降级 */
    p[style*="font-size: 17px"],
    p[style*="font-size:17px"],
    p[style*="font-size: 18px"],
    p[style*="font-size:18px"] {
        font-size: 14.5px !important;
    }

    p[style*="font-size: 20px"],
    p[style*="font-size:20px"] {
        font-size: 15px !important;
    }

    /* 正文行高收紧，避免手机上过于松散 */
    p[style*="line-height: 2"] {
        line-height: 1.75 !important;
    }

    /* margin收缩 */
    h2[style*="margin-bottom: 50px"],
    h2[style*="margin-bottom:50px"] {
        margin-bottom: 24px !important;
    }

    h2[style*="margin-bottom: 40px"],
    h2[style*="margin-bottom:40px"] {
        margin-bottom: 20px !important;
    }

    div[style*="margin-bottom: 40px"],
    div[style*="margin-bottom:40px"] {
        margin-bottom: 20px !important;
    }

    /* 圆角收缩 */
    div[style*="border-radius: 20px"],
    div[style*="border-radius:20px"] {
        border-radius: 12px !important;
    }
}

/* 小屏横屏（视口高度矮）：菜单展开后可滚动，压缩间距，保证所有导航项可达 */
@media (max-width: 926px) and (orientation: landscape) {
    .navbar.mobile-menu-open .navbar-container {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar.mobile-menu-open .navbar-nav a {
        padding: 8px 20px;
    }

    .navbar.mobile-menu-open .navbar-contact {
        padding: 10px 20px 6px;
        gap: 10px;
    }

    .navbar.mobile-menu-open .contact-phones {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 18px;
    }

    .navbar.mobile-menu-open .social-icons {
        gap: 14px;
    }
}

/* 页面特定样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.page-content {
    padding: 60px 20px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li::before {
    content: '▸ ';
    color: var(--primary-color);
    font-weight: bold;
}
.card .attach ul li::before,
.card .attachment-box li::before,
.attachment-list li::before {
    display: none;
}

.entrance-button {
    display: block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a9c 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.2);
}

.entrance-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 61, 122, 0.3);
}

/* 社交媒体图标 */
.social-media-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.social-icon svg {
    color: white;
    width: 20px;
    height: 20px;
}

.qrcode-popup {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
    min-width: 180px;
}

.qrcode-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.social-icon:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
    top: 110%;
}

.qrcode-popup img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 10px;
    border-radius: 5px;
}

.qrcode-popup p {
    text-align: center;
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* 响应式社交媒体图标 */
@media (max-width: 768px) {
    .social-media-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}


/* 右侧固定"返回旧版"标签 */
.back-old-site {
    position: fixed;
    right: 0;
    top: 18%;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #333;
    text-decoration: none;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px 0 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-right: none;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.back-old-site::before {
    content: "\2039";
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0;
    color: #e67e22;
    transition: color 0.3s;
}
.back-old-site:hover {
    padding-right: 14px;
    background: #fff;
    color: #e67e22;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.18);
}
.back-old-site:hover::before {
    color: #d35400;
}
@media (max-width: 768px) {
    .back-old-site {
        top: 34%;
        bottom: auto;
        padding: 8px 4px;
        font-size: 11px;
        letter-spacing: 1px;
        border-radius: 7px 0 0 7px;
        opacity: 0.92;
    }
}

.online-answer-btn {
    position: fixed;
    right: 0;
    top: 32%;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 14px 10px;
    background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
    color: white;
    text-decoration: none;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px 0 0 10px;
    border: none;
    box-shadow: -2px 2px 12px rgba(106, 27, 154, 0.3);
    transition: all 0.3s;
}
.online-answer-btn::before {
    content: '💬';
    writing-mode: horizontal-tb;
    margin-bottom: 6px;
    font-size: 16px;
}
.online-answer-btn:hover {
    padding-right: 14px;
    box-shadow: -4px 4px 20px rgba(106, 27, 154, 0.4);
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}
.online-signup-btn {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: floatPulse 2s ease-in-out infinite;
}
.online-signup-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(46, 125, 50, 0.6);
}
.online-signup-btn .btn-icon { font-size: 22px; line-height: 1; }
.online-signup-btn .btn-text { font-size: 10px; margin-top: 3px; font-weight: 600; letter-spacing: 0.5px; }
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(46, 125, 50, 0.7); }
}
@media (max-width: 768px) {
    .online-signup-btn { right: 15px; bottom: 50px; width: 56px; height: 56px; }
}
.floating-btn {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: floatPulse 2s ease-in-out infinite;
}
.floating-btn:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 152, 0, 0.6);
}
.floating-btn .btn-icon { font-size: 22px; line-height: 1; }
.floating-btn .btn-text { font-size: 10px; margin-top: 3px; font-weight: 600; }
@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@media (max-width: 768px) {
    .floating-btn { right: 10px; bottom: 80px; width: 54px; height: 54px; }
    .floating-btn .btn-icon { font-size: 19px; }
    .floating-btn .btn-text { font-size: 9px; }
}
.dufe-link {
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    text-decoration: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.dufe-link::before {
    content: '🏫';
    font-size: 12px;
}
.dufe-link:hover {
    color: white;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .online-answer-btn {
        top: 52%;
        bottom: auto;
        padding: 8px 4px;
        font-size: 11px;
        letter-spacing: 1px;
        border-radius: 7px 0 0 7px;
        opacity: 0.92;
    }
}

/* ========== 文章排版增强 ========== */
.image-caption {
    text-align: center;
    font-size: 14px;
    color: #667085;
    margin: -14px auto 24px;
    max-width: 680px;
    line-height: 1.6;
}
.photo-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 24px auto 28px;
}
.photo-wall img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: transform .25s;
}
.photo-wall img:hover {
    transform: scale(1.03);
}
.poster-box {
    margin: 0 auto 28px;
    max-width: 720px;
    text-align: center;
}
.poster-box img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.course-info-card {
    background: #f8fbff;
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    padding: 24px 28px;
    margin: 24px 0;
}
.info-row {
    display: flex;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed #e5eaf0;
}
.info-row:last-child { border-bottom: none; }
.info-label {
    flex-shrink: 0;
    width: 80px;
    font-weight: 700;
    color: #003d7a;
    font-size: 15px;
}
.info-value {
    flex: 1;
    font-size: 15px;
    color: #374151;
}
@media (max-width: 768px) {
    .photo-wall { grid-template-columns: 1fr; }
    .photo-wall img { height: 180px; }
    .course-info-card { padding: 18px 16px; }
    .info-row { flex-direction: column; }
    .info-label { width: auto; margin-bottom: 2px; }
}

/* ========== 文章排版增强 v2 ========== */

/* 引言/导语 */
.lead-text {
    font-size: 17px;
    line-height: 2;
    color: #374151;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fbff 100%);
    border-left: 4px solid #0b5ea8;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 0 0 28px;
    position: relative;
}
.lead-text::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 48px;
    color: rgba(11, 94, 168, .15);
    font-family: Georgia, serif;
    line-height: 1;
}

/* 要点高亮卡片 */
.highlight-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef9e7 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    margin: 22px 0;
    font-size: 15.5px;
    line-height: 1.9;
    color: #92400e;
}
.highlight-box.blue {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    border-left-color: #3b82f6;
    color: #1e40af;
}
.highlight-box.green {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-left-color: #10b981;
    color: #065f46;
}
.highlight-box.red {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border-left-color: #ef4444;
    color: #991b1b;
}

/* 装饰分隔线 */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
    gap: 12px;
}
.divider::before, .divider::after {
    content: "";
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}
.divider .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0b5ea8;
}

/* 视频容器 */
.video-box {
    position: relative;
    max-width: 720px;
    margin: 24px auto 28px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    background: #000;
}
.video-box video {
    width: 100%;
    display: block;
}

/* 图片增强 hover */
.image-box img {
    transition: transform .3s ease;
}
.image-box:hover img {
    transform: scale(1.02);
}

/* 金句引用 */
.quote-block {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 28px 30px 24px 50px;
    margin: 28px 0;
    font-size: 16.5px;
    line-height: 2;
    color: #475569;
    font-style: italic;
}
.quote-block::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 56px;
    color: #0b5ea8;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: .3;
}
.quote-block .author {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 14px;
    color: #94a3b8;
    margin-top: 10px;
}

/* 讲师信息卡片 */
.lecturer-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #dbe7f3;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0;
}
.lecturer-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    flex-shrink: 0;
}
.lecturer-card .info h4 {
    font-size: 17px;
    color: #003d7a;
    margin: 0 0 4px;
}
.lecturer-card .info p {
    font-size: 14px;
    color: #667085;
    margin: 0;
    line-height: 1.6;
    text-indent: 0;
}

/* 课程要点/收获卡片 */
.takeaway-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 26px 0;
}
.takeaway-box .box-title {
    font-size: 17px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.takeaway-box .box-title::before {
    content: "\2728";
    font-size: 18px;
}
.takeaway-box ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}
.takeaway-box li {
    font-size: 15px;
    line-height: 2;
    color: #374151;
    position: relative;
    padding-left: 16px;
}
.takeaway-box li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* 通知公告：重要提示横幅 */
.notice-banner {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 14px 20px;
    margin: 0 0 24px;
    font-size: 15px;
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 10px;
}
.notice-banner.info {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    border-color: #bfdbfe;
    color: #1e40af;
}
.notice-banner::before {
    content: "\26A0";
    font-size: 18px;
    flex-shrink: 0;
}
.notice-banner.info::before {
    content: "\2139";
}

/* 通知公告：时间节点 */
.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed #e5e7eb;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item .time {
    flex-shrink: 0;
    width: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #003d7a;
    padding-top: 2px;
}
.timeline-item .content {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

/* 附件下载卡片 */
.download-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fbff;
    border: 1px solid #dbe7f3;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 8px 0;
    transition: box-shadow .2s;
}
.download-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.download-card .icon {
    width: 40px;
    height: 40px;
    background: #0b5ea8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.download-card a {
    color: #0b5ea8;
    text-decoration: none;
    font-size: 15px;
    word-break: break-all;
}
.download-card a:hover { text-decoration: underline; }

/* 学院新闻：首图 */
.news-lead-image {
    margin: 0 0 28px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
.news-lead-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 人物标签 */
.person-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef4fb;
    color: #003d7a;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin: 2px 4px;
}

/* 学生活动：主视觉大图 */
.activity-banner {
    margin: 0 -42px 28px;
    border-radius: 0;
    overflow: hidden;
}
.activity-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 编号列表 */
.numbered-list {
    counter-reset: item;
    margin: 16px 0;
    padding: 0;
    list-style: none;
}
.numbered-list li {
    counter-increment: item;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    font-size: 15.5px;
    line-height: 1.9;
    border-bottom: 1px solid #f1f5f9;
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before {
    content: counter(item);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #003d7a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 排版增强 v2 响应式 */
@media (max-width: 768px) {
    .lead-text { padding: 16px 18px; font-size: 15.5px; }
    .lecturer-card { flex-direction: column; text-align: center; }
    .lecturer-card .avatar { width: 60px; height: 60px; }
    .activity-banner { margin: 0 -20px 20px; }
    .quote-block { padding: 22px 20px 18px 40px; }
    .timeline-item { flex-direction: column; gap: 4px; }
    .timeline-item .time { width: auto; }
}
