@use '../utils' as *;

/*=============================
	09. Section Title
===============================*/
.section__title {
    & .sub-title {
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 30px;
        margin-top: -0.1em;
        line-height: 1;
        color: var(--tg-theme-primary);
        font-family: var(--tg-heading-font-family);
        display: block;
        @media #{$md} {
            margin-top: -0.07em;
        }
    }
    & .title {
        margin-bottom: 0;
        font-weight: 700;
        font-size: 3rem;
        line-height: 1.20833em;
        margin-top: -0.2em;
        @media #{$ml} {
            font-size: 2.625rem;
        }
        @media #{$xs} {
            font-size: 2rem;
        }
        @media #{$sm} {
            font-size: 2.375rem;
        }
        & br {
            @media #{$md} {
                display: none;
            }
        }
        &.title2 {
            font-family: var(--tg-heading2-font-family);
            font-weight: 700;
        }
    }
    & .shadow-title {
        font-weight: 700;
        font-size: 180px;
        font-family: var(--tg-heading-font-family);
        margin-bottom: 0;
        position: absolute;
        right: 0;
        top: 50%;
        line-height: 0.85;
        z-index: -1;
        opacity: 0.08;
        transform: translate(0, -50%);
        @media #{$lg} {
            font-size: 100px;
        }    
        @media #{$vxs} {
            font-size: 80px;
        }
    }
    & p {
        margin-bottom: 0;
        margin-top: 10px;
        & br {
            @media #{$xs} {
                display: none;
            }
        }
    }
    & .sec-text {
        font-size: 18px;
        margin-top: 28px;
        opacity: 0.8;
        @media #{$xs} {
            font-size: 16px;
        }
    }
    & .sec-text2 {
        font-size: 20px;
        font-family: var(--tg-heading2-font-family);
        margin-top: 28px;
        line-height: 1.5em;
        letter-spacing: -0.015em;
        @media #{$xs} {
            font-size: 16px;
        }
    }
    & .sec-text3 {
        font-size: 20px;
        margin-top: 28px;
        line-height: 1.5em;
        letter-spacing: -0.015em;
        @media #{$xs} {
            font-size: 16px;
        }
    }
    &-two {
        border-top: 1px solid var(--tg-heading-color);
        border-bottom: 1px solid var(--tg-heading-color);
        padding: 40px 0 31px;
        @media (min-width: 1920px) {
            .title {
                margin-left: -20px;
            }
        }
    }
    &-three {
        position: relative;
        &:after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 44px;
            height: 1px;
            background: var(--tg-color-white-default);
        }
    }
    &.white-title {
        & .sub-title {
            color: var(--tg-color-gray-5);
            & svg {
                color: var(--tg-color-light-blue);
            }
        }
        & .title {
            color: var(--tg-color-white-default);
        }
        & p {
            color: var(--tg-color-gray-5);
        }
    }
    &.mb-40 {
        @media #{$md} {
            margin-bottom: 30px;
        }
    }
}

.page-title {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.03em;
    @media #{$xs} {
        font-size: 24px;
    }
}