/* Section: Page Banner */
.page-banner:not(.background-white) {
    position: relative;
    background: linear-gradient(108deg, var(--lavender-light) 0.55%, hsl(251, 100%, 64%) 95.44%);
    color: #fff;
    padding: calc(5em + 100px) 15px 3em 15px;
    z-index: 1;
    overflow: hidden;
    margin-top: -86px;
}

.page-banner:not(.background-white)::before {
    content: "";
    background: linear-gradient(0deg, rgba(136, 98, 255, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%);
    position: absolute;
    inset: 0;
    height: 500px;
    z-index: -1;
    pointer-events: none;
}

header.page-banner.background-white {
    padding: 156px 15px 3em 15px;
}

.page-banner.small-banner::before {
    height: 200px;
}

body:has(.top-bar) .page-banner {
    padding: calc(5em + 140px) 0 3em 0;
    margin-top: -146px;
}

body:has(.top-bar) .page-banner.background-white {
    padding: 0 0 3em 0;
    margin-top: 0;
}

.page-banner.background-white .hero-content {
    padding-top: 55px;
}

@supports (background: oklch(0% 0 0)) {
    .page-banner:not(.background-white) {
        background: linear-gradient(108deg, oklch(0.6850 0.1893 296.44) 0.55%, oklch(0.4824 0.1599 290.55) 95.44%);
    }
    .page-banner:not(.background-white)::before {
        background: linear-gradient(0deg, oklch(67% 0.17 285 / 0) 0%, oklch(0% 0 0 / 0.70) 100%);
    }
}

/* Hero Content */
.hero-content ul li {
    list-style: none;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
    position: relative;
}
.hero-content a, .hero-content a:visited {
    color: #fff;
    text-underline-offset: 3px;
}
.hero-content ul li::before {
    content: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.66085 18.1429C14.3454 18.1429 18.143 14.3453 18.143 9.66073C18.143 4.97617 14.3454 1.17859 9.66085 1.17859C4.9763 1.17859 1.17871 4.97617 1.17871 9.66073C1.17871 14.3453 4.9763 18.1429 9.66085 18.1429Z' stroke='white' stroke-opacity='0.4' stroke-width='2.35714' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.26855 10.5089L8.73609 13.0535C9.89721 9.71811 10.8642 8.25449 13.0543 6.26782' stroke='white' stroke-opacity='0.4' stroke-width='2.35714' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    position: absolute;
    left: -38px;
    top: 50%;
    transform: translateY(-50%);
    height: 17px;
}

/* Edge Layout */
.home .page-banner--edge .hero-content {
    padding-top: 40px;
}
.page-banner--edge .hero-content {
    padding-bottom: 120px;
}

.page-banner--edge .hero-image {
    position: absolute;
    top: calc(6em + 110px);
    right: 0;
    max-width: 50vw;
    max-height: 75vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.page-banner--edge .hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0 0 0 40%;
    z-index: -1;
    opacity: 0.40;
    mix-blend-mode: multiply;
    mask-image: linear-gradient(to right, transparent 0%, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
}

img.hero-bg-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Banner SVG Circle */
.banner-svg-circle {
    position: absolute;
    width: 57%;
    height: auto;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

/* Banner Trust Bar - Contains accreditation image and logo slider */
.banner-logo-content {
    text-align: right;
    padding: 20px 0;
    margin-left: auto;
}

.page-banner--trust-bar {
    padding: 70px 0;
}

.page-banner--trust-bar .container:last-child {
    flex-wrap: nowrap;
    gap: 150px;
    align-items: center;
    min-height: 80px;
}

.page-banner--trust-bar .container.swiper {
    border-left: solid 1px;
}

/* Accreditation Image */
.page-banner__accreditation {
    margin: 0;
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner__accreditation .accreditation-image {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

/* About Us Video Section (About page only) */
.about-us-video {
    margin-bottom: -3em;
    background: linear-gradient(90deg, rgba(31, 31, 31, 0.30) 0%, rgba(31, 31, 31, 0.00) 51.19%);
    padding: 15px;
}

.about-us-video .container {
    gap: 22px;
}

.about-us-video img {
    border-radius: 10px;
    object-fit: cover;
    max-height: 72px;
}

.about-video-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-video-content a, .about-video-content a:visited {
    color: #fff;
    text-underline-offset: 3px;
}

.about-video-content a:hover,
.about-video-content a:focus {
    color: var(--peach-dark);
}

.about-video-content p {
    margin: 0;
}
#personal-connection-video {
    scroll-margin: 120px;
}
/* Breadcrumbs */
.breadcrumbs {
    border-radius: 8px;
    background: linear-gradient(90deg, #F1ECFF 0%, rgba(233, 227, 251, 0.00) 88.19%);
    padding: 12px;
    margin: 20px 10px 10px 10px;
    font-family: var(--font-inter, 'Inter', sans-serif);
}
.breadcrumbs a {
    color: rgba(138, 125, 177, 0.50);
    text-decoration: none;
}
.breadcrumbs p {
    margin-bottom: 0;
    color: #9082BA;
    font-family: var(--font-inter, 'Inter', sans-serif);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.78px;
    text-transform: uppercase;
}

/* Media Queries */
@media (min-width: 992px) {
    .hero-video {
        max-width: 710px;
        margin-left: auto;
    }
    .single-post .page-banner .hero-content,
    .single-case_study .page-banner .hero-content {
        flex: 0 0 auto;
        width: 50%;
        margin-left: calc(8.33333333% - 15px);
    }
    .single-post .page-banner,
    .single-case_study .page-banner {
        padding-bottom: 165px !important;
    }
}
@media (max-width: 1480px) and (min-width: 992px) {
    .single-post .page-banner .hero-content,
    .single-case_study .page-banner .hero-content {
        margin-left: calc(8.33333333% - 45px) !important;
        width: 66.66666667%;
    }
	.page-banner--edge .hero-content {
		padding-bottom: 60px;
	}
	.page-banner--edge .hero-image {
		top: calc(6em + 160px);
	}
}
@media (max-width: 1110px) and (min-width: 992px) {
    .single-post .page-banner,
    .single-case_study .page-banner {
        padding-bottom: 45px !important;
    }
}

@media (max-width: 1200px) {
    .page-banner--edge .hero-image {
        top: calc(6em + 150px);
    }
}

/* High DPI laptops - only above mobile breakpoint */
@media screen and (min-width: 992px) and (max-width: 1512px) and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-width: 992px) and (max-width: 1512px) and (min-resolution: 2dppx) {
    .page-banner--edge .hero-content {
        padding-bottom: 20px;
    }
    .page-banner--edge .hero-image {
        top: calc(7em + 110px);
    }
    body:has(.top-bar) .page-banner:not(.background-white) {
        padding: calc(6em + 140px) 0 3em 0;
    }
}

/* Mobile Styles */
@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    .about-us-video {
    margin-bottom: -1em;
	}
    .page-banner--edge {
        padding-bottom: 3em;
    }
    
    .page-banner--edge .hero-content {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .page-banner--edge .hero-image {
        position: relative;
        max-width: 100%;
        margin-top: 0;
        top: 0;
        right: -15px;
    }
    
    .page-banner--trust-bar {
        padding: 30px 0;
    }
    
    .page-banner--trust-bar .container.swiper {
        border-left: none;
    }
    
    .page-banner--trust-bar .container.swiper:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(270deg, rgba(155, 114, 255, 0.00) 70%, #9B72FF 100%);
        z-index: 2;
        pointer-events: none;
    }
    
    .page-banner--trust-bar .container:last-child {
        gap: 20px;
    }
    
    .banner-logo-content {
        text-align: center;
        padding: 15px;
        line-height: 2;
    }
    
    .page-banner .logo-bar-section::before,
    .page-banner .logo-bar-section::after,
    .page-banner .logo-bar-section .swiper-slide:not(:last-child)::after,
    .page-banner .logo-bar-section .swiper-slide:first-child::before {
        display: none;
    }
    
    .hero-content ul {
        padding: 0;
        margin: 0 0 20px;
        width: 100%;
        display: inline-flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        overflow: hidden;
        margin-left: 0;
    }
    
    .hero-content ul:has(.horizontal-marquee-inner) {
        opacity: 1;
        transition: all 0.3s ease-in-out;
    }
    
    .hero-content ul .horizontal-marquee-inner {
        flex: 0 0 auto;
        display: flex;
        gap: 0;
    }
    
    .hero-content ul li {
        flex: 0 0 auto;
        padding-left: 70px;
    }
    
    .hero-content ul li::before {
        left: 40px;
    }

    .about-us-video .container {
        flex-wrap: nowrap;
        padding: 0;
    }
    .about-us-video img {
        aspect-ratio: 1 / 1;
    }
    
    .about-video-content {
        font-size: 12px;
        line-height: 1.4;
    }
    
}

@media (max-width: 768px) {
    body:has(.top-bar) .page-banner, .page-banner {
        padding: calc(5em + 70px) 0 1em 0;
    }
}