.cards-icon {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cards-icon .icon-dots{
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}


.card-icon--link {
    text-decoration: none;
}

.card-icon {
    display: block;
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.card-icon-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
}

.card-icon__icon {
    font-size: 86px;
    color: #000000;
    line-height: 0.9em;
    width: 86px;
}

.card-icon__heading {
    width: calc(100% - 86px);
    padding-left: 22px;
    font-size: 18px;
    font-weight: 400;
    color: #D22429;
    line-height: 1.4em;
    font-family: 'Rubik', sans-serif;
}

.card-icon__description {
    padding-bottom: 15px;
}

.card-icon__description p {
    padding-bottom: 0;
    color: #000000;
}

.card-icon .btn-read-more {
    border-bottom: none;
}

.card-icon .btn-read-more:before {
    transform: rotate(0);
}

.card-icon__icon img {
    margin: 0 auto;
}

.card-without-link {
    pointer-events: none;
}

.card-icon-button .btn-read-more::before {
    content: none;
}

.card-icon-button .btn-read-more:after {
    content: "\e913";
    font-family: 'icomoon';
    font-size: 14px;
    position: relative;
    right: 0;
    top: 0;
    transform: rotate(90deg);
    line-height: 1em;
    padding-left: 6px;
    transition: .5s;
}

.card-icon.card-icon--link.no-link-attached .card-icon__heading:before {
    content: none;
}

.card-icon--link:hover .btn-read-more:after {
    right: -4px;
}

@media (min-width: 768px) {
    .card-icon {
        padding: 20px 12px;
        margin-top: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .card-icon-top {
        padding: 0;
        justify-content: center;
        height: 100%;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: baseline;
    }
    
    .card-icon__icon {
        font-size: 133px;
        line-height: 1em;
        width: auto;
        padding-bottom: 10px;
    }

    .card-icon__heading {
        width: 100%;
        padding-left: 0;
        font-size: 20px;
        line-height: 1.25em;
        padding-bottom: 15px;
    }

    .card-icon-item {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .cards-icon--without-text .card-icon__heading {
        padding-bottom: 0;
        text-transform: uppercase;
        position: relative;
        padding-right: 25px;
        display: inline-block;
    }

    .cards-icon--without-text .card-icon.card-icon--link.no-link-attached .card-icon__heading {
        padding-right: 0;
    }

    .cards-icon--without-text .card-icon__heading:before {
        content: "\e90b";
        font-family: 'icomoon';
        font-size: 14px;
        position: absolute;
        right: 11px;
        top: 15px;
        transform: rotate(180deg);
        line-height: 1em;
    }

    .cards-icon--without-text .row {
        margin-right: -20px;
        margin-left: -20px;
    }

    .cards-icon--without-text .row > * {
        padding-right: 20px;
        padding-left: 20px;
    }

    .cards-icon--without-text .card-icon__icon {
        font-size: 110px;
    }

    .cards-icon--without-text .card-icon {
        position: relative;
    }

    .cards-icon--without-text .card-icon::before {
        content: '';
        position: absolute;
        top: -11px;
        right: -10px;
        height: 10px;
        width: 147px;
        background-color: #CECECE;
        z-index: 3;
        clip-path: polygon(3% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .cards-icon--without-text .card-icon::after {
        content: '';
        position: absolute;
        top: -11px;
        right: -10px;
        height: calc(100% + 16px);
        width: 9px;
        background-color: #CECECE;
        z-index: 4;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);
    }

    .cards-icon--without-text .card-icon-item {
        margin-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .card-icon {
        padding: 40px 25px;
    }

    .card-icon-item {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .cards-icon--with-text .row {
        margin-right: -26px;
        margin-left: -26px;
    }

    .cards-icon--with-text .row > * {
        padding-right: 26px;
        padding-left: 26px;
    }

    .card-icon--link:hover {
        box-shadow: 0 0 15px rgba(210, 36, 41, 0.25);
    }

    .card-icon--link:hover .btn-read-more {
        border-bottom: 2px solid #D22429;
        color: #D22429;
    }

    .cards-icon--without-text .card-icon__heading {
        /* padding-bottom: 0;
        text-transform: uppercase;
        position: relative;
        padding-right: 50px;
        padding-left: 25px;
        display: inline-block; */
        padding-bottom: 0;
        text-transform: uppercase;
        position: relative;
        padding-right: 50px;
        padding-left: 25px;
        display: inline-block;
        height: auto;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .cards-icon--without-text .card-icon__heading:before {
        right: 40px;
        /* top: 14px; */
        top: 6px;
    }

    .cards-icon--without-text .card-icon.card-icon--link.no-link-attached .card-icon__heading {
        padding-right: 25px;
    }

    .cards-icon--without-text .row {
        margin-right: -27px;
        margin-left: -27px;
    }

    .cards-icon--without-text .row > * {
        padding-right: 27px;
        padding-left: 27px;
    }

    .cards-icon--without-text .card-icon__icon {
        font-size: 133px;
        padding-bottom: 17px;
    }

    .cards-icon--without-text .card-icon::before {
        top: -11px;
        right: -10px;
        height: 12px;
        width: 200px;
        clip-path: polygon(3% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .cards-icon--without-text .card-icon::after {
        top: -11px;
        right: -10px;
        height: calc(100% + 21px);
        width: 12px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
    }

    .cards-icon--without-text .card-icon-item {
        margin-bottom: 25px;
    }

    .cards-icon--without-text .card-icon--link:hover::before,
    .cards-icon--without-text .card-icon--link:hover::after {
        background: #D22429;
        background-color: #D22429;
    }
}














































