/*
 * Home page hero search (resources/views/frontend/partials/home-search.blade.php).
 *
 * Hand-written for the same reason as space-detail.css: the public site's Tailwind bundle is
 * purged from an old build, so new utilities would silently not exist.
 *
 * Frosted glass over the hero photo: a dark glass track for the tabs with a bright "glider"
 * that slides (and stretches) to the chosen tab, then a light glass panel for the space types,
 * the description and the search bar. Text colours are darkened enough to stay ≥ 4.5:1 on
 * the glass whatever the photo does behind it.
 */

.hs-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
}

.hs-hero__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.625rem, 1.1rem + 2vw, 2.375rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
    text-wrap: balance;
    animation: hs-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hs-hero__lead {
    margin: 10px 0 28px;
    font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
    color: rgba(255, 255, 255, 0.92);
    text-wrap: balance;
    animation: hs-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hs {
    --hs-ink: #0f172a;
    --hs-ink-2: #1e293b;
    --hs-muted: #475569;
    --hs-line: rgba(15, 23, 42, 0.1);
    --hs-brand: #2563eb;
    --hs-brand-ink: #1d4ed8;
    --hs-brand-soft: rgba(37, 99, 235, 0.12);
    --hs-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hs-radius: 22px;

    width: 100%;
    text-align: left;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--hs-ink);
    /* Transform only: fading opacity would make this a backdrop root, and the glass inside
       would show unblurred until the fade ended. */
    animation: hs-lift 0.7s var(--hs-ease) 0.12s both;
}

.hs-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Tabs: a dark glass track with a sliding glider ────────────────────── */

.hs-tabs {
    position: relative;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.3));
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 40px -24px rgba(2, 6, 23, 0.7);
}

/* The bright pill behind the chosen tab, positioned by the page script (--hs-glider-x / -w).
   Hidden until the script has measured the tabs. */
.hs-tabs__glider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: var(--hs-glider-w, 0px);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(15, 23, 42, 0.06),
        0 12px 26px -12px rgba(2, 6, 23, 0.6);
    transform: translateX(var(--hs-glider-x, 0px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--hs-ease);
}

.hs[data-hs-ready] .hs-tabs__glider {
    opacity: 1;
}

.hs-tab {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 84px;
    padding: 12px 10px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font: 600 15px/1.25 'Inter', system-ui, sans-serif;
    text-align: center;
    cursor: pointer;
    outline: none;
    transition: color 0.3s var(--hs-ease), background-color 0.2s var(--hs-ease), transform 0.15s var(--hs-ease);
}

.hs-tab:hover:not([aria-selected="true"]) {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.hs-tab:active {
    transform: scale(0.97);
}

/* Without the script (or before it runs) the selected tab still reads as selected. */
.hs:not([data-hs-ready]) .hs-tab[aria-selected="true"] {
    background: rgba(255, 255, 255, 0.92);
}

.hs-tab[aria-selected="true"] {
    color: var(--hs-brand-ink);
}

.hs-tab__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 0.35s var(--hs-ease), color 0.3s var(--hs-ease);
}

.hs-tab:hover .hs-tab__icon {
    transform: translateY(-2px);
}

.hs-tab[aria-selected="true"] .hs-tab__icon {
    color: var(--hs-brand);
    transform: translateY(-2px) scale(1.06);
}

.hs-tab__label {
    overflow-wrap: anywhere;
}

.hs-tab:focus-visible,
.hs-type:focus-visible,
.hs-submit:focus-visible,
.hs-suggest__item:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* ── Panel: light glass ────────────────────────────────────────────────── */

.hs-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--hs-radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3),
        0 32px 64px -32px rgba(2, 6, 23, 0.75);
}

/* A soft specular sheen across the top-left, like light on curved glass. */
.hs-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 55%);
    pointer-events: none;
}

/* While the panel changes height between groups its edge clips the moving content. */
.hs-panel.is-resizing {
    overflow: hidden;
}

