.homepage_banner__enrolment__heading {
    color: #ffffff;
    font-size: 36px !important;
    font-weight: bold;
}

.medal-section {
    position: absolute;
    display: flex;
    bottom: 9%;
    right: 16%;
}

.medal-section-2 {
    right: 24% !important;
}

.homepage_banner {
    position: relative;
}

.homepage_banner .medal-section img {
    margin-right: 14px;
}

.homepage_banner .wp-block-buttons {
    gap: 10px !important;
}


.medal:before {
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.13) 0%,
            rgba(255, 255, 255, 0.13) 77%,
            rgba(255, 255, 255, 0.5) 92%,
            rgba(255, 255, 255, 0.0) 100%);
}

.medal:hover:after {
    opacity: 0.8;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

.medal:active:after {
    opacity: 0;
}

.homepage_banner .background_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.homepage_banner__enrolment {
    position: relative;
    width: 100%;
    top: 0px;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    height: 643px;
}

.homepage_banner__for_organisations {
    position: absolute;
    width: 100%;
    height: 643px;
    top: 0px;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    height: 643px;
}

.homepage_banner--enrolment_active .homepage_banner__enrolment {
    opacity: 1;
    z-index: 500 !important;
}

.homepage_banner--enrolment_active .homepage_banner__for_organisations {
    opacity: 0;
}

.homepage_banner--company_active .homepage_banner__enrolment {
    opacity: 0;
}

.homepage_banner--company_active .homepage_banner__for_organisations {
    opacity: 1;
    z-index: 500 !important;
}


.homepage_banner__enrolment .container {
    height: 100%;
    overflow: hidden;
}

.homepage_banner__for_organisations .container {
    height: 100%;
    overflow: hidden;
}


.homepage_banner__enrolment .container .row {
    height: 100%;
}

.homepage_banner__enrolment .container .row .col-xl-8 {
    height: 100%;
}

.homepage_banner__enrolment .wp-block-buttons {
    gap: 10px;
}

.homepage_banner__enrolment__background {
    height: 100%;
    position: absolute;
    right: 0px;
    object-fit: cover;
}

.homepage_banner__for_organisations__background {
    height: 100%;
    position: absolute;
    right: 0px;
    object-fit: cover;
}

.homepage_banner__for_organisations .container .row {
    height: 100%;
}


@media only screen and (max-width: 1117px) {
    .homepage_banner__enrolment__heading {
        text-align: center;
    }

    .homepage_banner__enrolment__heading .wp-block-buttons {
        gap: 1rem;
    }

}

@media only screen and (max-width: 418px) {
    .homepage_banner .background_img img {
        min-height: 360px !important;
    }
}

@media only screen and (max-width: 400px) {
    .homepage_banner img {
        margin-left: 0px !important;
    }

    .homepage_banner .medal-section img {
        margin-right: 0px !important;
    }
}

@media only screen and (min-width: 418px) and (max-width: 600px) {
    .homepage_banner .background_img img {
        min-height: 467px !important;
    }
}

@media only screen and (min-width: 400px) and (max-width: 440px) {
    .homepage_banner .medal-section img {
        margin-right: 25px !important;
    }

    .medal-section {
        right: 3% !important;
    }
}

@media only screen and (min-width: 440px) and (max-width: 520px) {
    .homepage_banner .medal-section img {
        margin-right: 40px !important;
    }

    .medal-section {
        right: 4% !important;
    }
}

@media only screen and (min-width: 520px) and (max-width: 600px) {
    .homepage_banner .medal-section img {
        margin-right: 40px !important;
    }

    .medal-section {
        right: 7% !important;
    }
}


@media only screen and (max-width: 600px) {
    .homepage_banner__enrolment .wp-block-button {
        margin-left: auto;
        margin-right: auto;
    }

    .homepage_banner__enrolment__heading {
        font-size: 26px !important;
    }

    .homepage_banner .wp-block-buttons {
        padding-bottom: 30%;
    }

    .background_img {
        display: none;
    }

    .medal-section {
        bottom: 18% !important;
    }

    .homepage_banner__for_organisations .wp-block-button {
        margin-left: auto;
        margin-right: auto;
    }

    .homepage_banner img {
        height: auto !important;
    }

    .medal-section {
        transform: scale(0.5);
        right: 0px;
    }

    .homepage_banner__enrolment__background {
        display: none;
    }

    .homepage_banner__for_organisations__background {
        display: none;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1100px) {

    .homepage_banner .background_img img {
        height: auto !important;
    }

    .medal-section {
        position: absolute;
        display: flex;
        bottom: 14%;
        right: calc(50% - 153px);
    }

    .homepage_banner .medal-section img {
        height: 90px !important;
        width: 90px !important;
    }

}

@media only screen and (min-width: 1100px) and (max-width: 1200px) {

    .homepage_banner .background_img img {
        min-height: 456px !important;
        height: 456px !important;
        padding-top: unset !important;
        margin-left: 20%;
        width: unset !important;
    }

}

/* V2 banner styling */
.banner-version-v2 {
    overflow: hidden;
}

.banner-version-v2 .homepage_banner__enrolment {
    position: relative;
    background: linear-gradient(180deg, #0054B7 0%, #0075FF 100%);
    height: 803px;

}

.banner-version-v2 .homepage_banner__enrolment__background {
    position: absolute;
    top: 53%;
    left: 50%;
    width: auto;
    height: 169%;
    max-width: none;
    transform: translate(-25%, -50%) rotate(21deg);
    object-fit: contain;
}

.banner-version-v2 .homepage_banner__enrolment__heading {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 34px;
}