﻿@media (max-width: 767.98px) {
    .main-menu-landing-hero {
        display: none
    }

    .main-menu-landing-hero-mobile {
        display: flex
    }

    .main-menu-landing-hero-mobile .field-hero-content {
        padding: 0rem 1rem;
        margin-bottom: 0px;
        padding-top: .5rem;
        padding-bottom: 1.5rem;
    }
    .main-menu-landing-hero-mobile .field-hero-content:empty {
        display: none;
    }

    .main-menu-landing-hero-mobile .field-hero-content:empty +  p span {
        font-size: 16px !important;
        text-align: left;
    }
    .main-menu-landing-hero-mobile .field-hero-content:empty +  p + p {
        padding-top: 0;
    }

    .row.main-menu-landing-hero-mobile.position-relative .field-hero-content + p {
        align-self: normal;
        padding: 5px 1rem;
    }
}

/*Main menu sub page Hero Image Mobile*/

.main-menu-subpage-hero-mobile {
    height: fit-content;
}

.main-menu-subpage-hero-mobile.more-content {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    margin: 0px;
    padding-bottom: 1rem;
}

.main-menu-subpage-hero-mobile h2 {
    font-size: 22px;
    font-family: var(--font-noto);
    font-weight: 500;
    text-align: center;
    width: 95%;
    color: #254d81;
    margin-bottom: 10px !important;
    margin: auto;
    margin-top: 2px;
}


.main-menu-subpage-hero-mobile p {
    font-size: 16px;
    padding: 0;
    margin-bottom: 0;
}

.main-menu-subpage-hero-mobile-bg {
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(90deg,rgba(203,240,245,1) 50%,rgba(250,252,253,1) 100%);
}

.light-blue-background .main-menu-subpage-hero {
    height: 60vh;
    max-height: 700px;
    position: relative;
    background: linear-gradient( 90deg,rgb(179 241 249 / 68%) 50%,rgba(250,252,253,1) 100%);
}

.main-menu-subpage-hero-mobile-bg::before {
    content: "";
    background-image: url("/-/media/Feature/Page Content/images/banner-bg-webp.webp");
    background-size: 100% 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.25;
}



.main-menu-subpage-hero-mobile img {
    padding: 15px;
    padding-top: 5px;
    height: auto;
    max-height: 70vh;
    width: 100%;
    object-fit: cover;
}

@media screen and (orientation:landscape) {
    .corporate-responsibility-mobile .main-menu-subpage-hero-mobile img {
        max-height: fit-content;
    }

    .main-menu-subpage-hero-mobile img {
        max-height: fit-content;
    }
}

@media (max-width: 500px) {
    .main-menu-subpage-hero-mobile.more-content {
        padding-bottom: 8px;
    }
}

/*Main Menu Landing Hero Image Mobile*/
.main-menu-landing-hero-mobile {
    height: fit-content;
}

.main-menu-landing-hero-mobile h2 {
    font-size: 28px;
    font-family: var(--font-noto);
    font-weight: 400;
    text-align: center;
    width: 100%;
    color: #254d81;
    padding: 0px 10px;
}

.main-menu-landing-hero-mobile p {
    font-size: 16px;
    padding: 1rem;
    text-align: justify;
}

.main-menu-landing-hero-mobile-bg {
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: column;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    background: linear-gradient( 90deg,rgba(203, 240, 245, .39) 50%,rgba(250,252,253,1) 100%);
    margin: 8px;
    padding: 0px 0px;
}

.main-menu-landing-hero-mobile-bg h1 {
    font-size: 22px;
    font-family: var(--font-noto);
    font-weight: 400;
    text-align: center;
    width: 95%;
    color: #254d81;
    margin: auto;
    margin-bottom: 10px !important;
    position: relative;
}

.main-menu-landing-hero-mobile-bg::before {
    content: "";
    background-image: url("/-/media/Feature/Page Content/images/banner-bg-webp.webp");
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.25;
}

.main-menu-landing-hero-mobile-bg-more-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0.7;
    background: linear-gradient( 90deg,rgba(203,240,245,1) 50%,rgba(250,252,253,1) 100%);
    -webkit-mask: linear-gradient( 287deg,transparent 24%,#fff 24%) top right;
    -webkit-mask-size: 2000px 2000px;
    -webkit-mask-repeat: no-repeat;
    mask: linear-gradient(287deg,transparent 24%,#fff 24%) top right;
    mask-size: 2000px 2000px;
    mask-repeat: no-repeat;
}

.main-menu-landing-hero-mobile-bg-more-content::before {
    content: "";
    background-image: url("/-/media/Feature/Careers/Images/14155_West_Brand_Guidelines_Fan_RGB_Backgrounds_Artboard%2010");
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-mask: linear-gradient( 287deg,transparent 24%,#fff 24%) top right;
    -webkit-mask-size: 2000px 2000px;
    -webkit-mask-repeat: no-repeat;
    mask: linear-gradient(287deg,transparent 24%,#fff 24%) top right;
    mask-size: 2000px 2000px;
    mask-repeat: no-repeat;
    mask:none;
}

.main-menu-landing-hero-mobile-bg-more-content::after{
    mask:none;
}

.main-menu-landing-hero-mobile img {
    height: 275px;
    width: 90%;
    left: 5%;
    object-fit: cover;
    z-index: 1;
    max-height: 70vh;
    margin-bottom: 1rem;
}

.component.hero-image .component.hero-image {
    margin: 0 !important;
}



@media (max-width: 767.98px) {
    .justify-p-mobile {
        text-align: justify;
    }

    .justify-p-mobile div {
        text-align: justify;
    }

    .justify-p-mobile p {
        text-align: justify;
        padding: 1.2rem 1rem;
    }

    .field-hero-content .btn {
        margin-bottom: .5rem;
    }

    .justify-p-mobile span {
        text-align: justify;
    }

    .main-menu-landing-hero-mobile .field-hero-content span {
        font-size: 18px !important;
        line-height: 1.83;
    }
}

@media (max-width: 500px) {
    .main-menu-subpage-hero-mobile.more-content .more-content-text {
        text-align: center !important;
    }
        .main-menu-subpage-hero-mobile.more-content .more-content-text h5 {
            color: #444 !important;
            text-align: center;
            font-size: 16px;
        }
        .main-menu-subpage-hero-mobile p,
        .main-menu-landing-hero-mobile p {
            text-align: left !important;
        }
}


.main-menu-subpage-hero-mobile .field-button-text {
    background: #3338f2 !important;
    border: 0;
    font-weight: 550;
}

.main-menu-subpage-hero-mobile .p {
    text-align: justify;
}
