.hero-primary-access {
    margin-top: 40px;
    margin-bottom: 56px
}

@media screen and (min-width: 1024px) {
    .hero-primary-access {
        margin-top: 0
    }
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--container {
        --image-shift: clamp(0px, calc(300px - 25vw), 96px);
        --image-gap: 4px;
        display: flex;
        position: relative;
        max-width: 1440px;
        min-height: 600px;
        margin-inline: auto;
        overflow: hidden;
        background: var(--white)
    }
}

@media screen and (min-width: 1280px) {
    .hero-primary-access--container {
        min-height: 650px
    }
}

@media screen and (min-width: 1440px) {
    .hero-primary-access--container {
        min-height: 772px
    }
}

.hero-primary-access h1 {
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.1;
}

@media screen and (min-width: 1024px) {
    .hero-primary-access h1 {
        font-size: 3.25rem;
        position: relative;
        z-index: 2;
        width: max-content;
        max-width: 100%;
        font-size: clamp(2.5rem, 4vw, 4rem);
        margin: 0;
        line-height: 1.2;
        margin-bottom: 48px
    }

    .hero-primary-access h1 span {
        border-image: url(../images/rect.svg) 1 fill;
        border-image-outset: 0;
        border-image-outset: 6px 0 6px
    }
}

.hero-primary-access h1 strong {
    font-weight: 700
}

@media screen and (min-width: 1024px) {
    .hero-primary-access h1 strong {
        display: block;
        width: max-content;
        max-width: 100%;
        padding-right: 16px;
        background: var(--white)
    }
}

.hero-primary-access h1,
.hero-primary-access .uptitle {
    color: var(--black)
}

.hero-primary-access .inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px
}

@media screen and (min-width: 1024px) {
    .hero-primary-access .inner {
        gap: 32px;
        padding: 0;
        width: 100%;
        position: relative;
        z-index: auto;
        display: grid;
        grid-template-rows: 1fr 173px;
        min-height: 573px;
        padding: 0;
        gap: 0
    }
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--content {
        position: relative;
        z-index: 3;
        width: 100%;
        padding: 56px 0 40px 80px;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .hero-primary-access--content>p:not(.uptitle) {
        max-width: 405px;
        line-height: 180%
    }
}

@media screen and (min-width: 1024px)and (min-width: 1200px) {
    .hero-primary-access--content>p:not(.uptitle) {
        max-width: 500px
    }
}

.hero-primary-access--tiles {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    position: relative
}

.hero-primary-access--tiles div {
    padding: 24px;
    background-color: var(--green)
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--tiles div {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 24px
    }
}

.hero-primary-access--tiles div:nth-child(3) {
    background-color: var(--dark-blue)
}

.hero-primary-access--tiles div:nth-child(3) a,
.hero-primary-access--tiles div:nth-child(3) p {
    color: var(--white)
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--tiles div:nth-child(3) {
        padding-right: 32%;
        clip-path: none
    }

    .hero-primary-access--tiles div:nth-child(3) p {
        position: relative;
        z-index: 3
    }
}

.hero-primary-access--tiles p:not(.uptitle),
.hero-primary-access--tiles a {
    color: var(--black);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    text-transform: uppercase;
    z-index: 3;
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--tiles {
        flex-direction: row;
        position: relative;
        z-index: auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1.3fr;
        width: min(100%, 78% + var(--image-shift));
        gap: 3px
    }
}

.hero-primary-access--img-wrapper {
    position: relative;
    height: 248px;
    margin-top: -56px
}

.hero-primary-access--img-wrapper img {
    width: 100%;
    height: 100%;
    position: static;
    object-fit: cover;
    object-position: center;
    -webkit-clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%)
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--img-wrapper img {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        -webkit-clip-path: var(--image-clip);
        clip-path: var(--image-clip)
    }
}

@media screen and (min-width: 1024px) {
    .hero-primary-access--img-wrapper {
        width: 750px;
        height: auto;
        margin-top: 0;
        position: absolute;
        z-index: 2;
        top: 0;
        right: calc(0px - var(--image-shift));
        bottom: 0;
        left: auto;
        height: 100%;
        margin: 0;
        --image-clip: polygon(0 0, 100% 0, 100% 100%, 65% 100%, 0 -15%)
    }

    .hero-primary-access--img-wrapper::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: 0;
        background: var(--white);
        transform: translateX(calc(0px - var(--image-gap)));
        -webkit-clip-path: var(--image-clip);
        clip-path: var(--image-clip)
    }
}

@media screen and (min-width: 1130px) {
    .hero-primary-access--img-wrapper {
        width: 900px
    }
}

@media screen and (min-width: 1280px) {
    .hero-primary-access--img-wrapper {
        --image-clip: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 0 0%)
    }
}