.eal-author-list-widget {
    width: 100%;
}

.eal-author-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.eal-author-list-title {
    position: relative;
    margin: 0;
    color: #172033;
}

.eal-author-order-form {
    display: flex;
    align-items: center;
    gap: 18px;
}

.eal-author-order-form label {
    font-size: 16px;
    line-height: 1;
    color: #5d6473;
    white-space: nowrap;
}

.eal-author-order-form select {
    min-width: 230px;
    min-height: 56px;
    padding: 0 42px 0 18px;
    border: 1px solid #d9dce5;
    border-radius: 4px;
    background-color: #fff;
    color: #5d6473;
    font-size: 16px;
}

.eal-authors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.eal-columns-1 .eal-authors-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.eal-columns-2 .eal-authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eal-columns-3 .eal-authors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eal-columns-4 .eal-authors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eal-author-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 24px;
    overflow: hidden;
}

.eal-author-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.eal-author-image {
    flex: 0 0 auto;
}

.eal-author-image img {
    width: 145px;
    height: 145px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.eal-author-info {
    flex: 1;
    min-width: 0;
}

.eal-author-name {
    margin: 0 0 28px;
    color: #172033;
}

.eal-author-social {
    display: flex;
    align-items: center;
}

.eal-author-social .social-autor-code6 {
    display: flex;
    align-items: center;
    gap: 18px;
}

.eal-author-social .social-autor-code6 a {
    color: #4056a6;
    text-decoration: none;
}

.eal-author-social .social-autor-code6 svg {
    width: 22px;
    height: 22px;
}

.eal-author-bio {
    color: #5d6473;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 14px;
}

.eal-author-bio p {
    margin-top: 0;
}

.eal-author-bio p:last-child {
    margin-bottom: 0;
}

.eal-author-bio::-webkit-scrollbar {
    width: 5px;
}

.eal-author-bio::-webkit-scrollbar-track {
    background: transparent;
}

.eal-author-bio::-webkit-scrollbar-thumb {
    background: #5b61b5;
    border-radius: 10px;
}

/* Layout antigo/opcional */
.eal-author-card--default .eal-author-header {
    display: block;
}

.eal-author-card--default .eal-author-image {
    margin-bottom: 18px;
}

.eal-author-card--default .eal-author-name {
    margin-bottom: 14px;
}

.eal-author-card--default .eal-author-social {
    margin-bottom: 20px;
}

/* Responsivo */
@media (max-width: 1024px) {
    .eal-columns-4 .eal-authors-grid,
    .eal-columns-3 .eal-authors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .eal-author-list-header {
        display: block;
    }

    .eal-author-list-title {
        margin-bottom: 22px;
    }

    .eal-author-order-form {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .eal-author-order-form select {
        width: 100%;
        min-width: 0;
    }

    .eal-authors-grid,
    .eal-columns-1 .eal-authors-grid,
    .eal-columns-2 .eal-authors-grid,
    .eal-columns-3 .eal-authors-grid,
    .eal-columns-4 .eal-authors-grid {
        grid-template-columns: 1fr;
    }

    .eal-author-header {
        align-items: flex-start;
    }

    .eal-author-bio {
        overflow-y: visible;
        padding-right: 0;
    }
}