/**
 * Author Bio Box Styles
 * 
 * Styles for the author bio box that appears at the end of posts
 */

/* Author bio links */
.author-bio-link {
    text-decoration: none;
    color: var(--c-text);
    transition: color 0.3s ease;
}

.author-bio-link:hover,
.author-bio-link:focus {
    color: var(--c-primary);
}



/* Main container */
.author-bio-box {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.author-bio-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* Avatar container */
.author-bio-avatar {
    display: flex;
    justify-content: center;
}

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

/* Author content */
.author-bio-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive styles */
@media (max-width: 767px) {
    .author-bio-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .author-bio-avatar {
        justify-content: center;
    }
    
    .author-bio-avatar img {
        width: 120px;
        height: 120px;
    }
}

.author-bio-name {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin: 0 0 0.3rem;
    line-height: 1.2;
    color: var(--c-fg, #111);
}

.author-bio-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.6;
    color: var(--c-fg-light, #333);
}

.author-bio-description p {
    margin-bottom: 1rem;
}

.author-bio-description p:last-child {
    margin-bottom: 0;
}

.author-bio-box-link:hover .author-bio-box {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .author-bio-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .author-bio-content {
        align-items: center;
    }
}
