/* Article Page Styles */

/* Article Container */
.article-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-header h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.article-date, .article-category {
    display: flex;
    align-items: center;
}

.article-category {
    padding: 3px 10px;
    background-color: #f0f0f0;
    border-radius: 15px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-body h1 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body h2 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,102,204,0.3);
    transition: all 0.2s;
}

.article-body a:hover {
    color: #004499;
    border-bottom-color: #004499;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
    display: block;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.share-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s;
}

.share-button:hover {
    background-color: #0066cc;
    color: white;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tag {
    padding: 5px 10px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tag:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Related Articles */
.related-articles {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    padding: 20px;
}

.related-articles h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    display: block;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.related-item:hover {
    background-color: #f8f9fa;
}

.related-date {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.related-item h4 {
    margin: 0;
    color: #333;
    transition: all 0.2s;
}

.related-item:hover h4 {
    color: #0066cc;
}

/* Article Ad */
.article-ad {
    margin: 30px 0;
}

@media (min-width: 768px) {
    .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 30px;
        align-items: start;
    }
    
    .related-articles {
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 767px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .related-articles {
        margin-top: 30px;
    }
} 