@use '../utils' as *;

/*=========================
   07. Breadcrumb
===========================*/
.breadcrumb {
    margin-bottom: 0;
    align-items: center;
    line-height: 1.3;
    gap: 5px;
    background: var(--tg-color-white-default);
    display: inline-flex;
    flex-wrap: wrap;
    margin-left: auto;
    border-radius: 25px 0 25px 0;
    padding: 15px 35px;
    & > * {
        font-size: 16px;
        font-family: var(--tg-body-font-family);
        color: var(--tg-theme-primary);
        text-transform: capitalize;
        font-weight: 700;
        & a {
            color: var(--tg-body-color);
            &:hover {
                color: var(--tg-theme-primary);
            }
        }
    }
    &-wrap {
        text-align: end;
        @media #{$lg} {
            text-align: center;
            margin-top: 40px;
        }
    }
    & .breadcrumb-separator {
        line-height: 0;
        font-size: 16px;
        margin-top: 1px;
        font-weight: 400;
        margin-top: 2px;
        color: var(--tg-theme-primary);
    }
    @media #{$lg} {
        justify-content: center;
    }
    &__area {
        background: var(--tg-heading-color);
        background-size: cover;
        position: relative;
        z-index: 1;
        border-radius: 0 0 150px 0;
        padding: 160px 0;
        @media #{$lg} {
            padding: 130px 0;
            text-align: center;
        }
        @media #{$xs} {
            border-radius: 0 0 100px 0;
        }
        &:after {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--tg-color-gray-3);
            opacity: 0.86;
            z-index: -3;
        }
    }
    
    &__bg-shape {
        position: absolute;
        width: 279.91px;
        height: 436.94px;
        background: linear-gradient(174.89deg, rgba(0, 0, 0, 0) 20.65%, var(--tg-theme-primary) 95.9%);
        transform: rotate(15deg);
        bottom: -150px;
        left: 135px;
        z-index: -1;
        &:before {
            content: '';
            position: absolute;
            width: 133.18px;
            height: 436.94px;
            background: linear-gradient(174.89deg, rgba(6, 122, 122, 0) 6.98%, var(--tg-theme-primary) 95.9%);
            z-index: -2;
            bottom: -66px;
            left: -100px;
        }
        @media #{$xs} {
            width: 150px;
            left: 80px;
            bottom: -200px;
            &:before {
                width: 50px;
                left: -50px;
            }
        }
    }
    &__content {
        & .title {
            font-size: 60px;
            font-weight: 700;
            line-height: 0.85em;
            color: var(--tg-color-white-default);
            position: relative;
            display: block;
            margin-bottom: -0.1em;
            @media #{$lg} {
                font-size: 50px;
            }
            @media #{$xs} {
                font-size: 40px;
            }
            @media #{$sm} {
                font-size: 48px;
            }
        }
    }
    &__img {
        text-align: right;
        .thumb  {
            position: relative;
            display: inline-block;
            z-index: 1;
            &:after {
                content: '';
                position: absolute;
                z-index: -1;
                left: 50%;
                transform: translate(-50%, 0);
                top: 28px;
                border-radius: 50%;
                width: 437px;
                height: 437px;
                background: linear-gradient(205.39deg, var(--tg-theme-primary) 12.33%, #030201 87.34%);
                opacity: 0.4;
            }
        }
        @media #{$lg} {
            display: none;
        }
    }
}