.author-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.author-info h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.author-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-info .author-image {
    margin-right: 10px;
}

.author-info .author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info .author-details {
    flex-grow: 1;
}

.author-info .author-details strong {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.author-info .author-social a {
    margin-right: 10px;
    color: #333;
    font-size: 1.2em;
}

.author-info .author-social a:hover {
    color: var(--e-global-color-primary);
}

/* Estilos para o container de descrição */
.author-description-container {
    position: relative;
    transition: max-height 0.5s ease;
}

.author-description {
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

.author-description p {
    margin: 0;
}

/* Efeito de fade quando o conteúdo está colapsado */
.author-description-container.collapsed .author-description::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #fff 90%);
    width: 100%;
    height: 3em;
}

/* Remove o limite de altura quando expandido */
.author-description-container.show-full .author-description {
    max-height: none;
}

.author-description-container.show-full .author-description::after {
    display: none;
}

/* Estilos para o botão de "Mostrar mais" */
.author-info .show-more-author {
    color: #000000;
    border-bottom:solid 1px #000;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    padding-top: 5px;
}

.author-info .show-more-author i {
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Gira o ícone quando expandido */
.author-info .show-more-author.expanded i {
    transform: rotate(180deg);
}
