.search .wp-block-search__input,
.search-results .wp-block-search__input {
background: #0d0f12 !important;
border: 1px solid #2a2f36 !important;
color: #e8eef2 !important;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search .wp-block-search__input::placeholder,
.search-results .wp-block-search__input::placeholder {
color: #666d75 !important;
}
.search .wp-block-search__input:focus,
.search-results .wp-block-search__input:focus {
border-color: #4a5568 !important;
box-shadow: 0 0 0 2px rgba(74, 85, 104, 0.3) !important;
outline: none !important;
} .search .wp-block-search__button,
.search-results .wp-block-search__button {
background: #1a1f26 !important;
border: 1px solid #2a2f36 !important;
color: #e8eef2 !important;
transition: background 0.2s ease;
}
.search .wp-block-search__button:hover,
.search-results .wp-block-search__button:hover {
background: #252b34 !important;
} .bjork-instant-search-results.is-visible ~ .bjork-default-search-results,
.bjork-default-search-results.is-hidden {
display: none;
}
.bjork-search-hidden {
display: none !important;
} body.bjork-front-search-active-results main .can-style-posts:not(#bjork-instant-search-results) {
display: none !important;
}
body.bjork-front-search-active-results main .can-cards-grid {
display: none !important;
}
body.bjork-front-search-active-results #bjork-instant-search-results .can-cards-grid {
display: grid !important;
}
body.bjork-front-search-active-results #bjork-instant-search-results {
display: block !important;
opacity: 1 !important;
max-height: none !important;
} body.bjork-front-search-active-results main .wp-block-post {
display: none !important;
}
body.bjork-front-search-active-results #bjork-instant-search-results .wp-block-post {
display: block !important;
} .bjork-instant-search-results {
margin-top: 2em;
opacity: 0;
max-height: 0;
overflow: hidden;
transition: opacity 0.3s ease, max-height 0.3s ease;
}
.bjork-instant-search-results.is-visible {
opacity: 1;
transform: translateY(0) !important;
max-height: none;
overflow: visible;
} .wp-block-social-links .bjork-front-search-item {
display: none;
width: 100%;
}
.bjork-front-search-item {
display: none;
width: 100%;
}
.wp-block-social-links.bjork-front-search-active > li:not(.bjork-front-search-item) {
display: none !important;
}
.wp-block-social-links.bjork-front-search-active .bjork-front-search-item {
display: flex;
flex: 0 0 auto;
}
.bjork-front-search-active .bjork-front-search-item {
display: flex;
justify-content: center;
}
.bjork-front-search-shell {
display: flex;
align-items: center;
gap: 0.5em;
width: min(34vw, 36rem);
max-width: 100%;
padding: 0.4em 0.55em;
border: 1px solid rgba(255, 255, 255, 0.28);
background: rgba(9, 12, 16, 0.56);
backdrop-filter: blur(6px);
border-radius: 999px;
}
.bjork-front-search-input {
flex: 1;
min-width: 0;
border: 0 !important;
background: transparent !important;
color: #ffffff !important;
padding: 0.2em 0.4em !important;
font-size: 0.92em;
outline: none !important;
}
.bjork-front-search-input::placeholder {
color: rgba(255, 255, 255, 0.72) !important;
}
.bjork-front-search-close {
border: 0;
background: rgba(255, 255, 255, 0.12);
color: #ffffff;
border-radius: 999px;
width: 1.7em;
height: 1.7em;
line-height: 1;
padding: 0;
cursor: pointer;
} .bjork-search-chip {
display: inline-flex;
align-items: center;
gap: 0.4em;
flex: 0 0 auto;
max-width: 60%;
padding: 0.18em 0.3em 0.18em 0.6em;
border: 1px solid rgba(255, 255, 255, 0.7);
border-radius: 0.4em; background: rgba(15, 18, 24, 0.72);
color: #ffffff !important;
-webkit-text-fill-color: #ffffff;
font-size: 0.82em;
line-height: 1.3;
white-space: nowrap;
}
.bjork-search-chip-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff;
}
.bjork-search-chip-remove {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
border: 0;
background: rgba(255, 255, 255, 0.18);
color: #ffffff !important;
-webkit-text-fill-color: #ffffff;
width: 1.3em;
height: 1.3em;
line-height: 1;
padding: 0;
border-radius: 0.28em;
cursor: pointer;
font-size: 0.95em;
}
.bjork-search-chip-remove:hover {
background: rgba(255, 255, 255, 0.32);
} .bjork-search-status {
margin-bottom: 1.5em;
padding-bottom: 1em;
border-bottom: 1px solid #2a2f36;
}
.bjork-search-status p {
margin: 0;
font-size: 0.9em;
color: #9ca3af !important;
}
.bjork-search-count strong,
.bjork-search-no-results strong {
color: #e8eef2 !important;
} .bjork-instant-search-results .can-cards-grid {
display: grid;
gap: 1.5em;
list-style: none;
margin: 0;
padding: 0;
align-items: start;
} .bjork-instant-search-results .can-cards-grid.columns-1 {
grid-template-columns: 1fr;
max-width: 500px;
} .bjork-instant-search-results .can-cards-grid.columns-2 {
grid-template-columns: repeat(2, 1fr);
} .bjork-instant-search-results .can-cards-grid.columns-3 {
grid-template-columns: repeat(3, 1fr);
} .bjork-instant-search-results .wp-block-post {
margin: 0;
} .bjork-instant-search-results .can-card {
background: #0d0f12 !important;
display: flex;
flex-direction: column;
border: 3px solid #2a2f36 !important;
padding: 0;
cursor: pointer;
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
} .bjork-clickable-card .can-card:hover {
border-color: #4a5568 !important;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.bjork-clickable-card {
cursor: pointer;
}
.bjork-instant-search-results .can-card-content {
border-top: 1px solid #2a2f36 !important;
padding: 1em;
display: flex;
flex-direction: column;
gap: 0.75em;
flex: 1;
} .bjork-instant-search-results .wp-block-separator {
background-color: #3a3f46 !important;
border: none !important;
height: 1px !important;
margin: 0 !important;
opacity: 0.6 !important;
} .bjork-instant-search-results .wp-block-post-featured-image {
margin: 0;
line-height: 0;
}
.bjork-instant-search-results .wp-block-post-featured-image img {
width: 100%;
height: auto;
aspect-ratio: 4/3;
object-fit: cover;
display: block;
} .bjork-instant-search-results .can-card-content {
flex: 1;
display: flex;
flex-direction: column;
} .bjork-instant-search-results .wp-block-post-title {
margin: 0;
font-family: "Albert Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
font-weight: 400 !important;
font-size: var(--wp--preset--font-size--medium, clamp(17px, 1.063rem + ((1vw - 3.2px) * 0.238), 21px)) !important;
line-height: 1.3 !important;
letter-spacing: -0.01em !important;
color: #e8eef2 !important;
}
.bjork-instant-search-results .wp-block-post-title:hover {
color: #a5b4fc !important;
} .bjork-instant-search-results .wp-block-post-excerpt__excerpt {
margin: 0 !important;
font-family: "Albert Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
font-size: 0.85em !important;
line-height: 1.5 !important;
letter-spacing: -0.01em !important;
color: #d1d5db !important;
font-weight: 500 !important;
} .bjork-instant-search-results .bjork-search-highlight {
background: #ffeb3b !important;
color: #000000 !important;
padding: 0 0.08em;
border-radius: 0.12em;
} .bjork-instant-search-results .can-card-meta {
margin-top: 0;
font-size: 0.75em !important;
display: flex;
flex-direction: column;
gap: 0.5em;
}
.bjork-instant-search-results .can-card-meta-published {
display: flex;
gap: 0.5em;
flex-wrap: wrap;
align-items: baseline;
}
.bjork-instant-search-results .can-card-meta p {
margin: 0;
color: #e8eef2 !important;
font-family: "Albert Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
font-weight: 700 !important;
}
.bjork-instant-search-results .can-card-meta time {
color: #d1d5db !important;
font-family: "Albert Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
font-weight: 500 !important;
}
.bjork-instant-search-results .can-card-meta a {
color: #d1d5db !important;
text-decoration: none;
font-family: "Albert Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
font-weight: 500 !important;
}
.bjork-instant-search-results .can-card-meta a:hover {
color: #a5b4fc !important;
text-decoration: underline;
} .bjork-instant-search-results .wp-block-post-terms {
margin: 0;
font-size: 0.95rem !important;
} body:not(.search):not(.search-results) .bjork-instant-search-results .can-card {
background: transparent !important;
border: 3px solid #ffffff !important;
}
body:not(.search):not(.search-results) .bjork-instant-search-results .can-card-content {
border-top: none !important;
color: #ffffff !important;
}
body:not(.search):not(.search-results) .bjork-instant-search-results .wp-block-post-title,
body:not(.search):not(.search-results) .bjork-instant-search-results .wp-block-post-title:hover {
color: #ffffff !important;
}
body:not(.search):not(.search-results) .bjork-instant-search-results .wp-block-post-excerpt__excerpt {
color: #ffffff !important;
}
body:not(.search):not(.search-results) .bjork-instant-search-results .wp-block-separator {
background-color: #ffffff !important;
opacity: 1 !important;
}
body:not(.search):not(.search-results) .bjork-instant-search-results .can-card-meta p,
body:not(.search):not(.search-results) .bjork-instant-search-results .can-card-meta time,
body:not(.search):not(.search-results) .bjork-instant-search-results .can-card-meta a {
color: #ffffff !important;
} .bjork-search-loading {
padding: 3em;
text-align: center;
color: #9ca3af !important;
}
.bjork-search-spinner {
width: 32px;
height: 32px;
border: 3px solid #2a2f36;
border-top-color: #e8eef2;
border-radius: 50%;
margin: 0 auto 1em;
animation: bjork-spin 0.8s linear infinite;
}
@keyframes bjork-spin {
to {
transform: rotate(360deg);
}
}
.bjork-search-loading p {
margin: 0;
font-size: 0.95em;
} .bjork-search-status .bjork-search-no-results {
font-size: 1em;
color: #9ca3af !important;
} @media (min-width: 601px) {
}
@media (max-width: 900px) {
.bjork-instant-search-results .can-cards-grid.columns-3,
.bjork-instant-search-results .can-cards-grid.columns-2 {
grid-template-columns: repeat(2, 1fr);
gap: 1em;
}
} @media (max-width: 600px) {
.bjork-front-search-shell {
width: 100%;
}
.bjork-instant-search-results .can-cards-grid.columns-3,
.bjork-instant-search-results .can-cards-grid.columns-2 {
grid-template-columns: 1fr;
}
.bjork-instant-search-results .can-cards-grid.columns-1 {
max-width: 100%;
}
.bjork-search-loading {
padding: 2em;
}
}