.sama-membership-summary { display: inline-flex; flex-direction: column; width: 100%; max-width: 390px; }
.sama-membership-summary .sama-membership-year { display: block; color: #fff; font-size: 11px; line-height: 1.5; }
.sama-membership-summary a.sama-membership-year { text-decoration: underline; }
.sama-membership-complete {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: middle;
}
.sama-membership-complete__tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #d9efbc;
    color: #244b2a;
    font-size: 14px;
}
.sama-membership-progress {
    display: inline-flex;
    width: 100%;
    max-width: 390px;
    gap: 8px;
    padding: 8px 0;
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}
.sama-membership-progress .sama-membership-progress__step {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.sama-membership-progress__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(50% + 18px);
    width: calc(100% - 28px);
    height: 3px;
    background: rgba(255, 255, 255, .4);
}
.sama-membership-progress__step.is-complete::after { background: #d9efbc; }
.sama-membership-progress__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    font-size: 14px;
}
.is-complete .sama-membership-progress__marker { background: #d9efbc; border-color: #d9efbc; color: #244b2a; }
.is-current .sama-membership-progress__marker { background: #fff; border-color: #fff; color: #244b2a; }
.sama-membership-progress a:hover .sama-membership-progress__label { text-decoration: underline; }
.sama-membership-progress a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }
.sama-membership-progress__mobile-label { display: none; }

@media only screen and (max-width: 640px) {
    .sama-membership-progress__desktop-label { display: none; }
    .sama-membership-progress__mobile-label { display: inline; }
    .sama-membership-progress__label { white-space: nowrap; }

    /* Only the account menu next to the membership header column. */
    .memberstatus1 .fusion-text > p { margin-bottom: 0; }
    .memberstatus1 + .fusion-layout-column .fusion-menu-element-wrapper > .avada-menu-mobile-menu-trigger[aria-controls="menu-topmenu-new"] {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0 0 0 auto;
        font-size: 26px !important;
        line-height: 1;
    }
    .memberstatus1 + .fusion-layout-column .avada-menu-mobile-menu-trigger[aria-controls="menu-topmenu-new"] .inner {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .memberstatus1 + .fusion-layout-column .avada-menu-mobile-menu-trigger[aria-controls="menu-topmenu-new"] .collapsed-nav-icon {
        margin: 0;
        font-size: 26px;
        line-height: 1;
    }
}
