/* Search on officeswap.co/blog (search.js). Lives beside the blog so the
   site's main stylesheet stays untouched. */
.blog-search { position: relative; max-width: 780px; margin: -32px auto 64px; text-align: center; }
.blog-search label { display: block; text-align: center; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--ink, #1d1d1f); margin: 0 0 16px; }
.blog-search-box { position: relative; }
.blog-search-box svg { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; color: #1d1d1f; pointer-events: none; }
.blog-search input {
  text-align: left; box-sizing: border-box; width: 100%; height: 76px; padding: 0 100px 0 66px;
  font: inherit; font-size: 21px; color: #1d1d1f; letter-spacing: -0.01em;
  background: #fff; border: 2px solid #1d1d1f; border-radius: 999px; box-shadow: 0 14px 36px -18px rgba(20, 30, 60, .35);
  -webkit-appearance: none; appearance: none; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.blog-search input::placeholder { color: #6e6e73; }
.blog-search input::-webkit-search-cancel-button { display: none; }
.blog-search input:hover { border-color: #000; }
.blog-search input:focus { border-color: #0a84ff; box-shadow: 0 0 0 5px rgba(10, 132, 255, .2); }
.blog-search kbd {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  min-width: 30px; height: 30px; box-sizing: border-box; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 14px/1 inherit; font-family: inherit; color: #86868b;
  border: 1px solid #d2d2d7; border-radius: 7px; background: #f5f5f7;
}
.blog-search input:focus ~ kbd, .blog-search.has-query kbd { display: none; }
.blog-search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: none; border: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  color: #0a84ff; background: transparent; padding: 8px 10px; border-radius: 999px;
}
.blog-search-clear:hover { background: rgba(10, 132, 255, .08); }
.blog-search-clear:focus-visible { outline: 2px solid #0a84ff; outline-offset: 1px; }
.blog-search.has-query .blog-search-clear { display: block; }
.blog-search-status { min-height: 22px; margin: 12px 0 0; text-align: center; font-size: 15px; color: #86868b; }
.blog-list mark { background: rgba(10, 132, 255, .16); color: inherit; border-radius: 4px; padding: 0 1px; }
.blog-snippet { margin: 8px 0 0; max-width: 40em; font-size: 17px; line-height: 1.55; color: #6e6e73; }
.blog-empty { margin: 0 auto; max-width: 640px; text-align: center; }
.blog-empty h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.015em; margin: 0; color: #1d1d1f; }
.blog-empty p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: #86868b; }
.blog-empty button { border: none; background: none; padding: 0; font: inherit; color: #0a84ff; font-weight: 600; cursor: pointer; }
.blog-empty button:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .blog-search { margin: -16px auto 40px; }
  .blog-search input { height: 62px; font-size: 18px; padding: 0 90px 0 56px; }
  .blog-search-box svg { left: 22px; width: 22px; height: 22px; }
  .blog-search kbd { display: none; }
}
