/* common styles */
.offer-review__left-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.offer-review__top-rated {
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    line-height: 120%;
    position: absolute;
    left: -6px;
    padding: 4.6px 9px 3.4px 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #060606;
    border-radius: 1px 1px 12px 1px;
    background: #FFCB3F;
}

.offer-review__title {
    font-family: var(--bm-font-family);
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 125%;
    margin-bottom: 8px;
    color: #1B1D20;
}

.offer-review__description {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 150%;
    padding-bottom: 12px;
    color: #5C6570;
}

.offer-review__description p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0;
    color: #5C6570;
}

.offer-review__brand-logo {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-direction: column;
    margin-bottom: 5px;
}

.offer-review__star-rating-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    margin-right: 8px;
    text-align: right;
    color: #1B1D20;
}

.offer-review__star-rating img {
    width: 82.761px;
    height: 13.861px;
}

.offer-review__pricing {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 150%;
    text-align: center;
    color: #5C6570;
}

.offer-review__pricing span {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    color: #1B1D20;
}

.offer-review__key-features li {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 150%;
    margin-bottom: 5px;
    padding: 0 0 0 22px !important;
    list-style-type: none;
    color: #5C6570;
    background: url('data:image/svg+xml,<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="tick" clip-path="url(%23clip0_21970_22792)"><path id="Vector" d="M10.7492 0.704102L5.25078 7.95332L2 4.70488L0.5 6.20488L5.49922 11.2041L12.5 2.2041L10.7492 0.704102Z" fill="%2316A34A"/></g><defs><clipPath id="clip0_21970_22792"><rect width="12" height="12" fill="white" transform="translate(0.5 0.000976562)"/></clipPath></defs></svg>') no-repeat left center;
}

.offer-review__key-features li:last-child {
    margin-bottom: 0;
}

.offer-review__key-features ul {
    margin-bottom: 0 !important;
}

.offer-review__title:empty,
.offer-review__description:empty,
.offer-review__pricing:empty {
    display: none;
}

.offer-review__cta-link {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    display: flex;
    align-items: center;
    flex: 1 0 0;
    justify-content: center;
    width: 100%;
    height: 44px;
    max-height: 44px;
    margin-top: 8px;
    padding: 10.5px 16px;
    text-align: center;
    color: #FFF;
    border-radius: 2px;
    background: #F35911;
}

.offer-review__cta-link:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #D54B0B;
}

.offer-review__cta-link a:hover {
    text-decoration: none;
    color: #FFF;
}

/* offer review */
.offer-review__wrapper-grid {
    display: grid;
    margin-top: 24px;
    margin-bottom: 40px;
    padding: 5px 21px 21px 21px;
    border: 3px solid #FCCD36;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 1px 3px 0 #0000000A, 0 8px 24px 0 #00000014;
    grid-template-columns: auto 243px;
    grid-template-rows: auto;
    grid-column-gap: 24px;
    grid-template-areas:
    "description logo"
    "description cta"
    "description .";
}

.offer-review__right-column-grid {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-direction: column;
    margin-top: 8px;
    grid-area: logo;
}

.offer-review__right-column-grid .offer-review__star-rating-wrapper {
    display: flex;
    margin-top: 8px;
}

.offer-review__left-column-grid {
    margin-top: 8px;
    grid-area: description;
}

.offer-review__cta-wrapper-grid {
    margin-top: 12px;
    grid-area: cta;
}

.offer-review__wrapper-grid .offer-review__brand-logo img {
    width: 135px;
    height: 65px;
    object-fit: contain;
}

.offer-review__wrapper-grid .offer-review__cta-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.offer-review__wrapper-grid.highlight .offer-review__left-column {
    margin-top: 0;
    padding-top: 39px;
}

/* offer review sidebar */

.offer-review__wrapper.offer-review__on-sidebar.highlight .offer-review__left-column {
    padding-top: 39px;
}

