.ecf-hero {
    background: #0B1956;
    height: 790px;
    position: relative;
}

/* fill the left gutter with white, matching the corner height */
.ecf-hero::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 265px; /* same as #white-corner / .relative-corner */
    width: max(0px, calc((100vw - 1437px) / 2)); /* left margin of centered container */
    background: #fff;
    z-index: 1; /* above hero bg, below container content */
}

.ecf-hero .background-setup {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

/* ensure your container content sits above that strip */
.ecf-hero .container {
    position: relative;
    z-index: 2;
}

.ecf-hero .container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(to right,
    #000 0,
    #000 calc(100% - 280px),
    rgba(0, 0, 0, .9) calc(100% - 200px),
    rgba(0, 0, 0, .55) calc(100% - 130px),
    rgba(0, 0, 0, .25) calc(100% - 70px),
    rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(to right,
    #000 0,
    #000 calc(100% - 280px),
    rgba(0, 0, 0, .9) calc(100% - 200px),
    rgba(0, 0, 0, .55) calc(100% - 130px),
    rgba(0, 0, 0, .25) calc(100% - 70px),
    rgba(0, 0, 0, 0) 100%
    );
}

/* blue blur on the RIGHT edge */

/*.ecf-hero .container:after {*/
/*    content:"";*/
/*    position:absolute; inset:0;*/
/*    pointer-events:none;*/
/*    background: linear-gradient(to right, rgba(11,25,86,0) 0%, #0B1956 99%);*/
/*    z-index: 5;*/
/*}*/

.ecf-hero .image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    z-index: 1;
}

/* soft blue blend + blur into #0B1956 */
.ecf-hero .image-wrapper::after {
    content: "";
    position: absolute;
    top: -200px;
    right: -260px;
    width: 900px; /* huge = no visible boundary */
    height: calc(100% + 400px);
    pointer-events: none;

    /* bloom from the RIGHT edge, no vertical band */
    background: radial-gradient(closest-side at 100% 50%,
    rgba(11, 25, 86, 1) 0%,
    rgba(11, 25, 86, .85) 18%,
    rgba(11, 25, 86, .45) 45%,
    rgba(11, 25, 86, 0) 78%
    );

    filter: blur(26px); /* blurs the overlay itself */
    opacity: .9;
}


.ecf-hero .image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .06;
    mix-blend-mode: soft-light;
    background-image: repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .08) 0 1px,
            rgba(0, 0, 0, 0) 1px 3px
    );
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ecf-hero .image-wrapper::after {
        /* just tint without blur */
        background: linear-gradient(to right, rgba(11, 25, 86, 0) 0%, rgba(11, 25, 86, .75) 70%, rgba(11, 25, 86, 1) 100%);
    }
}

.image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    z-index: 1;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.corners {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
}

#blue-corner {
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: translateY(-16px) translateX(44px);
}

#white-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

#lines {
    position: absolute;
    top: -16px;
    right: -161px;
    z-index: 1;
}

.relative-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 265px;
    width: 559px;
    background: white;
}

.ecf-hero-row .row.full-width.row-parent {
    padding: 0 !important;
}

.ecf-hero-row .wpb_row.row-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.ecf-hero-row .single-internal-gutter {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ecf-hero .image-wrapper img.ecf-hero__bg {
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) scale(1.06);
    transform-origin: center;
}

.content {
    padding: 251px 122px 0 122px;
    display: flex;
    flex-direction: column;
    gap: 65px;
    position: relative;
    z-index: 10;

    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.content .main-titles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content .main-titles h1 {
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    line-height: 86px; /* 119.444% */
    margin: 0;
}

.content .main-titles h1 br {

}

.content .main-titles h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px; /* 144.444% */
    color: white;
    margin: 0;
}

.content .info-items {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.content .info-items div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content .info-items div h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px; /* 144.444% */
    color: #0B1956;
    margin: 0;
}

