/* ==========================================================
   DIGBANG SINGLE RECIPE — SECOND IMAGE
========================================================== */

.db-recipe-second-image {
    display: grid;
    grid-template-columns: 336px 896px;
    column-gap: 88px;

    width: calc(100% - 40px);
    max-width: 1320px;

    margin: 56px auto 0;

    direction: ltr;
}

.db-recipe-second-image__container {
    grid-column: 2;

    width: 896px;
    min-width: 0;

    direction: rtl;
}

.db-recipe-second-image__figure {
    width: 896px;
    height: 302px;
    margin: 0;

    overflow: hidden;
    border-radius: 24px;
}

.db-recipe-second-image__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =======================
   TABLET
======================= */

@media (max-width: 1399px) {

    .db-recipe-second-image {
        grid-template-columns:
            minmax(240px, 336px)
            minmax(0, 1fr);

        column-gap: 40px;
    }

    .db-recipe-second-image__container,
    .db-recipe-second-image__figure {
        width: 100%;
    }
}

/* =======================
   MOBILE
======================= */

@media (max-width: 767px) {

    .db-recipe-second-image {
        display: block;

        width: calc(100% - 32px);
        margin-top: 40px;

        direction: rtl;
    }

    .db-recipe-second-image__container {
        width: 100%;
    }

    .db-recipe-second-image__figure {
        width: 100%;
        height: auto;
        aspect-ratio: 896 / 302;

        border-radius: 16px;
    }
}