/* Author Bio Box Widget Styles */

.dcs-author-bio {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.author-bio-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.author-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.author-description p {
    margin: 0 0 10px 0;
}

.author-description p:last-child {
    margin-bottom: 0;
}

.author-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.author-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.author-social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}

.author-posts-link {
    margin-top: 15px;
}

.view-posts-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-posts-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

/* Dark Mode */
body:not(.light-mode) .dcs-author-bio {
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Light Mode */
body.light-mode .dcs-author-bio {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dcs-author-bio {
        padding: 20px;
    }

    .author-bio-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-avatar img {
        width: 70px;
        height: 70px;
    }

    .author-name {
        font-size: 20px;
    }

    .author-description {
        font-size: 14px;
    }

    .author-social-links {
        justify-content: center;
    }

    .author-posts-link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .author-avatar img {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}