@font-face {
    font-family: "Atkinson Hyperlegible Next";
    src: url("../fonts/atkinson-hyperlegible-next-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "Atkinson Hyperlegible Next";
    src: url("../fonts/atkinson-hyperlegible-next-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
}

@font-face {
    font-family: "Lora";
    src: url("../fonts/lora-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Lora";
    src: url("../fonts/lora-italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
}

.h4j-tpl-hero,
.h4j-tpl-hero *,
.h4j-tpl-hero *::before,
.h4j-tpl-hero *::after {
    box-sizing: border-box;
}

.h4j-tpl-hero {
    --h4j-primary: var(--kf-primary, #0b4f8a);
    --h4j-secondary: var(--kf-secondary, #c7362e);
    --h4j-accent: var(--kf-accent, #f2c230);
    --h4j-page-bg: var(--kf-bg, #f6f8fb);
    --h4j-title-color: #14213d;
    --h4j-subtitle-color: #0b4f8a;
    --h4j-text-color: #334155;
    --h4j-overlay-start: .78;
    --h4j-overlay-end: .36;
    --h4j-image-width: 46%;
    --h4j-image-opacity: 1;
    --h4j-image-radius: 32px;
    --h4j-image-rotation: 1.5deg;
    --h4j-decoration-opacity: 1;
    --h4j-decoration-position: center center;
    --h4j-decoration-size: cover;
    --h4j-decoration-width: 100%;
    --h4j-decoration-repeat: no-repeat;
    --h4j-min-height: 0px;
    --h4j-font: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: var(--h4j-min-height);
    padding: clamp(3rem, 6vw, 6rem) 0 5rem;
    background:
        radial-gradient(circle at 78% 22%, rgba(242, 194, 48, .32), transparent 28%),
        radial-gradient(circle at 10% 18%, rgba(199, 54, 46, .16), transparent 24%),
        linear-gradient(135deg, rgba(11, 79, 138, .12), rgba(255, 255, 255, .9));
    color: #334155;
}

.h4j-tpl-hero__background,
.h4j-tpl-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.h4j-tpl-hero__background {
    z-index: -3;
    object-fit: cover;
    object-position: center;
}

.h4j-tpl-hero__overlay {
    z-index: -2;
    background: linear-gradient(
        135deg,
        rgba(11, 79, 138, var(--h4j-overlay-start)),
        rgba(11, 79, 138, var(--h4j-overlay-end))
    );
}

.h4j-tpl-decoration {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-position: var(--h4j-decoration-position);
    background-repeat: var(--h4j-decoration-repeat);
    background-size: var(--h4j-decoration-size);
    opacity: var(--h4j-decoration-opacity);
    pointer-events: none;
}

.h4j-tpl-decoration__image {
    display: block;
    flex: 0 0 auto;
    max-width: none;
    pointer-events: none;
}

.h4j-tpl-decoration.uses-image.size-cover .h4j-tpl-decoration__image,
.h4j-tpl-decoration.uses-image.size-contain .h4j-tpl-decoration__image {
    width: 100%;
    height: 100%;
    object-position: var(--h4j-decoration-position);
}

.h4j-tpl-decoration.uses-image.size-cover .h4j-tpl-decoration__image {
    object-fit: cover;
}

.h4j-tpl-decoration.uses-image.size-contain .h4j-tpl-decoration__image {
    object-fit: contain;
}

.h4j-tpl-decoration.uses-image.size-auto .h4j-tpl-decoration__image {
    width: auto;
    height: auto;
}

.h4j-tpl-decoration.uses-image.size-custom .h4j-tpl-decoration__image {
    width: var(--h4j-decoration-width);
    height: auto;
}

.h4j-tpl-decoration.position-top-left,
.h4j-tpl-decoration.position-left,
.h4j-tpl-decoration.position-bottom-left {
    justify-content: flex-start;
}

.h4j-tpl-decoration.position-top-right,
.h4j-tpl-decoration.position-right,
.h4j-tpl-decoration.position-bottom-right {
    justify-content: flex-end;
}

.h4j-tpl-decoration.position-top-left,
.h4j-tpl-decoration.position-top,
.h4j-tpl-decoration.position-top-right {
    align-items: flex-start;
}

.h4j-tpl-decoration.position-bottom-left,
.h4j-tpl-decoration.position-bottom,
.h4j-tpl-decoration.position-bottom-right {
    align-items: flex-end;
}

.h4j-tpl-decoration.uses-repeated-background .h4j-tpl-decoration__image {
    display: none;
}

.h4j-tpl-decoration.is-behind {
    z-index: 0;
}

.h4j-tpl-decoration.is-front {
    z-index: 4;
}

.h4j-tpl-container {
    width: min(calc(100% - 32px), var(--kf-container, 1200px));
    margin-inline: auto;
}

.h4j-tpl-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(280px, .86fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.h4j-tpl-layout.has-copy-only,
.h4j-tpl-layout.has-visual-only {
    grid-template-columns: minmax(0, 1fr);
}

.h4j-tpl-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.h4j-tpl-layout.has-copy-only .h4j-tpl-copy {
    max-width: 820px;
}

.h4j-tpl-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1rem;
    padding: .42rem .82rem;
    border-radius: 999px;
    background: rgba(242, 194, 48, .22);
    color: var(--h4j-primary);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.h4j-tpl-title {
    max-width: 820px;
    margin: .2rem 0 1rem;
    color: #14213d;
    font-size: clamp(2.4rem, 5.2vw, 5.1rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
    text-wrap: balance;
}

.h4j-tpl-text {
    max-width: 62ch;
    margin: 0;
    color: #334155;
    font-size: clamp(1.06rem, 1.45vw, 1.28rem);
    line-height: 1.72;
}

.h4j-tpl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.h4j-tpl-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.15;
    text-decoration: none !important;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.h4j-tpl-button:hover {
    transform: translateY(-2px);
}

.h4j-tpl-button.is-primary {
    background: var(--h4j-primary);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(11, 79, 138, .18);
}

.h4j-tpl-button.is-primary:hover {
    background: var(--h4j-secondary);
    color: #fff !important;
}

.h4j-tpl-button.is-secondary {
    border-color: var(--h4j-primary);
    background: rgba(255, 255, 255, .72);
    color: var(--h4j-primary) !important;
}

.h4j-tpl-button.is-secondary:hover {
    background: var(--h4j-primary);
    color: #fff !important;
}

.h4j-tpl-visual {
    min-width: 0;
    min-height: 280px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.h4j-tpl-visual.is-top {
    align-items: flex-start;
}

.h4j-tpl-visual.is-bottom {
    align-items: flex-end;
}

.h4j-tpl-layout.has-visual-only .h4j-tpl-visual {
    justify-content: flex-end;
}

.h4j-tpl-visual::before {
    width: min(52%, 340px);
    aspect-ratio: 1;
    position: absolute;
    top: 8%;
    right: 8%;
    z-index: -1;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--h4j-accent), var(--h4j-secondary));
    content: "";
    filter: blur(4px);
    opacity: .22;
}

.h4j-tpl-visual img {
    width: var(--h4j-image-width);
    min-width: 270px;
    max-width: 620px;
    aspect-ratio: 4 / 3;
    border: 7px solid rgba(255, 255, 255, .72);
    border-radius: var(--h4j-image-radius);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .24);
    object-fit: cover;
    opacity: var(--h4j-image-opacity);
    transform: rotate(var(--h4j-image-rotation));
}

.h4j-tpl-hero.has-background {
    color: #fff;
}

.h4j-tpl-hero.has-background .h4j-tpl-kicker {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(8px);
}

.h4j-tpl-hero.has-background .h4j-tpl-title,
.h4j-tpl-hero.has-background .h4j-tpl-text {
    color: #fff;
}

.h4j-tpl-hero.has-custom-typography .h4j-tpl-copy {
    font-family: var(--h4j-font, inherit);
}

.h4j-tpl-hero.has-custom-typography .h4j-tpl-title {
    color: var(--h4j-title-color, #14213d);
    font-size: clamp(2rem, 5.2vw, var(--h4j-title-size, 82px));
}

.h4j-tpl-hero.has-custom-typography .h4j-tpl-kicker {
    color: var(--h4j-subtitle-color, #0b4f8a);
    font-size: var(--h4j-subtitle-size, 17px);
}

.h4j-tpl-hero.has-custom-typography .h4j-tpl-text {
    color: var(--h4j-text-color, #334155);
    font-size: var(--h4j-text-size, 20px);
}

.h4j-tpl-wave {
    height: 90px;
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.h4j-tpl-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.h4j-tpl-wave path {
    fill: var(--h4j-page-bg);
}

.h4j-tpl-hero :where(a, button, [tabindex]):focus-visible {
    outline: 3px solid var(--h4j-accent);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .h4j-tpl-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .h4j-tpl-visual {
        min-height: 0;
        justify-content: flex-start;
    }

    .h4j-tpl-visual img {
        width: min(100%, 520px);
        min-width: 0;
        transform: rotate(var(--h4j-image-rotation));
    }

    .h4j-tpl-hero {
        padding-bottom: 4rem;
    }
}

@media (max-width: 700px) {
    .h4j-tpl-decoration.is-hidden-mobile {
        display: none;
    }
}

@media (max-width: 560px) {
    .h4j-tpl-hero {
        padding-top: 2.4rem;
    }

    .h4j-tpl-title {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .h4j-tpl-kicker {
        font-size: .92rem;
    }

    .h4j-tpl-actions {
        display: grid;
    }

    .h4j-tpl-button {
        width: 100%;
    }

    .h4j-tpl-wave {
        height: 54px;
    }

    .h4j-tpl-hero.has-custom-typography .h4j-tpl-title {
        font-size: clamp(2rem, 12vw, min(var(--h4j-title-size, 82px), 3.2rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    .h4j-tpl-button {
        transition: none;
    }
}
