/* Author Bio Box - CSS baseado no seu estilo existente, modernizado */
.author_bio_section {
    background-color: #F5F5F5;
    padding: 25px;
    margin-top: 50px;
    border: 1px solid #DDD;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.author_bio_section:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.author_bio_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #ff5400, #ff7733);
}

.author_details {
    float: left;
    margin: 0 20px 10px 0;
}

.author_details img {
    border: 3px solid #999;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.author_details img:hover {
    transform: scale(1.05);
    border-color: #ff5400;
}

.author_content {
    overflow: hidden;
}

.author_name {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

.author_name a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author_name a:hover {
    color: #ff5400;
}

.author_description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.social-icon {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-icon a[href*="linkedin"]:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-icon a[href*="youtube"]:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.social-icon a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    border-color: #dc2743;
}

.social-icon a[href*="twitter"]:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.social-icon a[href*="facebook"]:hover {
    background: #4267b2;
    color: white;
    border-color: #4267b2;
}

.social-icon a[title="Website"]:hover {
    background: #ff5400;
    color: white;
    border-color: #ff5400;
}

/* Tema escuro para a Author Bio Box */
.author_bio_section.dark-mode {
    background-color: #2d2d2d;
    border-color: #444;
    color: #f0f0f0;
}

.author_bio_section.dark-mode::before {
    background: linear-gradient(135deg, #ff7733, #ff5400);
}

.author_bio_section.dark-mode .author_details img {
    border-color: #666;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.author_bio_section.dark-mode .author_details img:hover {
    border-color: #ff7733;
}

.author_bio_section.dark-mode .author_name {
    color: #fff;
}

.author_bio_section.dark-mode .author_name a {
    color: #ccc;
}

.author_bio_section.dark-mode .author_name a:hover {
    color: #ff7733;
}

.author_bio_section.dark-mode .author_description {
    color: #ddd;
}

.author_bio_section.dark-mode .social-icon a {
    background: #3a3a3a;
    color: #ccc;
    border-color: #555;
}

.author_bio_section.dark-mode .social-icon a:hover {
    background: #444;
    color: #fff;
}

/* Estilos específicos para cada rede no modo escuro */
.author_bio_section.dark-mode .social-icon a[href*="linkedin"]:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.author_bio_section.dark-mode .social-icon a[href*="youtube"]:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.author_bio_section.dark-mode .social-icon a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.author_bio_section.dark-mode .social-icon a[href*="facebook"]:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.author_bio_section.dark-mode .social-icon a[href*="twitter"]:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

/* Responsividade */
@media (max-width: 768px) {
    .author_bio_section {
        padding: 20px;
        margin-top: 30px;
        text-align: center;
    }
    
    .author_details {
        float: none;
        margin: 0 0 15px 0;
    }
    
    .author_details img {
        width: 80px;
        height: 80px;
    }
    
    .author_name {
        font-size: 20px;
    }
    
    .social-icon {
        justify-content: center;
    }
}