body.speaker-modal-open {
    overflow: hidden;
}

.speaker-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.speaker-open:focus-visible {
    outline: 2px solid #243f8f;
    outline-offset: 4px;
}

.speaker-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
}

.speaker-modal.is-open {
    display: block;
}

.speaker-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.speaker-modal-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(690px, calc(100% - 64px));
    height: 100%;
    overflow-y: auto;
    background: #fff;
    box-shadow: -14px 0 40px rgba(0,0,0,.08);
    transform: translateX(100%);
    transition: transform .28s ease;
}

.speaker-modal.is-open .speaker-modal-panel {
    transform: translateX(0);
}

.speaker-modal-close {
    position: absolute;
    z-index: 3;
    top: 42px;
    left: 46px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #243f8f;
    font-family: Arial, sans-serif;
    font-size: 31px;
    line-height: 28px;
    font-weight: 300;
    cursor: pointer;
}

.speaker-modal-content {
    width: min(480px, calc(100% - 92px));
    margin: 0 auto;
    padding: 98px 0 70px;
    color: #243f8f;
}

.speaker-modal-content > h2 {
    margin: 0 0 28px;
    max-width: 350px;
    font-size: 36px;
    line-height: .95;
    font-weight: 500;
    letter-spacing: -.035em;
}

.speaker-modal-photo {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
}

.speaker-modal-details {
    font-size: 12px;
    line-height: 1.22;
}

.speaker-modal-details p {
    margin: 0 0 17px;
}

.speaker-panel {
    margin-bottom: 20px !important;
}

.speaker-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 32px;
    margin-top: 12px;
    padding: 0 20px;
    border-radius: 999px;
    background: #243f8f;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .speaker-modal-panel {
        width: min(650px, calc(100% - 30px));
    }
}

@media (max-width: 600px) {
    .speaker-modal-panel {
        width: 100%;
    }

    .speaker-modal-backdrop {
        display: none;
    }

    .speaker-modal-close {
        top: 24px;
        left: 22px;
    }

    .speaker-modal-content {
        width: calc(100% - 44px);
        padding: 78px 0 50px;
    }

    .speaker-modal-content > h2 {
        margin-bottom: 22px;
        font-size: 31px;
    }

    .speaker-modal-photo {
        margin-bottom: 25px;
    }

    .speaker-modal-details {
        font-size: 13px;
        line-height: 1.35;
    }
}
