/* 仅资讯详情页内容样式 —— 无header、无footer、不与主站冲突 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

:root {
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
    padding: 120px 0 60px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 12px;
    background: rgba(128, 128, 128, 0.1);
    backdrop-filter: blur(4px);
}

.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--text-main) 0%, var(--text-gray) 100%);
    margin: 20px 0 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--text-main);
    transform: translateX(-4px);
}

.article-header {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s forwards;
}

.article-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.article-cover {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.article-cover:hover {
    transform: scale(1.02);
}

.article-content {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 44px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 50px;
    animation: fadeInUp 0.8s 0.2s forwards;
    opacity: 0;
}

.article-content p {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.9;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 44px 0 16px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-content img {
    width: 100%;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.article-content img:hover {
    transform: scale(1.01);
}

.article-content .quote {
    border-left: 3px solid var(--text-main);
    padding-left: 16px;
    margin: 30px 0;
    color: var(--text-gray);
    font-style: italic;
}


/* 资源下载模块 */

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--text-main);
    box-shadow: var(--shadow-hover);
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.download-item:hover {
    border-color: var(--text-main);
    background: rgba(128, 128, 128, 0.05);
}

.download-name {
    font-size: 15px;
    color: var(--text-main);
}

.download-size {
    font-size: 13px;
    color: var(--text-light-gray);
    margin-left: 12px;
}

.download-btn {
    padding: 6px 16px;
    background: var(--text-main);
    color: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.download-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--text-main);
    box-shadow: var(--shadow-hover);
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-gray);
}

.related {
    margin-bottom: 60px;
}

.related-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.related-title {
    font-size: 22px;
    font-weight: 800;
}

.related-more {
    color: var(--text-gray);
    font-size: 14px;
}

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

.related-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.related-item:nth-child(1) {
    animation-delay: 0.3s;
}

.related-item:nth-child(2) {
    animation-delay: 0.4s;
}

.related-item:nth-child(3) {
    animation-delay: 0.5s;
}

.related-item:nth-child(4) {
    animation-delay: 0.6s;
}

.related-item:hover {
    border-color: var(--text-main);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.related-date {
    font-size: 12px;
    color: var(--text-light-gray);
    margin-bottom: 6px;
}

.related-title-sm {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

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

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--text-main);
    color: var(--white);
    transform: translateY(-2px);
}

.copy-tip {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.copy-tip.show {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width:768px) {
    .container {
        padding: 100px 0 40px;
    }
    .article-title {
        font-size: 26px;
    }
    .article-content {
        padding: 24px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:480px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}