/* =========================================
   #Global / Base Refinement
========================================= */
body {
    color: #333333;
    font-family: 'Roboto', sans-serif;
}

body:not(.home) {
    background-color: #0000001A;
}

h2 {
    color: #2d414d;
    font-weight: 400;
}

.mhi-section {
    padding: 60px 0;
}

.bg-white {
    background-color: #fff;
}

/* .page>.entry-content {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: calc(var(--gutter-x) / 2);
} */

/* =========================================
   #Header + Footer
========================================= */
.mhi-site-header {
    background-color: var(--dark-blue);
    padding: 16px 0;
    text-align: center;
}


.site-branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-branding img {
    max-height: 82px;
}

.mhi-site-footer {
    padding: 35px 0;
    background-color: var(--dark-blue) !important;
    color: #ffffff;
    margin-top: auto;
}

.footer-logo {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

nav.footer-navigation {
    margin-bottom: 16px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 17px;
}

.footer-menu>li {
    position: relative;
}

.footer-menu>li:after {
    content: "";
    background: #fff;
    width: 1px;
    height: 18px;
    position: absolute;
    left: auto;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-menu>li:last-child:after {
    display: none;
}

.footer-terms {
    font-size: 12px;
    margin-bottom: 8px;
    text-align: center;
}

.footer-contact {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.mobile-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 12px;
}

.mobile-links a {
    position: relative;
}

.mobile-links a:after {
    content: "";
    background: #fff;
    width: 1px;
    height: 12px;
    position: absolute;
    left: auto;
    right: -6px;
    top: 47%;
    transform: translateY(-50%);
}

.mobile-links a:last-child:after {
    display: none;
}

@media (min-width: 641px) {
    .hide-desktop {
        display: none;
    }
}

@media (max-width: 992px) {
    .site-branding img {
        max-height: 112px;
    }

    .mhi-login-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-contact,
    .footer-terms {
        font-size: 14px;
    }

    .footer-menu {
        font-size: 22px;
    }
}

@media (max-width: 640px) {


    .footer-menu {
        font-size: 14px;
        flex-wrap: wrap;
        align-items: center;
    }

    .footer-contact,
    .footer-terms {
        font-size: 12px;
    }

    .footer-menu>li:last-child:after {
        display: none;
    }

    .footer-logo,
    nav.footer-navigation,
    .mobile-links {
        margin-bottom: 18px;
    }

}

/* =========================================
   #Home page
========================================= */
.mhi-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    WIDTH: 100%;
}

.mhi-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

img.banner-image {
    width: 100%;
    object-fit: cover;
    min-height: 202px;
    max-height: 404px;
}

.mhi-hero-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.mhi-login-buttons {
    display: flex;
    gap: 23px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    max-width: 850px;
    margin: 0 auto;
}

.btn-hero {
    flex: 1;
    max-width: 354px;
    padding: 12px 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    border: 3px solid #ffffff;
    text-transform: uppercase;
    display: block;
}

.mhi-welcome {
    text-align: center;
    padding: 30px 0 25px 0;
}

.mhi-welcome h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #000;
}

.mhi-welcome p {
    color: #000000E5;
}

.mhi-welcome p:last-of-type {
    margin-bottom: 0;
}

.mhi-steps {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 45px 0;
}

.mhi-steps .section-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--dark-blue);
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    display: flex;
    flex-direction: column;
}

.step-header {

    display: flex;
    padding: 0;
    gap: 0;
}

.step-number {
    font-size: 36px;
    font-weight: 600;
    background-color: var(--primary-red);
    color: #ffffff;
    width: 50px;
    height: 50px;
    text-align: center;
}

.step-title {
    color: var(--dark-blue);
    font-size: 28px;
    font-weight: 700;
    padding: 10px 16px;
    line-height: 1;
}

.step-body {
    background-color: #ffffff;
    padding: 8px 18px;
    text-align: center;
    flex-grow: 1;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.28;
}

.mhi-register {
    text-align: center;
    padding-top: 30px;
}

.reg-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.reg-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    max-width: 350px;
    margin-inline: auto;
}

.invite-note {
    max-width: 460px;
    margin: 0 auto;
    color: var(--dark-blue);
}


@media (min-width: 641px) {
    .desktop-hide {
        display: none;
    }
}

