$background-beige: #FBF6EA;
$graphite: #121211;
$orange-color: #D93400;

.banner-wrapper {
    background-color: $background-beige;
}
.banner-content-block {
    z-index: 2;
}
.banner-slider {
    margin-top:150px;
    transform: scale(1.3);
    img {
        max-width: 100%;
    }
}
.banner-wrapper {
    .pixel-bg {
        border-radius: 12px;
    }
}

.banner-content-block {
    text-align: center;
    .subtitle {
        color: #D93400;
        text-align: center;
        font-family: "OC Highway VAR2";
        font-size: 26px;
        line-height: 100%;
        letter-spacing: 1.3px;
        text-transform: uppercase;
    }
    .banner__heading {
        color:#D93400;
        text-align: center;
        font-family: "Manuscript Condensed";
        font-size: 88px;
        font-weight: 500;
        line-height: normal;
        margin: 0 ;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 88px;
    }
    .banner__text.body {
        margin-top: 85px;
        *{
            margin: 0;
            color: #121211;
            font-family: "BDO Grotesk";
            font-size: 14px;
            line-height: 24px;
            letter-spacing: 0.28px;
        }
    }
    .banner__links {
        margin-bottom: 23px;
        margin-top: 17px;
    }
    .banner__buttons {
        .button {
            display: flex;
            padding: 15px 88px;
            justify-content: center;
            align-items: center;
            border-radius: 6px;
            background: #D93400;
            margin: 24px auto 0;
            width: max-content;
            display: flex;
            gap: 10px;
            text-transform: uppercase;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.64px;
        }
        .button:after,
        .button:before,
        .button:hover::after,
        .button:hover::before {
            box-shadow:none;
        }
    }
    .custom-link {
        color: #D93400;
        font-family: "OC Highway VAR2";
        font-size: 14px;
        text-transform: uppercase;
        text-decoration: none;
        border-bottom: 2px solid #D93400;
        padding-bottom: 1px;
        position: relative;
    }
    .custom-link:hover {
        border-bottom: 2px solid transparent;
    }
    .border-anim::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        margin-top: 1.5px;
        background-color: #D93400;
        transition: width 0.5s ease;
    }
    
    .border-anim:hover::after {
        width: 100%;
    }
    
    
}
.view-mobile {
    display: block;
}
.view-desktop {
    display: none;
}
.template-index .banner-slider .slick-track {
    top: 74px;
}

.banner-view-height .pixel-bg {
    height: calc(100vh - 160px);
}
.banner-view-height .banner__heading {
    margin-top: -8px;
}

@media screen and (max-width:990px) {
    main .banner-view-height {
        margin: 0 20px;
        border-radius: 6px;
        overflow: visible;
    }
    .banner-view-height .pixel-bg {
        height: calc(100vh - 140px);
        position: relative;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .template-index .banner-slider .slick-track {
        top: 0px;
        margin-top: 0px;
    }
    .template-index .banner-slider  .slick-slide img {
        transform: scale(1);
        max-width: 100%;
        max-height: 24vh;
        object-fit: contain;
        margin-top: 10px;
    }
    .banner-content-block {
        padding-top: 30px;
        margin-bottom: 10px;
        &.view-mobile{
            padding-top: 0;
            margin-top: 0;
            padding-bottom: 10px;
            // position: absolute;
            // bottom: 0;
            // left: 50%;
            // transform: translateX(-50%);
            .banner__text.body {
                margin-top: 15px;
            }
        }
        .subtitle {
            font-size: 22px;
            line-height: 100%;
            letter-spacing: 1.1px;
        }
        .banner__heading {
            font-size: 56px;
        }
        .banner__text.body {
            margin-top: 85px;

        }
        .banner__links {
            margin-bottom: 23px;
            margin-top: 17px;
        }
    }
    .banner-slider {
        margin-top: 0;
        transform: scale(1.5);
    }
}
.banner__text.subtitle {
    span {
        font-size: 14px;
        position: relative;
        top: -10px;
    }
}
@media (min-width: 991px) {
    .banner-slider {
        // transform: scale(1.6);
        margin-top:50px;
        img {
            max-width: auto;
        }
    }
    .banner-wrapper {
        .pixel-bg {
        display: flex;
        align-items: center;
        padding: 0 0 0;
        margin-bottom: 10px;
        &>div {
            width: 50%;
        }
        .banner-slider--item {
            img {
                width: 100%;
                position: relative;
                top: 9px;
                left: 15px;
                // transform: scale(1.3);
                padding-top: 89px;
                padding-bottom: 160px;
                max-height: 800px;
                object-fit: cover;
                padding-left: 48px;
            }
        }
        .banner-content-block {
            width: 41%;
            min-width: 500px;
            margin-left: 40px;
        }
        .banner-slider {
            width: 59%;
        }
        .banner-slider--item {
            top: -16px !important;
            transform: scale(1.05);
            transform-origin: left top;
        }
    }
    // .banner__links.view-desktop {
    //     margin-bottom: 98px;
    // }

    }
    
    
}
@media screen and (min-width: 991px) {
    .view-mobile {
        display: none;
    }
    .view-desktop {
        display: block;
    }
}