.card-item.--pos-1 {
    transform: scale(1.1);
    box-shadow: 0 0 14px 5px #607d8b5e;
    
}
            
.card-item {
    box-shadow: 0 0 10px #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    position: relative;
    margin-bottom: 2rem;
    text-decoration: none;
}
.card-item-image-wrapper img {
    width: 180px;
    max-width: 100%;
}
.card-item-ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    left: -10px;
}
.card-item-ribbon span {
    position: absolute;
    display: block;
    width: 250px;
    padding: 10px 5px 10px 0px;
    background-color: #517d7b;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font: 700 12px / 1 Lato, Arial, sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
    right: -27px;
    top: 33px;
    transform: rotate(-45deg);
}
.card-item-ribbon::before, .card-item-ribbon::after {
    position: absolute;
    z-index: 1;
    content: '';
    display: block;
    border: 5px solid #17475E;
}
.card-item-ribbon::before {
    top: 0;
    right: 25px;
}
.card-item-ribbon::after {
    bottom: 25px;
    left: 0;
}
.card-item-ribbon::before, .card-item-ribbon::after {
    border-top-color: transparent;
    border-left-color: transparent;
}
.card-item .card-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration:none;
    flex-grow:1;
}
.card-item-content {
    padding: 0 3rem;
    font-size: 13px;
    font-weight:400;
    color: black;
    flex-grow: 1;
}
.card-item-site span {
    color: #03A9F4;
    text-decoration: none;
    font-size: 12px;
}
.card-item-actions {
    display: flex;
    align-items: center;
    min-width: 164px;
    justify-content: center;
    flex-direction: column;
}

.card-item-actions > a {
    width: 100%;
    cursor: pointer;
    background: #517d7b;
    color: #fff;
    text-decoration: none;
    padding: .5rem;
    display: block;
    max-width: 290px;
    text-align: center;
    transition: .3s;
    font-weight: 500;
    font-size:14px;
    font-family: Poppins, Sans-serif;
    margin-bottom: 0.5rem;
    display: flex;
    align-content: center;
    min-width: 170px;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.card-item-btn svg {
    transition: all 0.3s ease;
}
.card-item-btn:hover svg {
    transform: translateX(5px);
}
.card-item-actions > a:hover {
    color: #fff;
    background: #3e6563;
}
.card-item-content ul{
    padding:0;
    margin:0;
}
.card-item-num {
    position: absolute;
    top: 0;
    left: 0;
    background: #517d7b;
    color: #ffffff;
    padding: 0.5rem;
    font-size:14px;
}
.card-item-site {
    text-align: center;
}
@media only screen and (min-width:1024px) {
    .--one_result .card-item {
        transform: scale(1.2);
    }
    .--one_result .schemathics-form-step[data-page-type="cards"] .schemathics-form-step-title {
        margin-bottom: 3rem;
        font-size: 32px;
    }
}
@media only screen and (max-width:768px) {
    .card-item {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        max-width: calc(100% - 2rem);
    }
    a.card-item-wrapper {
        display: flex;
        flex-direction: column;
    }
    .card-item-image-wrapper img {
        width: initial;
        max-width: calc(50% - 1rem);
        margin: auto;
        display: block;
    }
    .card-item-content {
        padding: 1rem;
    }
    .card-item-actions {
        width: 100%;
        text-align: center;
    }
    .card-item-actions > .card-item-btn {
        display: flex;
        justify-content: center;
    }
    .card-item {
        margin: auto;
        margin-bottom: 2rem;
    }
    .card-item.--pos-1 {
        transform: none;
    }
    
      .card-item .card-item-wrapper {
        flex-direction: column;  
    }
    .--one_result .schemathics-form-step[data-page-type="cards"] .schemathics-form-step-title {
        font-size: 24px;
        margin-bottom: 2rem;
    }
}