.hs-types {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px 14px;
}

.hs-types[hidden] {
    display: none;
}

/* Bubbly pills. Pressing squashes the pill; the page script then springs it back. Switching
   one on swells a blue bubble out from the point pressed (--hs-bx / --hs-by, the middle
   without the script) and sends a few small bubbles floating off (.hs-bubble); switching it
   off shrinks the bubble away again. */
.hs-type {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--hs-ink-2);
    font: 500 15px/1.2 'Inter', system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 1px 0 #fff;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.25s var(--hs-ease),
        background-color 0.25s var(--hs-ease),
        border-color 0.3s var(--hs-ease),
        color 0.2s var(--hs-ease),
        box-shadow 0.3s var(--hs-ease);
}

.hs-type::before {
    content: '';
    position: absolute;
    left: var(--hs-bx, 50%);
    top: var(--hs-by, 50%);
    z-index: -1;
    width: 240%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    /* Shrinking away: eases in. */
    transition: transform 0.38s cubic-bezier(0.5, 0, 0.75, 0);
}

/* A streak of light that sweeps across on hover, like a reflection sliding over glass. */
.hs-type::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-120%);
    pointer-events: none;
}

.hs-type:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -12px rgba(15, 23, 42, 0.5), inset 0 1px 0 #fff;
}

.hs-type:hover::after {
    transform: translateX(120%);
    transition: transform 0.75s var(--hs-ease);
}

.hs-type:active {
    transform: scale(0.93, 0.9);
    transition-duration: 0.1s;
}

.hs-type[aria-pressed="true"] {
    border-color: rgba(37, 99, 235, 0.9);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    /* The text turns white once the bubble has reached it. */
    transition-delay: 0s, 0s, 0s, 0.1s, 0s;
}

.hs-type[aria-pressed="true"]::before {
    transform: translate(-50%, -50%) scale(1);
    /* Swelling out: overshoots a touch, like a bubble. */
    transition: transform 0.6s cubic-bezier(0.22, 1.2, 0.36, 1);
}

.hs-type[aria-pressed="true"]::after {
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 70%);
}

.hs-type__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hs-type:hover .hs-type__icon {
    transform: rotate(-8deg) scale(1.08);
}

.hs-type[aria-pressed="true"] .hs-type__icon {
    transform: scale(1.12);
}

/* The little bubbles that float off a pill as it switches on (made by the page script). */
.hs-bubble {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95) 0 18%, rgba(147, 197, 253, 0.6) 42%, rgba(37, 99, 235, 0.4) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 2px 6px rgba(37, 99, 235, 0.25);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hs-desc {
    position: relative;
    margin: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.35);
    color: var(--hs-ink-2);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

/* The city and the search sit in one white capsule, the button at its end. */
.hs-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px;
    padding: 6px 6px 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px -18px rgba(2, 6, 23, 0.45), inset 0 1px 0 #fff;
    transition: box-shadow 0.25s var(--hs-ease);
}

.hs-bar:focus-within {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16), 0 14px 32px -18px rgba(2, 6, 23, 0.5), inset 0 1px 0 #fff;
}

/* City picker: a button in the capsule that opens a glass list with its own search box. */
.hs-city {
    position: relative;
    flex-shrink: 0;
    min-width: 150px;
    max-width: 210px;
    border-right: 1px solid var(--hs-line);
}

.hs-city__trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    width: 100%;
    padding: 4px 12px 4px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hs-ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s var(--hs-ease), transform 0.15s var(--hs-ease);
}

.hs-city__trigger:hover {
    background: rgba(15, 23, 42, 0.04);
}

.hs-city__trigger:active {
    transform: scale(0.98);
}

.hs-city__trigger:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.hs-city.is-open .hs-city__trigger,
.hs-city__trigger:focus-visible {
    background: var(--hs-brand-soft);
}

.hs-city__label {
    grid-column: 1;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--hs-muted);
}

