/* ==================================================================
   Atlas Sun Systems — site search

   Note the root class: `.atlas-search` is already taken by the icon
   library (mu-plugins/atlas-icons), which gives every one of its 57
   icons a `.atlas-<name>` class carrying a mask-image — and one of them
   is "search". Anything wearing that class gets masked into the shape of
   a magnifying glass.

   The overlay and the results page. Every colour, radius, font and step
   reads an Elementor global variable, so changing a token in Site
   Settings moves this too. Nothing here is a value a builder control
   could have supplied — this is a dialog and a result list, neither of
   which Elementor renders.
   ================================================================== */

/* 1 · Shell -------------------------------------------------------- */

.atlas-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;                    /* the sticky header sits at 1000 */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 96px 16px 24px;
    background: rgba(10, 32, 57, .7); /* --NavyDeep at 70% */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-family: var(--BodyFont, inherit);
}

.atlas-search-overlay[hidden] { display: none; }

@media (min-width: 640px) { .atlas-search-overlay { padding-top: 112px; } }

.atlas-search-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 672px;
    overflow: hidden;
    border-radius: var(--RadiusCard, 16px);
    background: var(--White, #fff);
    box-shadow: 0 40px 80px -32px rgba(10, 22, 40, .6);
}

/* The panel arrives; it does not appear. Matched to the site's other
   200ms eases, and skipped entirely for anyone who asked for less. */
.atlas-search-overlay { animation: atlas-search-fade .16s ease both; }
.atlas-search-panel { animation: atlas-search-rise .2s cubic-bezier(.16, 1, .3, 1) both; }

@keyframes atlas-search-fade { from { opacity: 0; } }
@keyframes atlas-search-rise { from { opacity: 0; transform: translateY(-10px) scale(.99); } }

@media (prefers-reduced-motion: reduce) {
    .atlas-search-overlay,
    .atlas-search-panel { animation: none; }
    .atlas-search-overlay * { transition: none !important; }
}


/* 2 · Query row ---------------------------------------------------- */

.atlas-search-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid var(--BorderLine, #DDE4EB);
}

