.osb-benefits {
    position: relative;
    width: 100%;
    padding: var(--osb-benefits-pad-top-d, 92rem) 0 var(--osb-benefits-pad-bottom-d, 85rem);
    background-color: var(--osb-benefits-bg-color, #fff);
    background-image: var(--osb-benefits-bg-desktop, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.osb-benefits__inner {
    width: 1588rem;
    max-width: calc(100% - 40rem);
    margin: 0 auto;
}

.osb-benefits__title {
    width: 1216rem;
    max-width: 100%;
    margin: 0 auto;
    color: #000;
    font-size: 56rem;
    line-height: normal;
    font-weight: 700;
    text-align: center;
}

.osb-benefits__subtitle {
    margin-top: 31rem;
    color: #555;
    font-size: 28rem;
    line-height: 1.4;
    text-align: center;
}

.osb-benefits__layout {
    display: grid;
    grid-template-columns: 765rem 762rem;
    justify-content: space-between;
    align-items: start;
    gap: 60rem;
    margin-top: 48rem;
}

.osb-benefits__deal {
    position: relative;
    min-height: 595rem;
}

.osb-benefits__deal-image {
    width: 765rem;
    height: 483rem;
    overflow: hidden;
    border-radius: 20rem;
}

.osb-benefits__deal-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osb-benefits__deal-card {
    position: absolute;
    left: 50%;
    top: 271rem;
    width: 466rem;
    padding: 30rem 20rem 20rem;
    border-radius: 15rem;
    background: #fff;
    box-shadow: 0 20rem 20rem rgba(0,0,0,.10);
    transform: translateX(-50%);
}

.osb-benefits__deal-title {
    margin: 0;
    padding-bottom: 20rem;
    border-bottom: 1px solid #e6e6e6;
    color: #333;
    font-size: 28rem;
    line-height: 25rem;
    font-weight: 800;
}

.osb-benefits__deal-prices {
    display: flex;
    flex-direction: column;
    gap: 20rem;
    padding: 20rem 0;
    border-bottom: 1px solid #e6e6e6;
}

.osb-benefits__deal-prices > div {
    display: flex;
    align-items: flex-start;
    gap: 20rem;
    color: #555;
    font-size: 20rem;
    line-height: 25rem;
}

.osb-benefits__deal-prices span {
    flex: 1 1 auto;
    font-weight: 700;
}

.osb-benefits__deal-prices strong {
    flex: 0 0 auto;
    color: #333;
    font-weight: 800;
    white-space: nowrap;
}

.osb-benefits__deal-saving {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62rem;
    margin-top: 20rem;
    padding: 10rem 20rem;
    border: 1px solid #ffeacc;
    border-radius: 10rem;
    background: #fff9f0;
    font-weight: 800;
}

.osb-benefits__deal-saving span {
    color: #333;
    font-size: 24rem;
    line-height: 25rem;
}

.osb-benefits__deal-saving strong {
    color: #dbad68;
    font-size: 30rem;
    line-height: 25rem;
}

.osb-benefits__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14rem 28rem;
}

.osb-benefits-card {
    display: flex;
    min-height: 279rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20rem;
    padding: 25rem 20rem;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 15rem;
    background: #fff;
    box-shadow: 0 20rem 20rem rgba(0,0,0,.05);
    text-align: center;
}

.osb-benefits-card__icon {
    width: 84rem;
    height: 84rem;
    flex: 0 0 84rem;
    overflow: hidden;
    border-radius: 50%;
    background: #f5f7fc;
}

.osb-benefits-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.osb-benefits-card__title {
    margin: 0;
    color: #333;
    font-size: 24rem;
    line-height: 25rem;
    font-weight: 800;
}

.osb-benefits-card__text {
    width: 264rem;
    max-width: 100%;
    color: #333;
    font-size: 20rem;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .osb-benefits {
        padding: var(--osb-benefits-pad-top-m, 58rem) 20rem var(--osb-benefits-pad-bottom-m, 58rem);
        background-image: var(--osb-benefits-bg-mobile, var(--osb-benefits-bg-desktop, none));
    }

    .osb-benefits__inner {
        width: 100%;
        max-width: none;
    }

    .osb-benefits__title {
        font-size: 32rem;
        line-height: 1.12;
    }

    .osb-benefits__subtitle {
        margin-top: 22rem;
        color: #545454;
        font-size: 17rem;
        line-height: 1.35;
    }

    .osb-benefits__layout {
        display: flex;
        flex-direction: column;
        gap: 22rem;
        margin-top: 22rem;
    }

    .osb-benefits__deal {
        width: 100%;
        min-height: 0;
    }

    .osb-benefits__deal-image {
        width: 100%;
        height: 230rem;
        border-radius: 18rem;
    }

    .osb-benefits__deal-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-top: 0;
        padding: 16rem;
        border-radius: 14rem;
        box-shadow: 0 12rem 24rem rgba(0,0,0,.08);
        transform: none;
    }

    .osb-benefits__deal-title {
        padding-bottom: 12rem;
        border-bottom: 0;
        font-size: 22rem;
        line-height: 1.25;
    }

    .osb-benefits__deal-prices {
        gap: 0;
        padding: 0 0 12rem;
        border-bottom: 0;
    }

    .osb-benefits__deal-prices > div {
        gap: 8rem;
        font-size: 14rem;
        line-height: 1.25;
    }

    .osb-benefits__deal-saving {
        min-height: 0;
        margin-top: 0;
        padding: 13rem 14rem;
        border: 0;
    }

    .osb-benefits__deal-saving span {
        font-size: 16rem;
        line-height: 1.25;
    }

    .osb-benefits__deal-saving strong {
        font-size: 20rem;
        line-height: 1.25;
    }

    .osb-benefits__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6rem 13rem;
        width: 100%;
    }

    .osb-benefits-card {
        min-height: 150rem;
        gap: 9rem;
        padding: 11rem 9rem;
        border-radius: 7rem;
        box-shadow: 0 9rem 9rem rgba(0,0,0,.05);
    }

    .osb-benefits-card__icon {
        width: 39rem;
        height: 39rem;
        flex-basis: 39rem;
    }

    .osb-benefits-card__title {
        font-size: 14rem;
        line-height: 1;
    }

    .osb-benefits-card__text {
        width: 121rem;
        font-size: 12rem;
        line-height: 1.2;
    }
}

/* 2.3.0: improve readability of the compact benefit cards on mobile. */
@media (max-width: 767px) {
    .osb-benefits-card {
        min-height: 164rem;
        gap: 10rem;
        padding: 12rem 10rem;
    }

    .osb-benefits-card__title {
        font-size: 16rem;
        line-height: 1.15;
    }

    .osb-benefits-card__text {
        width: 138rem;
        font-size: 14rem;
        line-height: 1.28;
    }

    .osb-benefits__deal-prices > div {
        font-size: 15rem;
        line-height: 1.3;
    }
}

@media (min-width: 768px) {
    .osb-benefits-card__title {
        font-size: 26rem;
        line-height: 1.15;
    }

    .osb-benefits-card__text {
        font-size: 22rem;
        line-height: 1.28;
    }
}
