#page:has(.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image img) #header {
    position: absolute;
    inset: 0 0 auto;
    background: transparent;
}

#main:has(.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image img) {
    max-width: none;
    padding-inline: 0;
    padding-top: 0;
    margin-top: 0;
}

#main:has(.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image img) > .row {
    margin-inline: 0;
}

#main:has(.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image img) #content {
    padding-inline: 0;
}

#main:has(.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image img) .block-page-title-block {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.node--view-mode-full:has(.paragraph--type--hero-banner .field--name-field-background-image img) .node__content {
    margin-top: 0;
}

.node--view-mode-full .paragraph--type--hero-banner:has(.field--name-field-background-image img) {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: max(550px, 63.66vw);
    margin: 0;
    padding: max(330px, 41.6vw) var(--page-gutter) clamp(48px, 7.9vw, 137px);
    color: #fff;
    font-family: var(--font-body);
}

.node--view-mode-full .paragraph--type--hero-banner:has(.field--name-field-background-image img) :is(.paragraph__column, .container-fluid, .row, .col-12) {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
}

.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image:has(img) {
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: 0;
    overflow: hidden;
    background: var(--secondary);
}

/* Media editing wrappers must not become the image's positioning reference. */
.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image div:not(.contextual) {
    position: static;
}

.node--view-mode-full .paragraph--type--hero-banner .field--name-field-background-image img {
    position: absolute;
    inset: auto auto 0 0;
    width: 112%;
    height: 116%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    opacity: .5;
}

.node--view-mode-full .paragraph--type--hero-banner .field--name-field-hero-title {
    margin-bottom: clamp(20px, 2.0833vw, 36px);
    font-family: var(--font-hero);
    font-size: var(--text-heading);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1979;
}

.node--view-mode-full .paragraph--type--hero-banner .field--name-field-hero-content {
    max-width: min(800px, 46.3vw);
    font-size: var(--text-body);
    font-weight: 300;
    letter-spacing: .02em;
    line-height: var(--leading-body);
}

.node--view-mode-full .paragraph--type--hero-banner .field--name-field-hero-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .node--view-mode-full .paragraph--type--hero-banner .field--name-field-hero-content {
        max-width: 100%;
    }

    .node--view-mode-full .paragraph--type--hero-banner:has(.field--name-field-background-image img) {
        min-height: 550px;
        padding-top: 310px;
        padding-bottom: 48px;
    }
}