.atlas-search-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.atlas-search-head-icon {
    width: 20px;
    height: 20px;
    color: var(--MutedForeground, #586474);
}

.atlas-search-input {
    width: 100%;
    height: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: var(--TextBase, 1rem);
    color: var(--Ink, #0D2036);
    outline: none;
    appearance: none;
}

.atlas-search-input::placeholder { color: var(--MutedForeground, #586474); opacity: 1; }
/* Kept for this field specifically; the child theme's §38 does the same for
   every other search input on the site. */
.atlas-search-input::-webkit-search-cancel-button { display: none; }

.atlas-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: var(--RadiusPill, 9999px);
    background: transparent;
    color: var(--MutedForeground, #586474);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.atlas-search-close:hover {
    background: var(--Muted, #EFF4F9);
    color: var(--Ink, #0D2036);
}


/* 3 · Body --------------------------------------------------------- */

.atlas-search-body {
    max-height: 24rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Two class names deep on purpose: on the results page this label is an
   <h2>, and the kit's own `.elementor-kit-405 h2` would otherwise size it
   like a section heading. */
.atlas-search-overlay .atlas-search-label,
.atlas-search-page .atlas-search-label {
    margin: 0;
    font-family: var(--BodyFont, inherit);
    font-size: var(--TextMicro, .6875rem);
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--MutedForeground, #586474);
}

/* Popular searches — shown until something is typed. */
.atlas-search-quick { padding: 20px; }
.atlas-search-quick[hidden] { display: none; }

.atlas-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.atlas-search-chip {
    padding: 6px 12px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusPill, 9999px);
    background: transparent;
    font-family: inherit;
    font-size: var(--TextXs, .75rem);
    font-weight: 600;
    color: var(--Ink, #0D2036);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.atlas-search-chip:hover {
    border-color: var(--NavyDeep, #0A2039);
    background: var(--Muted, #EFF4F9);
}

/* Results, grouped by what kind of thing was found. */
.atlas-search-group { padding: 12px 8px 8px; }
.atlas-search-group > .atlas-search-label { padding: 0 12px 4px; }

.atlas-search-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--RadiusMd, 12px);
    text-decoration: none;
    transition: background-color .15s ease;
}

/* One highlight for both pointer and keyboard, so the panel never shows
   two "current" rows at once. */
.atlas-search-row:hover,
.atlas-search-row[aria-selected="true"] { background: var(--Muted, #EFF4F9); }

.atlas-search-row .atlas-search-icon {
    margin-top: 2px;
    color: var(--MutedForeground, #586474);
}

.atlas-search-row-copy { min-width: 0; }

.atlas-search-row-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: var(--DisplayFont, inherit);
    font-size: var(--TextSm, .875rem);
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    color: var(--Ink, #0D2036);
}

.atlas-search-row-text {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: var(--TextXs, .75rem);
    color: var(--MutedForeground, #586474);
}

.atlas-search-mark {
    padding: 0;
    border-radius: var(--RadiusSm, 4px);
    background: rgba(249, 178, 16, .3);   /* --Sun at 30% */
    color: inherit;
}

.atlas-search-empty { padding: 32px; text-align: center; }
.atlas-search-empty[hidden] { display: none; }

.atlas-search-empty-title {
    margin: 0;
    font-family: var(--DisplayFont, inherit);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--Ink, #0D2036);
}

.atlas-search-empty-text {
    margin: 8px 0 0;
    font-size: var(--TextSm, .875rem);
    color: var(--MutedForeground, #586474);
}

.atlas-search-empty-text a {
    font-weight: 600;
    color: var(--NavyDeep, #0A2039);
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* 4 · Keyboard hints ----------------------------------------------- */

.atlas-search-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid var(--BorderLine, #DDE4EB);
    background: color-mix(in srgb, var(--Muted, #EFF4F9) 50%, var(--White, #fff));
}

.atlas-search-hints,
.atlas-search-foot-end {
    display: flex;
    align-items: center;
    gap: 16px;
}

.atlas-search-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--TextMicro, .6875rem);
    color: var(--MutedForeground, #586474);
}

.atlas-search-hint kbd {
    padding: 2px 6px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusSm, 4px);
    background: var(--White, #fff);
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

/* Enter is meaningless on a touch keyboard-less screen, and the row is
   the first thing to give up when the bar gets tight. */
.atlas-search-hint-wide { display: none; }
@media (min-width: 640px) { .atlas-search-hint-wide { display: inline-flex; } }

.atlas-search-count {
    margin: 0;
    font-size: var(--TextMicro, .6875rem);
    font-weight: 600;
    color: var(--MutedForeground, #586474);
}

.atlas-search-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--TextMicro, .6875rem);
    font-weight: 700;
    letter-spacing: var(--TrackChip, .12em);
    text-transform: uppercase;
    color: var(--NavyDeep, #0A2039);
    text-decoration: none;
}

.atlas-search-all:hover { text-decoration: underline; }
.atlas-search-all .atlas-search-icon { width: 12px; height: 12px; }

/* Small screens: the panel is the screen, and the hint row is dead
   weight next to a soft keyboard. */
@media (max-width: 639px) {
    .atlas-search-overlay { padding: 64px 12px 12px; }
    .atlas-search-head { padding: 0 16px; }
    .atlas-search-input { height: 56px; }
    .atlas-search-body { max-height: min(24rem, 60vh); }
    .atlas-search-quick { padding: 16px; }
    .atlas-search-foot { padding: 10px 16px; }
    .atlas-search-hints { display: none; }
    .atlas-search-foot { justify-content: flex-end; }
}


/* 5 · Results page -------------------------------------------------
   Same engine, same grouping. The reading column is narrower than the
   site container on purpose — a result list is read, not scanned across
   a 1408px row.
   ------------------------------------------------------------------ */

.atlas-search-page-col {
    max-width: 768px;
    margin-inline: auto;
}

.atlas-search-page-form { position: relative; }

.atlas-search-page .atlas-search-page-form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--MutedForeground, #586474);
    pointer-events: none;
}

.atlas-search-page .atlas-search-page-input {
    width: 100%;
    height: 64px;
    padding: 0 128px 0 56px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusCard, 16px);
    background: var(--White, #fff);
    font-family: inherit;
    font-size: var(--TextBase, 1rem);
    color: var(--Ink, #0D2036);
    outline: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.atlas-search-page .atlas-search-page-input::placeholder { color: var(--MutedForeground, #586474); opacity: 1; }
.atlas-search-page .atlas-search-page-input:hover { border-color: var(--NavyFaint, rgba(10, 32, 57, .4)); }

.atlas-search-page .atlas-search-page-input:focus-visible {
    border-color: var(--NavyDeep, #0A2039);
    box-shadow: 0 0 0 2px rgba(10, 32, 57, .2);
    outline: none;
}

/* Our own clear cross. Hidden until the field has something in it, and the
   form only widens its right padding while it is showing — otherwise a phone
   would lose 40px of typing room to a button that is not there. */
.atlas-search-page .atlas-search-page-clear {
    position: absolute;
    right: 118px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--MutedForeground, #586474);
    box-shadow: none;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}
/* The Kit fills every `button:hover, button:focus` navy — both states have to be
   answered or the cross turns into a solid navy pill under the cursor. */
.atlas-search-page .atlas-search-page-clear:hover,
.atlas-search-page .atlas-search-page-clear:focus {
    background: var(--Muted, #EFF4F9);
    color: var(--Ink, #0D2036);
    box-shadow: none;
}
.atlas-search-page .atlas-search-page-clear:focus-visible {
    outline: 2px solid var(--NavyDeep, #0A2039);
    outline-offset: 2px;
}
.atlas-search-page .atlas-search-page-clear[hidden] { display: none; }
.atlas-search-page .atlas-search-page-clear .atlas-search-icon { width: 18px; height: 18px; }

.atlas-search-page .atlas-search-page-form.is-clearable .atlas-search-page-input,
.atlas-search-page .atlas-search-page-col .atlas-search-page-form.is-clearable input.atlas-search-page-input {
    padding-right: 168px;
}

.atlas-search-page .atlas-search-page-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--RadiusMd, 12px);
    /* The one gold surface on the page, so the primary action is obvious. */
    background-image: linear-gradient(120deg, var(--Sun, #F9B210) 0%, var(--SunSoft, #F9D783) 100%);
    font-family: inherit;
    font-size: var(--TextSm, .875rem);
    font-weight: 700;
    letter-spacing: var(--TrackChip, .12em);
    text-transform: uppercase;
    color: var(--NavyDeep, #0A2039);
    cursor: pointer;
    transition: transform .2s ease;
}

.atlas-search-page .atlas-search-page-submit:hover { transform: translateY(calc(-50% - 2px)); }

.atlas-search-page-status {
    margin: 24px 0 0;
    font-size: var(--TextSm, .875rem);
    color: var(--MutedForeground, #586474);
}

.atlas-search-page-results {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.atlas-search-page-results:empty { margin-top: 0; }

.atlas-search-page-tally {
    margin-left: 4px;
    font-variant-numeric: tabular-nums;
}

.atlas-search-page-list {
    display: grid;
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.atlas-search-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusCard, 16px);
    background: var(--White, #fff);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

@media (min-width: 640px) { .atlas-search-card { padding: 24px; } }

.atlas-search-card:hover {
    transform: translateY(-2px);
    border-color: var(--NavyFaint, rgba(10, 32, 57, .25));
    box-shadow: 0 16px 40px -24px rgba(10, 22, 40, .5);
}

.atlas-search-card-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--TextMicro, .6875rem);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--MutedForeground, #586474);
}

.atlas-search-card-title {
    display: block;
    margin-top: 12px;
    font-family: var(--DisplayFont, inherit);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: var(--LineTight, 1.1em);
    text-transform: uppercase;
    color: var(--Ink, #0D2036);
    transition: color .2s ease;
}

.atlas-search-card:hover .atlas-search-card-title { color: var(--NavyDeep, #0A2039); }

.atlas-search-card-text {
    display: block;
    margin-top: 8px;
    font-size: var(--TextSm, .875rem);
    line-height: var(--LineBody, 1.6em);
    color: var(--MutedForeground, #586474);
}

.atlas-search-card-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: var(--TextXs, .75rem);
    font-weight: 700;
    letter-spacing: var(--TrackChip, .12em);
    text-transform: uppercase;
    color: var(--NavyDeep, #0A2039);
}

.atlas-search-card-open .atlas-search-icon {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.atlas-search-card:hover .atlas-search-card-open .atlas-search-icon { transform: translate(2px, -2px); }

/* Nothing matched: a card rather than a line, because it is the only
   thing on the page and it has a way out in it. */
.atlas-search-page-empty {
    margin-top: 40px;
    padding: 32px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: 24px;
    background: color-mix(in srgb, var(--Sand, #F9F5ED) 60%, var(--White, #fff));
    text-align: center;
}

.atlas-search-page-empty[hidden] { display: none; }

@media (min-width: 640px) { .atlas-search-page-empty { padding: 48px; } }

.atlas-search-page-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--RadiusCard, 16px);
    background: var(--White, #fff);
    color: var(--NavyDeep, #0A2039);
}

.atlas-search-page-empty-icon .atlas-search-icon { width: 24px; height: 24px; }

.atlas-search-page-empty-title {
    margin: 24px 0 0;
    font-family: var(--DisplayFont, inherit);
    font-size: var(--DisplayH3, 1.5rem);
    font-weight: 700;
    line-height: var(--LineTight, 1.1em);
    text-transform: uppercase;
    color: var(--Ink, #0D2036);
}

.atlas-search-page-empty-text {
    max-width: 448px;
    margin: 12px auto 0;
    font-size: var(--TextBase, 1rem);
    line-height: var(--LineBody, 1.6em);
    color: var(--MutedForeground, #586474);
}

.atlas-search-page-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 12px 24px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusPill, 9999px);
    background: var(--White, #fff);
    font-size: var(--TextSm, .875rem);
    font-weight: 700;
    letter-spacing: var(--TrackLabel, .14em);
    text-transform: uppercase;
    color: var(--Ink, #0D2036);
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.atlas-search-page-empty-cta:hover {
    border-color: var(--NavyDeep, #0A2039);
    color: var(--NavyDeep, #0A2039);
}

.atlas-search-page-empty-cta .atlas-search-icon { width: 16px; height: 16px; }

/* Somewhere to go when the query came back thin. Always shown — it is a
   starting point, not an error state. */
.atlas-search-page-popular {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--BorderLine, #DDE4EB);
}

.atlas-search-page-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.atlas-search-page-chip {
    padding: 8px 16px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusPill, 9999px);
    background: var(--White, #fff);
    font-size: var(--TextXs, .75rem);
    font-weight: 700;
    letter-spacing: var(--TrackChip, .12em);
    text-transform: uppercase;
    color: var(--InkSoft, #0D2036CC);
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.atlas-search-page-chip:hover {
    border-color: var(--NavyDeep, #0A2039);
    color: var(--NavyDeep, #0A2039);
}


/* 6 · Focus and assistive text ------------------------------------- */

.atlas-search-overlay :focus-visible,
.atlas-search-page :focus-visible {
    outline: 2px solid var(--Sun, #F9B210);
    outline-offset: 2px;
}

/* Hello Elementor ships this, but the overlay must not depend on the
   theme to keep its labels off-screen rather than on top of the design. */
.atlas-search-overlay .screen-reader-text,
.atlas-search-page .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}


/* 7 · Winning against Site Settings ---------------------------------

   Elementor's Theme Style dresses every bare control on the site:
   `button` as a navy pill at (0,1,1), and
   `input:not([type=button]):not([type=submit])` at (0,3,1) with a gold
   focus ring at (0,4,1). Elementor loads that file after this one, so a
   tie is not enough — these selectors are pitched above it, the same way
   the child theme handles the same problem. Values repeat what the rules
   above already say; only the specificity is new.
   ------------------------------------------------------------------ */

.atlas-search-overlay .atlas-search-panel .atlas-search-head input.atlas-search-input {
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--BodyFont, inherit);
    font-size: var(--TextBase, 1rem);
    color: var(--Ink, #0D2036);
}

/* The panel is a dialog that opens focused; a ring on the field it puts
   the caret in adds nothing and boxes in a deliberately borderless row. */
.atlas-search-overlay .atlas-search-panel .atlas-search-head input.atlas-search-input:focus,
.atlas-search-overlay .atlas-search-panel .atlas-search-head input.atlas-search-input:focus-visible {
    border: 0;
    box-shadow: none;
    outline: none;
}

.atlas-search-page .atlas-search-page-col .atlas-search-page-form input.atlas-search-page-input {
    height: 64px;
    padding: 0 128px 0 56px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusCard, 16px);
    background: var(--White, #fff);
    font-family: var(--BodyFont, inherit);
    font-size: var(--TextBase, 1rem);
    color: var(--Ink, #0D2036);
}

.atlas-search-page .atlas-search-page-col .atlas-search-page-form input.atlas-search-page-input:focus,
.atlas-search-page .atlas-search-page-col .atlas-search-page-form input.atlas-search-page-input:focus-visible {
    border-color: var(--NavyDeep, #0A2039);
    box-shadow: 0 0 0 2px rgba(10, 32, 57, .2);
    outline: none;
}

.atlas-search-overlay button.atlas-search-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--RadiusPill, 9999px);
    background: transparent;
    color: var(--MutedForeground, #586474);
    letter-spacing: normal;
}

.atlas-search-overlay button.atlas-search-close:hover {
    background: var(--Muted, #EFF4F9);
    color: var(--Ink, #0D2036);
}

/* Popular searches are suggestions, not calls to action — sentence case,
   not the uppercase pill Site Settings gives every button. */
.atlas-search-overlay button.atlas-search-chip {
    padding: 6px 12px;
    line-height: 1.4;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusPill, 9999px);
    background: transparent;
    color: var(--Ink, #0D2036);
    font-size: var(--TextXs, .75rem);
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.atlas-search-overlay button.atlas-search-chip:hover {
    border-color: var(--NavyDeep, #0A2039);
    background: var(--Muted, #EFF4F9);
    color: var(--Ink, #0D2036);
}

.atlas-search-page button.atlas-search-page-submit,
.atlas-search-page button.atlas-search-page-submit:hover {
    padding: 12px 20px;
    border: 0;
    border-radius: var(--RadiusMd, 12px);
    background-color: transparent;
    background-image: linear-gradient(120deg, var(--Sun, #F9B210) 0%, var(--SunSoft, #F9D783) 100%);
    color: var(--NavyDeep, #0A2039);
    font-size: var(--TextSm, .875rem);
    letter-spacing: var(--TrackChip, .12em);
}


/* 8 · Inline search bar ([atlas_search_form]) ----------------------
   The compact form the 404 page leads with. Same engine, same
   destination — only the shape is different.
   ------------------------------------------------------------------ */

.atlas-search-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 32rem;
}

@media (min-width: 640px) { .atlas-search-inline { flex-direction: row; } }

.atlas-search-inline-field {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.atlas-search-inline .atlas-search-inline-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--MutedForeground, #586474);
    pointer-events: none;
}

.elementor .atlas-search-inline .atlas-search-inline-field input.atlas-search-inline-input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 48px;
    border: 1px solid var(--BorderLine, #DDE4EB);
    border-radius: var(--RadiusPill, 9999px);
    background: var(--White, #fff);
    font-family: var(--BodyFont, inherit);
    font-size: var(--TextSm, .875rem);
    color: var(--Ink, #0D2036);
    outline: none;
    appearance: none;
    transition: border-color .2s ease;
}

.elementor .atlas-search-inline .atlas-search-inline-field input.atlas-search-inline-input::placeholder { color: var(--MutedForeground, #586474); opacity: 1; }

.elementor .atlas-search-inline .atlas-search-inline-field input.atlas-search-inline-input:focus,
.elementor .atlas-search-inline .atlas-search-inline-field input.atlas-search-inline-input:focus-visible {
    border-color: var(--NavyDeep, #0A2039);
    box-shadow: none;
    outline: none;
}

.atlas-search-inline button.atlas-search-inline-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--RadiusPill, 9999px);
    background: var(--NavyDeep, #0A2039);
    font-family: var(--BodyFont, inherit);
    font-size: var(--TextXs, .75rem);
    font-weight: 700;
    letter-spacing: var(--TrackLabel, .14em);
    text-transform: uppercase;
    color: var(--NavyForeground, #F6F9FC);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.atlas-search-inline button.atlas-search-inline-submit:hover {
    transform: translateY(-2px);
    background: var(--Navy, #1C3B61);
    color: var(--NavyForeground, #F6F9FC);
}

.atlas-search-inline .atlas-search-inline-submit .atlas-search-icon { width: 16px; height: 16px; }

/* A v3 widget wrapper shrink-wraps to its content inside an atomic flexbox,
   which caps the inline form well below its own max-width. */
.elementor-widget-shortcode:has(.atlas-search-inline),
.elementor-shortcode:has(> .atlas-search-inline) { width: 100%; }
