﻿:root {
    --blue: #264EFF;
    --blue-light: #4A6EFF;
    --blue-dark: #1A3DD9;
    --orange: #F7A722;
    --orange-light: #FFB84A;
    --ink: #0E1320;
    --ink-light: #1F2937;
    --muted: #6B7280;
    --muted-light: #9CA3AF;
    --bg: #F3F4FB;
    --bg-light: #FAFBFF;
    --surface: #FFFFFF;
    --line: #E5E7F0;
    --line-light: #F0F2F5;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow-xs: 0 1px 3px rgba(15,23,42,.05);
    --shadow-sm: 0 4px 12px rgba(15,23,42,.08);
    --shadow: 0 8px 24px rgba(15,23,42,.12);
    --shadow-lg: 0 20px 48px rgba(15,23,42,.16);
    --shadow-blue: 0 8px 24px rgba(38,78,255,.15);
    --focus: 0 0 0 3px rgba(38,78,255,.12);
    --wrap: 1400px;
    --content-width: 900px;
    --header-height: 64px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #F8F9FC 0%, var(--bg) 100%);
    background-attachment: fixed;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}
.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px 80px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(38,78,255,.3);
}
    .btn-primary:hover {
        background: linear-gradient(135deg, var(--blue-light), var(--blue));
        border-color: var(--blue-light);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(38,78,255,.4);
    }
.btn-outline {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-xs);
}
    .btn-outline:hover {
        border-color: var(--blue);
        color: var(--blue);
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }
.btn-sm {
    padding: 9px 16px;
    font-size: 13px;
}
.breadcrumbs {
    padding: 20px 20px 0;
    max-width: var(--wrap);
    margin: 0 auto;
    font-size: 13px;
    color: var(--muted);
}
    .breadcrumbs a {
        color: var(--muted);
        font-weight: 500;
    }
        .breadcrumbs a:hover {
            color: var(--blue);
        }
    .breadcrumbs span {
        margin: 0 8px;
        color: var(--line);
    }
    .breadcrumbs .current {
        color: var(--ink);
        font-weight: 600;
    }
.article-container {
    max-width: calc(var(--content-width) + 280px + 40px);
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.article-main {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 8px 32px rgba(15,23,42,.08), 0 0 0 1px rgba(38,78,255,.05);
    overflow: hidden;
}
.article-header {
    padding: 48px 48px 32px;
    text-align: center;
    border-bottom: 1px solid var(--line-light);
    position: relative;
}
    .article-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--blue), var(--orange));
        opacity: .6;
    }
.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(38,78,255,.1);
    border: 1px solid rgba(38,78,255,.2);
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 20px;
}
.article-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 80%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}
.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-author-link {
    color: var(--blue);
    font-weight: 700;
}
    .article-author-link:hover {
        text-decoration: underline;
    }
.article-featured-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #E5E7FF, #F9FAFF);
    overflow: hidden;
    border-bottom: 1px solid var(--line-light);
}
.article-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-content {
    padding: 48px;
}
    .article-content h2 {
        font-size: 28px;
        font-weight: 800;
        color: var(--ink);
        margin: 48px 0 20px;
        line-height: 1.2;
        scroll-margin-top: 100px;
    }
    .article-content h3 {
        font-size: 22px;
        font-weight: 800;
        color: var(--ink);
        margin: 36px 0 16px;
        line-height: 1.3;
        scroll-margin-top: 100px;
    }
    .article-content p {
        font-size: 16px;
        line-height: 1.8;
        color: var(--ink-light);
        margin-bottom: 20px;
    }
    .article-content a {
        color: var(--blue);
        font-weight: 600;
        border-bottom: 1px solid transparent;
    }
        .article-content a:hover {
            border-bottom-color: var(--blue);
        }
    .article-content ul, .article-content ol {
        margin: 20px 0;
        padding-left: 28px;
    }
    .article-content li {
        font-size: 16px;
        line-height: 1.8;
        color: var(--ink-light);
        margin-bottom: 12px;
    }
.article-image-inline {
    margin: 32px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}
    .article-image-inline img {
        width: 100%;
        height: auto;
        display: block;
    }
.article-carousel {
    margin: 32px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line-light);
    background: #fff;
}
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    position: relative;
    flex-shrink: 0;
}
    .carousel-slide img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--line-light);
    gap: 16px;
}
.carousel-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    cursor: pointer;
    transition: var(--transition);
}
    .carousel-btn:hover:not(:disabled) {
        background: var(--blue);
        color: #fff;
        border-color: var(--blue);
    }
    .carousel-btn:disabled {
        opacity: .3;
        cursor: not-allowed;
    }
.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}
    .carousel-dot.active {
        background: var(--blue);
        width: 24px;
        border-radius: var(--radius-pill);
    }
.carousel-counter {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}
.article-video {
    margin: 32px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
    position: relative;
    aspect-ratio: 16/9;
}
    .article-video iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }
