.page-banner-container {
    position: relative;
    width: 100%;
    background-image: linear-gradient(-30deg, var(--bg-color) 30%, color-mix(in srgb, var(--bg-color) 70%, var(--color-background) 50%) 100%);
    padding: 0;
}

.banner {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .banner {
        padding: 0;
    }
}

@media screen and (min-width: 768px) {
    .banner {
        flex-direction: row;
        justify-content: flex-end;
        align-items: stretch;
        min-height: 400px;
    }
}

/* Banner content */
.banner-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    z-index: 15;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--size-4);
    text-align: center;
    padding: var(--size-8) var(--size-6);
}

@media screen and (max-width: 767px) {
    .banner-content {
        order: 1 !important;
    }
}

@media screen and (min-width: 768px) {
    .banner-content {
        max-width: 50%;
        gap: var(--size-3);
        padding: var(--size-8) var(--size-6);
    }
}

/* Banner headline */
.banner-content .banner-headline {
    font-size: var(--size-6);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--text-color);
    text-align: center;
}

@media screen and (min-width: 768px) {
    .banner-content .banner-headline {
        font-size: var(--size-8);
    }
}

/* Banner subheadline */
.banner-content .banner-subheadline {
    font-size: var(--size-6);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--text-color);
}

@media screen and (min-width: 768px) {
    .banner-content .banner-subheadline {
        font-size: var(--size-8);
    }
}

/* Banner button */
.banner-content .banner-button .hero-button {
    display: inline-block;
    padding: var(--size-4) var(--size-8);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition-std);
    box-shadow: 0 var(--size-2) var(--size-4) rgba(0, 0, 0, 0.2);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media screen and (min-width: 768px) {
    .banner-content .banner-button .hero-button {
        padding: var(--size-8) var(--size-10);
        font-size: var(--size-7);
    }
}

.banner-content .banner-button .hero-button::after {
    background-color: var(--button-bg-color);
}

.banner-content .banner-button .hero-button span {
    font-size: var(--size-4);
    border: var(--size-1) solid color-mix(in srgb, var(--button-bg-color), var(--color-white) 20%);
    color: var(--button-text-color);
}

.banner-content .banner-button .hero-button span:hover {
    color: var(--button-bg-color) !important;
}

.banner-content .banner-button .hero-button:hover {
    background-color: transparent !important;
    -ms-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 var(--size-3) var(--size-6) rgba(0, 0, 0, 0.3);
}

/* Banner text */
.banner-content .banner-text {
    margin-bottom: 0;
}

/* Banner subtext */
.banner-content .banner-subtext {
    font-size: var(--size-3);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
    color: var(--text-color);
}

@media screen and (min-width: 768px) {
    .banner-content .banner-subtext {
        font-size: var(--size-3);
    }
}

.banner-content .banner-subtext p {
    margin-bottom: var(--size-3);
}

.banner-content .banner-subtext p:last-child {
    margin-bottom: 0;
}

/* Banner image */
.banner-image {
    position: relative;
    flex-grow: 1;
    width: 100%;
    height: auto;
    min-height: 400px;
    background-size: contain, 150% 150%;
    background-position: center bottom, 130% 50%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .banner-image {
        order: 0 !important;
    }
}

@media screen and (min-width: 768px) {
    .banner-image {
        max-width: 50%;
    }
}