.offer-review__wrapper.offer-review__on-sidebar {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    margin-bottom: 40px;
    padding: 5px 13px 13px 13px;
    border: 3px solid #FCCD36;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 1px 3px 0 #0000000A, 0 8px 24px 0 #00000014;
    gap: 16px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__left-column {
    display: flex;
    align-items: unset;
    margin: 0;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__description {
    padding-bottom: 8px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__right-column {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-direction: row;
    justify-content: space-between;
    min-width: auto;
    margin-top: 11px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__title {
    font-size: 18px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__star-rating img {
    width: 82px;
    height: 15px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__star-rating-text {
    font-size: 14px;
    padding-top: 2px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__pricing {
    margin-top: 12px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__cta-link {
    display: flex;
    align-items: center;
    flex: 1 0 0;
    justify-content: center;
    height: 44px;
    padding: 10.5px 16px;
}

.offer-review__wrapper.highlight.offer-review__on-sidebar .offer-review__left-column {
    padding-top: 0;
}

.offer-review__wrapper.highlight.offer-review__on-sidebar .offer-review__right-column {
    justify-content: space-between;
    margin-top: 0;
    padding-top: 31px;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__key-features li {
    margin-bottom: 4px;
    padding: 0 0 0 22px !important;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__right-column .offer-review__star-rating-wrapper {
    display: flex;
    flex-direction: row;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__brand-logo {
    margin-bottom: 0;
}

.offer-review__wrapper.offer-review__on-sidebar .offer-review__brand-logo img {
    width: 104.167px;
    height: 50px;
    object-fit: contain;
}

@media screen and (min-width: 992px) {
    .offer-review__wrapper.offer-review__on-sidebar .offer-review__top-rated {
        left: 6px;
    }
}

@media screen and (max-width: 991px) {
    /* offer review */
    .offer-review__wrapper-grid {
        padding: 5px 13px 13px 13px;
        grid-template-columns: 100%;
        grid-template-areas:
        "logo"
        "description"
        "cta";
    }

    .offer-review__wrapper-grid .offer-review__brand-logo img {
        width: 104px;
        height: 50px;
    }

    .offer-review__right-column-grid {
        flex-direction: row;
        justify-content: space-between;
        min-width: fit-content;
        margin: 13px 0 16px;
    }

    .offer-review__wrapper-grid.highlight .offer-review__right-column-grid {
        justify-content: space-between;
        margin: 0;
        padding-top: 36px;
        padding-bottom: 16px;
    }

    .offer-review__wrapper-grid .offer-review__key-features li {
        margin-bottom: 4px;
        padding: 0 0 0 22px !important;
    }

    .offer-review__wrapper-grid.highlight .offer-review__left-column {
        padding: 0;
    }

    .offer-review__cta-wrapper-grid .offer-review__pricing {
        margin-top: 8px;
    }

    .offer-review__right-column-grid .offer-review__star-rating-wrapper {
        align-items: center;
        margin-top: 0;
        padding-left: 24px;
    }

    .offer-review__left-column-grid {
        margin-top: 0;
    }

    /* common styles */
    .offer-review__right-column {
        align-items: flex-start;
        flex-direction: row;
        margin: 0 0 16px;
    }

    .offer-review__brand-logo {
        align-items: flex-start;
        margin-bottom: 0;
        margin-left: 0;
    }

    .offer-review__star-rating-wrapper {
        margin-left: 0;
    }

    .offer-review__description {
        font-size: 16px;
        padding-bottom: 8px;
    }

    .offer-review__star-rating-text {
        font-size: 14px;
        padding-top: 2px;
    }

    .offer-review__title {
        font-size: 18px;
    }

    /* offer review sidebar */
    .offer-review__wrapper.offer-review__on-sidebar .offer-review__left-column {
        display: flex;
        align-items: unset;
        margin: 0;
    }

    .offer-review__wrapper.offer-review__on-sidebar .offer-review__key-features li {
        padding: 0 0 4px 22px !important;
    }

    .offer-review__wrapper.offer-review__on-sidebar .offer-review__right-column .offer-review__star-rating-wrapper {
        margin-left: 0;
    }

    .offer-review__wrapper.offer-review__on-sidebar.highlight .offer-review__left-column {
        padding-top: 0;
    }

    .offer-review__wrapper.offer-review__on-sidebar.highlight .offer-review__right-column {
        justify-content: space-between;
        margin: 0;
        padding-top: 36px;
    }
}
