.judge-card {
    cursor: pointer
}

.judge-with-modal {
    margin: 5px auto;
    max-width: 250px;
}

.black-and-white .judge-img {
    filter: grayscale(1);
}

.judge-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: var(--judge-img-height, 250px);
    width: var(--judge-img-width, 250px);
    object-fit: cover;
}

.judge-img-wrap {
    position: relative;
    display: inline-block;
}

.judge-img-overlay {
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.judge-card>section>h3 {
    margin: 20px 0 10px
}

.judge-with-modal {
    margin: 0 auto;
    max-width: 228px
}

.judge-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333
}

.judge-card p {
    font-size: 13px;
    margin: 10px 0;
    color: #333;
    font-weight: 700;
    text-transform: uppercase
}

.judge-card h3+p {
    color: #999
}

.judge-modal {
    background-color: rgba(0, 0, 0, .7);
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s .2s, opacity .2s;
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.judge-modal>section {
    /* visibility: hidden; */
    /* opacity: 0; */
    /* transition: visbility 0s .25s, opacity .25s, transform .25s; */
    max-width: 600px;
    padding: 30px;
    background-color: #eee;
    will-change: transform;
}

.judge-modal.modal-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity .2s linear
}

.judge-modal.modal-visible>section {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s linear .2s, transform .2s linear .2s
}

.judge-modal.modal-hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s .4s, opacity .2s linear .2s
}

.judge-modal.modal-hidden>section {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10%);
    transition: visibility 0s .2s, opacity .2s linear, transform .2s linear
}

.judge-modal article {
    float: left;
}

.modal-bio {
    clear: both;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 15px;
    clear: both
}

.modal-img {
    display: block;
    margin: 0 10px 10px 0;
    max-height: 250px;
    border: 1px solid #ddd
}

.modal-bio::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #F5F5F5
}

.modal-bio::-webkit-scrollbar {
    width: 4px;
    background-color: #F5F5F5
}

.modal-bio::-webkit-scrollbar-thumb {
    background-color: #444
}

.judge-modal article * {
    color: #000
}

.judge-modal article>h2 {
    margin: 70px 0 15px
}

.judge-modal article>h3 {
    margin: 0 0 10px
}

.modal-bio p {
    /* line-height: 1.25 !important; */
    /* font-size: 16px !important */
}

@media (min-width:768px) {
    .judge-card h3 br {
        display: none
    }
}

@media (max-width:625px) {
    .judge-modal article {
        margin: 10px;
        max-width: 450px
    }

    .judge-modal article>img {
        display: block;
        float: none;
        margin: 0 auto
    }

    .judge-modal article>h2 {
        margin: 15px 0
    }

    .modal-bio {
        margin-top: 30px
    }
}