.global-search {
    position: relative;
    flex: 1 1 360px;
    max-width: 520px;
    min-width: 240px;
    margin: 0 18px;
    z-index: 80;
}

.global-search-form {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 4px 5px 4px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.global-search-form:focus-within {
    background: #fff;
    border-color: rgba(255,255,255,.9);
    box-shadow: 0 12px 32px rgba(3, 43, 39, .24);
}

.global-search-icon { margin-right: 9px; font-size: 17px; }
.global-search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
}
.global-search-form input::placeholder { color: rgba(255,255,255,.72); }
.global-search-form:focus-within input { color: #183b37; }
.global-search-form:focus-within input::placeholder { color: #78908c; }
.global-search-submit {
    border: 0;
    border-radius: 12px;
    padding: 9px 13px;
    background: #f2c96d;
    color: #173b36;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.global-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: min(70vh, 620px);
    overflow-y: auto;
    border: 1px solid #dce9e6;
    border-radius: 18px;
    background: #fff;
    color: #183b37;
    box-shadow: 0 22px 55px rgba(10, 51, 46, .24);
}
.global-search-status { padding: 20px; color: #667d79; font-size: 14px; text-align: center; }
.global-search-group { padding: 12px 12px 3px; border-bottom: 1px solid #edf3f1; }
.global-search-group-title { display: flex; align-items: center; gap: 8px; padding: 3px 7px 9px; color: #56706b; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.global-search-group-items { display: grid; gap: 4px; }
.global-search-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border-radius: 12px; color: #173d38; text-decoration: none; }
.global-search-result:hover, .global-search-result:focus { background: #edf8f5; }
.global-search-result-copy { min-width: 0; display: grid; gap: 3px; }
.global-search-result-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.global-search-result-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #718783; font-size: 12px; }
.global-search-all { display: flex; justify-content: space-between; padding: 15px 18px; color: #0b655b; text-decoration: none; font-weight: 800; font-size: 13px; background: #f5fbf9; }

.global-search-page-hero { padding: 64px 0 46px; background: linear-gradient(135deg, #073f39, #0d6b60); color: #fff; }
.global-search-page-hero h1 { margin: 8px 0 10px; font-size: clamp(32px, 5vw, 54px); }
.global-search-page-hero p { margin: 0; max-width: 720px; color: rgba(255,255,255,.78); }
.global-search-page-eyebrow { color: #f3d27f; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.global-search-page-form { display: flex; align-items: center; gap: 10px; max-width: 780px; margin-top: 28px; padding: 8px 8px 8px 17px; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.global-search-page-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: #183b37; }
.global-search-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.global-search-summary span { color: #6f8581; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.global-search-summary h2 { margin: 4px 0 0; }
.global-search-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.global-search-page-group { overflow: hidden; padding: 0; }
.global-search-page-group > header { display: flex; gap: 12px; align-items: center; padding: 20px; border-bottom: 1px solid #e8f0ee; }
.global-search-page-group > header h2 { margin: 0; font-size: 19px; }
.global-search-page-group > header span:not(.global-search-page-group-icon) { color: #718783; font-size: 12px; }
.global-search-page-group-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #eaf7f4; font-size: 22px; }
.global-search-page-list { display: grid; }
.global-search-page-list a { display: grid; gap: 5px; padding: 16px 20px; border-bottom: 1px solid #edf3f1; color: #173d38; text-decoration: none; }
.global-search-page-list a:last-child { border-bottom: 0; }
.global-search-page-list a:hover { background: #f5fbf9; }
.global-search-page-list a span { color: #6f8581; font-size: 13px; line-height: 1.5; }
.global-search-page-list a small { color: #0b655b; font-weight: 800; }
.global-search-empty { padding: 50px 25px; text-align: center; }
.global-search-empty > span { font-size: 42px; }

@media (max-width: 1100px) {
    .nav-wrap { flex-wrap: wrap; }
    .global-search { order: 3; width: 100%; max-width: none; margin: 10px 0 0; }
    .main-nav { order: 4; }
    .nav-actions { margin-left: auto; }
}

@media (max-width: 760px) {
    .global-search { min-width: 100%; }
    .global-search-form { min-height: 50px; }
    .global-search-submit { display: none; }
    .global-search-dropdown { position: fixed; top: 82px; left: 12px; right: 12px; max-height: calc(100vh - 100px); }
    .global-search-page-form { align-items: stretch; flex-wrap: wrap; }
    .global-search-page-form input { min-height: 44px; }
    .global-search-page-form .btn { width: 100%; }
    .global-search-page-grid { grid-template-columns: 1fr; }
    .global-search-summary { align-items: flex-start; flex-direction: column; }
}
