/* Article Page Styles */
:root {
    --primary-color: #222;
    --secondary-color: #444;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --max-width: 1200px;
}

.article-container {
    max-width: 800px;
    margin: 100px auto 60px;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

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

.article-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 20px;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

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

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

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

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

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.related-articles h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-5px);
}

.related-article-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-article-content {
    padding: 20px;
}

.related-article-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.related-article-content p {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Social Share */
.social-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.social-share h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-size: 15px;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn i {
    font-size: 16px;
}

/* Share button colors */
.share-btn.twitter { background-color: #1DA1F2; }
.share-btn.facebook { background-color: #4267B2; }
.share-btn.linkedin { background-color: #0077b5; }
.share-btn.reddit { background-color: #FF4500; }
.share-btn.tiktok { background-color: #000000; }

/* Tags */
.article-tags {
    margin: 30px 0;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.tag:hover {
    background: var(--accent-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-container {
        margin-top: 80px;
    }

    .article-header h1 {
        font-size: 32px;
    }

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

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

    .share-buttons {
        flex-wrap: wrap;
    }
    
    .share-btn {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
    }
} 