* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --secondary-color: #1565c0;
    --accent-color: #42a5f5;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --text-primary: #212121;
    --text-secondary: #a54a4a;
    --text-light: #9e9e9e;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #eeeeee;
    --border-color: #e0e0e0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #0d47a1;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text {
    font-weight: 500;
    font-family: 'STXingkai', '华文行楷', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.top-bar-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.top-bar-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.top-bar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.top-bar-btn.primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.top-bar-btn.primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.8rem 20px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.logo h1 {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'STXingkai', '华文行楷', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 1rem 1.2rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: white;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.services {
    padding: 60px 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card .note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.document-preview {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.document-preview .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.document-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.document-card:hover {
    box-shadow: var(--shadow-lg);
}

.document-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.document-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.document-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.document-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

.document-content {
    padding: 2rem;
}

.document-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.document-content p:last-child {
    margin-bottom: 0;
}

.document-footer {
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.document-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.articles-preview {
    padding: 60px 0;
    background: var(--bg-primary);
}

.articles-preview-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.latest-articles {
    background: var(--bg-primary);
}

.latest-articles .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.latest-articles .section-title::after {
    margin: 1rem 0 0;
}

.latest-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: bold;
}

.article-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.hot-articles-list {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.hot-articles-list .section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hot-articles-list .section-title::after {
    margin: 1rem 0 0;
}

.hot-article-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
    text-decoration: none;
}

.hot-article-item:last-child {
    border-bottom: none;
}

.hot-article-item:hover {
    background: var(--bg-tertiary);
}

.hot-article-image {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.hot-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-article-content {
    flex: 1;
}

.hot-article-content h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hot-article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.features {
    padding: 60px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .articles-preview-layout {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: row;
        gap: 0.5rem;
    }

    .top-bar-text {
        font-size: 0.75rem;
        flex-shrink: 0;
        font-family: 'STXingkai', '华文行楷', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    }

    .top-bar-buttons {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .top-bar-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .navbar .container {
        flex-direction: row;
        padding: 0.6rem 15px;
        gap: 1rem;
    }

    .logo {
        gap: 0.4rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .logo h1 {
        font-size: 1.1rem;
        margin-bottom: 0;
        font-family: 'STXingkai', '华文行楷', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    }

    .nav-menu {
        width: auto;
        flex: 1;
        justify-content: flex-end;
        overflow-x: auto;
    }

    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .hero {
        padding: 60px 20px 40px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-grid,
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .document-preview {
        padding: 2rem 0;
    }

    .document-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .document-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .document-title h3 {
        font-size: 1.2rem;
    }

    .document-content {
        padding: 1.5rem;
    }

    .document-content p {
        font-size: 1rem;
    }

    .document-footer {
        flex-direction: column;
        padding: 1.5rem;
    }

    .document-meta {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .latest-articles .articles-grid {
        grid-template-columns: 1fr;
    }

    .hot-article-item {
        flex-direction: column;
        text-align: center;
    }

    .hot-article-image {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .hot-article-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-bar .container {
        flex-wrap: wrap;
    }

    .top-bar-text {
        font-size: 0.7rem;
        font-family: 'STXingkai', '华文行楷', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    }

    .top-bar-buttons {
        gap: 0.3rem;
    }

    .top-bar-btn {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 360px) {
    .top-bar-text {
        font-size: 0.65rem;
        font-family: 'STXingkai', '华文行楷', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    }

    .top-bar-btn {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
}

.file-preview {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-primary);
    display: none;
}

.file-preview.active {
    display: block;
}

.file-preview .file-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-preview .file-name span {
    flex: 1;
    word-break: break-all;
}

.file-preview .file-icon {
    font-size: 1.5rem;
}

.file-preview .remove-file {
    background: var(--warning-color);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.file-preview .remove-file:hover {
    background: #f57c00;
}

.payment-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.payment-info h4 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
}

.payment-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.payment-details strong {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
}

.payment-info input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    cursor: pointer;
}

.payment-info label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.payment-info label span {
    flex: 1;
}

.sidebar-widget {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 0.8rem;
}

.hot-article-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    color: var(--text-primary) !important;
}

.hot-article-link:hover {
    background: var(--bg-secondary) !important;
    transform: translateX(5px) !important;
}

.hot-article-thumb {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    display: block !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-tertiary) !important;
}

.hot-article-link span {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    flex: 1 !important;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}

.article-main {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.article-sidebar {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.article-breadcrumb {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 500;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--bg-tertiary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-cover {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.article-cover-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.article-content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.image-caption {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.article-actions {
    padding: 1.5rem 0;
    margin: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-like,
.btn-collect,
.btn-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-like:hover,
.btn-collect:hover,
.btn-share:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.share-links {
    display: flex;
    gap: 1rem;
}

.share-link {
    padding: 0.4rem 0.8rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.share-link:hover {
    background: var(--primary-color);
    color: white;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.nav-link {
    flex: 1;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.related-articles {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.related-articles h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-card {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.related-card h4 {
    font-size: 1rem;
    line-height: 1.4;
}

.comments-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.comments-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.comments-count {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    resize: vertical;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.comment-actions input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
}

.comment-actions input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-actions button {
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.comment-actions button:hover {
    background: var(--secondary-color);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.comment-content .comment-actions {
    padding: 0;
    margin: 0;
    border: none;
}

.comment-content .comment-actions button {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-content .comment-actions button:hover {
    color: var(--primary-color);
    background: transparent;
}

.author-widget {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.author-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.author-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.author-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.toc-widget {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.toc-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.toc-widget ul {
    list-style: none;
}

.toc-widget ul li {
    margin-bottom: 0.5rem;
}

.toc-widget ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.toc-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

@media (max-width: 768px) {
    .article-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .article-main {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-meta-info {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .hot-article-thumb {
        width: 50px;
        height: 50px;
    }
}