/* Article Page - Modern Redesign */

.article-page {
    padding: 40px 0 60px;
}

.article-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.article-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: #666;
}

.article-meta-item.category-badge {
    background: #f0f3fa;
    padding: 6px 12px;
    border-radius: 20px;
    color: #304169;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.article-meta-item.category-badge:hover {
    background: #304169;
    color: #fff;
}

.article-meta-item.category-badge:hover svg {
    stroke: #fff;
}

.article-meta-item.category-badge svg {
    stroke: #304169;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #304169;
    line-height: 1.3;
    margin: 0;
}

/* Featured Image */
.article-featured-image {
    margin: 30px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(48, 65, 105, 0.15);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.article-content .intro {
    font-size: 20px;
    font-weight: 500;
    color: #304169;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f3fa;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #304169;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #304169;
    margin: 35px 0 15px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #304169;
    margin: 30px 0 15px;
}

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

.article-content a {
    color: #f78677;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-bottom-color: #f78677;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f8f9fc;
    border-left: 4px solid #f78677;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #304169;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
}

.article-content pre,
.article-content code {
    background: #f0f3fa;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
}

.article-content code {
    padding: 2px 6px;
}

.article-content pre {
    padding: 20px;
    overflow-x: auto;
    margin: 25px 0;
}

.article-content pre code {
    padding: 0;
    background: none;
}

/* Embedded Facts */
.article-facts {
    margin: 40px 0;
}

/* Share Section Spacing */
.article-page .share-buttons {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f3fa;
}

/* Responsive */
@media (max-width: 768px) {
    .article-page {
        padding: 30px 0 40px;
    }

    .article-page .container {
        padding: 0 20px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-meta {
        gap: 15px;
    }

    .article-meta-item {
        font-size: 13px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content .intro {
        font-size: 18px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 19px;
    }

    .article-content blockquote {
        padding: 20px;
        margin: 25px 0;
    }

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

@media (max-width: 480px) {
    .article-title {
        font-size: 22px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.7;
    }
}
