/* Personal account layout fixes */

body.home header,
body.page-template-tpl_lk header {
    min-height: 165px;
}

nav.menu .wr {
    position: relative;
    width: min(100% - 40px, 1280px);
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

nav.menu ul.navigation {
    width: calc(100% - 72px);
    min-height: 60px;
    margin: 0;
    padding: 0 72px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 2vw, 34px);
    list-style: none;
    box-sizing: border-box;
}

nav.menu ul.navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav.menu ul.navigation > li > a {
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

nav.menu ul.navigation .sub-menu {
    position: absolute;
    top: 60px;
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    display: none;
    list-style: none;
    background-color: #004a80;
    box-shadow: 0 18px 36px rgba(0, 28, 48, 0.22);
    z-index: 1000;
}

nav.menu ul.navigation li:hover > .sub-menu,
nav.menu ul.navigation li:focus-within > .sub-menu {
    display: block;
}

nav.menu ul.navigation .sub-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    text-decoration: none;
}

nav.menu ul.navigation .sub-menu a:hover,
nav.menu ul.navigation .sub-menu a:focus-visible {
    color: #faa61a;
}

nav.menu div.search {
    right: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    display: grid;
    place-items: center;
}

.lk-page {
    background: #f3f7fa;
}

.lk-hero {
    position: relative;
    min-height: calc(100svh - 165px);
    padding: clamp(76px, 9vh, 126px) 20px clamp(84px, 10vh, 132px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 24, 42, 0.54), rgba(0, 24, 42, 0.42)),
        url("../img/header/header-bg.jpg") center / cover no-repeat;
}

.lk-hero__inner {
    width: min(100%, 1040px);
    display: grid;
    justify-items: center;
}

.lk-hero h1 {
    margin: 0 0 28px;
    color: #fff;
    font-family: "Cuprum", sans-serif;
    font-size: clamp(42px, 6vw, 92px);
    font-weight: 700;
    line-height: 0.95;
    text-align: center;
    text-transform: uppercase;
}

.lk-login-panel {
    width: min(100%, 430px);
}

.lk-login-panel .um {
    width: 100%;
    max-width: none !important;
    margin: 0 auto !important;
}

.lk-login-panel .um-form {
    width: 100%;
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 24, 42, 0.18);
    box-sizing: border-box;
}

.lk-login-panel form {
    margin: 0;
}

.lk-login-panel .um-row,
.lk-login-panel .um-field {
    margin: 0 0 16px;
    padding: 0;
}

.lk-login-panel .um-field-label {
    margin: 0 0 8px;
}

.lk-login-panel .um-field-label label {
    color: #0f5b9b;
    font-family: "Cuprum", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.lk-login-panel input[type="text"],
.lk-login-panel input[type="password"],
.lk-login-panel input[type="email"] {
    width: 100% !important;
    min-height: 46px;
    padding: 0 14px !important;
    border: 1px solid #cddae5 !important;
    border-radius: 0 !important;
    background: #eaf4ff !important;
    color: #23313d !important;
    box-sizing: border-box;
    font-size: 16px !important;
}

.lk-login-panel .um-col-alt {
    margin: 28px 0 0;
    display: flex;
    justify-content: center;
}

.lk-login-panel .um-button,
.lk-login-panel input[type="submit"].um-button {
    min-width: 250px !important;
    min-height: 48px !important;
    padding: 0 30px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #3da7d8 !important;
    color: #fff !important;
    font-family: "Cuprum", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 48px !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.lk-login-panel .um-button:hover,
.lk-login-panel .um-button:focus-visible {
    background: #188fc4 !important;
}

@media screen and (max-width: 959px) {
    body.home header,
    body.page-template-tpl_lk header {
        min-height: auto;
    }

    .lk-hero {
        min-height: auto;
        padding: 72px 16px 84px;
    }

    .lk-login-panel {
        width: min(100%, 390px);
    }
}

@media screen and (max-width: 480px) {
    .lk-hero h1 {
        margin-bottom: 22px;
    }

    .lk-login-panel .um-button,
    .lk-login-panel input[type="submit"].um-button {
        width: 100% !important;
        min-width: 0 !important;
    }
}
