.temp-cardset {
    padding: 10px 0 20px;
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    grid-template-rows: auto;
    grid-gap: 20px;
    font-size: 15px;
    line-height: 1.2;
}

/* Grid Fallback */

.temp-cardset .temp-card {
    float: left;
    margin: 0 1% 20px;
    width: 31.333%;
}

@supports (display: grid) {
    .temp-cardset .temp-card {
        width: auto;
        margin: 0 0 20px;
    }
}

/* Card */

.temp-card, .temp-card:hover, .temp-card:active {
    text-decoration: none;
    color: inherit;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: inherit;
}

.temp-card_hero {
    position: relative;
}

.temp-card_hero img {
    display: block;
    margin: 0;
}

.temp-card_hero h4 {
    color: #333F48;
    text-transform: uppercase;
    padding: 20px 10px 12px;
}

.temp-card_info {
    line-height: 22px;
    padding: 0 10px 16px;
    flex: 1 0 auto;
}

.temp-card_btn {
    padding: 0 10px 24px;
}

.temp-card_btn span {
    display: inline-block;
    color: #333F48;
    font-weight: 500;
}

/* temp-card - Contained */

.temp-cardset--contained .temp-card {
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
    transition: all 240ms cubic-bezier(.02, .01, .5, 1);
    display: flex;
    color: inherit;
}

.temp-cardset--contained .temp-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    transform: translate(0, -6px);
    transition-delay: 0s !important;
}

.temp-cardset--contained h4, .temp-cardset--contained .temp-card_info, .temp-cardset--contained .temp-card_btn {
    padding-left: 16px;
    padding-right: 16px;
}

.temp-cardset--contained .temp-card_btn {
    text-align: right;
}

/* temp-card - Link Button Outline */

.temp-cardset--button-link .temp-card_btn, .temp-cardset--button-link-solid .temp-card_btn {
    text-align: center;
}

.temp-cardset--button-link .temp-card_btn span {
    font-size: 14px;
    padding: 9px 20px;
    border: 1px solid currentColor;
}

/* temp-card - Button Link Solid */

.temp-cardset--button-link-solid .temp-card_btn span {
    font-size: 14px;
    padding: 9px 20px;
    background: #333F48;
    color: #fff;
}

/* temp-card - Caret Link */

.temp-cardset--caret-link .temp-card_btn span:after {
    content: " ";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 0 -2px 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='13' height='13' fill='none' stroke='%23333F48' stroke-linecap='round' stroke-linejoin='round' stroke-width='5'%3E%3Cpath d='M12 30 L24 16 12 2'%3E%3C/path%3E%3C/svg%3E");
}

/* temp-card - Crossfade */

.temp-cardset--crossfade .temp-card_hero:before {
    content: " ";
    position: absolute;
    height: 100px;
    width: 100%;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 100%);
}

.temp-cardset--crossfade h4 {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    width: 100%;
}

.temp-cardset--crossfade .temp-card_info {
    padding-top: 16px;
}