/* ==========================================
   Article Page Styles
   ========================================== */

.article-container {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 35px;
    margin: 25px 0;
}
.article-category {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 4px 12px; border-radius: 3px; font-size: 12px;
    font-weight: 600; margin-bottom: 12px;
}
.article-title {
    font-size: 32px; font-weight: 900; line-height: 1.3;
    margin-bottom: 15px; color: var(--text-dark);
}
.article-meta {
    display: flex; flex-wrap: wrap; gap: 15px; align-items: center;
    padding: 15px 0; border-bottom: 1px solid #eee;
    margin-bottom: 20px; font-size: 14px; color: var(--text-muted);
}
.article-meta i { color: var(--primary); }

/* Font Size Controls */
.font-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.font-controls span { font-size: 13px; color: var(--text-muted); }
.font-controls button {
    width: 30px; height: 30px; border-radius: 50%; border: 2px solid #ddd;
    background: var(--bg-light); cursor: pointer; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); color: var(--text-dark);
}
.font-controls button:hover { border-color: var(--primary); color: var(--primary); }
.font-controls button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Share */
.article-share { display: flex; gap: 8px; }
.article-share a {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; transition: var(--transition);
}
.article-share a.fb { background: #1877f2; }
.article-share a.zalo { background: #0068ff; }
.article-share a.tw { background: #1da1f2; }
.article-share a.copy { background: #6c757d; }
.article-share a:hover { opacity: 0.8; transform: scale(1.1); }

/* Article Content */
.article-content { font-size: 18px; line-height: 1.9; color: var(--text-dark); }
.article-content p { margin-bottom: 18px; }
.article-content img { width: 100%; border-radius: var(--radius); margin: 20px 0; }
.article-content figcaption {
    text-align: center; font-size: 13px; color: var(--text-muted);
    font-style: italic; margin-top: -10px; margin-bottom: 20px;
}
.article-content blockquote {
    border-left: 4px solid var(--primary); padding: 15px 20px;
    background: var(--bg-light); border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0; font-style: italic;
}
.article-content h2 { font-size: 24px; font-weight: 700; margin: 25px 0 12px; color: var(--primary); }
.article-content h3 { font-size: 20px; font-weight: 700; margin: 20px 0 10px; }
.article-content ul, .article-content ol { padding-left: 25px; margin-bottom: 18px; }
.article-content li { margin-bottom: 8px; }

/* Tags */
.article-tags { padding: 20px 0; border-top: 1px solid #eee; margin-top: 25px; }
.article-tags .tag {
    display: inline-block; background: var(--bg-light);
    padding: 5px 12px; border-radius: 15px; font-size: 13px;
    color: var(--text-muted); margin: 3px 4px; transition: var(--transition);
}
.article-tags .tag:hover { background: var(--primary); color: #fff; }

/* Related Articles */
.related-section { padding: 30px 0; }
.related-card {
    background: var(--bg-white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.related-card img { width: 100%; height: 160px; object-fit: cover; }
.related-card .body { padding: 15px; }
.related-card .body h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; line-height: 1.4; }
.related-card .body h4 a { color: var(--text-dark); }
.related-card .body h4 a:hover { color: var(--primary); }
.related-card .body .meta { font-size: 12px; color: var(--text-muted); }

@media (max-width: 991px) {
    .article-title { font-size: 24px; }
    .article-content { font-size: 16px; }
}
@media (max-width: 576px) {
    .article-container { padding: 20px; }
    .font-controls { margin-left: 0; margin-top: 10px; width: 100%; }
}