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

$color-contact-text = #6f6f6f
$color-contact-style = #404040

.contact
    &_base
        display block
        margin 0 -1.5rem
        +tablet()
            display flex
            justify-content space-between
            align-items stretch
            flex-wrap wrap
            padding-bottom 2rem

    &_dark
        color $color-white

    &__info,
    &__map
        position relative
        padding 0 1.5rem
        +tablet()
            flex 1 0 50%
            max-width 50%

    &__info
        margin-bottom 30px
        +tablet()
            margin-bottom 0

    &__map
        min-height 320px
        max-width 100%
        overflow hidden
        +tablet()
            max-width 50%

    &__map-holder
        position absolute
        top 0
        left -1.5rem
        right -1.5rem
        height 100%
        +tablet()
            left 1.5rem
            right 1.5rem

        [class*='ymaps-2'][class*='-ground-pane']
            filter url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale")
            -webkit-filter grayscale(100%)

    &__map-icon
        color darken($color-brand, 20%)
        font-size 38px

    &__heading,
    &__description,
    &__entry
        +tablet()
            max-width 420px

    &__heading
        margin-bottom 26px
        color $color-white
        font-family $font-lora
        font-size 24px
        font-weight 700
        line-height 1.33
        +desktop()
            font-size 32px
            line-height 1.25

    &__description
        color $color-contact-text
        font-size 14px
        line-height 1.65
        +desktop()
            margin-bottom 100px

    &__entry
        display flex
        justify-content flex-start
        align-items center
        padding-top 31px

        & + &
            margin-top 33px
            border-top 1px solid $color-contact-style

        &-icon-holder
            min-width 35px
            margin-right 30px
        &-icon
            color $color-brand
            fill $color-brand
            font-size 35px

        &-title
            color $color-white
            font-size 15px
            font-weight 700
            line-height 1.6

        &-description
            color $color-gray-light
            font-size 15px
            line-height 1.6

        &-link
            color $color-gray-light

            &:hover
                color $color-gray-light
                text-decoration underline

    &-tabs .tabs__control
        color $color-white
        letter-spacing 2px