/* New site header - default desktop state (Figma "Navbar" section, navbar.default) */

.site_header {
    background: #f9f9f9;
}

/* old style.css has `header#header { position: absolute }` which outranks
   a plain .site_header class selector - #header.site_header beats it */
#header.site_header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site_header_row {
    height: 70px;
    padding: 0 36px;
}

.header_nav_group {
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
}

.header_logo {
    display: flex;
    align-items: center;
    width: 120px;
    flex-shrink: 0;
    position: relative;
    top: -8px;
}

.header_logo img {
    width: 100%;
    height: auto;
}

.header_nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.header_nav_list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.header_nav_list li {
    margin-bottom: 0;
}
.header_nav_item a {
    display: block;
    padding: 8px 12px;
    border-radius: 32px;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 22.5px;
    letter-spacing: -0.15px;
    color: #222428;
    white-space: nowrap;
}

.header_nav_item a:hover {
    text-decoration: underline;
}

.header_finderlab_logo {
    display: flex;
    align-items: center;
    width: 110px;
    flex-shrink: 0;
}

.header_finderlab_logo img {
    width: 100%;
    height: auto;
}

.header_more_toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: none;
    border: 1px solid transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #222428;
    white-space: nowrap;
    flex-shrink: 0;
}
.header_more_toggle:hover, .header_more_toggle:focus, .header_more_toggle:active  {
    background: #fff;
    color: #222428;
    border-color: #222428;
}
.header_more_toggle img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.header_more_dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px;
    list-style: none;
    z-index: 20;
    min-width: 180px;
}

.header_more_dropdown.is-open {
    display: block;
}

.header_more_dropdown li a {
    display: block;
    padding: 8px 12px;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    color: #222428;
    white-space: nowrap;
}

.header_more_dropdown li a:hover {
    text-decoration: underline;
}

.header_icons {
    gap: 16px;
}

.header_icon_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #f0f0f0;
}

.header_icon_btn img {
    width: 24px;
    height: 24px;
}

.header_icon_btn:hover {
    background: #e2e2e2;
}

.header_search_toggle {
    background: none;
    border: none;
    padding: 2px;
    width: 32px;
    height: 32px;
}

.header_search_toggle img {
    width: 100%;
    height: 100%;
}

.header_search_toggle:hover {
    background: #f0f0f0;
}

/* Search-open transformation row */

.header_search_row {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 0 16px;
    background: #fff;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.03), 0px 12px 8px rgba(0, 0, 0, 0.08);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.25s ease, padding-top 0.32s ease, padding-bottom 0.32s ease;
}

.header_search_row.is-open {
    max-height: 100px;
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header_search_close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 32px;
    background: none;
    border: none;
}

.header_search_close img {
    width: 24px;
    height: 24px;
}

.header_search_close:hover {
    background: #f0f0f0;
}

.header_search_form {
    display: flex;
    align-items: center;
    flex: 1 0 0;
    height: 52px;
    min-width: 0;
}

.header_search_input {
    flex: 1 0 0;
    min-width: 0;
    height: 100%;
    padding: 12px 24px 12px 8px;
    border: 1px solid #e3e3e3;
    border-left: none;
    border-radius: 0 999px 999px 0;
    background: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    color: #222428;
    text-align: right;
}

.header_search_input::placeholder {
    color: rgba(36, 36, 38, 0.5);
}

.header_search_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    padding: 20px 20px 20px 28px;
    border-radius: 999px 0 0 999px;
    background: #20d2eb;
    border: 1px solid transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.16px;
    color: #222428;
    white-space: nowrap;
}
.header_search_submit:hover {
    border-color: #20d2eb;
    color: #222428;
    background: none;
}

.header_search_submit img {
    width: 20px;
    height: 20px;
}

/* Mobile collapsed bar */

.header_mobile_row {
    height: auto;
    min-height: 72px;
    padding: 8px 16px;
}

.header_mobile_menu_toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 32px;
    background: none;
    border: 1px solid transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.16px;
    color: #222428;
    white-space: nowrap;
}
.header_mobile_menu_toggle:hover {
    border: 1px solid #222428;
    background: none;
    color: #222428;
}
.header_mobile_menu_toggle img {
    width: 20px;
    height: 20px;
}

.header_mobile_row .header_icons {
    gap: 8px;
}

/* Full mobile menu overlay */

.header_mobile_menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #fff;
    flex-direction: column;
    overflow-y: auto;
}

.header_mobile_menu.is-open {
    display: flex;
}

.header_mobile_menu_top {
    padding: 8px 16px;
    background: #fff;
    flex-shrink: 0;
}

.header_mobile_menu_close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 32px;
    background: none;
    border: none;
}

.header_mobile_menu_close img {
    width: 24px;
    height: 24px;
}

.header_mobile_menu_list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0 16px;
}

.header_mobile_menu_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 32px;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 22.5px;
    letter-spacing: -0.15px;
    color: #222428;
}

.header_mobile_menu_list a:hover {
    background: #f0f0f0;
}

.header_mobile_finderlab_logo {
    display: flex;
    justify-content: center;
    width: 110px;
    height: 40px;
    margin: 48px auto 0;
}

.header_mobile_finderlab_logo img {
    width: 100%;
    height: auto;
}

.header_mobile_social {
    gap: 32px;
    margin: 32px 0 48px;
}

.header_mobile_social .header_icon_btn {
    width: 40px;
    height: 40px;
}

body.header-mobile-menu-open {
    overflow: hidden;
}
