/* ThemeParkStats — direct zoeken in de bestaande bovenste navigatie. */
body.tps-redesign .tps-nav-search-trigger {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.tps-nav-mobile-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.tps-nav-mobile-search {
    width: 43px; height: 43px; display: inline-flex; align-items: center; justify-content: center;
    color: #fff; background: #1a3452; border: 0; border-radius: 50%; cursor: pointer; text-decoration: none;
}
.tps-nav-mobile-search:hover { background: #284965; }
.tps-menu-search-layer[hidden], .tps-menu-search-all[hidden] { display: none !important; }
.tps-menu-search-layer {
    position: fixed; inset: 0; z-index: 2100; display: flex; align-items: flex-start; justify-content: center;
    padding: clamp(82px, 12vh, 125px) 18px 18px;
}
.tps-menu-search-shade {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background: rgba(5, 17, 33, .73); border: 0; cursor: default;
}
.tps-menu-search-panel {
    position: relative; width: min(620px, 100%); max-height: min(75vh, 760px);
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid #e6ebf2; border-radius: 19px;
    box-shadow: 0 25px 75px rgba(1, 12, 25, .33); color: #0c1c31;
}
.tps-menu-search-heading {
    display: flex; align-items: center; justify-content: space-between;
    padding: 19px 21px 14px; gap: 15px;
}
.tps-menu-search-heading h2 {
    font-size: 1.32rem; font-weight: 850; letter-spacing: -.035em;
    margin: 0; border-left: 5px solid #e00820; padding-left: 12px;
    color: #071d35;
}
.tps-menu-search-close {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 36px; height: 36px; border: 0; border-radius: 10px;
    background: #f1f4f8; color: #1d3550; cursor: pointer;
}
.tps-menu-search-close:hover { background: #e3eaf2; }
.tps-menu-search-form {
    display: flex; align-items: center; gap: 10px;
    margin: 0 21px 9px; padding: 5px 6px 5px 13px;
    border: 1px solid #cbd5e2; border-radius: 12px; background: #f9fbfd;
}
.tps-menu-search-form:focus-within { border-color: #e00820; box-shadow: 0 0 0 3px rgba(224, 8, 32, .10); }
.tps-menu-search-form > svg { color: #60748a; flex: 0 0 21px; }
.tps-menu-search-form input[type="search"] {
    width: 100%; min-width: 0; height: 40px; padding: 0;
    border: 0; outline: none !important; box-shadow: none !important;
    color: #0c1c31; background: transparent; font: inherit; font-size: .97rem;
}
.tps-menu-search-form input::placeholder { color: #7a8799; }
.tps-menu-search-submit {
    display: flex; align-items: center; justify-content: center; flex: 0 0 43px;
    width: 43px; height: 43px; background: #e00820; color: #fff;
    border: 0; border-radius: 9px; cursor: pointer;
}
.tps-menu-search-submit:hover { background: #bf0923; }
.tps-menu-search-results {
    overflow: auto; min-height: 75px; padding: 0 21px 16px;
    scrollbar-width: thin; overscroll-behavior: contain;
}
.tps-menu-search-group { margin-top: 12px; }
.tps-menu-search-group-title {
    font-size: .75rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .065em; color: #718199; margin: 0 0 5px;
}
.tps-menu-search-item {
    display: flex; align-items: center; gap: 12px; padding: 11px 10px;
    border-radius: 10px; text-decoration: none !important; color: #13263e !important;
}
.tps-menu-search-item:hover, .tps-menu-search-item:focus-visible {
    background: #f1f5fa; color: #e00820 !important;
}
.tps-menu-search-type {
    flex: 0 0 75px; padding: 7px 6px; border-radius: 8px;
    background: #f4f6fa; color: #364b64; text-align: center;
    font-size: .73rem; font-weight: 750;
}
.tps-menu-search-item-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tps-menu-search-item-copy strong { font-weight: 800; font-size: .93rem; line-height: 1.25; }
.tps-menu-search-item-copy small {
    color: #68778a; font-size: .79rem; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.tps-menu-search-item > svg { flex: 0 0 16px; margin-left: auto; color: #df102b; }
.tps-menu-search-message { color: #6a7890; font-size: .9rem; margin: 16px 1px; }
.tps-menu-search-all {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 15px 21px; border-top: 1px solid #e8edf4;
    background: #fafbfe; color: #c10d25 !important; font-weight: 760; font-size: .86rem;
    text-decoration: none !important;
}
.tps-menu-search-all:hover { background: #fff2f4; }
body.tps-menu-search-open { overflow: hidden; }
@media (min-width: 1200px) { .tps-nav-mobile-actions { display: none !important; } }
@media (max-width: 575px) {
    .tps-menu-search-layer { padding: 60px 12px 12px; }
    .tps-menu-search-panel { max-height: calc(100dvh - 72px); border-radius: 15px; }
    .tps-menu-search-heading { padding: 16px 15px 12px; }
    .tps-menu-search-form { margin: 0 15px 8px; }
    .tps-menu-search-results { padding: 0 15px 12px; }
    .tps-menu-search-all { padding: 13px 15px; }
    .tps-menu-search-type { flex-basis: 60px; }
    .tps-menu-search-item { gap: 8px; padding: 10px 5px; }
}
@media (max-width: 380px) {
    .tps-navbar .tps-brand-mark { width: 42px; }
    .tps-navbar .tps-brand-name { font-size: 1rem; }
    .tps-nav-mobile-search { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .tps-menu-search-panel { scroll-behavior: auto; }
}
