.article-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.article-header {
    width: 100%;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    line-height: 1.3;
    color: #333;
}

/* Modern Author Section */
.author-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.author-title {
    color: #4a5568;
    font-size: 1rem;
}

.featured-image {
    width: 100%;
    margin: 2rem 0;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-body {
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 1.5rem;
}

/* Rating Section */
.rating-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.star {
    cursor: pointer;
    font-size: 1.5rem;
    color: #cbd5e0;
    transition: color 0.2s;
}

.star.active {
    color: #fbbf24;
}

.rating-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Comments Section */
.comments-section {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.comment-form button {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.comment-form button:hover {
    background: #2563eb;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-name {
    font-weight: 600;
    color: #2d3748;
}

.comment-date {
    color: #64748b;
    font-size: 0.9rem;
}

.comment-content {
    color: #4a5568;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-content {
        margin: 1rem auto;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .author {
        flex-direction: column;
        text-align: center;
    }

    .author-details {
        align-items: center;
    }
}