.hs-city__value {
    grid-column: 1;
    overflow: hidden;
    font: 600 15px/1.35 'Inter', system-ui, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-city__chevron {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 16px;
    height: 16px;
    color: var(--hs-muted);
    transition: transform 0.4s var(--hs-ease), color 0.2s var(--hs-ease);
}

.hs-city.is-open .hs-city__chevron {
    color: var(--hs-brand);
    transform: rotate(180deg);
}

/* The panel's glass is this popover's backdrop root, so it cannot frost the page below the
   hero; it is kept effectively opaque so nothing shows through there. */
.hs-city__pop {
    position: absolute;
    top: calc(100% + 14px);
    left: -8px;
    z-index: 45;
    width: 300px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    background: linear-gradient(160deg, #fff, #f8fafc);
    box-shadow:
        inset 0 1px 0 #fff,
        0 2px 6px rgba(2, 6, 23, 0.06),
        0 28px 56px -22px rgba(2, 6, 23, 0.55);
    transform-origin: 30% top;
    animation: hs-pop 0.28s var(--hs-ease);
}

.hs-city__pop[hidden] {
    display: none;
}

.hs-city__search {
    position: relative;
    margin-bottom: 6px;
}

.hs-city__search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    color: var(--hs-muted);
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.2s var(--hs-ease);
}

.hs-city__search:focus-within svg {
    color: var(--hs-brand);
}

.hs-city__search input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 36px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--hs-ink);
    font: 400 15px/1 'Inter', system-ui, sans-serif;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s var(--hs-ease), box-shadow 0.2s var(--hs-ease);
}

.hs-city__search input::placeholder {
    color: var(--hs-muted);
}

.hs-city__search input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.hs-city__list {
    position: relative;
    max-height: 264px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.hs-city__opt {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 7px;
    border-radius: 12px;
    color: var(--hs-ink);
    font: 500 14px/1.3 'Inter', system-ui, sans-serif;
    cursor: pointer;
    transition: background-color 0.15s var(--hs-ease), color 0.2s var(--hs-ease);
    animation: hs-opt-in 0.34s var(--hs-ease) backwards;
    animation-delay: calc(var(--i, 0) * 22ms);
}

.hs-city__opt[hidden] {
    display: none;
}

.hs-city__opt.is-active {
    background: rgba(37, 99, 235, 0.08);
}

.hs-city__opt-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--hs-brand);
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.25s var(--hs-ease),
        color 0.25s var(--hs-ease),
        box-shadow 0.25s var(--hs-ease);
}

.hs-city__opt-icon svg {
    width: 16px;
    height: 16px;
}

.hs-city__opt.is-active .hs-city__opt-icon {
    transform: scale(1.1) rotate(-4deg);
}

.hs-city__opt-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-city__opt-count {
    color: var(--hs-muted);
    font-size: 12px;
    white-space: nowrap;
}

.hs-city__opt-check {
    width: 16px;
    height: 16px;
    color: var(--hs-brand);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s var(--hs-ease), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hs-city__opt[aria-selected="true"] {
    color: var(--hs-brand-ink);
    font-weight: 600;
}

.hs-city__opt[aria-selected="true"] .hs-city__opt-icon {
    background: var(--hs-brand);
    color: #fff;
    box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.8);
}

.hs-city__opt[aria-selected="true"] .hs-city__opt-check {
    opacity: 1;
    transform: none;
}

.hs-city__empty {
    margin: 0;
    padding: 14px 10px;
    color: var(--hs-muted);
    font-size: 13px;
    text-align: center;
}

.hs-city__empty[hidden] {
    display: none;
}

.hs-query {
    position: relative;
    flex: 1;
    min-width: 0;
}

.hs-query__icon {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--hs-muted);
    pointer-events: none;
    transition: color 0.2s var(--hs-ease);
}

.hs-query:focus-within .hs-query__icon {
    color: var(--hs-brand);
}

