/* ========================================
   实战技术页面样式 - 亮色主题
   ======================================== */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 40%, #0d1b2a 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0,212,255,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(138,43,226,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255,107,53,0.05) 0%, transparent 60%);
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h80v80H10z' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23ffffff' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='15' fill='none' stroke='%23ffffff' stroke-opacity='0.02' stroke-width='0.5'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.page-header .header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header .grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 49.5%, rgba(0,212,255,0.03) 49.5%, rgba(0,212,255,0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(0,212,255,0.03) 49.5%, rgba(0,212,255,0.03) 50.5%, transparent 50.5%);
    background-size: 60px 60px;
    opacity: 0.5;
}

.page-header .header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.page-header .shape {
    position: absolute;
    animation: float 15s infinite ease-in-out;
}

.page-header .shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 60%);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.page-header .shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138,43,226,0.06) 0%, transparent 60%);
    top: -50px;
    right: -80px;
    animation-delay: -5s;
}

.page-header .shape-3 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 50%;
    background: transparent;
    top: 60%;
    left: 10%;
    animation: pulse 8s infinite ease-in-out;
}

.page-header .shape-4 {
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,107,53,0.12);
    border-radius: 50%;
    background: transparent;
    bottom: 20%;
    right: 15%;
    animation: pulse 10s infinite ease-in-out reverse;
}

.page-header .shape-5 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0,212,255,0.2);
    background: rgba(0,212,255,0.02);
    top: 30%;
    right: 25%;
    animation: rotate 30s infinite linear;
}

.page-header .shape-6 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(138,43,226,0.15);
    background: transparent;
    top: 20%;
    left: 20%;
    animation: rotate 25s infinite linear reverse;
}

.page-header .shape-7 {
    width: 10px;
    height: 10px;
    background: rgba(0,212,255,0.6);
    border-radius: 50%;
    top: 40%;
    left: 30%;
    box-shadow: 
        0 0 10px rgba(0,212,255,0.8),
        0 0 20px rgba(0,212,255,0.4),
        0 0 30px rgba(0,212,255,0.2);
    animation: blink 3s infinite;
}

.page-header .shape-8 {
    width: 6px;
    height: 6px;
    background: rgba(255,107,53,0.6);
    border-radius: 50%;
    top: 55%;
    right: 35%;
    box-shadow: 
        0 0 10px rgba(255,107,53,0.8),
        0 0 20px rgba(255,107,53,0.4);
    animation: blink 4s infinite;
}

.page-header .shape-9 {
    width: 8px;
    height: 8px;
    background: rgba(138,43,226,0.6);
    border-radius: 50%;
    bottom: 35%;
    left: 25%;
    box-shadow: 
        0 0 10px rgba(138,43,226,0.8),
        0 0 20px rgba(138,43,Purple,0.4);
    animation: blink 5s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* 两栏布局 */
.tech-content {
    background: #f5f7fa;
    padding: 20px 0 60px;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

/* 分类筛选 */
.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-item {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50px;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-item:hover,
.filter-item.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(240,90,40,0.3);
}

/* 文章卡片 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

a.article-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.35s ease;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.06); */
    height: 180px;
    text-decoration: none;
    color: inherit;
}

a.article-card:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    /* box-shadow: 0 12px 40px rgba(0,0,0,0.12); */
}

.article-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.article-body {
    padding: 18px 24px 18px 0;
    display: flex;
    flex-direction: column;
}
.article-bodyb {
    /* padding: 14px 24px 14px 0; */
    display: flex;
    flex-direction: column;
}
.article-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.article-summary {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
}

.article-meta i {
    margin-right: 6px;
    color: var(--primary);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
}

.page-dots {
    display: flex;
    align-items: center;
    color: var(--gray);
}

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

.sidebar-widget {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    padding: 24px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.06); */
}

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

/* 面包屑导航 */
.breadcrumb-wrapper {
    background: #f5f7fa;
    padding-top: 100px;
}

.breadcrumb-wrapper .breadcrumb {
    margin-bottom: 0;
    padding-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666 !important;
}

.breadcrumb a {
    color: #666 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #F5A623 !important;
}

.breadcrumb-separator {
    font-size: 12px;
    color: #666 !important;
}

.breadcrumb-current {
    color: #333 !important;
    /* font-weight: 500; */
}

/* 搜索框 */
.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    color: var(--dark);
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--gray);
}

