/* Site-wide search overlay — injected pages; requires topnav.css :root font vars. */
html.home-site-search-active,
        body.home-site-search-active,
        html.search-open,
        body.search-open {
            overflow: hidden;
        }
        .home-site-search {
            position: fixed;
            inset: 0;
            z-index: 10000025;
            background: #faf9f7;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.18s ease, visibility 0.18s ease;
        }
        .home-site-search.is-open {
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }
        .home-site-search__surface {
            width: 100%;
            min-height: 100%;
            min-height: 100dvh;
            box-sizing: border-box;
        }
        .home-site-search__panel {
            max-width: 720px;
            margin: 0 auto;
            padding: clamp(20px, 4vw, 40px) clamp(18px, 4vw, 32px) 56px;
            box-sizing: border-box;
            min-height: 100%;
            min-height: 100dvh;
        }
        .home-site-search__top {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 14px;
        }
        .home-site-search__title {
            margin: 0;
            font-family: var(--site-mono);
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.85);
        }
        .home-site-search__close {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            margin: -10px -10px -10px 0;
            padding: 0;
            border: 0;
            background: transparent;
            font-size: 26px;
            line-height: 1;
            color: #1a1a1a;
            cursor: pointer;
            opacity: 0.55;
            transition: opacity 0.15s ease;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        .home-site-search__close:hover {
            opacity: 0.95;
        }
        .home-site-search__rule {
            height: 1px;
            background: rgba(26, 26, 26, 0.14);
            margin: 0 0 22px;
        }
        .home-site-search__visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        .home-site-search__field {
            display: flex;
            align-items: flex-end;
            gap: 4px;
            width: 100%;
        }
        .home-site-search__field .home-site-search__input {
            flex: 1;
            min-width: 0;
        }
        .home-site-search__close--field {
            flex-shrink: 0;
            align-self: flex-end;
            margin: 0 0 10px;
        }
        .home-site-search__input {
            display: block;
            width: 100%;
            box-sizing: border-box;
            padding: 10px 2px 12px;
            border: 0;
            border-bottom: 1px solid rgba(26, 26, 26, 0.22);
            background: transparent;
            font-family: var(--site-body);
            font-size: clamp(14px, 2.4vw, 17px);
            font-weight: 400;
            letter-spacing: -0.02em;
            color: #1a1a1a;
            border-radius: 0;
            outline: none;
        }
        .home-site-search__input::placeholder {
            color: rgba(26, 26, 26, 0.38);
        }
        .home-site-search__input:focus {
            border-bottom-color: rgba(26, 26, 26, 0.42);
        }
        .home-site-search__results {
            margin-top: 28px;
        }
        .home-site-search__group {
            margin: 0 0 28px;
        }
        .home-site-search__group-label {
            margin: 0 0 12px;
            font-family: var(--site-mono);
            font-size: 10px;
            font-weight: 500;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.48);
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(26, 26, 26, 0.1);
        }
        .home-site-search__list {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .home-site-search__hit-li {
            border-bottom: 1px solid rgba(26, 26, 26, 0.06);
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .home-site-search__hit-li .home-site-search__hit {
            border-bottom: none;
        }
        .home-site-search__quick-links {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px 14px;
            padding: 0 0 12px 0;
            margin-top: -2px;
        }
        .home-site-search__hit-li:has(.home-site-search__hit--rich) .home-site-search__quick-links {
            padding-left: 72px;
        }
        .home-site-search__quick-link {
            font-family: var(--site-mono);
            font-size: 10px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            text-decoration: none;
            color: rgba(26, 26, 26, 0.52);
            border-bottom: 1px solid rgba(26, 26, 26, 0.14);
            padding-bottom: 2px;
        }
        .home-site-search__quick-link:hover {
            color: rgba(26, 26, 26, 0.85);
            border-bottom-color: rgba(26, 26, 26, 0.35);
        }
        .home-site-search__featured {
            margin-bottom: 28px;
            padding-bottom: 6px;
            border-bottom: 1px solid rgba(26, 26, 26, 0.08);
        }
        .home-site-search__featured .home-site-search__list {
            margin-top: 4px;
        }
        .home-site-search__hit {
            display: block;
            padding: 14px 0;
            text-decoration: none;
            color: inherit;
            border-bottom: 1px solid rgba(26, 26, 26, 0.06);
            transition: opacity 0.12s ease;
        }
        .home-site-search__hit--rich {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 14px 0;
        }
        .home-site-search__hit-thumb {
            flex-shrink: 0;
            width: 58px;
            aspect-ratio: 16 / 9;
            height: auto;
            padding: 0 !important;
            border-radius: 1px;
            overflow: hidden;
            background: rgba(26, 26, 26, 0.06);
            border: 1px solid rgba(26, 26, 26, 0.08);
            box-sizing: border-box;
        }
        .home-site-search__hit-thumb img {
            width: 100% !important;
            height: 100% !important;
            max-width: none;
            object-fit: cover;
            object-position: center;
            display: block;
            padding: 0 !important;
            margin: 0 !important;
        }
        .home-site-search__hit-thumb--contain {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fafafa;
        }
        .home-site-search__hit-thumb--contain img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
            flex-shrink: 1;
            min-width: 0;
            min-height: 0;
        }
        .home-site-search__hit-thumb--cover img {
            object-fit: cover;
        }
        .home-site-search__view-more {
            margin: 10px 0 0;
            padding-bottom: 4px;
            font-family: var(--site-mono);
            font-size: 11px;
            letter-spacing: 0.02em;
            color: rgba(26, 26, 26, 0.52);
        }
        .home-site-search__view-more-link:any-link {
            color: inherit;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .home-site-search__hit-thumb--mono {
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--site-mono);
            font-size: 15px;
            font-weight: 600;
            color: rgba(26, 26, 26, 0.42);
            letter-spacing: 0.02em;
        }
        .home-site-search__hit-body {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 6px;
            position: relative;
        }
        .home-site-search__hit-pill {
            align-self: flex-start;
            font-family: var(--site-mono);
            font-size: 9px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.42);
            padding-bottom: 2px;
            border-bottom: 1px solid rgba(26, 26, 26, 0.14);
        }
        .home-site-search__hit-pill--quiet {
            position: absolute;
            top: 0;
            right: 0;
            opacity: 0.85;
            border-bottom-color: rgba(26, 26, 26, 0.09);
        }
        .home-site-search__hit:hover {
            opacity: 0.55;
        }
        .home-site-search__hit-title {
            display: block;
            font-family: var(--site-body);
            font-size: 15px;
            font-weight: 600;
            letter-spacing: -0.01em;
            color: #141413;
            margin-bottom: 0;
            padding-right: 96px;
        }
        .home-site-search__hit--rich .home-site-search__hit-title {
            font-size: 15.5px;
        }
        .home-site-search__hit:not(.home-site-search__hit--rich) .home-site-search__hit-title {
            margin-bottom: 6px;
        }
        .home-site-search__hit-meta {
            display: block;
            font-family: var(--site-mono);
            font-size: 11px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.48);
            line-height: 1.45;
        }
        .home-site-search__hit-desc {
            display: block;
            font-family: var(--site-body);
            font-size: 13px;
            line-height: 1.52;
            color: rgba(26, 26, 26, 0.62);
            font-weight: 400;
            max-width: 52ch;
        }
        .home-site-search__empty {
            margin-top: 32px;
            padding-top: 8px;
            border-top: 1px solid rgba(26, 26, 26, 0.08);
        }
        .home-site-search__suggested-panel {
            margin-top: 32px;
            padding-top: 8px;
            border-top: 1px solid rgba(26, 26, 26, 0.08);
        }
        .home-site-search__empty-lead {
            margin: 0 0 10px;
            font-family: var(--site-body);
            font-size: 15px;
            font-weight: 600;
            color: #1a1a1a;
        }
        .home-site-search__empty-sub {
            margin: 0 0 20px;
            font-family: var(--site-body);
            font-size: 13px;
            line-height: 1.55;
            color: rgba(26, 26, 26, 0.58);
            max-width: 42ch;
        }
        .home-site-search__empty-label {
            font-family: var(--site-mono);
            font-size: 10px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.45);
            margin-bottom: 12px;
        }
        .home-site-search__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 10px;
        }
        .home-site-search__chip {
            appearance: none;
            padding: 10px 14px;
            border: 1px solid rgba(26, 26, 26, 0.18);
            background: transparent;
            font-family: var(--site-mono);
            font-size: 10px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #1a1a1a;
            cursor: pointer;
            transition: opacity 0.12s ease, border-color 0.12s ease;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        .home-site-search__chip:hover {
            opacity: 0.55;
            border-color: rgba(26, 26, 26, 0.28);
        }

        .home-site-search__explore {
            margin-top: 36px;
            padding-top: 28px;
            border-top: 1px solid rgba(26, 26, 26, 0.1);
            display: flex;
            flex-direction: column;
            gap: 28px;
        }
        .home-site-search__explore-section {
            margin: 0;
        }
        .home-site-search__explore-label {
            margin: 0 0 12px;
            font-family: var(--site-mono);
            font-size: 10px;
            font-weight: 500;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.48);
        }
        .home-site-search__explore-list {
            display: flex;
            flex-direction: column;
            gap: 0;
            border-top: 1px solid rgba(26, 26, 26, 0.08);
        }
        .home-site-search__explore-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(26, 26, 26, 0.06);
            text-decoration: none;
            color: inherit;
            transition: opacity 0.12s ease;
        }
        .home-site-search__explore-row:hover {
            opacity: 0.55;
        }
        .home-site-search__explore-row-title {
            font-family: var(--site-body);
            font-size: 14px;
            font-weight: 600;
            color: #141413;
            letter-spacing: -0.01em;
            flex: 1;
            min-width: 0;
        }
        .home-site-search__explore-row-meta {
            flex-shrink: 0;
            font-family: var(--site-mono);
            font-size: 9px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(26, 26, 26, 0.42);
            max-width: 44%;
            text-align: right;
        }
        .home-site-search__explore-row--product {
            align-items: center;
            gap: 12px;
        }
        .home-site-search__explore-row--product .home-site-search__explore-row-title {
            flex: 1;
            min-width: 0;
        }
        .home-site-search__explore-thumb {
            flex-shrink: 0;
            width: 56px;
            aspect-ratio: 16 / 9;
            height: auto;
            padding: 0 !important;
            border-radius: 1px;
            overflow: hidden;
            background: rgba(26, 26, 26, 0.06);
            border: 1px solid rgba(26, 26, 26, 0.08);
        }
        .home-site-search__explore-thumb img {
            width: 100% !important;
            height: 100% !important;
            max-width: none;
            object-fit: cover;
            object-position: center;
            display: block;
            padding: 0 !important;
            margin: 0 !important;
        }
        .home-site-search__explore-thumb--mono {
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--site-mono);
            font-size: 13px;
            font-weight: 600;
            color: rgba(26, 26, 26, 0.38);
        }

