.paragraph--type--authors h2 {
    text-align: center;
}

.paragraph--type--authors .authors-list {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.author-portrait {
    aspect-ratio: 3/4;
    background: var(--color-primary);
    cursor: pointer;
    border-radius: 1000px;
    width: 80%;
    margin: 0 auto 20px auto;
    position: relative;
    overflow: hidden;

    display: none;
    position: absolute;
    top: -9999px;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
}

.author--no-picture .author-portrait {
    cursor: initial;
}

.author-portrait .portrait-1 {
    position: relative;
    top: 0 ;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-portrait .portrait-2 {
    position: absolute;
    top: 0 ;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.author:hover .portrait-2 {
    display: block;
}

.author-portrait .portrait-avatar {
    position: absolute;
    top: 0 ;
    left: 0;
    width: 100%;
    height: 100%;
}

.author-info {
    text-align: center;
    position: relative;
}

.author-info h3 {
    font-size: 20px;
    margin-bottom: 0;
}

.author-info .author__description {
    margin-top: 20px;
}

.author__quote {
    display: none;
    text-align: center;
    font-family: var(--font-family-heading);
    font-weight: 400;
    font-size: 16px;
}

.author.author--has-quote:hover .author__quote {
    display: block;
}

.author.author--has-quote:hover .author-info {
    display: none;
}

@media (max-width: 880px) {
    .paragraph--type--authors {
        padding: 30px 0 !important;
    }
    .paragraph--type--authors .authors-list {
        gap: 60px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }   
}