#search-drawer .drawer-inner {
    background: linear-gradient(
        135deg,
        #0755A0 0%,
        #207FB3 50%,
        #15945C 100%
    ) !important;
}

/* Position the search higher up */
#search-drawer .drawer-inner .drawer-content {
    align-items: flex-start !important;
    padding-top: 22vh !important;
}

/* Search form width */
#search-drawer .drawer-inner .drawer-content form {
    width: min(700px, 85vw) !important;
    margin: 0 auto !important;
}

/* Search box */
#search-drawer .drawer-inner .drawer-content form input.search-field {
    height: 64px !important;
    font-size: 19px !important;
    padding: 0 65px 0 22px !important;
    color: #ffffff !important;
  background: rgba(255,255,255,0.14) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 6px !important;
}

#search-drawer .drawer-inner {
    background: linear-gradient(
        135deg,
        #1159af 0%,
        #006699 60%,
        #4fa77b 100%
    ) !important;
}
/* Turn Kadence search into a top panel */
#search-drawer {
    height: auto !important;
}

#search-drawer .drawer-inner {
    height: 260px !important;
    min-height: 260px !important;
    width: min(900px, 90vw) !important;

    top: 20px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;

    border-radius: 12px !important;
    overflow: hidden !important;

    background: linear-gradient(
        135deg,
        rgba(17, 89, 175, 0.94) 0%,
        rgba(0, 102, 153, 0.94) 60%,
        rgba(79, 167, 123, 0.94) 100%
    ) !important;
}

/* Centre the search within the shorter panel */
#search-drawer .drawer-inner .drawer-content {
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Keep the form a sensible width */
#search-drawer .drawer-inner .drawer-content form {
    width: min(750px, 85vw) !important;
    margin: 0 auto !important;
}