* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066ff;
    --primary-dark: #0055cc;
    --secondary: #ff4d4f;
    --accent: #ff6b00;
    --success: #52c41a;
    --warning: #faad14;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #f5f7fa;
    --bg-white: #ffffff;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

a {
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: #f0f5ff;
}

.btn-banner {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8f00 100%);
    color: #fff;
    padding: 10px 30px;
    font-size: 16px;
}

.btn-banner:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-live {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
}

.btn-app {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8f00 100%);
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
}

.btn-select {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    width: 100%;
    margin-top: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-more {
    color: #333;
    line-height: 20px;
    position: relative;
    top: 10px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-more::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid #999;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    display: inline-block;
    transition: border-color 0.3s ease;
}

.section-more:hover {
    color: var(--primary);
}

.section-more:hover::after {
    border-left-color: var(--primary);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding-left: 16px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 3px;
}

.view-more {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.view-more:hover {
    color: var(--primary);
}

.top-banner {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.top-banner .banner-link {
    display: block;
}

.top-banner .banner-img {
    width: 100%;
    height: auto;
}

.top-bar {
    background: linear-gradient(135deg, #ff6b00 0%, #ff4757 100%);
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff6b00, #ffd700);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-notice {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-tag {
    background: #fff;
    color: #ff6b00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.notice-text {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.notice-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-links a:hover {
    text-decoration: underline;
}

.main-header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
	 height: 44px;
    vertical-align: middle
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.logo-text span {
    font-size: 10px;
    color: var(--accent);
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 25px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav .has-dropdown:hover > a {
    color: var(--primary);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    display: none;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-section {
    float: left;
    width: 150px;
    padding: 10px;
}

.dropdown-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}

.dropdown-section ul {
    display: block;
    padding: 0;
    gap: 0;
}

.dropdown-section li {
    margin-bottom: 8px;
}

.dropdown-section a {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 0;
    display: block;
}

.dropdown-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066ff 0%, #00c6ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-header:hover::after {
    opacity: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.study-center-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00c853 0%, #00a843 100%);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    transition: all 0.3s ease;
}

.study-center-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.study-icon {
    width: 22px;
    height: 22px;
}

.header-btns {
    display: flex;
    gap: 10px;
}

.header-btns .btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
}

.header-btns .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.header-btns .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.header-btns .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0044cc 100%);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

.mobile-menu-body {
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.mobile-nav-item.active .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 10px 15px;
    display: none;
}

.mobile-nav-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    margin-bottom: 8px;
}

.mobile-submenu a {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
    display: block;
}

.mobile-submenu a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-menu-body a.active,
.mobile-menu-body a:hover {
    color: var(--primary);
}

.mobile-menu-btns {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.mobile-menu-btns .btn {
    flex: 1;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.hero-section {
    position: relative;
    width: 100%;
    overflow: visible;
}

.hero-banner-full {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-bg-mobile,
.banner-bg-tablet {
    display: none;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 0, 0.15);
}

.banner-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.banner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b00, #ff8f00);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-text-overlay h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.banner-text-overlay h3 {
    font-size: 42px;
    font-weight: 800;
    color: #ffd700;
    margin: 5px 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.banner-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.badge.hot {
    background: linear-gradient(135deg, #ff4757, #ff6b00);
    color: #fff;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.banner-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.banner-dots span.active {
    background: #fff;
    width: 28px;
    border-radius: 7px;
}

.banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
}

.banner-prev,
.banner-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.banner-prev:hover,
.banner-next:hover {
    background: #fff;
    transform: scale(1.1);
}

.hero-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    pointer-events: none;
    overflow: visible;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 0 40px 0;
    pointer-events: auto;
    overflow: visible;
}

.category-sidebar {
    width: 260px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.category-item {
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.category-item:hover {
    background: rgba(255, 107, 0, 0.1);
}

.category-item.active {
    background: rgba(255, 107, 0, 0.15);
}

.category-item a {
    display: flex;
    flex-direction: column;
    color: #333;
    text-decoration: none;
}

.cat-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.cat-items {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.hot-icon {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6b00);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 4px;
}

.arrow-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    transition: all 0.3s ease;
}

.category-item:hover .arrow-icon {
    color: #ff6b00;
    transform: translateY(-50%) rotate(90deg);
}

.category-submenu {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateX(-10px) translateY(-50%);
    width: 500px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: visible;
    backdrop-filter: blur(10px);
}

.category-submenu.active {
    display: block;
    opacity: 1;
}

.submenu-main {
    padding: 20px;
    overflow: visible;
}

.submenu-category {
    margin-bottom: 20px;
}

.submenu-category:last-child {
    margin-bottom: 0;
}

.submenu-category h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.submenu-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.submenu-category li {
    margin: 0;
}

.submenu-category a {
    font-size: 13px;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    transition: all 0.2s ease;
}

.submenu-category a:hover {
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.1);
}

.quick-sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.user-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    border: 4px solid #ffd700;
}

.user-hi {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #00c853, #00a843);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

.btn-user {
    width: 100%;
    background: linear-gradient(135deg, #0066ff, #0044cc);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.exam-select {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.exam-select h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.select-box select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
    transition: all 0.3s ease;
}

.select-box select:focus {
    outline: none;
    border-color: #0066ff;
}

.btn-select {
    width: 100%;
    background: linear-gradient(135deg, #0066ff, #0044cc);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-select:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.quick-icons {
    background: #fff;
    padding: 25px 0;
    border-top: 1px solid var(--border);
}

.quick-icons-grid {
    display: flex;
    justify-content: space-between;
}

.quick-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.quick-icon-item:hover {
    background: var(--bg);
}

.icon-bg {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.icon-bg img {
    width: 35px;
    height: 35px;
}

.icon-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.quick-icon-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.quick-icon-item small {
    font-size: 12px;
    color: var(--text-lighter);
}

.live-section {
    padding: 30px 0;
    background: #f0f5ff;
}

.live-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.live-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.live-calendar-btn {
    position: absolute;
    left: 130px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4096ff 0%, #1677ff 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.live-section .view-more {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-time-tags {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    padding: 0;
}

.live-time-tags::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.time-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 0;
}

.time-tag::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 1px #d9d9d9;
}

.time-tag:hover::before {
    background: #0a52ff;
    box-shadow: 0 0 0 1px #0a52ff;
}

.time-tag.active::before {
    background: #0a52ff;
    box-shadow: 0 0 0 1px #0a52ff;
}

.time-tag-icon {
    background: #fff;
    border-radius: 15px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    text-align: center;
    white-space: nowrap;
}

.time-tag-icon i {
    font-size: 16px;
    color: #0a52ff;
}

.time-tag span {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.time-tag.active span {
    color: #0a52ff;
    font-weight: 500;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.live-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.live-card-top {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 140px;
}

.live-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.live-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-avatar-wrapper {
    position: relative;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    z-index: 1;
}

.live-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-tag-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff7a45 0%, #ff4d4f 100%);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 1;
}

.live-card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.live-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

.live-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.live-teacher-name {
    font-weight: 500;
    color: #333;
}

.live-meta-separator {
    color: #ddd;
}

.live-stats {
    color: #999;
}

.live-card-bottom {
    padding: 15px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #fff;
}

.live-date-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-date {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.live-time-range {
    font-size: 13px;
    color: #999;
}

.live-card .btn-live {
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.live-card .btn-live:hover {
    background: linear-gradient(135deg, #0958d9 0%, #1677ff 100%);
    transform: scale(1.05);
}

.hot-section {
    padding: 30px 0;
    background: #fff;
}

.hot-layout {
    display: flex;
    gap: 30px;
}

.hot-left {
    flex: 1;
    display: flex;
    gap: 30px;
}

.hot-list {
    flex: 1;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-tag {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.hot-tag-1 {
    background: #ff4d4f;
}

.hot-tag-2 {
    background: #1890ff;
}

.hot-tag-3 {
    background: #52c41a;
}

.hot-tag-4 {
    background: #faad14;
}

.hot-tag-5 {
    background: #722ed1;
}

.hot-item a {
    font-size: 14px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-item a:hover {
    color: var(--primary);
}

.hot-right {
    flex: 1;
    min-width: 280px;
}

.news-block .calendar-plate {
    align-self: end;
    margin-left: 20px;
    width: 100%;
}

.calendar-block {
    height: auto;
    padding: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e8f0fe;
    border-top: 1px solid #e8f0fe;
}

.calendar-block .el-table .table-header th {
    background-color: transparent;
    border-color: #bdcef7;
    font-size: 12px;
    padding: 0;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 15px 10px;
    background: linear-gradient(135deg, #1e6fff 0%, #4096ff 100%);
    position: relative;
}

.calendar-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.calendar-more {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.calendar-more i {
    font-size: 12px;
    margin-left: 4px;
}

.calendar-table {
    background: #fff;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.calendar-table-header {
    display: flex;
    background: #e8f0fe;
    padding: 10px 0;
}

.table-th {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.calendar-table-body {
    padding: 0;
}

.calendar-table-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.calendar-table-row:last-child {
    border-bottom: none;
}

.table-td {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 6px;
}

.course-section {
    padding: 30px 0;
    background: var(--bg);
}

.section-tabs {
    display: flex;
    gap: 20px;
}

.section-tabs a {
    font-size: 14px;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.section-tabs a.active,
.section-tabs a:hover {
    background: var(--primary);
    color: #fff;
}

.course-layout {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-direction: row;
}

.course-sidebar {
    align-self: stretch;
}

.course-main {
    flex: 1;
}

.course-grid {
    display: flex;
    flex-wrap: wrap;
}

.course-banner-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.banner-main {
    flex: 0 0 calc((100% - 40px) / 3 * 2 + 20px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.banner-block {
    position: relative;
    width: 100%;
    height: 284px;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: all 0.3s;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s;
}

.banner-main:hover .banner-arrow {
    opacity: 1;
}

.banner-arrow:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-arrow.prev {
    left: 15px;
}

.banner-arrow.next {
    right: 15px;
}

.banner-arrow i {
    font-size: 14px;
    color: #333;
}

.banner-side {
    flex: 0 0 calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px -1px rgba(65, 70, 75, .1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 284px;
}

.banner-side-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    flex-shrink: 0;
}

.banner-side-info {
    padding: 0;
    flex: 1;
    position: relative;
    height: 114px;
}

.banner-side-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 20px;
    margin: 12px 12px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-side-badge {
    background-color: #ffedde;
    border-radius: 2px;
    color: #9b2f09;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    margin: 0 12px;
    padding: 0 4px;
    display: inline-block;
}

.banner-side-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: #fe4640;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    line-height: 17px;
}

.banner-side-price span {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.course-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px -1px rgba(65, 70, 75, .1);
    cursor: pointer;
    height: 284px;
    margin-bottom: 24px;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
    transition: all .2s;
    flex: 0 0 calc((100% - 40px) / 3);
}

.course-card:nth-child(3n) {
    margin-right: 0;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.course-card-wide {
    grid-column: span 2;
}

.course-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
}

.course-tag.hot {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
}

.course-tag.coupon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    top: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.course-card-bg {
    position: relative;
}

.course-card-bg img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.course-card-info {
    position: relative;
    padding: 0;
    height: 114px;
}

.course-card-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 21px;
    margin: 12px 12px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-badge {
    background-color: #ffedde;
    border-radius: 2px;
    color: #9b2f09;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    margin: 0 12px;
    padding: 0 4px;
    display: inline-block;
}

.course-price {
    position: absolute;
    bottom: 29px;
    right: 19px;
    color: #fe4640;
    display: inline-block;
    font-size: 21px;
    font-weight: 700;
    line-height: 26px;
}

.course-price span {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.course-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #fafafa;
}

.placeholder-icon {
    font-size: 40px;
    color: var(--text-lighter);
    margin-bottom: 10px;
}

.course-placeholder p {
    font-size: 13px;
    color: var(--text-lighter);
}

.course-sidebar {
    width: 280px;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-empty {
    flex: 0 0 auto;
    min-height: 0;
    display: none;
}

.sidebar-panel {
    flex: 0 0 auto;
}

.sidebar-panel.active {
    flex: 1 1 auto;
    overflow: auto;
    padding-bottom: 12px;
}

@media (min-width: 993px) {
    /* Ensure desktop only: active panel fills sidebar height */
    .course-layout {
        flex-direction: row;
    }

    .sidebar-panel.active {
        flex: 1 1 auto;
        overflow: auto;
        padding-bottom: 12px;
    }
}



.sidebar-tools {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-tabs {
    display: flex;
    background: #f5f7fa;
    padding: 0;
    flex-shrink: 0;
}

.sidebar-panel.sidebar-news {
    display: none;
}

.sidebar-panel.sidebar-news.active {
    display: block;
}

.sidebar-panel.sidebar-downloads {
    display: none;
}

.sidebar-panel.sidebar-downloads.active {
    display: block;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    font-weight: 600;
    background: #fff;
}

.sidebar-panel {
    padding: 0;
}

.sidebar-news,
.sidebar-downloads {
    padding: 20px 15px 0;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 7px;
    margin-right: 10px;
    flex-shrink: 0;
}

.sidebar-item a {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item a:hover {
    color: var(--primary);
}

.sidebar-more {
    width: 100%;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid #e8f0fe;
    background: #fff;
    color: #666;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-more:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sidebar-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 15px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.link-item {
    background-color: #f4f7ff;
    border-radius: 4px;
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.link-item:hover {
    background: #e8f4ff;
    color: var(--primary);
}

.tool-item {
    box-sizing: border-box;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    color: var(--text-light);
    transition: var(--transition);
}

.tool-item:nth-child(1),
.tool-item:nth-child(2) {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tool-item:hover {
    background: #e8f4ff;
    color: var(--primary);
}

.tool-item i,
.tool-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tool-item:first-child i,
.tool-item:nth-child(2) i {
    background: linear-gradient(135deg, #ff9a6a 0%, #ff6b35 100%);
}

.tool-icon.blue {
    background: linear-gradient(135deg, #667eea 0%, #4d6ef5 100%);
}

.tool-icon.green {
    background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
}

.tool-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

.tool-item:hover span {
    color: var(--primary);
}

.teachers-section {
    padding: 40px 0;
    background-image: url('../images/wx_teacher_bg.png') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
}

.teachers-section .section-header {
    margin-bottom: 20px;
}

.teachers-section .section-title {
    color: #fff;
    padding-left: 15px;
    font-size: 28px;
    font-weight: 600;
}

.teachers-block {
    background-image: url('../images/wx_home_teacher.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 6px;
    height: 400px;
    padding-top: 50px;
    position: relative;
    overflow: visible;
}

.teacher-box {
    color: #fff;
    margin-left: 60px;
    position: relative;
    z-index: 1;
}

.teacher-box .name {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    margin-bottom: 16px;
}

.teacher-box .projext-box {
    background: linear-gradient(270deg, #fbe3c9, #f5c99a);
    border-radius: 4px;
    color: #9b2f09;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    padding: 0 12px;
    font-size: 14px;
}

.teacher-box .desc {
    font-size: 14px;
    line-height: 20px;
    margin-top: 24px;
    width: 770px;
    color: rgba(255, 255, 255, 0.9);
}

.teacher-main-img {
    bottom: 0px;
    height: 380px;
    object-fit: cover;
    position: absolute;
    right: 60px;
    width: 280px;
    z-index: 10;
}

.swiper-box {
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    left: 60px;
    position: absolute;
    width: 700px;
    overflow: hidden;
}

.swiper-box .icon-next,
.swiper-box .icon-prev {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.swiper-box .icon-next:hover,
.swiper-box .icon-prev:hover {
    background: rgba(255, 255, 255, 0.25);
}

.swiper-box .icon-prev,
.swiper-box .icon-next {
    position: static;
    z-index: 100;
    flex-shrink: 0;
}

.swiper-wrapper {
    display: flex;
    align-items: end;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    width: max-content;
    gap: 20px;
}

.swiper-wrapper::-webkit-scrollbar {
    display: none;
}

.teachers-block .teach-item {
    align-items: center;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    height: 70px;
    overflow: hidden;
    position: relative;
    transition: height 0.1s ease-in-out;
    width: 160px;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.teachers-block .teach-item.active,
.teachers-block .teach-item:hover {
    height: 100px;
}

.teachers-block .teach-item img {
    border-radius: 50%;
    height: 40px;
    margin-left: 10px;
    margin-right: 12px;
    object-fit: contain;
    width: 40px;
    flex-shrink: 0;
}

.teachers-block .teach-item .info {
    flex: 1;
    min-width: 0;
}

.teachers-block .teach-item div.name {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 2px;
    color: #333;
    font-weight: 600;
}

.teachers-block .teach-item .project-list {
    font-size: 0;
}

.teachers-block .teach-item .project-list .project-item {
    color: #6d7996;
    font-size: 12px;
    line-height: 16px;
}

/* 移动端响应式 */
@media (max-width: 992px) {
    /* 手机端去掉底部外围黑色背景 - 使用 !important 确保优先级 */
    footer.main-footer {
        background: #ffffff !important;
        padding: 0px !important;
        color: #333333 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    footer.main-footer .container {
        background: #ffffff !important;
        padding: 0 !important;
    }
    
    .teachers-block {
        height: auto;
        padding: 40px 20px;
        background-image: none;
        background: linear-gradient(135deg, #6b8cff 0%, #8e9ef5 100%);
        overflow: visible;
        display: flex;
        flex-direction: column;
    }
    
    .teacher-box {
        margin-left: 0;
        text-align: center;
        position: relative;
        z-index: 1;
    }
    
    .teacher-box .desc {
        width: 100%;
    }
    
    .teacher-main-img {
        position: relative;
        width: 279px;
        height: 369px;
        margin: -30px auto 0;
        right: auto;
        bottom: auto;
        z-index: 1;
    }
    
    .swiper-box {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 0;
        overflow: hidden;
    }
    
    .swiper-box .icon-prev,
    .swiper-box .icon-next {
        display: flex;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .swiper-wrapper {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
        width: max-content;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .swiper-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .teachers-block .teach-item {
        width: 140px;
        flex-shrink: 0;
    }
}

.branches-section {
    padding: 30px 0;
    background: var(--bg);
}

.branches-section .section-header {
    align-items: flex-end;
}

.branch-year {
    font-size: 14px;
    color: var(--text-lighter);
    font-weight: 500;
}

.branches-layout {
    display: flex;
    gap: 30px;
}

.branches-left {
    flex: 1;
}

.province-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.province-tags a {
    padding: 8px 16px;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.province-tags a.active,
.province-tags a:hover {
    background: var(--primary);
    color: #fff;
}

.branch-detail {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.branch-item {
    padding: 15px 0;
    border-bottom: 1px dashed var(--border);
}

.branch-item:last-child {
    border-bottom: none;
}

.branch-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.branch-item p {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.branches-right {
    width: 400px;
}

.china-map {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.map-img {
    width: 100%;
    height: auto;
}

.app-section {
    padding: 30px 0;
}

.app-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.app-content {
    max-width: 600px;
    margin: 0 auto;
}

.app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.app-logo img {
    width: 60px;
    height: 60px;
}

.app-logo span {
    font-size: 28px;
    font-weight: 700;
}

.app-banner p {
    font-size: 16px;
    opacity: 0.9;
}

.main-footer {
    background: #333;
    padding: 40px 0;
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 15px;
}

.footer-brand .logo-text h1 {
    color: #fff;
}

.footer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: #fff;
}

.footer-qr {
    text-align: center;
}

.footer-qr h4 {
    font-size: 14px;
    margin-bottom: 15px;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 10px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-friends {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-friends span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-friends a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

/* 手机端简洁底部 - 默认隐藏 */
.mobile-footer {
    display: none;
}

.float-btns {
    position: fixed;
    right: 30px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn span {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.float-btn:hover span {
    opacity: 1;
    visibility: visible;
}

.float-top {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--border);
}

/* iPad平板端样式 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-overlay-container {
        display: none;
    }
    
    .hero-banner-full {
        height: 280px;
    }
    
    .banner-bg-desktop {
        display: none;
    }
    
    .banner-bg-mobile {
        display: none;
    }
    
    .banner-bg-tablet {
        display: block;
    }
    
    .banner-text-overlay h2 {
        font-size: 32px;
    }
    
    .banner-text-overlay h3 {
        font-size: 28px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-layout {
        flex-direction: column;
    }
    
    .category-sidebar {
        width: 100%;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
    }
    
    .category-item {
        flex: 1 1 calc(16.666% - 1px);
        text-align: center;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .category-item:last-child {
        border-right: none;
    }
    
    .cat-sub {
        display: none;
    }
    
    .hero-banner {
        width: 100%;
    }
    
    .quick-sidebar {
        width: 100%;
        flex-direction: row;
    }
    
    .user-card,
    .exam-select {
        flex: 1;
    }
    
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hot-layout {
        flex-direction: column;
    }
    
    .hot-right {
        width: 100%;
    }
    
    .course-card {
        flex: 0 0 calc(33.333% - 14px);
        margin-right: 14px;
    }

    .course-card:nth-child(3n) {
        margin-right: 0;
    }
    
    .teacher-showcase {
        flex-direction: column;
    }
    
    .teacher-list {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }
    
    .branches-layout {
        flex-direction: column;
    }
    
    .branches-right {
        width: 100%;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* 手机端全局文字样式优化 */
    body {
        font-size: 16px;
    }
    
    /* 主要文字内容样式优化 */
    .section-title,
    .course-card-info h4,
    .banner-side-info h4,
    .live-card-content h3,
    .sidebar-item a,
    .link-item span,
    .tool-item span,
    .teacher-name,
    .teacher-desc,
    .branch-item h4 {
        color: #333;
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* 侧边栏文字列表样式 */
    .sidebar-item a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
    
    .top-bar-content {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .top-notice {
        flex: 1;
        overflow: hidden;
    }
    
    .notice-text {
        font-size: 12px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .top-links {
        flex-shrink: 0;
    }
    
    .top-links a {
        font-size: 11px !important;
        white-space: nowrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .search-btn {
        display: flex;
    }

    .header-actions {
        display: flex;
        gap: 5px;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* 移动端隐藏课程分类和用户卡片 */
    .hero-overlay-container {
        display: none;
    }
    
    /* 移动端banner调整 */
    .hero-banner-full {
        height: 200px;
    }
    
    .banner-bg-desktop {
        display: none;
    }
    
    .banner-bg-tablet {
        display: none;
    }
    
    .banner-bg-mobile {
        display: block;
    }
    
    .banner-text-overlay {
        display: none;
    }
    
    .banner-dots {
        bottom: 10px;
    }
    
    .banner-arrows {
        display: none;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .banner-text h3 {
        font-size: 18px;
    }
    
    .banner-image img {
        width: 200px;
    }
    
    .quick-icons-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .live-grid {
        grid-template-columns: 1fr;
    }
    
    .hot-left {
        flex-direction: column;
    }
    
    .news-block .calendar-plate {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .course-layout {
        flex-direction: column;
    }
    
    .course-sidebar {
        width: 100%;
    }
    
    .course-card {
        flex: 0 0 calc(50% - 10px);
        margin-right: 10px;
    }

    .course-card:nth-child(2n) {
        margin-right: 0;
    }

    .course-banner-row {
        flex-direction: column;
        gap: 10px;
    }

    .banner-main {
        flex: 0 0 100%;
    }

    .banner-side {
        flex: 0 0 100%;
        height: auto;
    }

    .banner-block {
        height: 160px;
    }

    .banner-side-img {
        height: 170px;
    }
    
    .teacher-card-large {
        flex-direction: column;
        text-align: center;
    }
    
    .teacher-photo {
        margin-top: 20px;
    }
    
    .teacher-list {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .teacher-card-small {
        width: calc(50% - 5px);
    }
    
    .province-tags a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-col {
        width: calc(50% - 15px);
        text-align: center;
    }
    
    .float-btns {
        right: 15px;
    }
    
    .float-btn span {
        display: none;
    }
    
    /* 手机端隐藏复杂的页脚内容 */
    .footer-top,
    .footer-bottom {
        display: none !important;
    }
    
    /* 确保footer及其所有子元素都没有黑色背景 */
    footer.main-footer,
    footer.main-footer > *,
    footer.main-footer .container,
    footer.main-footer .container > * {
        background-color: #ffffff !important;
        background-image: none !important;
    }
    
    /* 手机端简洁底部 */
    .mobile-footer {
        display: block;
        padding: 15px;
        background: #ffffff !important;
        border-top: 1px solid #eee;
    }
    
    .mobile-footer-copyright {
        text-align: center;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
    }
    
    .mobile-footer-copyright p {
        font-size: 12px;
        color: #666;
        margin-bottom: 5px;
        line-height: 1.6;
    }
    
    .mobile-footer-copyright p:last-child {
        margin-bottom: 0;
        color: #333;
    }
    
    /* 手机端为底部留出空间 */
    body {
        padding-bottom: 0;
    }
    
    /* 手机端隐藏悬浮按钮 */
    .float-btns {
        display: none;
    }
}

@media (max-width: 480px) {
    /* 更小屏幕的文字优化 */
    .section-title,
    .course-card-info h4,
    .banner-side-info h4,
    .live-card-content h3,
    .sidebar-item a,
    .link-item span,
    .tool-item span {
        font-size: 15px;
    }
    
    /* 调整小屏幕下的课程卡片文字 */
    .course-card-info h4 {
        margin: 10px 10px 5px;
    }
    
    .course-badge {
        font-size: 12px;
    }
    
    .course-price {
        font-size: 18px;
    }
    
    .category-item {
        flex: 1 1 calc(33.333% - 1px);
    }
    
    .quick-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-card {
        flex: 0 0 100%;
        margin-right: 0;
    }
    
    .course-card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .teacher-list {
        flex-direction: column;
    }
    
    .teacher-card-small {
        width: 100%;
    }
    
    .app-banner {
        padding: 20px;
    }
    
    .app-logo span {
        font-size: 20px;
    }
    
    .footer-col {
        width: 100%;
    }
}

/* ==================== 新闻列表页面样式 ==================== */
.news-page {
    padding: 40px 0;
    background: #f5f5f5;
}

.news-layout {
    display: flex;
    gap: 20px;
}

.news-main {
    flex: 1;
}

.news-header {
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #0a52ff;
}

.news-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-item {
    padding: 6px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.filter-item:hover,
.filter-item.active {
    background: #0a52ff;
    color: #fff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.news-category {
    padding: 3px 8px;
    background: #0a52ff;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
}

.news-date {
    color: #999;
    font-size: 13px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    color: #0a52ff;
}

.news-summary {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-item {
    padding: 8px 14px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-item:hover {
    border-color: #0a52ff;
    color: #0a52ff;
}

.page-item.active {
    background: #0a52ff;
    color: #fff;
    border-color: #0a52ff;
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.news-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #0a52ff;
}

.hot-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.hot-news-list li:last-child {
    border-bottom: none;
}

.hot-news-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
}

.hot-news-list a:hover {
    color: #0a52ff;
}

.hot-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 11px;
    color: #666;
    flex-shrink: 0;
}

.hot-news-list li:nth-child(1) .hot-rank {
    background: #ff4d4f;
    color: #fff;
}

.hot-news-list li:nth-child(2) .hot-rank {
    background: #ff7a45;
    color: #fff;
}

.hot-news-list li:nth-child(3) .hot-rank {
    background: #ffa940;
    color: #fff;
}

.calendar-widget {
    padding: 8px;
}

.calendar-header {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.calendar-header span {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.calendar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calendar-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.calendar-list li:last-child {
    border-bottom: none;
}

.calendar-date {
    color: #0a52ff;
    font-weight: 600;
    font-size: 13px;
}

.calendar-event {
    color: #666;
    font-size: 13px;
}

.qr-widget {
    text-align: center;
}

.qr-widget img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
}

.qr-widget p {
    font-size: 11px;
    color: #666;
    margin: 0;
}

/* ==================== 新闻详情页面样式 ==================== */
.news-detail-page {
    padding: 40px 0;
    background: #f5f5f5;
}

.news-detail-layout {
    display: flex;
    gap: 20px;
}

.news-detail {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.news-detail .news-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.news-detail .news-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-detail .news-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.news-author,
.news-views {
    color: #999;
    font-size: 13px;
}

.news-content {
    padding: 25px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.news-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #333;
    padding-left: 10px;
    border-left: 4px solid #0a52ff;
}

.news-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: #333;
}

.news-content p {
    margin-bottom: 12px;
}

.news-content ul,
.news-content ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.news-content li {
    margin-bottom: 8px;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.news-table th,
.news-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #eee;
    font-size: 14px;
}

.news-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.feature-box {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.feature-item i {
    font-size: 28px;
    color: #0a52ff;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.feature-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.news-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 0 25px;
}

.news-tags {
    margin-bottom: 12px;
}

.news-tags span {
    color: #666;
    font-size: 13px;
}

.news-tags a {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 6px;
}

.news-tags a:hover {
    background: #0a52ff;
    color: #fff;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-share span {
    color: #666;
    font-size: 13px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #0a52ff;
    color: #fff;
}

.related-news {
    padding: 20px 25px 25px;
}

.related-news h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    padding-left: 10px;
    border-left: 4px solid #0a52ff;
}

.related-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.related-news li:last-child {
    border-bottom: none;
}

.related-news a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.related-news a:hover {
    color: #0a52ff;
}

.contact-widget {
    text-align: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #0a52ff;
    margin-bottom: 12px;
}

.contact-phone i {
    font-size: 20px;
}

.btn-block {
    width: 100%;
}

/* ==================== 课程列表页面样式 ==================== */
.course-banner {
    background: linear-gradient(135deg, #0a52ff 0%, #1890ff 100%);
    padding: 30px 0;
    text-align: center;
}

.banner-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.course-page {
    padding: 30px 0;
    background: #f5f5f5;
}

.course-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 5px 14px;
    background: #f5f5f5;
    border-radius: 18px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    background: #0a52ff;
    color: #fff;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-page .course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto !important;
    flex: none !important;
}

.course-page .course-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.course-page .course-card .course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-page .course-card .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-page .course-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    background: #ff4d4f;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
}

.course-page .course-badge.recommend {
    background: #52c41a;
}

.course-page .course-badge.new {
    background: #1890ff;
}

.course-page .course-info {
    padding: 10px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding-bottom: 16px !important;
}

.course-page .course-category {
    display: inline-block;
    padding: 3px 8px;
    background: #e6f7ff;
    color: #1890ff;
    font-size: 11px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.course-page .course-info .course-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.course-page .course-info .course-title a {
    color: inherit;
    text-decoration: none;
}

.course-page .course-info .course-title a:hover {
    color: #0a52ff;
}

.course-page .course-desc {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.7 !important;
    margin-bottom: 10px !important;
    display: block !important;
    overflow: visible !important;
    flex-grow: 0 !important;
}

.course-page .course-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

.course-page .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
}

.course-page .course-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 12px !important;
    border-top: 1px solid #eee !important;
    margin-top: auto !important;
}

.course-page .course-price {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-page .price-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.course-page .price-current {
    font-size: 32px;
    font-weight: 800;
    color: #ff4d4f;
    line-height: 1.1;
}

/* ==================== 课程详情页面样式 ==================== */
.course-detail-page {
    padding: 30px 0;
    background: #f5f5f5;
}

.course-detail-layout {
    display: flex;
    gap: 20px;
}

.course-detail-main {
    flex: 1;
}

.course-hero {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.course-cover {
    position: relative;
    width: 280px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-cover .course-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 12px;
    font-size: 12px;
}

.course-title-section {
    flex: 1;
}

.course-title-section .course-category {
    display: inline-block;
    padding: 3px 10px;
    background: #e6f7ff;
    color: #1890ff;
    font-size: 11px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.course-title-section .course-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.course-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.course-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.stat-item i {
    color: #0a52ff;
}

.course-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-label {
    font-size: 13px;
    color: #666;
}

.price-info .price-current {
    font-size: 32px;
    font-weight: 700;
    color: #ff4d4f;
}

.price-info .price-original {
    font-size: 14px;
}

.price-discount {
    padding: 3px 8px;
    background: #ff4d4f;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
}

.purchase-actions {
    display: flex;
    gap: 12px;
}

.btn-lg {
    padding: 10px 25px;
    font-size: 14px;
}

.course-features {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-features .feature-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.course-features .feature-item i {
    font-size: 32px;
    color: #0a52ff;
    margin-bottom: 12px;
}

.course-features .feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.course-features .feature-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.course-outline {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.outline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outline-item {
    border-bottom: 1px solid #eee;
}

.outline-item:last-child {
    border-bottom: none;
}

.outline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.outline-header:hover {
    background: #f8f9fa;
}

.outline-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #0a52ff;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.outline-header h4 {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.outline-duration {
    font-size: 13px;
    color: #999;
}

.outline-content {
    padding: 0 0 15px 40px;
}

.outline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outline-content li {
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px dashed #eee;
}

.outline-content li:last-child {
    border-bottom: none;
}

.course-instructor {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.instructor-card {
    display: flex;
    gap: 20px;
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-info {
    flex: 1;
}

.instructor-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.instructor-title {
    font-size: 13px;
    color: #0a52ff;
    margin-bottom: 12px;
}

.instructor-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.instructor-stats {
    display: flex;
    gap: 20px;
}

.instructor-stats span {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
}

.course-reviews {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reviews-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border-radius: 50%;
}

.reviewer-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    display: block;
}

.review-date {
    font-size: 11px;
    color: #999;
}

.review-rating {
    color: #ffa940;
    font-size: 14px;
}

.review-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.course-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-card {
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 8px;
    border-left: 3px solid #0a52ff;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: #999;
}

.info-value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #0a52ff;
    margin-bottom: 8px;
}

.contact-time {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.recommend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommend-list li {
    margin-bottom: 12px;
}

.recommend-list li:last-child {
    margin-bottom: 0;
}

.recommend-list a {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.recommend-list img {
    width: 70px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
}

.recommend-info {
    flex: 1;
}

.recommend-info h4 {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommend-price {
    font-size: 14px;
    font-weight: 600;
    color: #ff4d4f;
}

/* ==================== 响应式样式 ==================== */
@media (max-width: 992px) {
    .news-layout,
    .news-detail-layout,
    .course-detail-layout {
        flex-direction: column;
    }
    
    .news-sidebar,
    .course-sidebar {
        width: 100%;
    }
    
    .course-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-hero {
        flex-direction: column;
    }
    
    .course-cover {
        width: 100%;
    }
    
    .course-price-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .purchase-actions {
        width: 100%;
        justify-content: center;
    }
    
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 180px;
    }
    
    .course-list {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        flex-direction: column;
    }
    
    .course-detail .news-title {
        font-size: 24px;
    }
    
    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==================== 师资团队页面样式 ==================== */
.teachers-page {
    padding: 30px 0;
    background: #f5f5f5;
}

.teachers-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 16px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #0a52ff 0%, #ff8f00 100%);
    border-radius: 3px;
}

.section-header p {
    font-size: 14px;
    color: #666;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.teacher-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.teacher-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: #0a52ff;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}

.teacher-info {
    padding: 20px;
}

.teacher-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.teacher-title {
    font-size: 13px;
    color: #0a52ff;
    margin-bottom: 12px;
}

.teacher-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teacher-tags .tag {
    padding: 4px 10px;
    background: #f0f5ff;
    color: #0a52ff;
    font-size: 11px;
    border-radius: 3px;
}

.teacher-advantages {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantage-item {
    text-align: center;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #0a52ff, #1890ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.advantage-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ==================== 关于我们页面样式 ==================== */
.about-page {
    padding: 30px 0;
    background: #f5f5f5;
}

.about-intro,
.about-history,
.about-culture,
.about-honors,
.about-contact {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.intro-content {
    display: flex;
    gap: 30px;
}

.intro-image {
    width: 400px;
    flex-shrink: 0;
}

.intro-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-indent: 2em;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #0a52ff;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(10, 82, 255, 0.2);
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: #0a52ff;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f7ff 100%);
    border-radius: 8px;
}

.culture-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0a52ff, #1890ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.culture-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.culture-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.honor-item {
    text-align: center;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
}

.honor-item i {
    font-size: 32px;
    color: #0a52ff;
    margin-bottom: 12px;
}

.honor-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.contact-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
    min-height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 20px;
    color: #0a52ff;
    width: 52px;
    height: 52px;
    background: rgba(10, 82, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0;
    white-space: nowrap;
}

.contact-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

.contact-info p + p {
    margin-top: 6px;
}

/* ==================== 师资团队和关于我们响应式样式 ==================== */
@media (max-width: 992px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image {
        width: 100%;
    }
    
    .culture-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .honors-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 24px;
        padding-left: 16px;
    }
    
    .section-header h2::before {
        width: 4px;
    }
}