.article-pdf-preview {
    margin: 32px 0;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.pdf-preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--line-light);
    flex-wrap: wrap;
}
.pdf-icon {
    font-size: 40px;
    opacity: .7;
    flex-shrink: 0;
}
.pdf-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
    .pdf-info strong {
        font-size: 15px;
        font-weight: 800;
        color: var(--ink);
    }
.pdf-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.pdf-action-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
    .pdf-action-btn:hover {
        border-color: var(--blue);
        background: var(--blue);
        color: #fff;
    }
.article-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 32px 48px;
    border-top: 1px solid var(--line-light);
    background: var(--bg-light);
}
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
    .article-share strong {
        font-size: 13px;
        font-weight: 700;
        color: var(--muted);
    }
.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.toc-card, .author-bio-card, .latest-blogs-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}
.toc-title, .latest-blogs-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
    .toc-list li {
        margin-bottom: 8px;
    }
    .toc-list a {
        display: block;
        font-size: 14px;
        color: var(--muted);
        font-weight: 500;
        padding: 6px 0;
        transition: var(--transition);
        border-left: 2px solid transparent;
        padding-left: 12px;
    }
        .toc-list a:hover, .toc-list a.active {
            color: var(--blue);
            border-left-color: var(--blue);
            padding-left: 14px;
        }
.author-bio {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}
.author-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}
.author-info p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.latest-blog-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-light);
}
    .latest-blog-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
.latest-blog-img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.latest-blog-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
}
    .latest-blog-content h4:hover {
        color: var(--blue);
    }
.latest-blog-date {
    font-size: 12px;
    color: var(--muted);
}
.faq-section {
    margin: 64px 0;
    background: linear-gradient(135deg, rgba(38,78,255,.04) 0%, rgba(247,167,34,.02) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(38,78,255,.1);
    padding: 48px;
}
.faq-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 32px;
    text-align: center;
}
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-light);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    width: 100%;
    text-align: left;
}
    .faq-question:hover {
        background: var(--bg-light);
    }
    .faq-question::after {
        content: "+";
        font-size: 24px;
        font-weight: 900;
        color: var(--blue);
        transition: var(--transition);
        flex-shrink: 0;
    }
.faq-item.active .faq-question::after {
    content: "−";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.7;
}
.related-articles {
    margin: 64px 0;
    padding: 0 20px;
    max-width: var(--wrap);
    margin-left: auto;
    margin-right: auto;
}
    .related-articles h2 {
        font-size: 32px;
        font-weight: 900;
        color: var(--ink);
        margin-bottom: 32px;
        text-align: center;
    }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.related-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFF 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: var(--transition);
}
    .related-card:hover {
        box-shadow: var(--shadow);
        transform: translateY(-2px);
        border-color: rgba(38,78,255,.15);
    }
.related-card-media {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #E5E7FF, #F9FAFF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}
    .related-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
.related-card-body {
    padding: 20px;
}
.related-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3;
}
.related-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
.comment-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line-light);
}
.comment-form-group {
    margin-bottom: 20px;
}
    .comment-form-group label {
        display: block;
        font-size: 14px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 8px;
    }
    .comment-form-group input, .comment-form-group textarea {
        width: 100%;
        border: 1.5px solid var(--line);
        border-radius: var(--radius-md);
        padding: 12px 16px;
        font-size: 14px;
        font-family: inherit;
        color: var(--ink);
        background: var(--bg-light);
        transition: var(--transition);
    }
        .comment-form-group input:focus, .comment-form-group textarea:focus {
            outline: none;
            border-color: var(--blue);
            background: #fff;
            box-shadow: var(--focus);
        }
.text-danger {
    font-size: 12px;
    color: var(--error);
    margin-top: 4px;
    display: block;
}
.comment-list {
    margin-top: 40px;
}
.comment-item {
    background: #fff;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-xs);
}
.comment-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.comment-item-name {
    font-weight: 800;
    color: var(--ink);
}
.comment-item-date {
    font-size: 12px;
    color: var(--muted);
}
.comment-item-content {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.6;
}
.article-cta {
    margin: 64px 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    color: #fff;
}
    .article-cta h2 {
        font-size: 32px;
        font-weight: 900;
        margin-bottom: 16px;
        color: #fff;
    }
    .article-cta p {
        font-size: 18px;
        margin-bottom: 32px;
        opacity: .95;
    }
@@media (max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
    }
    .toc-card {
        order: -1;
    }
}
@@media (max-width: 768px) {
    .article-header {
        padding: 32px 24px 24px;
    }
    .article-content {
        padding: 32px 24px;
    }
    .article-footer-actions {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .faq-section {
        padding: 32px 24px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .article-cta {
        padding: 32px 24px;
    }
}
.article-container {
    width: 100% !important;
    max-width: 100% !important;
}
