.university-programs {
    margin: var(--margin-m) 0;
}

.university-programs-grid {
    padding: 0 var(--margin-m);
    margin: 0 auto;
    width: 100%;
}

.university-programs-grid-wrapper .slick-track {
    display: flex;
}

.program {
    height: 435px;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 100;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: calc(50% - 20px);
    margin: 0 10px 20px;
}

.slick-list .program {
    height: 435px;
    float: none;
    position: relative;
    z-index: 100;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: end;
    justify-content: flex-end;
    width: 311px !important;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 35px 40px;
}

.slick-list .program.slick-slide {
    display: flex;
}

.program-content {
    position: relative;
    z-index: 500;
}

.program-content .red-wave {
    width: 32px;
    height: auto;
    margin: 0 0 20px 0;
}

.program-content .program-degree {
    font-family: 'Red Hat Display', serif;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    font-size: 18px;
    line-height: 1.84;
    letter-spacing: normal;
    color: var(--white);
    margin: 0 0 5px 0;
}

.program-content .program-title {
    font-size: 30px;
    line-height: 1.25;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    color: var(--white);
    margin: 0 0 20px 0;
}

.program-content .program-link-icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.program-overlay {
    background-image: linear-gradient(243deg, rgba(0, 0, 0, 0), var(--black));
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    border-radius: var(--border-radius);
}

.slick-list .program-overlay {
    background-image: linear-gradient(216deg, rgba(0, 0, 0, 0), var(--black));
}

.program-poly {
    border-radius: var(--border-radius);
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    background-image: url('../images/pattern-poly-dark.svg');
    background-position: center;
    background-size: cover;
}

.slick-dots {
    display: block;
    text-align: center;
    position: relative;
    bottom: 10px;
    left: 0;
    width: 100%;
    line-height: 1;
    margin: 16px 0 0;
    padding: 0;
    list-style-type: none;
}

.slick-dots li {
    cursor: pointer;
    display: inline-block;
    height: 8px;
    width: 8px;
    opacity: 0.2;
    border-radius: 100%;
    background: rgb(0, 0, 0);
    margin: 0 6px;
}

.slick-dots li.slick-active {
    background-color: #c5050c;
    opacity: 1;
}

.university-program-links {
    margin: 40px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.university-program-links svg {
    margin: 0 0 0 20px;
}

.university-program-links .button:last-child {
    margin: 16px 0 0 0;
}

@media screen and (min-width: 768px) {

    .university-programs {
        margin: var(--margin-l) 0;
    }

    .university-programs-grid-wrapper {
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
        margin: 0 -10px;
    }

    .university-program-links {
        flex-direction: row;
    }

    .university-program-links .button:last-child {
        margin: 0 0 0 32px;
    }
}

@media screen and (min-width: 1300px) {

    .university-programs-grid {
        max-width: calc(1344px);
    }

    .university-programs-grid-wrapper {
        margin: 0 -20px;
    }

    .program {
        margin: 0 20px 40px;
        flex-basis: calc(33.3333% - 40px);
    }

    .program:nth-child(1) {
        flex-basis: calc(66.6667% - 40px);
    }
}
