.mg-speaker-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mg-speaker-list li {
    width: 275px;
    padding: 15px 45px;
    max-width: 168px;
}

.mg-speaker-list li img {
    border-radius: 100%;
}

.mg-speaker-list .mg-speaker-bio {
    display: none;
}

.mg-speaker-list .mg-speaker-item a {
    text-decoration: none;
    color: #fff;
}

.mg-speaker-list a img {
    transition: transform 0.5s;
}

.mg-speaker-list a:hover img {
    transform: scale(1.1);
}

.mg-speaker-item__name,
.mg-speaker-item__title {
    margin: 0;
    line-height: 1;
    color: #fff;
}

.mg-speaker-item__name {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin: 1rem 0 0.5rem;
}

html.mg-has-modal-open {
    overflow-y: hidden;
}

.mg-speaker-modal {
    position: fixed;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: none;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

.mg-speaker-modal__content {
    width: 800px;
    max-width: 90vw;
    background: white;
    padding: 1rem;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}

.mg-speaker-modal__inner {
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.mg-speaker-modal__inner a:hover {
    color: #f4ac33;
}

.mg-speaker-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem;
    background-color: black;
    color: white;
    display: block;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.5rem;
}

.mg-speaker-modal__inner img {
    max-width: 200px;
    display: block;
    margin-right: 1rem;
    border-radius: 100%;
}

.mg-speaker-modal.active {
    display: flex;
}

.mg-speaker-bio__name,
.mg-speaker-bio__title {
    font-weight: 600;
}

.mg-speaker-bio__name {
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.mg-speaker-bio__title {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .mg-speaker-modal__inner {
        flex-direction: column;
    }

    .mg-speaker-modal__inner img {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}