/* 2026 search overlay refresh: compact profile-style panel, restrained rows. */
.home-site-search {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(18px, 5vh, 48px) 18px;
  background: rgba(17, 16, 13, 0.48);
  overflow: hidden;
}
.home-site-search__surface {
  width: 100%;
  min-height: 0;
  display: flex;
  justify-content: center;
}
.home-site-search__panel {
  width: min(840px, calc(100vw - 36px));
  max-width: 840px;
  min-height: 0;
  max-height: min(80vh, 780px);
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d8d4cc;
  border-radius: 6px;
  background: #fcfbf8;
  box-shadow: 0 1px 2px rgba(20, 20, 16, 0.08), 0 24px 72px rgba(17, 16, 13, 0.24);
}
.home-site-search__top {
  flex: 0 0 auto;
  align-items: center;
  padding: 22px 24px 14px;
}
.home-site-search__title,
.home-site-search__group-label,
.home-site-search__explore-label {
  font-family: var(--korthos-header-font, var(--site-body, Inter, system-ui, sans-serif));
  font-weight: var(--korthos-header-weight, 780);
  letter-spacing: var(--korthos-header-tracking, .08em);
}
.home-site-search__title {
  font-size: 12px;
  color: rgba(17, 17, 14, .88);
}
.home-site-search__close {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(17, 17, 14, .14);
  border-radius: 4px;
  background: rgba(255, 255, 252, .55);
  font-size: 20px;
  opacity: .72;
}
.home-site-search__close:hover {
  opacity: 1;
  background: rgba(17, 17, 14, .045);
}
.home-site-search__rule {
  flex: 0 0 auto;
  margin: 0 24px 0;
  background: rgba(17, 17, 14, .10);
}
.home-site-search__field {
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 18px;
}
.home-site-search__input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 14, .14);
  border-radius: 5px;
  background: rgba(255, 255, 252, .72);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 560;
  letter-spacing: 0;
}
.home-site-search__input:focus {
  border-color: rgba(17, 17, 14, .34);
  box-shadow: 0 0 0 3px rgba(17, 17, 14, .045);
}
.home-site-search__close--field {
  align-self: center;
  margin: 0;
}
.home-site-search__results,
.home-site-search__suggested-panel {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0 24px 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 14, .18) transparent;
}
.home-site-search__suggested-panel {
  border-top: 1px solid rgba(17, 17, 14, .08);
}
.home-site-search__explore {
  margin: 0;
  padding-top: 18px;
  border-top: 0;
  gap: 22px;
}
.home-site-search__group {
  margin: 0 0 24px;
}
.home-site-search__group-label,
.home-site-search__explore-label {
  margin-bottom: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17, 17, 14, .10);
  font-size: 10px;
  color: rgba(17, 17, 14, .50);
}
.home-site-search__list,
.home-site-search__explore-list {
  border-top: 0;
}
.home-site-search__hit-li,
.home-site-search__hit,
.home-site-search__explore-row {
  border-bottom: 1px solid rgba(17, 17, 14, .065);
}
.home-site-search__hit,
.home-site-search__hit--rich,
.home-site-search__explore-row {
  padding: 12px 0;
  transition: background-color .12s ease, opacity .12s ease;
}
.home-site-search__hit:hover,
.home-site-search__explore-row:hover {
  opacity: 1;
  background: rgba(17, 17, 14, .025);
}
.home-site-search__hit-title,
.home-site-search__explore-row-title {
  font-family: var(--site-body, Inter, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0;
  color: rgba(17, 17, 14, .96);
}
.home-site-search__hit-title {
  padding-right: 96px;
}
.home-site-search__hit--rich .home-site-search__hit-title {
  font-size: 14.5px;
}
.home-site-search__hit-meta,
.home-site-search__explore-row-meta {
  font-family: var(--site-body, Inter, system-ui, sans-serif);
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: .045em;
  color: rgba(17, 17, 14, .48);
}
.home-site-search__hit-desc {
  display: none !important;
  font-size: 12.5px;
  color: rgba(17, 17, 14, .60);
}
.home-site-search__hit-pill {
  border: 1px solid rgba(17, 17, 14, .10);
  border-radius: 3px;
  padding: 3px 6px;
  color: rgba(17, 17, 14, .50);
  background: rgba(255, 255, 252, .56);
}
.home-site-search__hit-body {
  position: relative;
}
.home-site-search__hit-pill--quiet {
  position: absolute;
  top: 0;
  right: 0;
}
.home-site-search__hit-thumb,
.home-site-search__explore-thumb {
  border-radius: 4px;
  border-color: rgba(17, 17, 14, .10);
  background: rgba(17, 17, 14, .045);
}
.home-site-search__quick-links {
  display: none !important;
}
.home-site-search__empty {
  margin: 0 24px 24px;
  padding-top: 18px;
}
@media (max-width: 640px) {
  .home-site-search {
    padding: 10px;
  }
  .home-site-search__panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .home-site-search__top,
  .home-site-search__field,
  .home-site-search__results,
  .home-site-search__suggested-panel {
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-site-search__rule {
    margin-left: 16px;
    margin-right: 16px;
  }
  .home-site-search__explore-row-meta {
    max-width: 38%;
  }
}

/* Homepage overlay finish: keep focused placeholder text from colliding with
   the caret, allow long result titles to wrap, and use a quiet inset rail. */
html body.page-home .home-site-search__panel {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(24, 24, 20, .22) transparent !important;
}
html body.page-home .home-site-search__panel::-webkit-scrollbar {
  width: 7px !important;
}
html body.page-home .home-site-search__panel::-webkit-scrollbar-track {
  background: transparent !important;
}
html body.page-home .home-site-search__panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  background: rgba(24, 24, 20, .22) !important;
  background-clip: padding-box !important;
}
html body.page-home .home-site-search__panel::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 24, 20, .34) !important;
  background-clip: padding-box !important;
}
html body.page-home .home-site-search__input {
  padding-inline: 14px !important;
}
html body.page-home .home-site-search__input:focus::placeholder {
  opacity: 0 !important;
}
html body.page-home :is(.home-site-search__hit-title, .home-site-search__explore-row-title) {
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}

