:root {
    --main-red: #d01111;
    --main-green: #B4C1A7;
    --border-color: #dadcdf;
}

.loan-offers-section-row-grid-2 {
    column-gap: 2%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
}

.loan-offers-section-row-grid-3 {
    column-gap: 2%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32%, 1fr));
}

.loan-offers-section-row-grid-3 .loan-offers-last-block {
    grid-template-columns: 48% 48%;
}

.loan-offers-section-row-grid-1 {
    column-gap: 2%;
}

@media screen and (max-width: 768px) {
    .loan-offers-section-row-grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    .loan-offers-section-row-grid-2 .loan-offers-item:not(:last-child),
    .loan-offers-section-row-grid-3 .loan-offers-item:not(:last-child) {
        margin-bottom: 30px;
    }

    .loan-offers-section-row-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .loan-offers-section-row-grid-1 .loan-offers-content {
        display: flex !important;
        flex-direction: unset !important;
        flex-wrap: wrap !important;
    }

    .loan-offers-section-row-grid-1 .loan-offers-last-block {
        flex-direction: unset !important;
        column-gap: 2%;
        display: grid !important;
        grid-template-columns: 38% 58%;
        margin-top: 20px !important;
    }
}

.loan-offers-section-row-grid-1 .loan-offers-content {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: unset;
    width: 100%;
}

.loan-offers-section-row-grid-1 .loan-offers-last-block {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.loan-offers-section-row-grid-1 .loan-offers-button {
    margin-top: 20px;
}

.loan-offers-section-row-grid-1 .loan-offers-block-checklist-wrap {
    margin-top: 0;
}

.loan-offers-section-row {
    padding-bottom: 30px;
}

.loan-offers-section-row-shortcode {
    display: flex;
    width: 100%;
}

.loan-offers-item {
    border: 2px solid #CCCCCC;
    border-radius: 10px;
    position: relative;
    margin-top: 30px;
    box-shadow: 10px 5px 5px #CCCCCC;
}

.loan-offers-content {
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex: 1;
    height: 100%;
}

.loan-offers-block {
    width: 100%;
}

.loan-offers-tag {
    position: absolute;
    left: 16px;
    bottom: 100.5%;
    padding: 4px 12px;
    color: #fff;
    font-size: 14px;
    border-radius: 4px 4px 0 0;
    background-color: #dadcdf;
}

.loan-offers-tag::before,
.loan-offers-tag::after {
    content: '';
    position: absolute;
    left: 100%;
    bottom: 0;
    display: block;
    width: 10px;
    height: 10px;
    background-color: inherit;
}

.loan-offers-tag::after {
    background-color: #fff;
    border-bottom-left-radius: 10px;
}

.loan-offers-star {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../img/star.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;
}

.loan-offers-star:not(:last-child) {
    margin-right: 5px;
}

.loan-offers-star.checked {
    background-image: url('../img/star-checked.svg');
}

.loan-offers-star.half-checked {
    background-image: url('../img/star-half-checked.svg');
    background-position: center center;
}

.loan-offers-button {
    padding: 15px 24px 15px 24px;
    display: block;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    line-height: 19px;
    text-decoration: none;
    outline: none;
    background-color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.loan-offers-last-block {
    margin-top: auto;
    column-gap: 2%;
    display: grid;
    grid-template-columns: 38% 58%;
}

.loan-offers-read-more {
    color: #000;
}

.loan-offers-block ul.loan-offers-checklist li {
    background-image: url('../img/check.svg');
    background-size: 16px 16px;
    padding: 0 0 0 24px;
    font-size: 16px;
    background-repeat: no-repeat;
    background-position-y: 50%;
    margin-left: 0;
}

.loan-offers-block ul.loan-offers-checklist li:not(:last-child) {
    margin-bottom: 10px;
}

.loan-offers-checklist {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.loan-offers-info-title {
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 1px;
    text-align: center;
    display: none;
}

.loan-offers-info {
    padding-top: 0;
    font-size: 20px;
    line-height: 21px;
    text-align: center;
    font-weight: bold;
}

.loan-offers-block-content {
    margin-top: 20px;
}

.loan-offers-block-thumbnail {
    width: auto;
}

.loan-offers-block-thumbnail > img {
    margin: 0 auto;
    height: 60px;
    max-height: 60px;
    object-fit: contain;
    width: 300px;
}

.loan-offers-block-checklist-wrap,
.loan-offers-block-amount-term {
    margin-top: 20px;
}

.loan-offers-block-checklist-wrap,
.loan-offers-hint-block {
    margin-bottom: 20px;
}

