.epf-home *,
.epf-home *::before,
.epf-home *::after {
    box-sizing: border-box;
}

#main-content .epf-home.et_pb_section {
    padding: 64px 0;
    background: #f6fdff;
    color: #173e39;
}

.epf-home .et_pb_row {
    width: 90%;
    max-width: 1180px;
    padding: 0;
}

.epf-home .et_pb_column {
    min-width: 0;
}

.epf-home .et_pb_column .et_pb_module {
    margin-bottom: 0;
}

#main-content .epf-home .et_pb_text {
    color: inherit;
    font-size: 18px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: anywhere;
}

.epf-home h1,
.epf-home h2,
.epf-home h3,
.epf-home p {
    padding: 0;
    margin: 0;
    color: inherit;
}

.epf-home h2 {
    margin-bottom: 24px;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.1;
}

.epf-home p + p {
    margin-top: 20px;
}

#main-content .epf-home .epf-home-kicker {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

#main-content .epf-home.epf-home-hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 240px 0 100px;
    color: #fffdf0;
}

.epf-home-hero h1 {
    margin-bottom: 28px;
    font-size: clamp(24px, 8vw, 116px);
    font-weight: 700;
    line-height: .98;
    white-space: nowrap;
    text-transform: uppercase;
}

.epf-home-hero .epf-home-title .et_pb_text_inner {
    display: inline-block;
    max-width: 100%;
}

.epf-home-hero .epf-home-title h1 {
    margin-bottom: 0;
    color: #ffffff;
}

#main-content .epf-home-hero .epf-home-title p {
    margin: 0 0 28px;
    color: #ffef98;
    font-size: clamp(18px, 3.2vw, 45px);
    font-weight: 400;
    line-height: 1.2;
    text-align: right;
}

.epf-home-hero h1 span {
    display: inline-block;
    background: linear-gradient(180deg, #36b5cd 0%, #087bb5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

#main-content .epf-home-hero .et_pb_text,
.epf-home-hero .et_pb_column {
    text-align: center;
}

.epf-home-hero .et_pb_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 16px;
    row-gap: 12px;
}

.epf-home-hero .et_pb_text {
    flex-basis: 100%;
}

#main-content .epf-home-hero .et_pb_button_module_wrapper {
    margin: 0 !important;
}

.epf-home .epf-home-hero-copy {
    max-width: 650px;
}

.epf-home .et_pb_button_module_wrapper {
    margin-top: 28px;
}

#main-content .epf-home .epf-home-button,
#main-content .epf-home .epf-home-button:hover {
    max-width: 100%;
    padding: 12px 22px !important;
    border: 1px solid #a8c0b9 !important;
    border-radius: 0;
    background: #fffdf0;
    color: #173e39 !important;
    font-size: 16px;
    line-height: 1.5 !important;
    text-decoration: none;
    text-align: center;
}

#main-content .epf-home .epf-home-button:hover {
    background: #d8f0f4;
}

.epf-home-button::after {
    display: none !important;
}

.epf-home-button:focus-visible {
    outline: 3px solid #36b5cd;
    outline-offset: 4px;
}

#main-content .epf-home.epf-home-highlights {
    position: relative;
    padding: 48px 0;
    background: #fffdf0;
    overflow-x: clip;
}

.epf-home .epf-home-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    z-index: 2;
}

#main-content .epf-home-highlights > .et_pb_row:last-child {
    bottom: 48px !important;
    z-index: 3 !important;
}

body:not(.et-fb) .epf-home-highlights > .et_pb_row:last-child,
body:not(.et-fb) .epf-home-highlights > .et_pb_row:last-child * {
    pointer-events: none !important;
}

.epf-home-cards::after,
.epf-home-story-row::after {
    display: none;
}

.epf-home .epf-home-cards > .et_pb_column {
    display: flex;
    flex-direction: column;
    width: auto !important;
    margin: 0 !important;
    border: 1px solid #c8d8d0;
    background: #fff;
}

.epf-home-cards .et_pb_image,
.epf-home-cards .et_pb_image_wrap {
    display: block;
    width: 100%;
    max-width: none !important;
}

.epf-home-cards img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.epf-home .epf-home-cards .et_pb_button_module_wrapper {
    padding: 20px;
    margin-top: auto;
    border-top: 5px solid #e3f2f0;
}

.epf-home-cards .epf-home-button {
    display: block;
}

#main-content .epf-home.epf-home-story {
    padding-top: 150px;
}

.epf-home .epf-home-story-row {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 40px;
}

.epf-home .epf-home-story-row > .et_pb_column {
    width: auto !important;
    margin: 0 !important;
}

.epf-home-story-row .et_pb_image,
.epf-home-story-row .et_pb_image_wrap,
.epf-home-story-row img {
    display: block;
    width: 100%;
}

.epf-home-story-row img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

.epf-home .epf-home-thanks-row {
    padding: 40px;
    border: 1px solid #c8d8d0;
    background: #e3f2f0;
}

.epf-home .epf-home-signature {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #a8c0b9;
}

.epf-home .epf-home-invitation {
    margin-top: 40px;
    padding: 40px;
    background: #173e39;
    color: #fffdf0;
}

#main-content .epf-home-invitation .et_pb_text {
    text-align: center;
}

.epf-home-invitation .et_pb_button_module_wrapper {
    text-align: center;
}

@media (max-width: 980px) {
    .epf-home .epf-home-story-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .epf-home-story-row img {
        aspect-ratio: 16 / 9;
    }

    .epf-home .epf-home-cards {
        gap: 16px;
    }

    .epf-home-cards .epf-home-button {
        font-size: 14px !important;
    }

    .epf-home .epf-home-thanks-row,
    .epf-home .epf-home-invitation {
        padding: 28px;
    }
}

@media (max-width: 640px) {
    #main-content .epf-home.epf-home-hero {
        padding: 200px 0 70px;
    }

    .epf-home .epf-home-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    #main-content .epf-home.et_pb_section:not(.epf-home-hero):not(.epf-home-highlights):not(.epf-home-story) {
        padding: 40px 0;
    }

    .epf-home .epf-home-thanks-row,
    .epf-home .epf-home-invitation {
        padding: 24px 18px;
    }
}

@media (max-width: 1024px) and (orientation: portrait), (max-width: 767px), (max-width: 1024px) and (max-height: 500px) {
    .epf-home-highlights > .et_pb_row_2 {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .epf-home-hero h1 {
        margin-bottom: 28px;
        font-size: clamp(24px, 11vw, 116px);
        font-weight: 700;
        line-height: .98;
        white-space: break-spaces;
        text-transform: uppercase;
    }
}

@media (max-width: 767px) {
    .epf-home-hero h1 {
        margin-bottom: 28px;
        font-size: clamp(24px, 17vw, 116px);
        font-weight: 700;
        line-height: .98;
        white-space: break-spaces;
        text-transform: uppercase;
    }

    #main-content .epf-home-hero .epf-home-title p {
        margin: 0 0 28px;
        color: #ffef98;
        font-size: clamp(25px, 3.2vw, 45px);
        font-weight: 400;
        line-height: 1.2;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    #main-content .epf-home.epf-home-story {
        padding-top: 65px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .epf-home .epf-home-cards .et_pb_button_module_wrapper {
        padding: 13px;
        margin-top: auto;
        border-top: 5px solid #e3f2f0;
    }
}
