:root {
    --primary-color: #5b9bf3;
    --primary-dark: #3a7bd5;
    --primary-light: #e8f4f8;
    --secondary-color: #22c55e;
    --text-color: #374151;
    --text-light: #86909c;
    --text-dark: #1d2129;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f2f3f5;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --transition: all 0.3s ease;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1520px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.header-spacer {
    height: 66px;
}

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

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

.section-title-left {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-color);
}

.navbar {
    padding: 3px 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar-nav {
    gap: 20px;
}

.navbar-nav .nav-link {
    font-size: 16px;
    color: var(--text-color);
    padding: 8px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color);
}

.header-search .form-control {
    border-radius: var(--radius-sm);
    border-color: var(--border-color);
    padding: 0.5rem 1rem;
}

.header-search .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1rem;
}

.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-light) 100%);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-search .form-control {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-md);
}

.hero-search .btn-primary {
    border-radius: var(--radius-md);
    padding: 12px 30px;
}

.article-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card .article-thumb {
    display: block;
    overflow: hidden;
}

.article-card .article-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-card .article-content {
    padding: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-meta i {
    margin-right: 5px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-dark);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    margin-left: 10px;
}

.category-card {
    display: block;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: #fff;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.category-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
    transition: var(--transition);
}

.category-card:hover h4 {
    color: #fff;
}

