/* Estilos para a seção do autor no final dos posts */
.author-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem 0 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.author-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #009a9a;
}

.author-details {
    flex: 1;
}

.author-details h3 {
    color: #009a9a;
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    padding-top: 0;
}

.author-details .author-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.author-bio {
    color: #414141;
    font-size: 1.1rem;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;

}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #009a9a;
    color: white !important;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
}

.author-social a:hover {
    background-color: #f2637e;
    transform: scale(1.1);
}

.author-posts-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 16px;
    background-color: #009a9a;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.author-posts-link:hover {
    background-color: #f2637e;
    color: white !important;
}



/* Estilos para a página de arquivo do autor */
.author-header {
    background-color: #009a9a;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.author-header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

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

.author-header-info h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
}

.author-header-info .author-title {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.author-header-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.author-header-social {
    display: flex;
    gap: 1rem;
}

.author-header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 20px;
}

.author-header-social a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.author-posts-count {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.2rem;
    color: #666;
}

@media (max-width: 768px) {

    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: center;
        /* Adicionado para centralizar todos os itens */
    }

    .author-avatar {
        align-self: center;
        /* Garante que o avatar fique centralizado */
    }

    .author-avatar img {
        width: 100px;
        height: 100px;
    }

    .author-details h3 {
        font-size: 1.5rem;
    }


    .author-section {
        padding: 1.5rem;
        margin: 2rem 0 1rem 0;
    }

    .author-header-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .author-header-avatar img {
        width: 120px;
        height: 120px;
    }


    .author-social,
    .author-header-social {
        justify-content: center;
    }


    .author-header-info h1 {
        font-size: 2rem;
    }

    .author-header {
        padding: 2rem 0;
    }
}