/* ==========================================================
   DIGBANG — READY PRODUCTS BANNER
========================================================== */

.db-recipes-ready-banner {
    width: calc(100% - 120px);
    max-width: 1320px;
    height: 281px;

    margin: 88px auto 0;

    border-radius: 24px;

    direction: rtl;
    box-sizing: border-box;
}

.db-recipes-ready-banner,
.db-recipes-ready-banner * {
    box-sizing: border-box;
}

.db-recipes-ready-banner__link {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    color: inherit;
    text-decoration: none;

    border-radius: inherit;
}

.db-recipes-ready-banner__image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}

.db-recipes-ready-banner__content {
    position: absolute;

    top: 63px;
    right: 32.74px;
    z-index: 2;

    text-align: right;
}

.db-recipes-ready-banner__title {
    margin: 0;

    color: #FFFFFF;

    font-family: "Vazirmatn", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
}

.db-recipes-ready-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 190.26px;
    height: 35.28px;

    margin-top: 24px;

    color: #FFFFFF;
    background: #FF6600;

    border-radius: 5.23px;

    font-family: "Vazirmatn", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.db-recipes-ready-banner__link:hover
.db-recipes-ready-banner__button,
.db-recipes-ready-banner__link:focus-visible
.db-recipes-ready-banner__button {
    background: #CC5200;
}

.db-recipes-ready-banner__link:focus-visible {
    outline: 3px solid rgba(255, 102, 0, 0.45);
    outline-offset: 4px;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1399px) {

    .db-recipes-ready-banner {
        width: calc(100% - 64px);
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .db-recipes-ready-banner {
        width: calc(100% - 32px);
        max-width: none;

        height: auto;
        aspect-ratio: 1320 / 281;

        margin: 56px auto 0;

        border-radius: 16px;
    }


    .db-recipes-ready-banner__link {
        width: 100%;
        height: 100%;

        border-radius: 16px;
    }


    .db-recipes-ready-banner__image {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;

        border-radius: 16px;
    }


    .db-recipes-ready-banner__content {
        top: 22.4%;
        right: 2.48%;
        bottom: auto;
        left: auto;

        width: 42%;

        text-align: right;
    }


    .db-recipes-ready-banner__title {
        font-size: 9px;
        line-height: 1.5;

        white-space: nowrap;
    }


    .db-recipes-ready-banner__button {
        width: 51px;
        height: 10px;

        margin-top: 6px;

        border-radius: 2px;

        font-size: 5px;
        line-height: 1;
    }

}