@media (max-width: 992px) {

    .hero-banner,
    img.banner-image {
        min-height: 320px;
    }

    .steps-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .mhi-welcome h2 {
        font-size: 34px;
    }

    .step-number {
        font-size: 43px;
    }

    .step-title {
        font-size: 37px;
        padding: 13px 16px;
    }

    .step-number {
        width: 74px;
        height: 70px;
    }

    .invite-note {
        font-size: 18px;
    }

    .step-body {
        font-size: 24px;
        padding: 17px 15px;
    }

    .btn-hero {
        font-size: 30px;
        max-width: 447px;
        border-width: 6px;
        width: 100%;
    }


}

@media (max-width: 640px) {
    .hide-mobile {
        display: none;
    }

    .site-branding img {
        max-height: 90px;
    }

    .mhi-welcome h2 {
        font-size: 22px;
    }

    .step-body {
        font-size: 18px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .invite-note {
        font-size: 14px;
    }

    .step-title {
        font-size: 24px;
        padding: 9px 16px;
    }

    .btn-hero {
        font-size: 20px;
    }

    .mhi-page-title h1>span {
        max-width: 360px;
    }

    .hero-banner,
    img.banner-image {
        min-height: 208px;
    }
}

/*Hero Dashboard Menu*/
.hero-bottom-navigation {
    background-color: var(--dark-blue);
    padding: 18px 0;
}

nav.header-navigation-hero>ul {
    display: flex;
    justify-content: center;
    gap: 17px;
}

nav.header-navigation-hero>ul>li>a {
    color: #fff;
    font-size: 17px;
}

nav.header-navigation-hero>ul>li {
    position: relative;
}

nav.header-navigation-hero>ul>li:after {
    content: "";
    background: #fff;
    width: 1px;
    height: 15px;
    position: absolute;
    left: auto;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
}

nav.header-navigation-hero>ul>li:last-child:after {
    display: none;
}

/* =========================================
   #User Menu
========================================= */
.logedin-user-menu {
    position: absolute;
    left: auto;
    right: 30px;
}

.header-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mhi-user-menu-wrapper {
    position: relative;
    color: #ffffff;
    cursor: pointer;
    text-align: right;
    user-select: none;
}

.mhi-user-menu-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.mhi-icon-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.mhi-icon-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: background-color 0.3s;
}

.mhi-icon-user svg {
    width: 38px;
    height: 38px;
    color: #ffffff;
}

.mhi-user-info {
    font-size: 14px;
    line-height: 1.2;
}

.mhi-user-name {
    font-weight: 500;
}

.mhi-user-balance {
    font-size: 14px;
    font-weight: 400;
}

/* Dropdown */
.mhi-user-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background-color: var(--dark-blue);
    width: 150px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.01);
    border-radius: 2px;
    overflow: hidden;
}

.mhi-user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mhi-user-dropdown ul {
    list-style: none;
    padding: 3px 0;
    margin: 0;
}

.mhi-user-dropdown li:last-child {
    border-bottom: none;
}

.mhi-user-dropdown a {
    display: block;
    padding: 7px 9px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.mhi-user-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.mhi-breadcrumb {
    padding-bottom: 25px;
}
.wpcf7-not-valid-tip {
    font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #2d414d;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #e41e26;
    font-weight: 500;
}


@media (max-width: 992px) {
    .mhi-user-name {
        font-size: 20px;
    }

    .mhi-user-balance {
        font-size: 22px;
    }

    .mhi-icon-user svg {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .btn-hero {
        max-width: 330px;
    }

    .mhi-user-name {
        font-size: 16px;
    }

    .mhi-user-balance {
        font-size: 18px;
    }

    .hero-bottom-navigation {

        padding: 0;
        overflow: hidden;
    }

    .hero-bottom-navigation .container {
        padding: 0;
    }

    nav.header-navigation-hero>ul {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        padding: 18px 20px;
    }

    nav.header-navigation-hero>ul>li {
        white-space: nowrap;
    }

    nav.header-navigation-hero>ul>li>a {
        font-size: 14px;
    }

    /* nav.header-navigation-hero>ul>li:after {
        display: none;
    } */

    .header-login-wrapper {
        justify-content: space-between;
    }

    .header-login-wrapper .site-branding img {
        max-height: 70px;
    }

    .mhi-icon-user svg {
        width: 24px;
        height: 24px;
    }

    .mhi-user-name,
    .mhi-user-balance {
        font-size: 12px;
    }

    header.mhi-site-header .container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 380px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}