/* Article Page Specific Styles */
.article-container {
    margin-top: 100px;
    padding: 40px 0;
    background: var(--bg-white);
    min-height: 80vh;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.7rem;
}

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

.article-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.article-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.article-body {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

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

.article-body h2 {
    font-size: 2rem;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: var(--text-dark);
}

.article-body img {
    width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

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

.article-body blockquote {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-dark);
}

.article-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.article-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.article-image-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.article-tags span {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.related-articles h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

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

.related-card {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.related-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.related-card-content h4 {
    margin-bottom: 5px;
}

.related-card-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.related-card-content h4 a:hover {
    color: var(--primary-color);
}

.related-card-content span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Comments Section */
.comments-section {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.comments-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.comment-form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-header h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.comment-header span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }

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

    .article-body {
        font-size: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-image-grid {
        grid-template-columns: 1fr;
    }
}