/* æ–°é—»è¯¦æƒ…é¡µé¢æ ·å¼ */

/* æ–‡ç« åŒºåŸŸ */
.article-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    margin-top: 70px;
}

.article-container {
    display: flex;
    gap: 40px;
}

/* æ–‡ç« ä¸»ä½“ */
.article-content {
    flex: 2;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.article-date, .article-category, .article-views {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.article-featured-image {
    margin-bottom: 30px;
}

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

.article-text {
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-text h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 40px 0 20px;
    color: #333;
}

.article-text h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 30px 0 15px;
    color: #333;
}

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

.article-quote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid #333;
    background-color: #f5f5f5;
}

.article-quote blockquote {
    margin: 0;
}

.article-quote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.article-quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: #666;
}

.article-image {
    margin: 30px 0;
}

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

.article-image figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.article-tags {
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tag-label, .share-label {
    font-weight: 500;
    margin-right: 10px;
    color: #333;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #e0e0e0;
}

.article-share {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: #333;
    color: #fff;
}

/* ä¾§è¾¹æ  */
.article-sidebar {
    flex: 1;
}

.sidebar-widget {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* ä½œè€…ä¿¡æ¯ */
.author-info {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-details h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.author-details p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ç›¸å…³æ–‡ç«  */
.related-posts {
    list-style: none;
}

.related-posts li {
    margin-bottom: 15px;
}

.related-posts li:last-child {
    margin-bottom: 0;
}

.related-posts a {
    display: flex;
    align-items: center;
}

.related-thumb {
    flex: 0 0 60px;
    margin-right: 15px;
}

.related-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.related-info h4 {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #333;
    transition: color 0.3s ease;
}

.related-date {
    font-size: 0.8rem;
    color: #888;
}

.related-posts a:hover .related-info h4 {
    color: #555;
}

/* æ ‡ç­¾äº‘ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* æŽ¨èé˜…è¯» */
.recommended-section {
    margin-top: 60px;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 0.5fr));
    gap: 7px;
    margin-top: 30px;
    align-content: center;
    justify-content: center;
}

.recommended-item {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommended-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.recommended-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.recommended-text {
    padding: 20px;
}

.recommended-text h3 {
    font-size: 1.0rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333;
}

.recommended-text p {
    color: #9d9d9d;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.read-more {
    font-size: 1.2rem;
    color: #333;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 992px) {
    .article-container {
        flex-direction: column;
    }
    
    .article-content {
        padding: 30px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-text h2 {
        font-size: 1.6rem;
    }
    
    .article-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .article-section {
        padding: 60px 0;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .recommended-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-content {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 1.6rem;
    }
    
    .article-text {
        font-size: 1rem;
    }
    
    .article-text h2 {
        font-size: 1.4rem;
    }
    
    .article-text h3 {
        font-size: 1.2rem;
    }
    
    .article-quote {
        padding: 15px 20px;
    }
} 