.category-card .count {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.category-card:hover .count {
    color: rgba(255,255,255,0.8);
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

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

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

.footer-contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.footer-contact-item {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    color: #fff;
}

.footer-contact-item i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.breadcrumb-nav {
    background: var(--bg-light);
    padding: 15px 0;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-desc {
    font-size: 16px;
    color: var(--text-light);
}

.article-list-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-item {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-item:hover {
    box-shadow: var(--shadow-md);
}

.article-item .article-thumb {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.article-item .article-thumb img {
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-item:hover .article-thumb img {
    transform: scale(1.05);
}

.article-item .article-title {
    font-size: 20px;
}

.sidebar-widget {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    color: var(--text-color);
    transition: var(--transition);
}

.category-list li a:hover,
.category-list li.active a {
    background: var(--primary-color);
    color: #fff;
}

.category-list .count {
    background: var(--border-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.category-list li a:hover .count,
.category-list li.active .count {
    background: rgba(255,255,255,0.2);
}

.hot-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-article-list li {
    margin-bottom: 15px;
}

.hot-article-list li a {
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
}

.hot-article-list .rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-gray);
    border-radius: 4px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
}

.hot-article-list .rank.top {
    background: var(--primary-color);
    color: #fff;
}

.hot-article-list .info {
    flex: 1;
}

.hot-article-list h5 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.hot-article-list .date {
    font-size: 12px;
    color: var(--text-light);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.pagination-wrapper {
    margin-top: 30px;
}

.pagination .page-link {
    color: var(--text-color);
    border-color: var(--border-color);
    margin: 0 3px;
    border-radius: var(--radius-sm);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.article-detail {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-detail .article-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 12px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content th,
.article-content td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.article-content th {
    background: var(--bg-light);
    font-weight: 600;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    margin-bottom: 20px;
}

.article-tags .tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.article-nav .nav-item {
    flex: 1;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.article-nav .nav-item:hover:not(.disabled) {
    background: var(--primary-light);
}

.article-nav .nav-item.disabled {
    opacity: 0.5;
}

.article-nav .label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.article-nav .title {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-articles {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.article-card-sm {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.article-card-sm:hover {
    box-shadow: var(--shadow-sm);
}

.article-card-sm .article-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
}

.article-card-sm .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-sm .article-content {
    flex: 1;
    padding: 10px 15px;
}

.article-card-sm h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.article-card-sm h4 a {
    color: var(--text-dark);
}

.article-card-sm .date {
    font-size: 12px;
    color: var(--text-light);
}

.about-hero,
.contact-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-light) 100%);
}

.about-hero .hero-title,
.contact-hero .hero-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-hero .hero-subtitle,
.contact-hero .hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.advantage-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 40px 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.advantage-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-content {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.contact-info-card,
.contact-form-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.contact-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-text .label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-text a,
.contact-text span {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.qrcode-box img {
    max-width: 150px;
    border-radius: var(--radius-sm);
}

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

.contact-form .form-control {
    border-radius: var(--radius-sm);
    border-color: var(--border-color);
    padding: 12px 15px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 155, 243, 0.1);
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
}

.contact-form .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--bg-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.error-page {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.error-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.error-actions .btn {
    margin: 5px;
}

.site-footer {
    background: #1d2129;
    color: rgba(255,255,255,0.7);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-logo {
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.footer-qrcode img {
    max-width: 120px;
    border-radius: var(--radius-sm);
}

.footer-qrcode p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: #fff;
}

.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

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

.mobile-nav li {
    flex: 1;
    text-align: center;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-size: 12px;
}

.mobile-nav i {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .header-search {
        display: none;
    }
    
    .article-detail {
        padding: 20px;
    }
    
    .article-nav {
        flex-direction: column;
    }
    
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .article-item {
        padding: 15px;
    }
    
    .article-item .article-thumb img {
        height: 140px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: -23px;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 24px;
    }
}

.toc-widget {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc-widget .widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-widget .widget-title i {
    color: var(--primary-color);
}

.toc-nav {
    margin-top: 15px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sublist {
    list-style: none;
    padding-left: 15px;
    margin: 0;
}

.toc-item {
    margin-bottom: 5px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.toc-link.active {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 500;
}

.toc-level-2 .toc-link {
    font-weight: 500;
}

.toc-level-3 .toc-link {
    font-size: 13px;
    padding-left: 20px;
}

.toc-level-4 .toc-link {
    font-size: 12px;
    padding-left: 28px;
    color: var(--text-light);
}

.toc-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toc-widget::-webkit-scrollbar {
    width: 4px;
}

.toc-widget::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}

.toc-widget::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.toc-widget::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    scroll-margin-top: 100px;
}

@media (max-width: 991.98px) {
    .toc-widget {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

.article-list-simple {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.article-item-simple {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-item-simple:hover {
    padding-left: 10px;
}

.article-item-simple .article-meta {
    margin-bottom: 8px;
}

.article-item-simple .article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-item-simple .article-title a {
    color: var(--text-dark);
}

.article-item-simple .article-title a:hover {
    color: var(--primary-color);
}

.article-item-simple .article-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.friend-links-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.friend-links-section .section-title {
    font-size: 24px;
    margin-bottom: 25px;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
}

.friend-links a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.friend-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 767.98px) {
    .article-list-section .row {
        flex-direction: column;
    }
    
    .article-list-section .col-lg-4 {
        margin-top: 30px;
    }
    
    .friend-links {
        gap: 10px 15px;
    }
    
    .friend-links a {
        padding: 6px 15px;
        font-size: 13px;
    }
}

.about-section {
    margin-bottom: 20px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-section-title i {
    color: var(--primary-color);
    font-size: 22px;
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content p {
    margin-bottom: 15px;
}

.about-content strong {
    color: var(--text-dark);
}

.about-intro {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.timeline-wrapper {
    margin-top: 10px;
}

.timeline-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.timeline-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-left-color: var(--secondary-color);
}

.timeline-card.highlight .timeline-year,
.timeline-card.highlight .timeline-text {
    color: #fff;
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.category-info-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-num {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    font-weight: 700;
    color: var(--bg-gray);
    line-height: 1;
}

.category-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-right: 50px;
}

.category-info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

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

.stat-box {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-box .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .stat-number span {
    font-size: 16px;
    font-weight: 400;
}

.stat-box .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .about-section-title {
        font-size: 20px;
    }
    
    .timeline-card {
        padding: 20px;
    }
    
    .category-info-card {
        padding: 20px;
    }
    
    .category-num {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px 10px;
    }
    
    .stat-box .stat-number {
        font-size: 24px;
    }
}

.contact-banner {
    padding: 68px 0;
    text-align: center;
    background: linear-gradient(-45deg, #ffeaa7, #fab1a0, #fd79a8, #a29bfe, #74b9ff, #00cec9, #55a3ff);
    background-size: 400% 400%;
    animation: rainbow-gradient 8s ease infinite;
}

@keyframes rainbow-gradient {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

.contact-banner .banner-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.contact-banner .banner-desc {
    font-size: 19px;
    color: #f0f7ff;
}

.wechat-box {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.wechat-box .box-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wechat-box .qrcode-wrapper {
    width: 210px;
    height: 210px;
    margin: 0 auto 15px;
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: var(--radius-sm);
}

.wechat-box .qrcode-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wechat-tips {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.wechat-phone {
    color: #22c55e;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.wechat-time {
    font-size: 13px;
    color: var(--text-light);
}

.contact-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-card .box-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-text a,
.contact-text span {
    font-size: 16px;
    color: var(--primary-color);
}

.contact-note {
    margin-top: 15px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-light);
}

.info-summary {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.info-summary .box-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-summary p {
    font-size: 15px;
    color: var(--text-color);
    margin: 0;
}

.contact-tabs {
    border-bottom: 2px solid var(--border-color);
}

.contact-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    transition: var(--transition);
}

.contact-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
}

.contact-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.contact-section {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.section-title-sm {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-sm i {
    color: var(--primary-color);
}

.contact-table {
    margin-bottom: 0;
}

.contact-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.contact-table td,
.contact-table th {
    padding: 12px 15px;
    vertical-align: middle;
}

.contact-table a {
    color: var(--primary-color);
}

.bank-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 25px 0 15px;
}

.bank-subtitle:first-of-type {
    margin-top: 0;
}

.bank-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 100%;
    position: relative;
}

.bank-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}

.tag-basic { background: #22c55e; }
.tag-primary { background: var(--primary-color); }
.tag-company { background: #6f86b6; }
.tag-group { background: #fa8c16; }

.bank-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.bank-card p:last-child {
    margin-bottom: 0;
}

.bank-card p span {
    color: var(--text-dark);
    font-weight: 500;
}

.invoice-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-query-section {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.service-query-card {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.service-query-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--text-color);
}

.service-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 22px;
    transition: var(--transition);
}

.service-query-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
}

.service-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.service-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.copy-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    background: #07c160;
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 767.98px) {
    .contact-banner {
        padding: 42px 0;
        background: var(--primary-color);
        background-image: linear-gradient(90deg, #2ec9e6 0%, #7fb8ff 100%);
        background-size: auto auto;
        animation: none;
    }
    
    .contact-banner .banner-title {
        font-size: 32px;
    }
    
    .contact-banner .banner-desc {
        font-size: 16px;
    }
    
    .wechat-box {
        display: none;
    }
    
    .contact-tabs .nav-link {
        font-size: 15px;
        padding: 12px 20px;
    }
    
    .contact-section,
    .service-query-section {
        padding: 15px;
    }
    
    .bank-card {
        padding: 15px;
    }
}

.tag-center-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.tag-center-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-width: 120px;
}

.tag-center-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--primary-color);
}

.tag-center-item .tag-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: var(--transition);
}

.tag-center-item:hover .tag-name {
    color: #fff;
}

.tag-center-item .tag-count {
    font-size: 14px;
    color: var(--text-light);
}

.tag-center-item:hover .tag-count {
    color: rgba(255,255,255,0.8);
}

.tag-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tag-header .page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.tag-header .tag-count {
    font-size: 16px;
    color: var(--text-light);
    background: var(--primary-light);
    padding: 5px 15px;
    border-radius: 20px;
}

@media (max-width: 767.98px) {
    .tag-center-grid {
        gap: 10px;
    }
    
    .tag-center-item {
        min-width: 100px;
        padding: 15px 20px;
    }
    
    .tag-center-item .tag-name {
        font-size: 16px;
    }
    .section-padding {
        padding: 30px 0;
    }
    .article-detail {
        box-shadow: none;
        padding: 0px;
    }
    .related-articles {
        box-shadow: none;
        padding: 0px;
    }
    .sidebar-widget {
        box-shadow: none;
        padding: 0px;
    }
    .navbar-nav {
        gap: 10px;
    }

    .article-item-simple {
        padding: 15px 0;
    }

    .footer-main {
        display: none;
    }

    .site-footer {
        background: var(--bg-color);
        color: #6b7280;
        text-decoration: none;
        text-align: center;
    }
    .site-footer a {
        color: #6b7280;
    }
}