.hs-query input {
    width: 100%;
    height: 48px;
    padding: 0 12px 0 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hs-ink);
    font: 400 15px/1 'Inter', system-ui, sans-serif;
    box-shadow: none;
}

.hs-query input::placeholder {
    color: var(--hs-muted);
}

.hs-query input:focus {
    outline: none;
}

.hs-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    z-index: 40;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 44px -16px rgba(2, 6, 23, 0.45);
    animation: hs-drop 0.2s var(--hs-ease);
}

.hs-suggest[hidden] {
    display: none;
}

.hs-suggest__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hs-ink);
    font: 500 14px/1.3 'Inter', system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s var(--hs-ease);
}

.hs-suggest__item[hidden] {
    display: none;
}

.hs-suggest__item:hover,
.hs-suggest__item.is-active {
    background: rgba(37, 99, 235, 0.08);
}

.hs-suggest__item small {
    flex-shrink: 0;
    color: var(--hs-muted);
    font-size: 12px;
}

.hs-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    height: 50px;
    padding: 0 26px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff;
    font: 600 16px/1 'Inter', system-ui, sans-serif;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 22px -10px rgba(37, 99, 235, 0.85);
    transition: transform 0.2s var(--hs-ease), box-shadow 0.2s var(--hs-ease), filter 0.2s var(--hs-ease);
}

.hs-submit__icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--hs-ease);
}

.hs-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 30px -12px rgba(37, 99, 235, 0.95);
}

.hs-submit:hover .hs-submit__icon {
    transform: translateX(3px);
}

.hs-submit:active {
    transform: scale(0.97);
    transition-duration: 0.09s;
}

@keyframes hs-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@keyframes hs-lift {
    from {
        transform: translateY(18px);
    }
}

@keyframes hs-drop {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes hs-pop {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
}

@keyframes hs-opt-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

/* The hero clips only sideways, so the city list can hang below it. (overflow-x: hidden on
   its own would make it a scroll box and cut the list off.) */
section.hs-hero-section {
    overflow-x: clip;
    overflow-y: visible;
}

/* ── Small screens ────────────────────────────────────────────────────── */

@media (max-width: 767px) {
    .hs-tabs {
        gap: 4px;
        padding: 5px;
        border-radius: 18px;
    }

    .hs-tabs__glider {
        top: 5px;
        bottom: 5px;
        border-radius: 14px;
    }

    .hs-tab {
        min-height: 72px;
        gap: 6px;
        padding: 10px 4px;
        border-radius: 14px;
        font-size: 12.5px;
    }

    .hs-tab__icon {
        width: 22px;
        height: 22px;
    }

    .hs-types {
        gap: 8px;
        padding: 14px 12px 12px;
    }

    .hs-type {
        padding: 8px 13px;
        font-size: 13.5px;
    }

    .hs-desc {
        font-size: 13px;
        padding: 10px 14px;
    }

    .hs-bar {
        flex-wrap: wrap;
        gap: 8px;
        margin: 10px;
        padding: 8px;
    }

    .hs-city {
        flex: 1 1 100%;
        max-width: none;
        padding: 2px 0 6px;
        border-right: 0;
        border-bottom: 1px solid var(--hs-line);
    }

    .hs-city__trigger {
        padding: 4px 10px 4px 8px;
    }

    /* Full width under the city field. */
    .hs-city__pop {
        left: -2px;
        right: -2px;
        top: calc(100% + 8px);
        width: auto;
    }

    /* 16px keeps iOS from zooming in when the box is focused. */
    .hs-city__search input {
        font-size: 16px;
    }

    .hs-city__opt {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .hs-query {
        flex: 1 1 100%;
    }

    .hs-submit {
        flex: 1 1 100%;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hs,
    .hs-hero__title,
    .hs-hero__lead,
    .hs-suggest,
    .hs-city__pop,
    .hs-city__opt {
        animation: none;
    }

    .hs *,
    .hs *::before,
    .hs *::after,
    .hs-tabs__glider {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}