.search-btn {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* 热门文章 */
.hot-articles {
    list-style: none;
}

.hot-articles li {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 16px;
}

.hot-articles li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hot-article-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.hot-rank {
    display: none;
}

.hot-article-image {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.hot-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hot-title {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.3;
    transition: color 0.3s ease;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray);
}

.hot-category {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--gray-dark);
}

/* 分类列表 */
.category-list {
    list-style: none;
}

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

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary);
}

.category-list i {
    margin-right: 10px;
    color: var(--primary);
}

.category-count {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--gray);
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .tag {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50px;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
}

/* 联系小部件 */
.contact-widget p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.btn-full {
    width: 100%;
}

/* ========================================
   文章详情页样式 - 亮色主题
   ======================================== */

/* 文章头部 */
.article-header {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 40%, #0d1b2a 100%);
    padding: 140px 0 40px;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0,212,255,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(138,43,226,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255,107,53,0.05) 0%, transparent 60%);
}

.article-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h80v80H10z' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23ffffff' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='15' fill='none' stroke='%23ffffff' stroke-opacity='0.02' stroke-width='0.5'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.article-header .header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.article-header .grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 49.5%, rgba(0,212,255,0.03) 49.5%, rgba(0,212,255,0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(0,212,255,0.03) 49.5%, rgba(0,212,255,0.03) 50.5%, transparent 50.5%);
    background-size: 60px 60px;
    opacity: 0.5;
}

.article-header .header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.article-header .shape {
    position: absolute;
    animation: float 15s infinite ease-in-out;
}

.article-header .shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 60%);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.article-header .shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138,43,226,0.06) 0%, transparent 60%);
    top: -50px;
    right: -80px;
    animation-delay: -5s;
}

.article-header .shape-3 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 50%;
    background: transparent;
    top: 60%;
    left: 10%;
    animation: pulse 8s infinite ease-in-out;
}

.article-header .shape-4 {
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,107,53,0.12);
    border-radius: 50%;
    background: transparent;
    bottom: 20%;
    right: 15%;
    animation: pulse 10s infinite ease-in-out reverse;
}

.article-header .shape-5 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0,212,255,0.2);
    background: rgba(0,212,255,0.02);
    top: 30%;
    right: 25%;
    animation: rotate 30s infinite linear;
}

.article-header .shape-6 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(138,43,226,0.15);
    background: transparent;
    top: 20%;
    left: 20%;
    animation: rotate 25s infinite linear reverse;
}

.article-header .shape-7 {
    width: 10px;
    height: 10px;
    background: rgba(0,212,255,0.6);
    border-radius: 50%;
    top: 40%;
    left: 30%;
    box-shadow: 
        0 0 10px rgba(0,212,255,0.8),
        0 0 20px rgba(0,212,255,0.4),
        0 0 30px rgba(0,212,255,0.2);
    animation: blink 3s infinite;
}

.article-header .shape-8 {
    width: 6px;
    height: 6px;
    background: rgba(255,107,53,0.6);
    border-radius: 50%;
    top: 55%;
    right: 35%;
    box-shadow: 
        0 0 10px rgba(255,107,53,0.8),
        0 0 20px rgba(255,107,53,0.4);
    animation: blink 4s infinite;
}

.article-header .shape-9 {
    width: 8px;
    height: 8px;
    background: rgba(138,43,226,0.6);
    border-radius: 50%;
    bottom: 35%;
    left: 25%;
    box-shadow: 
        0 0 10px rgba(138,43,226,0.8),
        0 0 20px rgba(138,43,226,0.4);
    animation: blink 5s infinite;
}

.article-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.meta-item {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 6px;
    color: var(--primary);
}

/* 文章布局 */
.article-content {
    background: #f5f7fa;
    padding: 10px 0 60px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

/* 文章内容 */
.article-main {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    padding: 40px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.06); */
}

.article-featured-image {
    margin: -40px -40px 30px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    height: 400px;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.article-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-text .lead {
    font-size: 16px;
    color: #333;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, rgba(245,166,35,0.05) 0%, transparent 100%);
    padding: 16px 0px 16px 16px;
    border-radius: 0 8px 8px 0;
}

.article-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 10px;
}

.article-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin: 20px 0 10px;
}

.article-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 25px 0 12px;
}

.article-text ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-text li {
    margin-bottom: 10px;
    position: relative;
}

.article-text li::marker {
    color: var(--primary);
}

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

