@font-face {
    font-family: "Rsh Brand Sans";
    src: url("/fonts/DM-Sans-Medium.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.brand-lockup {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: inherit;
    direction: rtl;
    line-height: 1;
}

.brand-lockup__mark {
    width: 32px;
    height: 40px;
    max-width: none !important;
    max-height: none !important;
    flex: 0 0 32px;
    object-fit: contain;
    filter: none !important;
}

.brand-lockup__copy {
    display: flex;
    min-width: 0;
    width: 156px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.brand-lockup__arabic {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
}

.brand-lockup__english {
    display: block;
    margin-top: 4px;
    color: currentColor;
    font-family: "Rsh Brand Sans", "DM Sans", Arial, sans-serif;
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
    text-align: center;
    text-rendering: geometricPrecision;
    white-space: nowrap;
}

.brand-lockup--main {
    gap: 10px;
}

.brand-lockup--main .brand-lockup__mark {
    width: 36px;
    height: 44px;
    flex-basis: 36px;
}

.brand-lockup--main .brand-lockup__copy {
    width: 176px;
}

.brand-lockup--main .brand-lockup__english {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 0.22em;
}

.brand-lockup--mobile {
    gap: 8px;
}

.brand-lockup--mobile .brand-lockup__mark {
    width: 30px;
    height: 36px;
    flex-basis: 30px;
}

.brand-lockup--mobile .brand-lockup__copy {
    width: 145px;
}

.brand-lockup--mobile .brand-lockup__english {
    margin-top: 3px;
    font-size: 6.4px;
    letter-spacing: 0.19em;
}

.brand-lockup--compact {
    gap: 7px;
}

.brand-lockup--compact .brand-lockup__mark {
    width: 20px;
    height: 25px;
    flex-basis: 20px;
}

.brand-lockup--compact .brand-lockup__copy {
    width: 100px;
}

.brand-lockup--compact .brand-lockup__english {
    margin-top: 2px;
    font-size: 5px;
    letter-spacing: 0.16em;
}

.brand-lockup--auth {
    width: min(100%, 180px);
    gap: 7px;
    justify-content: flex-start;
    color: #fff;
}

.brand-lockup--auth .brand-lockup__mark {
    width: 26px;
    height: 32px;
    flex-basis: 26px;
}

.brand-lockup--auth .brand-lockup__copy {
    width: 145px;
}

.brand-lockup--auth .brand-lockup__english {
    margin-top: 3px;
    font-size: 6px;
    letter-spacing: 0.18em;
}

.brand-lockup--auth .brand-lockup__arabic,
.brand-lockup--panel .brand-lockup__arabic,
.brand-lockup--watermark .brand-lockup__arabic {
    filter: brightness(0) invert(1) drop-shadow(0 2px 7px rgba(0, 0, 0, 0.16));
}

.brand-lockup--panel {
    gap: 7px;
    color: #fff;
}

.brand-lockup--panel .brand-lockup__mark {
    width: 26px;
    height: 32px;
    flex-basis: 26px;
}

.brand-lockup--panel .brand-lockup__copy {
    width: 132px;
}

.brand-lockup--panel .brand-lockup__english {
    margin-top: 2px;
    font-size: 5.8px;
    letter-spacing: 0.17em;
}

.brand-lockup--watermark {
    width: min(54%, 360px);
    gap: clamp(7px, 1vw, 12px);
    color: #fff;
    opacity: 0.3;
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.38));
}

.brand-lockup--watermark .brand-lockup__mark {
    width: clamp(34px, 6vw, 56px);
    height: clamp(42px, 7.4vw, 68px);
    flex-basis: clamp(34px, 6vw, 56px);
}

.brand-lockup--watermark .brand-lockup__copy {
    width: auto;
    flex: 1 1 auto;
}

.brand-lockup--watermark .brand-lockup__english {
    margin-top: clamp(3px, 0.5vw, 6px);
    font-size: clamp(6px, 1vw, 10px);
}

@media (max-width: 420px) {
    .brand-lockup--panel .brand-lockup__mark {
        width: 22px;
        height: 27px;
        flex-basis: 22px;
    }

    .brand-lockup--panel .brand-lockup__copy {
        width: 118px;
    }

    .brand-lockup--panel .brand-lockup__english {
        font-size: 5.2px;
    }

    .brand-lockup--watermark {
        width: min(62%, 280px);
    }
}
