.eb-nav-search {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.75rem;
height: 2.75rem;
padding: 0;
color: rgba(255, 255, 255, 0.9);
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 50%;
cursor: pointer;
transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
flex-shrink: 0;
}
.eb-nav-search:hover,
.eb-nav-search:focus-visible {
color: var(--eb-white);
background: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.28);
transform: translateY(-1px);
}
.eb-nav-search svg {
width: 1.25rem;
height: 1.25rem;
stroke: currentColor;
fill: none;
stroke-width: 2;
} .eb-search-overlay {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
overflow-y: auto;
}
.eb-search-overlay[hidden] {
display: none !important;
}
.eb-search-overlay.is-open {
display: flex;
}
.eb-search-overlay-backdrop {
position: fixed;
inset: 0;
background: rgba(7, 42, 99, 0.82);
backdrop-filter: blur(8px);
}
.eb-search-overlay-panel {
position: relative;
width: min(100%, 54rem);
min-height: min(88vh, 40rem);
margin: auto;
padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
display: flex;
flex-direction: column;
justify-content: center;
background: linear-gradient(155deg, var(--eb-dark) 0%, var(--eb-primary) 52%, #0a4fa8 100%);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: calc(var(--eb-radius) + 4px);
box-shadow: 0 32px 80px rgba(4, 18, 42, 0.45);
color: var(--eb-white);
z-index: 1;
}
.eb-search-overlay-close {
position: absolute;
top: 1rem;
right: 1rem;
width: 2.75rem;
height: 2.75rem;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.12);
color: var(--eb-white);
font-size: 1.75rem;
line-height: 1;
cursor: pointer;
transition: background 0.2s;
}
.eb-search-overlay-close:hover,
.eb-search-overlay-close:focus-visible {
background: rgba(255, 255, 255, 0.2);
}
.eb-search-overlay-icon {
width: 4.5rem;
height: 4.5rem;
margin-bottom: 1.25rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
color: var(--eb-accent);
border: 2px solid rgba(255, 214, 0, 0.35);
}
.eb-search-overlay-icon svg {
width: 2rem;
height: 2rem;
stroke: currentColor;
fill: none;
stroke-width: 2;
}
.eb-search-overlay-label {
display: block;
margin-bottom: 0.75rem;
font-size: 0.8125rem;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--eb-accent);
}
.eb-search-overlay-title {
margin: 0 0 1rem;
font-size: clamp(2rem, 6vw, 3.25rem);
font-weight: 700;
line-height: 1.08;
letter-spacing: -0.02em;
max-width: 16ch;
color: var(--eb-white);
}
.eb-search-overlay-title span {
color: var(--eb-accent);
}
.eb-search-overlay-intro {
margin: 0 0 2rem;
font-size: clamp(1rem, 2.2vw, 1.25rem);
line-height: 1.7;
color: rgba(255, 255, 255, 0.9);
max-width: 36rem;
}
body.eb-search-open {
overflow: hidden;
} .eb-search-form {
width: 100%;
max-width: 100%;
}
.eb-search-form-inner {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
min-height: auto;
padding: 0.75rem;
background: var(--eb-white);
border: 1px solid var(--eb-border);
border-radius: var(--eb-radius);
box-shadow: 0 12px 40px rgba(4, 18, 42, 0.18);
}
.eb-search-form--overlay .eb-search-form-inner,
.eb-search-form--hero .eb-search-form-inner {
background: rgba(255, 255, 255, 0.98);
}
.eb-search-form--overlay .eb-search-form-inner {
padding: 1rem;
border-radius: calc(var(--eb-radius) + 2px);
}
.eb-search-form-icon {
display: none;
}
.eb-search-form--overlay .eb-search-form-icon {
display: flex;
align-items: center;
justify-content: center;
width: 3rem;
height: 3rem;
margin: 0 auto 0.25rem;
border-radius: 50%;
padding: 0;
color: var(--eb-secondary);
background: color-mix(in srgb, var(--eb-secondary) 10%, var(--eb-white));
}
.eb-search-form--overlay .eb-search-form-icon svg {
width: 1.375rem;
height: 1.375rem;
}
.eb-search-form-input {
flex: 1;
min-width: 0;
width: 100%;
padding: 1rem 1.125rem;
font: inherit;
font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
font-weight: 500;
color: var(--eb-dark);
background: var(--eb-bg-soft);
border: 1px solid var(--eb-border);
border-radius: var(--eb-radius-sm);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
.eb-search-form-input:focus {
border-color: var(--eb-secondary);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--eb-secondary) 18%, transparent);
}
.eb-search-form-input::placeholder {
color: var(--eb-text-light);
}
.eb-search-form-submit {
width: 100%;
min-height: 3.25rem;
padding-inline: 1.5rem;
font-size: clamp(0.9375rem, 2vw, 1.0625rem);
font-weight: 700;
border-radius: var(--eb-radius-sm);
white-space: nowrap;
}
.eb-search-form--overlay .eb-search-form-submit {
min-height: 3.5rem;
} .eb-search-hero {
position: relative;
min-height: clamp(360px, 42vh, 460px);
display: flex;
flex-direction: column;
background: var(--eb-dark);
overflow: hidden;
}
.eb-search-hero-bg {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: auto;
width: 60%;
z-index: 0;
}
.eb-search-hero-bg img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: right 38%;
}
.eb-search-hero-bg::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
var(--eb-dark) 0%,
rgba(7, 42, 99, 0.85) 12%,
rgba(13, 59, 142, 0.35) 28%,
transparent 48%
);
pointer-events: none;
}
.eb-search-hero::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 38%;
background: linear-gradient(90deg, var(--eb-dark) 0%, var(--eb-dark) 75%, transparent 100%);
z-index: 1;
pointer-events: none;
}
.eb-search-hero-content {
flex: 1;
display: flex;
align-items: center;
padding: 2.75rem 0 3rem;
position: relative;
z-index: 5;
color: var(--eb-white);
}
.eb-search-hero-text {
max-width: 36rem;
}
.eb-search-hero-dots {
width: 22px;
height: 22px;
margin-bottom: 1rem;
background-image: radial-gradient(var(--eb-accent) 2px, transparent 2px);
background-size: 11px 11px;
opacity: 0.95;
}
.eb-search-hero-label {
display: block;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--eb-accent);
margin-bottom: 0.75rem;
}
.eb-search-hero-text h1 {
font-size: clamp(1.75rem, 4.2vw, 2.5rem);
font-weight: 700;
line-height: 1.15;
margin-bottom: 1rem;
color: var(--eb-white);
text-shadow: 0 2px 18px rgba(7, 42, 99, 0.4);
}
.eb-search-hero-text h1 span {
color: var(--eb-accent);
}
.eb-search-hero-text > p {
font-size: clamp(0.9rem, 1.35vw, 1rem);
line-height: 1.75;
color: rgba(255, 255, 255, 0.92);
margin-bottom: 1.25rem;
max-width: 30rem;
text-shadow: 0 1px 10px rgba(7, 42, 99, 0.3);
}
.eb-search-hero .eb-search-form {
max-width: 34rem;
}
.eb-search-hero .eb-search-form-inner {
flex-direction: row;
align-items: stretch;
border-radius: var(--eb-radius-pill);
padding: 0.35rem;
min-height: 3.25rem;
}
.eb-search-hero .eb-search-form-input {
background: transparent;
border: none;
box-shadow: none;
font-size: 0.9375rem;
padding: 0.75rem 0.875rem;
}
.eb-search-hero .eb-search-form-submit {
width: auto;
min-height: 2.55rem;
border-radius: var(--eb-radius-pill);
} .eb-search-listing {
padding: 2.5rem 0 3.5rem;
background: var(--eb-bg);
}
.eb-search-grid {
margin-top: 0;
}
.eb-search-empty {
max-width: 34rem;
margin: 0 auto;
padding: 2.5rem 1.5rem;
text-align: center;
background: var(--eb-white);
border: 1px solid var(--eb-border);
border-radius: var(--eb-radius);
box-shadow: var(--eb-shadow);
}
.eb-search-empty-icon {
width: 3.5rem;
height: 3.5rem;
margin: 0 auto 1rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: color-mix(in srgb, var(--eb-secondary) 12%, var(--eb-white));
color: var(--eb-secondary);
}
.eb-search-empty-icon svg {
width: 1.5rem;
height: 1.5rem;
stroke: currentColor;
fill: none;
stroke-width: 2;
}
.eb-search-empty h2 {
margin-bottom: 0.5rem;
color: var(--eb-dark);
}
.eb-search-empty p {
color: var(--eb-text-light);
line-height: 1.65;
margin-bottom: 1.25rem;
}
.eb-search-empty-links {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center;
}
.eb-search-pagination {
margin-top: 2rem;
}
.eb-search-pagination .nav-links {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
}
.eb-search-pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 2.5rem;
min-height: 2.5rem;
padding: 0 0.75rem;
font-size: 0.875rem;
font-weight: 600;
color: var(--eb-secondary);
background: var(--eb-white);
border: 1px solid var(--eb-border);
border-radius: var(--eb-radius-pill);
text-decoration: none;
}
.eb-search-pagination .page-numbers.current {
background: var(--eb-secondary);
color: var(--eb-white);
border-color: var(--eb-secondary);
}
@media (min-width: 640px) {
.eb-search-form--overlay .eb-search-form-inner {
padding: 1.125rem;
}
.eb-search-overlay-icon {
width: 5rem;
height: 5rem;
}
.eb-search-overlay-icon svg {
width: 2.25rem;
height: 2.25rem;
}
}
@media (min-width: 1024px) {
.eb-nav-search {
width: 2.625rem;
height: 2.625rem;
}
.eb-nav-search svg {
width: 1.125rem;
height: 1.125rem;
}
.eb-search-overlay-panel {
min-height: min(78vh, 36rem);
padding: 3.5rem 3rem;
}
}