/* 高亮框 */
.article-highlight {
    background: linear-gradient(135deg, rgba(245,166,35,0.08) 0%, rgba(245,166,35,0.03) 100%);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.article-highlight.warning {
    background: linear-gradient(135deg, rgba(240,90,40,0.08) 0%, rgba(240,90,40,0.03) 100%);
    border-color: rgba(240,90,40,0.2);
}

.article-highlight h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--primary);
}

.article-highlight.warning h4 {
    color: var(--primary-dark);
}

.article-highlight h4 i {
    margin-right: 8px;
}

.article-highlight p {
    margin: 0;
    font-size: 15px;
    color: var(--gray-dark);
}

/* 图片 */
.article-image-with-caption {
    margin: 25px 0;
}

.article-image-with-caption img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-caption {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin-top: 10px;
}

/* 文章标签 */
.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
    flex-wrap: wrap;
}

/* 免责声明 */
.article-disclaimer {
    background: #f8f9fa;
    border-left: 3px solid #d9d9d9;
    padding: 16px 20px;
    margin: 30px 0 0;
    border-radius: 0 8px 8px 0;
}

.article-disclaimer p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.article-disclaimer i {
    color: var(--gray);
    margin-right: 6px;
}

.tags-label {
    font-size: 14px;
    color: var(--gray);
}

.tags-label i {
    margin-right: 6px;
}

.article-tags .tag {
    padding: 6px 14px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50px;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.article-tags .tag:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
}

/* 分享按钮 */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.share-label {
    font-size: 14px;
    color: var(--gray);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.weixin {
    background: #07C160;
}

.share-btn.weibo {
    background: #E6162D;
}

.share-btn.link {
    background: var(--gray);
}

.share-btn:hover {
    transform: translateY(-3px);
}

/* 文章导航 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.nav-prev,
.nav-next {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
}

/* 相关文章 */
.related-articles {
    margin-top: 50px;
}

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

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

.related-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.06); */
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    /* box-shadow: 0 8px 25px rgba(0,0,0,0.1); */
}

.related-image {
    height: 140px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    padding: 16px;
    line-height: 1.5;
}

/* 文章侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 作者小部件 */
.author-widget {
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 12px;
}

.author-bio {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

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

.author-stat .stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.author-stat .stat-label {
    font-size: 12px;
    color: var(--gray);
}

/* 目录小部件 */
.toc-widget {
    position: sticky;
    top: 100px;
}

.article-toc ul {
    list-style: none;
}

.article-toc li {
    margin-bottom: 8px;
}

.article-toc li ul {
    margin-top: 8px;
    margin-left: 16px;
}

.article-toc a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

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

/* CTA小部件 */
.cta-widget {
    text-align: center;
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cta-icon i {
    font-size: 28px;
    color: var(--white);
}

.cta-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-widget p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-widget .btn {
    background: var(--white);
    color: var(--primary-dark);
}

.cta-widget .btn:hover {
    background: var(--dark);
    color: var(--white);
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
    .tech-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .tech-sidebar,
    .article-sidebar {
        order: 1;
    }

    .article-card {
        grid-template-columns: 200px 1fr;
    }

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

    .toc-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

    a.article-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .article-image {
        height: 180px;
    }

    .article-body {
        padding: 0px 20px 20px 20px;
    }

    .article-detail-title {
        font-size: 24px;
    }

    .article-content .container {
        padding: 0;
    }

    .article-main {
        padding: 0;
        border-radius: 0;
        border: none;
        background: var(--white);
    }

    .article-bodyb {
        padding: 20px;
    }

    .related-articles {
        padding: 0 20px;
        padding-bottom: 40px;
    }

    .article-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 10px;
    }

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

    .related-image {
    height: 180px;
    overflow: hidden;
    }

    .article-content {
    background: #f5f7fa;
    padding: 0px 0 60px;
}

    .article-sidebar {
        padding: 0 20px;
    }

    .article-disclaimer {
        /* margin: 20px; */
        padding: 12px 12px;
    }

    .article-featured-image {
        margin: 0 0 20px;
        height: 250px;
        border-radius: 0;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

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

    .filter-bar {
        gap: 6px;
    }

    .filter-item {
        padding: 6px 10px;
        font-size: 13px;
    }
}

.result-category {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: var(--gray);
    font-weight: 400;
}

.result-category::before {
    content: '\f02b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 4px;
    color: var(--primary);
}
