/* Public discovery shares the landing navigation and the app's search behavior. */
/* Fixed spacing keeps the search steady when the mobile keyboard opens.
   The image fades into the product background without clipping suggestions. */
.marketing-explore { --explore-fade: 230px; position: relative; isolation: isolate; min-height: 600px; padding: 250px var(--gutter) 160px; scroll-margin-top: 88px; }
.marketing-explore::before { position: absolute; content: ''; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #002a3cb8, #002d3f65 65%, #003c4635), linear-gradient(0deg, #002a3a40, transparent), #064c64 url('../img/landing/coral-hero.jpg') center / cover; -webkit-mask-image: linear-gradient(to bottom, transparent, #00000014 calc(var(--explore-fade) * .2), #00000080 calc(var(--explore-fade) * .55), #000000eb calc(var(--explore-fade) * .85), #000 var(--explore-fade)); mask-image: linear-gradient(to bottom, transparent, #00000014 calc(var(--explore-fade) * .2), #00000080 calc(var(--explore-fade) * .55), #000000eb calc(var(--explore-fade) * .85), #000 var(--explore-fade)); }
.public-search-content { width: min(100%, 800px); margin-inline: auto; }
.public-search-content h2 { margin: 0 0 32px; text-align: center; color: #fff; font-size: clamp(40px, 5.5vw, 76px); font-weight: 650; letter-spacing: -.055em; line-height: 1.1; }
.public-search-form { width: 100%; margin: 0; }
.public-search-form #globalSearch { width: 100%; height: 76px; margin: 0; padding: 20px 78px 20px 26px; border: 1px solid #ffffff85; border-radius: 18px; background: #ffffff14; box-shadow: 0 12px 40px #00253526; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: 19px; font-weight: 450; outline: none; appearance: none; }
.public-search-form #globalSearch::placeholder { color: #f0f7fa; opacity: 1; }
.public-search-form #globalSearch:focus { border-color: #bbf3f4; box-shadow: 0 0 0 3px #9ce6e530, 0 12px 40px #00253526; }
.public-search-form #globalSearch::-webkit-search-cancel-button { display: none; }
.public-search-submit { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; display: grid; place-items: center; padding: 12px; border: 0; border-radius: 12px; color: #fff; background: #ffffff1a; }
.public-search-submit:hover { background: #ffffff30; }
.public-search-submit svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.public-search-menu { position: relative; top: auto; margin-top: 10px; max-height: 360px; border-color: #d5e5eb; background: #fbfcfd; text-align: left; }
.public-search-menu button { padding: 13px 18px; color: #082d43; }
.public-search-menu button[aria-selected='true'] { background: #e6f3f8; }
.public-search-menu button.global-search-place { grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; background: var(--accent-soft); border-bottom-color: var(--accent-line); }
.public-search-menu small { color: #536b79; }
.public-explore-body .page-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
.public-explore-navigation { position: sticky; top: 0; z-index: 50; color: #082d43; }
.public-explore-content { width: min(100%, 808px); margin: auto; padding: 40px 24px 60px; }
.public-explore-content > .public-search-form { margin-bottom: 28px; z-index: 30; }
.public-explore-content .public-search-form #globalSearch { height: 64px; padding-block: 16px; color: var(--ink); border-color: var(--line-strong); background: var(--panel); box-shadow: var(--shadow-xs); font-size: 16px; }
.public-explore-content .public-search-form #globalSearch::placeholder { color: var(--muted-strong); }
.public-explore-content .public-search-submit { top: 8px; right: 8px; color: var(--accent-deep); background: var(--accent-soft); }
@media (max-width: 900px) {
    .marketing-explore { scroll-margin-top: 81px; }
}
@media (max-width: 700px) {
    .marketing-explore { --explore-fade: 170px; min-height: 440px; padding-top: 190px; padding-bottom: 100px; scroll-margin-top: 76px; }
    .marketing-explore::before { background-position: 55% center; }
    .public-search-content h2 { margin-bottom: 24px; font-size: clamp(36px, 8.5vw, 54px); }
    .public-search-form #globalSearch { height: 64px; padding: 16px 54px 16px 14px; font-size: 16px; border-radius: 16px; }
    .public-search-submit { top: 10px; right: 8px; width: 44px; height: 44px; padding: 10px; }
    .public-explore-content { padding: 28px 20px 40px; }
    .public-explore-content .public-search-submit { top: 10px; }
}