.home-site-search__results:empty {
  display: none !important;
}

html.search-open,
html.search-open body.search-open {
  overflow: hidden !important;
}

/* Directory-era global search: warm stone shell with light contained search/results. */
.home-site-search {
  align-items: center !important;
  padding: 18px !important;
  background: rgba(20, 20, 16, .34) !important;
  backdrop-filter: blur(8px) !important;
}
.home-site-search__surface {
  min-height: 0 !important;
  align-items: center !important;
}
.home-site-search__panel {
  width: min(712px, calc(100vw - 36px)) !important;
  max-width: 712px !important;
  max-height: calc(100dvh - 36px) !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: #f4f2ec !important;
  box-shadow: 0 30px 80px rgba(20, 20, 16, .24) !important;
  clip-path: inset(0 round 24px) !important;
}
.home-site-search__top {
  padding: 22px 22px 14px !important;
}
.home-site-search__title {
  color: #141410 !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 23px !important;
  font-weight: 720 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  text-transform: capitalize !important;
}
.home-site-search__close {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: rgba(255, 253, 250, .74) !important;
  color: rgba(20, 20, 16, .48) !important;
  font-size: 20px !important;
}
.home-site-search__close:hover {
  background: #fffdfa !important;
  color: #141410 !important;
}
.home-site-search__rule { display: none !important; }
.home-site-search__field {
  padding: 0 22px 16px !important;
}
.home-site-search__input {
  min-height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: #fffdfa !important;
  color: #141410 !important;
  box-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

/* The overlay owns one clear button; suppress the browser's second control,
   especially on narrow mobile search fields. */
.home-site-search__input::-webkit-search-cancel-button,
.home-site-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.home-site-search__input:focus {
  border-color: rgba(47, 109, 73, .28) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(47, 109, 73, .10) !important;
}
.home-site-search__results,
.home-site-search__suggested-panel {
  margin: 0 22px 22px !important;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fffdfa !important;
  scrollbar-width: none !important;
}
.home-site-search__results::-webkit-scrollbar,
.home-site-search__suggested-panel::-webkit-scrollbar { display: none !important; }
.home-site-search__group,
.home-site-search__explore-section {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.home-site-search__group:last-child,
.home-site-search__explore-section:last-child { margin-bottom: 0 !important; }
.home-site-search__group-label,
.home-site-search__explore-label {
  padding-bottom: 0 !important;
  border: 0 !important;
  color: rgba(20, 20, 16, .48) !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 9px !important;
  font-weight: 720 !important;
  letter-spacing: .075em !important;
}
.home-site-search__list,
.home-site-search__explore-list,
.home-site-search__hit-li {
  border: 0 !important;
}
.home-site-search__hit,
.home-site-search__hit--rich,
.home-site-search__explore-row {
  border: 0 !important;
  border-radius: 10px !important;
  padding: 10px !important;
}
.home-site-search__hit:hover,
.home-site-search__explore-row:hover { background: rgba(47, 109, 73, .065) !important; }
.home-site-search__hit-thumb,
.home-site-search__explore-thumb {
  width: 54px !important;
  min-width: 54px !important;
  height: 44px !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #faf9f7 !important;
  box-sizing: border-box !important;
}
.home-site-search__hit-thumb img,
.home-site-search__explore-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: inherit !important;
}
.home-site-search__hit-thumb--contain img {
  padding: 5px !important;
  object-fit: contain !important;
}
.home-site-search__explore-thumb--content img,
.home-site-search__hit-thumb--cover img,
.home-site-search__explore-thumb--company img {
  padding: 0 !important;
  object-fit: cover !important;
}

/* Company results use wide hero crops; logos remain a fallback when no hero exists. */
html body .home-site-search__hit-thumb--company,
html body .home-site-search__explore-thumb--company {
  width:64px !important;
  min-width:64px !important;
  height:36px !important;
  aspect-ratio:16 / 9 !important;
  background:transparent !important;
}
html body .home-site-search__explore-thumb--company img {
  padding:0 !important;
  object-fit:cover !important;
}
html body .home-site-search__hit-thumb--cover { background:transparent !important; }
html body .home-site-search__hit-thumb--cover img {
  padding:0 !important;
  object-fit:cover !important;
}
@media (max-width: 640px) {
  .home-site-search { padding: 10px !important; }
  .home-site-search__panel {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    border-radius: 20px !important;
    clip-path: inset(0 round 20px) !important;
  }
  .home-site-search__top { padding: 20px 18px 13px !important; }
  .home-site-search__title { font-size: 21px !important; }
  .home-site-search__field { padding: 0 18px 14px !important; }
  .home-site-search__results,
  .home-site-search__suggested-panel {
    margin: 0 18px 18px !important;
    padding: 14px !important;
  }
}

/* Final shared row authority: page CSS must not distort search metadata. */
html body .home-site-search__hit-meta,
html body .home-site-search__explore-row-meta {
  display: flex !important;
  min-width: 0 !important;
  max-width: 52% !important;
  flex: 0 1 auto !important;
  margin-left: auto !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  color: rgba(17,17,15,.56) !important;
  font: 560 10px/1.25 Inter,system-ui,sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
}
html body .home-site-search__explore-row-detail {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
html body .home-site-search__explore-row-detail--date {
  flex: 0 0 auto !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-variant-numeric: tabular-nums !important;
}
html body .home-site-search__hit-pill,
html body .home-site-search__explore-type-pill {
  display: inline-flex !important;
  min-height: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #dfe7f1 !important;
  color: #2d4f7a !important;
  font: 760 8px/1 Inter,system-ui,sans-serif !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
html body #home-site-search-explore-products .home-site-search__explore-type-pill:not([class*="--semantic-tint-"]) { background: #eadff4 !important; color: #65417f !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill:not([class*="--event-tint-"]) { background: #f5dfd6 !important; color: #873e31 !important; }
html body #home-site-search-explore-articles .home-site-search__explore-type-pill:not([class*="--semantic-tint-"]) { background: #dcebe2 !important; color: #285b43 !important; }

/* Stable colour-by-label: equal meanings stay equal, distinct labels no longer
   collapse into one section colour. */
html body [class*="home-site-search__explore-type-pill--semantic-tint-"] { background:#d9f2e5 !important; color:#234f3c !important; }
html body .home-site-search__explore-type-pill--semantic-tint-0 { background:#ffd9d2 !important; color:#7a3026 !important; }
html body .home-site-search__explore-type-pill--semantic-tint-1 { background:#d8e7ff !important; color:#244b72 !important; }
html body .home-site-search__explore-type-pill--semantic-tint-2 { background:#d9f2e5 !important; color:#234f3c !important; }
html body .home-site-search__explore-type-pill--semantic-tint-3 { background:#eadcff !important; color:#4c3569 !important; }
html body .home-site-search__explore-type-pill--semantic-tint-4 { background:#fff0a8 !important; color:#62500b !important; }
html body .home-site-search__explore-type-pill--semantic-tint-5 { background:#d5f2ff !important; color:#285f72 !important; }
html body .home-site-search__explore-type-pill--semantic-tint-6 { background:#ffd9e3 !important; color:#76354a !important; }
html body .home-site-search__explore-type-pill--semantic-tint-7 { background:#d4f3f1 !important; color:#245e5a !important; }
html body .home-site-search__explore-type-pill--semantic-tint-8 { background:#e1ddff !important; color:#494073 !important; }
html body .home-site-search__explore-type-pill--semantic-tint-9 { background:#e1f3b8 !important; color:#45601a !important; }
html body .home-site-search__explore-type-pill--semantic-tint-10 { background:#d3eee7 !important; color:#286052 !important; }
html body .home-site-search__explore-type-pill--semantic-tint-11 { background:#f5d9ef !important; color:#6b3860 !important; }
html body .home-site-search__row-flag {
  position: relative !important;
  display: inline-flex !important;
  width: 18px !important;
  height: 12px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  flex: 0 0 18px !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #e8e6df !important;
  box-shadow: 0 0 0 1px rgba(17,17,15,.1) !important;
  box-sizing: border-box !important;
  line-height: 0 !important;
  clip-path: inset(0 round 4px) !important;
}

/* Final company-media authority: wide hero crops, never logo plates. */
html body .home-site-search__hit-thumb--company.home-site-search__hit-thumb--company,
html body .home-site-search__explore-thumb--company.home-site-search__explore-thumb--company {
  width: 64px !important;
  min-width: 64px !important;
  height: 36px !important;
  flex: 0 0 64px !important;
  aspect-ratio: 16 / 9 !important;
  background: transparent !important;
}
html body .home-site-search__hit-thumb--company.home-site-search__hit-thumb--company img,
html body .home-site-search__explore-thumb--company.home-site-search__explore-thumb--company img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  padding: 0 !important;
  object-fit: cover !important;
}
html body .home-site-search__row-flag::before,
html body .home-site-search__row-flag::after { content: none !important; }
html body .home-site-search__row-flag img {
  position: static !important;
  display: block !important;
  width: 18px !important;
  height: 12px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  object-fit: cover !important;
  clip-path: inset(0 round 4px) !important;
}
@media (max-width: 640px) {
  html body .home-site-search__explore-row-detail--date {
    display: none !important;
  }
  html body .home-site-search__hit-meta,
  html body .home-site-search__explore-row-meta { max-width: 54% !important; }
  html body #home-site-search-explore-signals .home-site-search__explore-row {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }
  html body #home-site-search-explore-signals .home-site-search__explore-row-title {
    flex: 1 1 100% !important;
  }
  html body #home-site-search-explore-signals .home-site-search__explore-row-meta {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
}

/* Stable semantic event colors shared by recent-event and queried-event rows. */
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-0,
html body .home-site-search__explore-type-pill--event-tint-0 { background:#ffd9d2 !important; color:#7a2218 !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-1,
html body .home-site-search__explore-type-pill--event-tint-1 { background:#d8e7ff !important; color:#1e3a6e !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-2,
html body .home-site-search__explore-type-pill--event-tint-2 { background:#d9f2e5 !important; color:#1e5c45 !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-3,
html body .home-site-search__explore-type-pill--event-tint-3 { background:#eadcff !important; color:#5a2f6a !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-4,
html body .home-site-search__explore-type-pill--event-tint-4 { background:#fff0b8 !important; color:#6b3e0a !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-5,
html body .home-site-search__explore-type-pill--event-tint-5 { background:#d5f2ff !important; color:#243e6e !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-6,
html body .home-site-search__explore-type-pill--event-tint-6 { background:#ffd9e3 !important; color:#6b1e28 !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-7,
html body .home-site-search__explore-type-pill--event-tint-7 { background:#d4f3f1 !important; color:#1e5a5e !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-8,
html body .home-site-search__explore-type-pill--event-tint-8 { background:#e1ddff !important; color:#3d2f6e !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-9,
html body .home-site-search__explore-type-pill--event-tint-9 { background:#e8f5c8 !important; color:#5a4518 !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-10,
html body .home-site-search__explore-type-pill--event-tint-10 { background:#d3eee7 !important; color:#1a5e4a !important; }
html body #home-site-search-explore-signals .home-site-search__explore-type-pill--event-tint-11,
html body .home-site-search__explore-type-pill--event-tint-11 { background:#f5d9ef !important; color:#6b2458 !important; }

/* Final borderless row rhythm: spacing replaces every removed divider. */
html body .home-site-search__list,
html body .home-site-search__explore-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body .home-site-search__hit-li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  html body .home-site-search__list,
  html body .home-site-search__explore-list {
    gap: 7px !important;
  }
}

/* Site-wide search popup authority.
   Mirrors the approved homepage treatment on every injected search surface. */
html body .home-site-search {
  display: flex !important;
  padding: 24px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: rgba(17,17,15,.32) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-sizing: border-box !important;
}

html body .home-site-search__surface {
  display: flex !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .home-site-search__panel {
  display: block !important;
  width: min(780px,100%) !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: min(620px,calc(100dvh - 56px)) !important;
  margin: 0 !important;
  padding: 22px 22px 24px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(24,24,20,.22) transparent !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: #efeee8 !important;
  box-shadow: 0 36px 100px -42px rgba(0,0,0,.72) !important;
}

html body .home-site-search__panel::-webkit-scrollbar {
  width: 7px !important;
}

html body .home-site-search__panel::-webkit-scrollbar-track {
  background: transparent !important;
}

html body .home-site-search__panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent !important;
  border-radius: 999px !important;
  background: rgba(24,24,20,.22) !important;
  background-clip: padding-box !important;
}

html body .home-site-search__panel::-webkit-scrollbar-thumb:hover {
  background: rgba(24,24,20,.34) !important;
  background-clip: padding-box !important;
}

html body .home-site-search__top {
  align-items: center !important;
  padding: 0 0 14px !important;
}

html body .home-site-search__title {
  margin: 0 !important;
  color: #11110f !important;
  font-family: Inter,var(--site-body),system-ui,sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}

html body .home-site-search__close {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #faf9f7 !important;
  color: #11110f !important;
  font: 500 21px/1 Inter,sans-serif !important;
  opacity: 1 !important;
}

html body .home-site-search__rule {
  display: none !important;
}

html body .home-site-search__field {
  display: flex !important;
  min-height: 50px !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 5px 3px 7px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #faf9f7 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

html body .home-site-search__input {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #11110f !important;
  font: 520 14px/1 Inter,sans-serif !important;
  letter-spacing: -.015em !important;
  outline: 0 !important;
}

html body .home-site-search__input:focus::placeholder {
  opacity: 0 !important;
}

html body .home-site-search__close--field {
  width: 36px !important;
  height: 36px !important;
  flex-basis: 36px !important;
  align-self: center !important;
  margin: 0 !important;
  border-radius: 10px !important;
}

html body .home-site-search__results,
html body .home-site-search__suggested-panel,
html body .home-site-search__empty {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body .home-site-search__explore,
html body .home-site-search__explore-section,
html body .home-site-search__group,
html body .home-site-search__featured {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body .home-site-search__explore {
  gap: 18px !important;
}

html body .home-site-search__group-label,
html body .home-site-search__explore-label,
html body .home-site-search__empty-label {
  margin: 0 0 8px !important;
  padding: 0 2px !important;
  border: 0 !important;
  color: rgba(17,17,15,.5) !important;
  font: 760 9px/1.2 Inter,sans-serif !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
}

html body .home-site-search__hit,
html body .home-site-search__explore-row {
  display: flex !important;
  min-height: 54px !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #faf9f7 !important;
  color: #11110f !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
}

html body .home-site-search__hit:hover,
html body .home-site-search__explore-row:hover {
  background: #e8efe9 !important;
  opacity: 1 !important;
}

html body .home-site-search__hit--rich {
  align-items: center !important;
}

html body .home-site-search__hit-thumb,
html body .home-site-search__explore-thumb {
  display: grid !important;
  width: 44px !important;
  height: 40px !important;
  flex: 0 0 44px !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #efeee8 !important;
}

html body .home-site-search__hit-thumb img,
html body .home-site-search__explore-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px !important;
  object-fit: contain !important;
}

html body .home-site-search__hit-title,
html body .home-site-search__explore-row-title {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  font: 700 13px/1.25 Inter,sans-serif !important;
  letter-spacing: -.015em !important;
}

html body .home-site-search__hit-meta,
html body .home-site-search__explore-row-meta {
  display: flex !important;
  min-width: 0 !important;
  max-width: 52% !important;
  flex: 0 1 auto !important;
  margin-left: auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  color: rgba(17,17,15,.56) !important;
  font: 560 10px/1.25 Inter,sans-serif !important;
}

html body .home-site-search__explore-row-detail {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  html body .home-site-search {
    padding: 12px !important;
  }

  html body .home-site-search__panel {
    width: 100% !important;
    max-height: min(680px,calc(100dvh - 24px)) !important;
    padding: 18px 14px 20px !important;
    border-radius: 21px !important;
  }

  html body .home-site-search__title {
    font-size: 18px !important;
  }

  html body .home-site-search__explore {
    gap: 15px !important;
  }

  html body .home-site-search__explore-row-meta {
    max-width: 46% !important;
    overflow: visible !important;
  }

  html body .home-site-search__hit,
  html body .home-site-search__explore-row {
    min-height: 60px !important;
    padding-block: 10px !important;
  }
}

/* The global focus authority moves the keyboard ring to the composite search
   shell. Keep that one ring fitted to the visible field and suppress the older
   inner input glow so desktop and mobile do not paint two different sizes. */
html body .home-site-search__field:focus-within:has(> .home-site-search__input:focus) {
  outline: 2px solid rgba(31, 104, 72, .52) !important;
  outline-offset: 0 !important;
}

html body .home-site-search__field > .home-site-search__input:focus,
html body .home-site-search__field > .home-site-search__input:focus-visible {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Populated results use the same single horizontal centreline as the default
   explore rows instead of stacking the title above its metadata. */
html body .home-site-search__hit-body {
  display: flex !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}

html body .home-site-search__hit-body > .home-site-search__hit-title {
  padding-right: 0 !important;
}

html body .home-site-search__hit-body > .home-site-search__hit-meta {
  align-self: center !important;
}
