.student-spotlight_block {
    max-width: 100%;
}

.student-spotlight_block-inner {
    display: grid;
    margin: 0 auto;
}

.student-spotlight_block-image img {
    display: block;
}

.student-spotlight_block-content {
    background: transparent
        linear-gradient(
            90deg,
            var(--primary-color) 25%,
            var(--primary-color-hover) 100%
        )
        0% 0% no-repeat padding-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reversed-view .student-spotlight_block-content {
    background: #fff;
    position: relative;
}

.reversed-view .student-spotlight_block-content .quotation-mark {
    position: absolute;
    bottom: 15px;
    right: 40px;
}

.student-spotlight_block-content h2 {
    color: #003e7e;
    margin-bottom: 16px;
}

body:not(.home) .student-spotlight_block-content h2 {
    font-size: 30px;
}

.student-spotlight_block-content p {
    color: #003e7e;
    line-height: 1.66;
}

.student-spotlight_block-content p strong {
    font-family: var(--primary-font);
    font-size: 32px;
    font-weight: 500;
    margin-top: 30px;
    display: block;
}

.student-spotlight_block-content p:first-of-type {
    margin-top: 0;
}

.student-spotlight_block-content p:last-of-type {
    margin-bottom: 0;
}

.student-spotlight_block-button > a {
    display: inline-block;
    padding: 10px 30px;
    margin-top: 16px;
    color: var(--text-color-white);
    text-decoration: none;
    font-size: 18px;
    border: 1px solid var(--text-color-white);
}

.student-spotlight_block-button > a:hover {
    color: var(--text-color);
    background-color: var(--bg-color-white);
    border-color: var(--bg-color-white);
}

.alternate-version .student-spotlight_block-content {
    background: #FFF;
}

.alternate-version .student-spotlight_block-content h2 {
    font-size: 40px !important;
}

.alternate-version .student-spotlight_block-content ul {
    margin-left: 20px;
}

.alternate-version .student-spotlight_block-content ul li p,
.alternate-version .student-spotlight_block-content ul li p strong {
    color: var(--text-color);
}

.alternate-version .student-spotlight_block-content ul li strong {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
    font-family: var(--secondary-font);
}

@media only screen and (max-width: 999px) {
    .student-spotlight_block {
        padding-bottom: 0;
    }
    .student-spotlight_block .container {
        padding: 0;
    }
    .student-spotlight_block-content {
        padding: 30px 15px;
    }

    .student-spotlight_block-content h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .student-spotlight_block-image img {
        width: 100%;
        height: 275px;
        object-fit: cover;
        object-position: 38% 22%;
    }

    .reversed-view .student-spotlight_block-content .quotation-mark {
        width: 57px;
        top: 12px;
        right: 0 !important;
    }
    .student-spotlight_block-image img {
        height: 273px !important;
    }

    .alternate-version .student-spotlight_block-content h2 {
        font-size: 30px !important;
    }

    .alternate-version .student-spotlight_block-content ul li strong {
        margin-top: 20px;
    }
}

@media only screen and (min-width: 1000px) {
    .student-spotlight_block-inner {
        grid-template-columns: 837px 1fr;
    }

    .student-spotlight_block-inner.reversed-view {
        grid-template-columns: 363px 837px;
    }

    .student-spotlight_block-content {
        max-height: 408px;
        width: 586px;
        padding: 40px;
        transform: translateX(-223px) translateY(50px);
        box-shadow: 0px 3px 6px #00000029;
    }

    .alternate-version.taller-version .student-spotlight_block-content {
        max-height: 518px;
        transform: translateX(-347px) translateY(40px);
    }

    .reversed-view .student-spotlight_block-content {
        padding: 40px;
        transform: translateX(0) translateY(50px);
        box-shadow: 0px 3px 6px #00000029;
    }

    .student-spotlight_block-image img {
        height: 500px;
        object-fit: cover;
    }

    .taller-version .student-spotlight_block-image img {
        height: 600px;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
    .reversed-view .student-spotlight_block-content {
        z-index: 1000;
    }
    .student-spotlight_block-image {
        transform: translateX(-100px) translateY(0);
    }

    .alternate-version.taller-version .student-spotlight_block-content h2 {
        font-size: 30px !important;
    }

    .alternate-version.taller-version .student-spotlight_block-content ul li strong {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1300px) {
    .alternate-version .student-spotlight_block-content {
        width: 725px;
        transform: translateX(-347px) translateY(50px);
    }
}