/* Site-wide header and footer (redesign). Loaded after the theme styles on every public page. */

/* ---------- Header ---------- */
.navbar-area.navbar-two.navbar-expand-lg {
    z-index: 99;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #E3DFD6;
    box-shadow: none;
}
.navbar-area.navbar-two .nav-container { min-height: 88px; padding-top: 0; padding-bottom: 0; }
.navbar-area.navbar-two .logo img { max-height: 60px; width: auto; }
.navbar-area.navbar-two .navbar-nav li a {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #12354A;
}
.navbar-area.navbar-two .navbar-nav li a:hover,
.navbar-area.navbar-two .navbar-nav li.current-menu-item > a { color: #0F78AE; }

.navbar-area.navbar-two .hr-nav-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #12354A;
    text-decoration: none;
}
.navbar-area.navbar-two .hr-nav-link:hover { color: #0F78AE; }
.navbar-area.navbar-two .hr-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    background: #0F78AE;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-area.navbar-two .hr-nav-cta:hover { background: #0B6693; color: #fff; }
.navbar-area.navbar-two a:focus-visible,
.navbar-area.navbar-two button:focus-visible { outline: 3px solid #0F78AE; outline-offset: 2px; }

@media (max-width: 991.98px) {
    .navbar-area.navbar-two .hr-nav-link { display: none; }
    .navbar-area.navbar-two .hr-nav-cta { width: 100%; margin: 4px 0 12px; }
}

/* ---------- Footer ---------- */
.hr-footer {
    padding: 56px 0 32px;
    background: #12354A;
    color: #D5E1E8;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
.hr-footer *, .hr-footer *::before, .hr-footer *::after { box-sizing: border-box; }
.hr-footer-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hr-footer-top { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.hr-footer-brand { flex: 2 1 280px; min-width: 0; }
.hr-footer-logo { display: inline-block; margin-bottom: 14px; padding: 8px 14px; border-radius: 12px; background: #fff; }
.hr-footer-logo img { display: block; max-height: 48px; width: auto; }
.hr-footer-brand p { max-width: 340px; margin: 0; color: #D5E1E8; font-size: 16px; }
.hr-footer-col { flex: 1 1 150px; min-width: 0; }
.hr-footer-col h4 { margin: 0 0 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.hr-footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hr-footer-col li { margin: 0; padding: 0; list-style: none; color: #D5E1E8; font-size: 16px; }
.hr-footer-col li::before, .hr-footer-col li::after { content: none; display: none; }
.hr-footer-col a { color: #D5E1E8; text-decoration: none; }
.hr-footer-col a:hover { color: #fff; text-decoration: underline; }
.hr-footer a:focus-visible { outline: 3px solid #7CC7EA; outline-offset: 2px; }
.hr-footer-bottom { margin: 0; padding-top: 24px; border-top: 1px solid #2C5169; color: #D5E1E8; font-size: 14px; }

/* ---------- Cookie notice ---------- */
.hr-consent {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 400px;
    max-width: calc(100vw - 48px);
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #E3DFD6;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(18, 53, 74, 0.18);
    font-family: 'Manrope', sans-serif;
    color: #3B4A55;
}
.hr-consent[hidden] { display: none; }
.hr-consent h2 { margin: 0 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 18px; line-height: 1.3; color: #12354A; }
.hr-consent p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #3B4A55; }
.hr-consent p a { font-weight: 700; color: #0B6693; text-decoration: underline; }
.hr-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hr-consent button {
    flex: 1 1 120px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin: 0;
}
.hr-consent .hr-consent-accept { background: #0F78AE; border: 1.5px solid #0F78AE; color: #fff; }
.hr-consent .hr-consent-accept:hover { background: #0B6693; border-color: #0B6693; }
.hr-consent .hr-consent-decline { background: #fff; border: 1.5px solid #C9D3D9; color: #12354A; }
.hr-consent .hr-consent-decline:hover { border-color: #12354A; }
.hr-consent button:focus-visible, .hr-consent a:focus-visible { outline: 3px solid #0F78AE; outline-offset: 2px; }
@media (max-width: 575.98px) {
    .hr-consent { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 18px; }
}

/* ---------- Mobile navbar ---------- */
.hr-mobile-actions { display: none; }

@media (max-width: 991.98px) {
    .navbar-area.navbar-two.navbar-expand-lg { padding: 0; }
    .navbar-area.navbar-two .nav-container { display: block; min-height: 0; padding: 0 16px; }

    /* The desktop-only right-hand area is not used on phones; its buttons live in the menu panel instead. */
    .navbar-area.navbar-two .nav-container .nav-right-content { display: none !important; }

    /* Bar: logo on the left, account and menu buttons on the right */
    .navbar-area.navbar-two .responsive-mobile-menu {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 72px;
        position: static;
        width: 100%;
    }
    .navbar-area.navbar-two .responsive-mobile-menu .logo-wrapper { flex: 1 1 auto; min-width: 0; }
    .navbar-area.navbar-two .logo img { max-height: 48px; }

    .navbar-area.navbar-two .onlymobile-device-account-navbar { position: static !important; flex: none; width: auto; height: auto; margin: 0; }
    .navbar-area.navbar-two .nav-container .onlymobile-device-account-navbar-flex { position: static !important; right: auto !important; }
    .navbar-area.navbar-two .onlymobile-device-account-navbar .login-account { position: relative; }
    .navbar-area.navbar-two .onlymobile-device-account-navbar .login-account .accounts {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; padding: 0;
        border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; color: #12354A;
    }
    .navbar-area.navbar-two .onlymobile-device-account-navbar .login-account .accounts .account { display: none; }
    .navbar-area.navbar-two .onlymobile-device-account-navbar .login-account .accounts i { margin: 0; font-size: 22px; color: #12354A; }
    .navbar-area.navbar-two .onlymobile-device-account-navbar .account-list-item {
        right: 0; left: auto; min-width: 170px; padding: 8px;
        background: #fff; border: 1px solid #E3DFD6; border-radius: 14px; box-shadow: 0 12px 28px rgba(18, 53, 74, 0.16);
    }
    .navbar-area.navbar-two .onlymobile-device-account-navbar .account-list-item a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; color: #12354A; }

    .navbar-area.navbar-two .responsive-mobile-menu .navbar-toggler {
        position: static !important; flex: none;
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; margin: 0; padding: 0;
        border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; box-shadow: none;
    }
    .navbar-area.navbar-two .navbar-toggler-icon {
        width: 22px; height: 22px; display: block;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312354A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
        background-size: contain; background-repeat: no-repeat; background-position: center;
    }
    .navbar-area.navbar-two .navbar-toggler-icon::before, .navbar-area.navbar-two .navbar-toggler-icon::after { display: none; }

    /* Menu panel */
    .navbar-area.navbar-two .nav-container .navbar-collapse {
        width: auto; margin: 0 -16px; padding: 4px 16px 24px;
        background: #fff; border-top: 1px solid #E3DFD6; box-shadow: 0 16px 28px rgba(18, 53, 74, 0.1);
    }
    .navbar-area.navbar-two .nav-container .navbar-collapse .navbar-center-wrapper { display: block; }
    .navbar-area.navbar-two .nav-container .navbar-collapse .navbar-nav { background: transparent !important; margin: 0; padding: 0; }
    .navbar-area.navbar-two .navbar-nav > li { border-bottom: 1px solid #EFECE5; }
    .navbar-area.navbar-two .navbar-nav > li > a {
        display: block; padding: 16px 4px; font-family: 'Manrope', sans-serif;
        font-weight: 600; font-size: 17px; line-height: 1.3; color: #12354A;
    }
    .navbar-area.navbar-two .navbar-nav li .sub-menu {
        position: static; width: 100%; margin: 0 0 12px; padding: 4px 14px;
        background: #F7F5F0; border: 0; border-radius: 12px; box-shadow: none;
    }
    .navbar-area.navbar-two .navbar-nav li .sub-menu li { border: 0; }
    .navbar-area.navbar-two .navbar-nav li .sub-menu li a { display: block; padding: 12px 0; font-weight: 600; font-size: 16px; color: #12354A; }

    .hr-mobile-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
    .hr-mobile-actions .hr-m-cta, .hr-mobile-actions .hr-m-outline {
        display: flex; align-items: center; justify-content: center; min-height: 52px;
        border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; text-decoration: none;
    }
    .hr-mobile-actions .hr-m-cta { background: #0F78AE; color: #fff; }
    .hr-mobile-actions .hr-m-outline { background: #fff; border: 1.5px solid #C9D3D9; color: #12354A; }
    .hr-mobile-actions .hr-m-link { padding: 10px; text-align: center; font-weight: 700; color: #0B6693; text-decoration: none; }
}

/* Mobile navbar: reset spacing the theme adds to the bar, buttons and list items */
@media (max-width: 991.98px) {
    .navbar-area.navbar-two .container.container-two.nav-container { max-width: none; width: 100%; margin: 0; padding-left: 16px !important; padding-right: 16px !important; }
    .navbar-area.navbar-two .responsive-mobile-menu { padding: 0; margin: 0; }
    .navbar-area.navbar-two .nav-container .onlymobile-device-account-navbar-flex,
    .navbar-area.navbar-two .onlymobile-device-account-navbar { top: auto !important; transform: none !important; margin: 0 !important; padding: 0 !important; }
    .navbar-area.navbar-two .responsive-mobile-menu .navbar-toggler { top: auto !important; margin: 0 !important; }
    .navbar-area.navbar-two .navbar-toggler-icon {
        width: 22px !important; height: 22px !important; margin: 0 !important;
        background-color: transparent !important; position: static !important;
    }
    .navbar-area.navbar-two .nav-container .navbar-collapse { margin-left: -16px; margin-right: -16px; }
    .navbar-area.navbar-two .navbar-nav > li { margin: 0 !important; padding: 0 !important; height: auto; width: 100%; }
    .navbar-area.navbar-two .navbar-nav > li > a { margin: 0 !important; }
    .navbar-area.navbar-two .navbar-nav li.menu-item-has-children > a { position: relative; padding-right: 32px; }
    .navbar-area.navbar-two .navbar-nav li .sub-menu li { padding: 0 !important; margin: 0 !important; }
}

/* Mobile navbar: final fixes */
@media (max-width: 991.98px) {
    .navbar-area.navbar-two .responsive-mobile-menu .navbar-toggler { transform: none !important; }
    .navbar-area.navbar-two .nav-container .navbar-collapse { width: calc(100% + 32px) !important; max-width: none; }
    .navbar-area.navbar-two .navbar-nav li .sub-menu { margin: 0; padding: 0 14px; }
    .navbar-area.navbar-two .navbar-nav li.menu-item-has-children > .sub-menu { margin-bottom: 12px; padding: 4px 14px; }
    .navbar-area.navbar-two .navbar-nav li:not(.menu-item-has-children) > .sub-menu { display: none; }
}

/* Mobile menu button: draw the three bars with the icon's own pseudo-element */
@media (max-width: 991.98px) {
    .navbar-area.navbar-two .navbar-toggler-icon { background-image: none !important; position: relative !important; }
    .navbar-area.navbar-two .navbar-toggler-icon::before {
        content: "" !important; display: block !important; position: absolute !important;
        left: 1px !important; top: 10px !important; width: 20px !important; height: 2px !important; border-radius: 2px;
        background: #12354A !important; box-shadow: 0 -7px 0 #12354A, 0 7px 0 #12354A; transform: none !important;
    }
    .navbar-area.navbar-two .navbar-toggler-icon::after { display: none !important; }
}
