/* Author Box Styles */
.author-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.author-bio {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Related Posts Styles */
.related-posts {
    margin: 48px 0 32px;
    padding-top: 32px;
    border-top: 2px solid #dee2e6;
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #212529;
}

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

.related-post {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
    display: block;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post h4 {
    margin: 16px 16px 8px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-post h4 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.related-post h4 a:hover {
    color: #007bff;
}

.related-post-meta {
    margin: 0 16px 16px;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