.content .info-items div a {
    display: flex;
    padding: 16px 37px;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid var(--Blue, #5884E7);
    background: var(--Blue, #5884E7);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    text-align: center;
    color: white;
}

.content .info-items div a:hover {
    background: white;
    color: var(--Blue, #5884E7);
}

.content .info-items .informative-boxes {
    display: flex;
    padding: 60px 58px;
    justify-content: center;
    align-items: flex-start;

    background: var(--Blue, #5884E7);
}

.content .info-items .informative-boxes .flex-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content .info-items .informative-boxes a {
    padding: 0;
}

.content .info-items .informative-boxes a:hover {
    background: transparent;
    color: var(--White, #FFF);
}

.content .info-items .informative-boxes .flex-1 p {
    color: var(--White, #FFF);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    margin-top: 30px;
}

@media screen and (max-width: 1440px) {
    .ecf-hero .container {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* MUST + additions */
@media screen and (max-width: 1280px) {
    .content {
        padding: 251px 40px 0 40px;
    }
}

/* MUST + additions */
@media screen and (max-width: 1024px) {
    .ecf-hero {
        height: 100%; /* MUST */
    }

    .corners {
        display: none; /* MUST */
    }

    .ecf-hero .image-wrapper {
        width: 100%; /* MUST */
    }

    /* additions (make the "auto-height hero + absolute bg" behave nicely) */
    .ecf-hero {
        min-height: 0;
    }

    .ecf-hero::before {
        content: none;
    }

    .ecf-hero .background-setup {
        height: auto;
        top: 0;
        bottom: 0;
    }

    .ecf-hero .image-wrapper {
        top: 0;
        bottom: 0;
        height: auto;
    }

    .content {
        height: auto;
        padding: 200px 32px 56px 32px;
        gap: 44px;
    }

    .content .main-titles h1 {
        font-size: 52px;
        line-height: 62px;
    }

    .content .main-titles h2 {
        font-size: 28px;
        line-height: 40px;
    }

    /* top row (headline + button) wraps better */
    .content .info-items > div:first-child {
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
    }

    .content .info-items > div:first-child h2 {
        font-size: 28px;
        line-height: 40px;
        color: white;
    }

    .content .info-items > div:first-child a {
        padding: 14px 28px;
    }

    .content .info-items .informative-boxes {
        padding: 40px 32px;
        gap: 24px;
    }

    .content .info-items .informative-boxes .flex-1 p {
        font-size: 16px;
        line-height: 24px;
        margin-top: 20px;
    }
}

/* 920px */
@media screen and (max-width: 920px) {
    .content {
        padding: 170px 28px 48px 28px;
        gap: 36px;
    }

    .content .main-titles h1 {
        font-size: 46px;
        line-height: 56px;
    }

    .content .main-titles h2 {
        font-size: 26px;
        line-height: 38px;
    }

    /* stack headline + button */
    .content .info-items > div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .content .info-items > div:first-child a {
        width: 100%;
        justify-content: center;
    }

    /* stack the three info boxes */
    .content .info-items .informative-boxes {
        flex-direction: column;
        padding: 36px 28px;
        gap: 22px;
    }

    .content .info-items .informative-boxes .flex-1 {
        width: 100%;
    }
}

/* 768px */
@media screen and (max-width: 768px) {
    .content {
        padding: 140px 20px 40px 20px;
        gap: 30px;
    }

    .content .main-titles h1 {
        font-size: 38px;
        line-height: 46px;
    }

    .content .main-titles h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .content .info-items > div:first-child h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .content .info-items .informative-boxes {
        padding: 30px 20px;
    }

    .content .info-items .informative-boxes .flex-1 p {
        font-size: 16px;
        line-height: 24px;
        margin-top: 16px;
    }

    /* optional: make icons a bit smaller */
    .content .info-items .informative-boxes svg {
        transform: scale(0.92);
        transform-origin: left top;
    }
}

/* 500px */
@media screen and (max-width: 500px) {
    .content {
        padding: 120px 16px 32px 16px;
        gap: 26px;
    }

    .content .main-titles h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .content .main-titles h1 br {
        display: none;
    }

    .content .main-titles h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .content .info-items > div:first-child h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .content .info-items > div:first-child a {
        width: 100%;
        padding: 14px 18px;
    }

    .content .info-items .informative-boxes {
        padding: 26px 18px;
        gap: 20px;
    }

    .content .info-items .informative-boxes .flex-1 p {
        font-size: 15px;
        line-height: 22px;
    }
}

#speakers-block .speakers .t-entry-text-tc p span {
    color: white !important;
    font-weight: 400 !important;
}

.academia-ambasadors .t-entry-meta span {
    color: #0B1956 !important;
    font-weight: 400 !important;
}
.ambassadors-carousel .t-entry-meta span {
    color: #0B1956 !important;
    font-weight: 400 !important;
}

#wpcf7-f89560-p167245-o2 .wpcf7-submit {
    background-color: #0B1956 !important;
    border-color: #0B1956 !important;
}

.menu-wrapper.menu-sticky.menu-sticky-mobile {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5000;
    transition: all 0.3s ease-in-out;
}

.menu-wrapper.menu-sticky.menu-sticky-mobile.scrolled {
    background: #0B1956 !important;
}

.menu-primary.menu-borders:not(.needs-after), .menu-primary .menu-borders:not(.needs-after), .menu-primary.menu-borders.needs-after::after, .menu-primary .menu-borders.needs-after::after {
    border: none !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
    color: red !important;
}


