.text-cards {
    position: relative;
    z-index: 1;
    padding: 45px 0;
}

.text-cards__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.text-cards__headline {
    padding-bottom: 16px;
}

.text-cards__title {
    padding-bottom: 20px;
}

.text-cards__title h2 {
    color: #fff;
    margin-bottom: 15px;
}

.text-cards__title p {
    color: rgba(255,255,255,0.7);
}

.text-card-item {
    margin-top: 16px;
}

.text-card-item a:hover {
    text-decoration: none;
}

.text-card__cta::before,
.text-card__cta::after {
    background-color: #fff;
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
}

.text-card__cta::before {
    right: 0;
    visibility: visible;
    transform: scaleX(1);
    transform-origin: left center;
}

.text-card__cta::after{
    left: 0;
    transform: scaleX(0);
    transform-origin: right center;
}

.text-card-item a:hover .text-card__cta::before {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .6s 0s cubic-bezier(.77,0,.175,1);
}

.text-card-item a:hover .text-card__cta::after {
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform .6s .1s cubic-bezier(.77,0,.175,1);
}

.text-card-item a:hover .text-card__title {
    color: #0082CA;
}


.text-card {
    background: rgba(0,0,0,0.6);
    padding: 19px 25px 21px;
}

.text-card__subheading {
    font-size: 10px;
    padding-bottom: 5px;
}

.text-card__title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
}

.text-card__description p {
    color: rgba(255,255,255,0.7);
    padding-bottom: 5px;
    font-size: 14px;
}

.text-card__bottom {
    padding-top: 20px;
}

.text-card__cta {
    padding: 0;
    border: none;
    font-size: 10px;
    font-family: 'd-dindin-bold';
    text-transform: uppercase;
    background: none;
    color: #fff;
    letter-spacing: 0.04em;
    position: relative;
}

.text-cards__title h2 {
    font-size: 28px;
}

.more-btn {
    margin-top: 20px;
}

.resource-card-block.text-cards .text-card {
    background: #EEF1F5;
    height: auto;
    min-height: 238px;
    padding: 20px 16px 20px 30px;
}

.resource-card-block.text-cards .text-card__subheading {
    color: #0082CA;
    padding-bottom: 6px;
}

.resource-card-block.text-cards .text-card__title {
    color: #000;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease 0s;
}

.resource-card-block.text-cards .text-card__cta {
    color: #0082CA;
}

.resource-card-block.text-cards .text-card__cta::before, 
.resource-card-block.text-cards .text-card__cta::after {
    background: #0082CA;
}

.resource-card-block.text-cards .text-card__excerpt {
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.resource-card-block.text-cards .text-card:hover  .text-card__excerpt {
    opacity: 1;
}

.text-card__bottom .rg__footer-icon {
    position: absolute;
    right: 0;
    top: 10px;
}

.text-card__bottom {
    position: relative;
}

.resource-card-block .white-paper .text-card{
    background-color: #fff;
}

.resource-card-block .application-note .text-card{
    background-color: #ace1fa;
}

.resource-card-block .video .text-card {
    background-color: #59595c;
}

.resource-card-block .capability-overview .text-card{
    background-color: #3D4543;
}

.resource-card-block .webinars .text-card{
    background-color: #006298;
}

.resource-card-block .published-article .text-card{
    background-color: #000;
}

.resource-card-block .engineering-tutorial .text-card{
    background-color: #a8a9ad;
}

.resource-card-block .engineering-tutorial .text-card__subheading,
.resource-card-block .engineering-tutorial .text-card__excerpt {
    color: #4e4e50;
}

.resource-card-block .engineering-tutorial .text-card__cta { color: #000; }

.resource-card-block .webinars *,
.resource-card-block .published-article *,
.resource-card-block .capability-overview *,
.resource-card-block .video * {
    color: #fff !important;
}

.webinars .text-card__cta::before, 
.webinars .text-card__cta::after, 
.published-article .text-card__cta::before,
.published-article .text-card__cta::after,
.capability-overview .text-card__cta::before,
.capability-overview .text-card__cta::after,
.video .text-card__cta::before , 
.video .text-card__cta::after{
    background: #fff !important;
}

.resource-card-block .rg__footer-icon {
    height: 45px;
    width: auto;
}

@media (min-width: 768px) {
    .text-cards {
        padding: 52px 0 44px 0;
    }

    .text-card {
        padding: 20px 15px 21px;
    }

    .text-card__bottom {
        padding-top: 24px;
    }
    
    .text-cards__title h2 {
        font-size: 34px;
    }
    
    .text-cards__headline--flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 0;
    }

    .text-cards__headline--flex  .text-cards__title {
        padding-bottom: 0;
    }
    
    .text-cards__headline--flex h2 {
        margin-bottom: 0;
    }
    
}

@media (min-width: 1200px) {
    .text-cards {
        padding: 105px 0 115px 0;
    }

    .text-card-item {
        margin-top: 24px;
    }

    .text-cards__headline {
        padding-bottom: 6px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .text-cards__title {
        padding-bottom: 0;
        max-width: 880px;
    }

    .text-card {
        padding: 40px 29px;
        height: 410px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .text-card__subheading {
        font-size: 14px;
        padding-bottom: 20px;
    }

    .text-card__title {
        font-size: 22px;
    }

    .text-card__description p {
        font-size: 16px;
        padding-bottom: 15px;
    }

    .text-card__cta {
        font-size: 14px;
    }

    .text-cards__title h2 {
        font-size: 40px;
    }
}