/* Link cards block */

.main-content {
    display: block;
}

.home .content {
    margin-bottom: 0 !important;
}

.main-content>.content:not(:last-child) {
    margin-bottom: 0 !important;
}

.content p {
    max-width: 100%
}

    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
        
        .columns.is-multiline {
            flex-wrap: none;
        }
        
        .column {
            flex-basis: auto;
        }
    }
    
.box {
    border-radius: 4px !important;
}

html {
    scroll-behavior: smooth;
}

.purdue-home-link-cards {
    overflow: hidden;
}

.purdue-home-link-cards .glide__track {
    overflow: visible;
}

.purdue-home-link-cards .glide__slide {
    padding-bottom: .2rem;
    height: auto;
}

.purdue-home-link-cards .container.header-wrap {
    margin-bottom: 3rem;
}

    @media screen and (max-width: 767px) {
        .purdue-home-link-cards .container.header-wrap {
            margin-bottom: 2rem;
        }
    }
    
.purdue-home-link-cards .container.header-wrap .tagged-header-container {
    border-color: #cfb991;
    margin-bottom: 0;
}

.purdue-home-link-cards .has-gold-background .tagged-header-container {
    border-color: #000 !important;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) {
    height: 100%;
    background: linear-gradient(0deg,  rgb(0,  0,  0) 95%,  rgb(255,  255,  255) 100%);
    display: flex;
    flex-direction: column;
}

/* Link card items: image, title, sub-title, button */    

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .image {
    border-radius: 4px 4px 0 0;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .image:after {
    background: linear-gradient(180deg,  rgba(0,  0,  0,  0) 80%,  #000000 100%);
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .image img {
    width: 100%;
    height: 100%
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container {
    padding: 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container .purdue-home-cta-grid__card-name, 
.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container .purdue-home-cta-grid__card-title {
    color: #fff;
    font-family: acumin-pro-semi-condensed, "Franklin Gothic", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container .purdue-home-cta-grid__card-tag, 
.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container .purdue-home-cta-grid__card-date, 
.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container .purdue-home-cta-grid__card-titleline {
    color: #ebd99f;
    font-family: acumin-pro, "Franklin Gothic", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.4;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--story .purdue-home-cta-grid__card-date {
    margin-top: auto;
    margin-bottom: 0;
    text-transform: uppercase;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--story .purdue-home-cta-grid__card-tag {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--faculty .purdue-home-cta-grid__card-name {
    margin-bottom: 1rem;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--faculty .purdue-home-cta-grid__card-titleline:not(:last-child) {
    margin-bottom: .5rem;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--faculty .purdue-home-cta-grid__card-email, 
.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--faculty .purdue-home-cta-grid__card-phone, 
.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--faculty .purdue-home-cta-grid__card-address {
    margin-top: .5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
}

.purdue-home-cta-grid__card-address:has(p) {
    color: #fff !important;
}

.purdue-home-cta-grid__card-address p {
    color: #fff !important;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--align-bottom {
    position: absolute;
    margin-top: 0;
    padding: 2.25rem 7rem 2.25rem 3.25rem;
}

    @media screen and (max-width: 1023px) {
        .purdue-home-link-cards .purdue-home-cta-card: not(.purdue-home-cta-card--story) .flex-container--align-bottom {
            padding: 1rem 5rem 1rem 1.5rem;
        }
    }
    
.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--align-bottom .purdue-home-cta-grid__card-title {
    color: #fff;
    font-family: acumin-pro, "Franklin Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: .9;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story) .flex-container--align-bottom .purdue-home-cta-grid__card-subtext {
    color: #fff;
    font-family: acumin-pro, "Franklin Gothic", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    margin-bottom: 0;
}

.purdue-home-link-cards .purdue-home-cta-card:not(.purdue-home-cta-card--story).has-content-bottom .image:after {
    background: linear-gradient(180deg,  rgba(0,  0,  0,  0) 0%,  rgba(0,  0,  0,  0.75) 100%);
}

    @media screen and (min-width: 1024px) {
        .purdue-home-link-cards .column.is-4-desktop .purdue-home-cta-card .flex-container--align-bottom, 
        .purdue-home-link-cards .column.is-3-desktop .purdue-home-cta-card .flex-container--align-bottom {
            padding: 1rem 5rem 1rem 1.5rem;
        }
    }
    
    @media screen and (min-width: 1024px) {
        .purdue-home-link-cards .column.is-4-desktop .purdue-home-cta-card .flex-container--align-bottom .purdue-home-cta-grid__card-title, 
        .purdue-home-link-cards .column.is-3-desktop .purdue-home-cta-card .flex-container--align-bottom .purdue-home-cta-grid__card-title {
            font-size: 1.5rem;
        }
    }
    
.purdue-home-link-cards a.purdue-home-cta-card:not(.has-content-bottom):not(.purdue-home-cta-card--story):after {
    content: "";
    background-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 448 512%27%3E%3C%21--%21 Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license %28Commercial License%29 Copyright 2023 Fonticons,  Inc. --%3E%3Cpath fill=%27%23ffffff%27 d=%27M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%27/%3E%3C/svg%3E");
    height: 32px;
    width: 28px;
    background-repeat: no-repeat;
    background-size: cover;
    right: 1rem;
    font-size: 2rem;
    position: absolute;
    bottom: 1rem;
    transition: all .3s ease;
}

.purdue-home-link-cards a.purdue-home-cta-card:not(.has-content-bottom):not(.purdue-home-cta-card--story):hover .purdue-home-cta-grid__card-title {
    -webkit-text-decoration: underline;
    text-decoration: underline;
}

.purdue-home-link-cards a.purdue-home-cta-card:not(.has-content-bottom):not(.purdue-home-cta-card--story):hover:after {
    transform: translateX(3px);
}

.purdue-home-link-cards .slider-controls {
    margin-top: 3rem;
    justify-content: flex-start;
}

    @media screen and (max-width: 767px) {
        .purdue-home-link-cards .slider-controls {
            margin-top: 1.5rem;
            justify-content: center;
        }
    }
    
.purdue-home-link-cards .button-container.mobile-show {
    margin-top: 2rem;
    text-align: center;
}
