@import '~@style/_config/app-bootstrap-bulma'
@import '~@style/page-header/page-header'

.page-header_media
    position relative
    padding 0 1.5rem
    background $color-dark
    +until($tablet)
        display flex
        justify-content space-between
        align-items stretch
        flex-direction column
        &.page-header_media_promo .container
            width 100%
    +tablet()
        min-height 480px
    &:before
        position absolute
        display block
        content ''
        left 0
        top 0
        max-width 400px
        width 100%
        height 100%
        bg-pattern-cross('dark')

    .page-header__logo,
    .page-header__menu
        position absolute
        z-index 3
        +mobile()
            display none

    .page-header__logo
        left 1.5rem
        top 1.5rem
        +desktop()
            left 2rem
    .page-header__logo-text
        font-size 14px

    .page-header__menu
        right 0
        top 0
        padding 11px 16px 10px
        background $color-steel-blue

    .page-header__description
        position relative
        margin 0
        z-index 2
        +tablet()
            width 50%
            display flex
            justify-content center
        +desktop()
            justify-content flex-start

    .page-header__media
        position absolute
        right 0
        top 0
        width 50%
        height 100%
        z-index 1

        +mobile()
            display none

    .page-header__description-content
        position relative
        margin 1.5rem 0 2rem
        +tablet()
            margin 8rem 0 4.25rem
        +desktop()
            padding-right 1.5rem

    .page-header__title
        max-width 480px
        margin-bottom 25px
        color $color-white
        font-family $font-lora
        font-size 24px
        font-weight 700
        line-height 1.25
        text-transform uppercase
        +desktop()
            font-size 40px

    .page-header__cover
        width 100%
        height 100%
        background-size cover
        background-position center center
        img
            width 100%
            height 100%
            object-fit cover
        video
            position absolute
            width 100%
            top 50%
            left 50%
            transform translate(-50%, -50%)

    .page-header__title-accent
        font-weight 700
        &_light
            font-weight 600

    .page-header__control-skip
        control()
        unselectable()
        position relative
        margin-top 60px
        margin-left -1.5rem
        height auto
        width calc(100% + 2 * 1.5rem)
        padding-top 20px !important
        padding-bottom 20px !important
        color $color-white
        font-size 17px
        line-height 1
        justify-content center
        background rgba($color-black, 0)
        border-radius 0
        z-index 1
        transition background .3s

        .touch-support &:hover
            color $color-white
            background rgba($color-black, 0)

        &:hover,
        .touch-support &:active
            color $color-white
            background rgba($color-black, .3)
.is-ie .hero
    height 1px