/**
 * About Author Box Styles
 * Modern, professional author box design
 */

.about-author-box {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.author-box-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

/* Author Photo */
.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    flex-shrink: 0;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-photo-placeholder {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.author-photo-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.6;
}

/* Author Content */
.author-content {
    flex: 1;
    min-width: 0;
}

.author-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.author-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.author-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Author Bio */
.author-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.author-bio p {
    margin-bottom: 0.75rem;
}

.author-bio p:last-child {
    margin-bottom: 0;
}

/* Social Links */
.author-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-link i {
    font-size: 1rem;
}

/* Social Link Colors */
.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.social-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.social-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-author-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .author-box-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .author-photo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .author-header {
        text-align: center;
    }

    .author-name {
        font-size: 1.25rem;
    }

    .author-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-author-box {
        padding: 1.25rem;
    }

    .author-photo {
        width: 80px;
        height: 80px;
    }

    .author-name {
        font-size: 1.125rem;
    }

    .author-bio {
        font-size: 0.9375rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* Admin Preview Styles */
.wrap .about-author-box {
    max-width: 800px;
}