/* ==========================================================
   DIGBANG — ABOUT HERO
========================================================== */

.db-about-hero {
    position: relative;

    width: calc(100% - 120px);
    max-width: 1320px;
    height: 591px;

    margin: 24px auto 0;

    overflow: hidden;

    border-radius: 24px;

    direction: rtl;
    box-sizing: border-box;
}


.db-about-hero__image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}


/* ==========================================================
   SUBTITLE
========================================================== */

.db-about-hero__subtitle {
    position: absolute;

    top: 297px;
    right: 72px;
    z-index: 2;

    width: 430px;

    margin: 0;

    color: #665A51;

    font-family: "Vazirmatn", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;

    text-align: right;
}


.db-about-hero__subtitle-desktop {
    display: block;
}


.db-about-hero__subtitle-mobile {
    display: none;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1399px) {

    .db-about-hero {
        width: calc(100% - 64px);
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .db-about-hero {
        width: calc(100% - 32px);
        max-width: none;

        height: auto;
        aspect-ratio: 1320 / 591;

        margin: 20px auto 0;

        border-radius: 16px;
    }


    .db-about-hero__image {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;

        border-radius: inherit;
    }


    .db-about-hero__subtitle {
        top: 50%;
        right: 5.45%;
        bottom: auto;
        left: auto;

        width: 38%;

        margin: 0;

        font-size: 10px;
        line-height: 1.5;

        text-align: right;
    }


    .db-about-hero__subtitle-desktop {
        display: none;
    }


    .db-about-hero__subtitle-mobile {
        display: block;
    }

}