/* Scoped preview styling. Reuses the blog's blue pill and existing gallery/carousel components. */
.gss-search-page > .black-headder {
  display: flow-root;
  border-bottom: 0;
}
.gss-search-page > .sub19_mob { overflow: hidden; }
.gss-search-page > .sub19_mob > .sub-menu2019:not(.sticky2) { background: transparent; }
.gss-search-page .sub-menu2019 {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.gss-search-preview {
  --search-card-width: 300px;
  --search-card-height: 364px;
}
.gss-search-preview > .gallery-hero {
  border-bottom: 0;
  gap: 10px;
  padding: 20px 0 0;
}
.gss-search-preview .gallery-eyebrow { color: #0066ff; }
.gss-search-preview .gallery-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: none;
}
.gss-search-preview .gallery-hero__caption {
  color: #606b7b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.gss-search-preview .gallery-heading-row {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 250px;
  margin: 18px 0 0;
}
.gss-search-preview .blog-header-search {
  align-items: center;
  background: #fff;
  border: 2px solid #0066ff;
  border-radius: 999px;
  box-sizing: border-box;
  color: #0066ff;
  display: flex;
  gap: 12px;
  min-height: 60px;
  min-width: 0;
  padding: 6px 7px 6px 20px;
  text-align: left;
}
.gss-search-preview .blog-header-search:focus-within { box-shadow: 0 0 0 4px rgb(0 102 255 / 12%); }
.gss-search-preview .blog-header-search input {
  background: transparent;
  border: 0;
  color: #17283d;
  flex: 1;
  font: 400 16px/1.5 Arial, sans-serif;
  margin: 0;
  min-width: 0;
  outline: none;
  padding: 8px 0;
  width: 100%;
}
.gss-search-preview .blog-header-search input::placeholder { color: #7a8493; }
.gss-search-preview .blog-header-search button {
  align-items: center;
  background: #0066ff;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font: 600 14px/1.5 Arial, sans-serif;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
}
.gss-search-preview .blog-header-search button:hover { background: #0050ce; }
.gss-search-preview .blog-header-search button:focus-visible { outline: 2px solid #17283d; outline-offset: 3px; }
.gss-search-preview .gallery-heading-row > label {
  align-items: center;
  background: #f5f8fc;
  border: 1px solid #dce4ee;
  border-radius: 16px;
  box-sizing: border-box;
  color: #606b7b;
  display: flex;
  font: 400 13px/1.5 Arial, sans-serif;
  gap: 10px;
  min-width: 0;
  padding: 12px 16px;
}
.gss-search-preview .gallery-heading-row > label > span { flex-shrink: 0; }
.gss-search-preview select {
  background: transparent;
  border: 0;
  color: #17283d;
  cursor: pointer;
  font: 600 14px/1.5 Arial, sans-serif;
  min-width: 0;
  padding: 4px 0;
  width: 100%;
}
.gss-search-preview select:focus-visible { outline: 2px solid #0066ff; outline-offset: 4px; }
.gss-search-preview > [data-status] {
  border-top: 1px solid #e6ebf2;
  color: #657184;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 20px 0 0;
  padding-top: 14px;
}
.gss-search-preview > [data-guidance] { margin-top: 24px; }
.gss-search-preview [data-summary] {
  background: #f0f6ff;
  border: 1px solid #d8e7ff;
  border-left: 4px solid #0066ff;
  border-radius: 16px;
  color: #26364a;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: none;
  padding: 22px 26px;
}
.gss-search-preview [data-guidance] h2 { margin: 0 0 10px; }
.gss-search-preview .case-carousel { padding: 12px 0 20px; }
.gss-search-preview .case-carousel-track {
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0 56px 16px;
}
.gss-search-preview .gallery-grid { gap: 20px; grid-template-columns: repeat(auto-fill, var(--search-card-width)); }
.gss-search-preview .case-card,
.gss-search-preview [data-suggestions] > li {
  background: #fff;
  border: 1px solid #e1e6ed;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgb(23 40 61 / 7%);
  box-sizing: border-box;
  display: flex;
  flex: 0 0 var(--search-card-width);
  flex-direction: column;
  height: var(--search-card-height);
  overflow: hidden;
  width: var(--search-card-width);
}
.gss-search-preview [data-suggestions] > li > a { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.gss-search-preview .gallery-card__media { flex-shrink: 0; width: 100%; }
.gss-search-preview .gallery-card__body {
  align-content: start;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 16px;
  text-align: left;
}
.gss-search-preview .gallery-card__body > span { color: #657184; font: 400 12px/1.4 Arial, sans-serif; }
.gss-search-preview .gallery-card__body h3,
.gss-search-preview .gallery-card__body strong {
  color: #17283d;
  display: -webkit-box;
  font: 600 16px/1.4 Arial, sans-serif;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.gss-search-preview .gallery-card:not(:has(.gallery-card__media)) .gallery-card__body { justify-content: center; }
.gss-search-preview .search-view-all { background: #f0f6ff; border-color: #c8dcff; }
.gss-search-preview .search-view-all button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: inherit;
  color: #0056d8;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: 400 14px/1.5 Arial, sans-serif;
  gap: 12px;
  height: 100%;
  justify-content: center;
  padding: 24px;
  width: 100%;
}
.gss-search-preview .search-view-all button > :first-child { font-size: 42px; line-height: 1; }
.gss-search-preview .search-view-all strong { font-size: 21px; }
.gss-search-preview .search-view-all button:hover { background: #e2eeff; }
.gss-search-preview .search-view-all button:focus-visible { outline: 3px solid #0066ff; outline-offset: -5px; }
.gss-search-preview [data-pagination] {
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e1e6ed;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 24px;
  padding-top: 22px;
}
.gss-search-preview [data-pagination]:empty { display: none; }
.gss-search-preview .gss-showcase-footer { text-align: center; }
.gss-search-preview .gss-showcase-footer .rounded-button {
  border-radius: 999px;
  font: 600 16px/1.5 Arial, sans-serif;
  padding: 12px 24px;
}
.gss-search-preview [data-pagination] .rounded-button {
  background: #fff;
  border: 1px solid #0066ff;
  border-radius: 999px;
  color: #0066ff;
  cursor: pointer;
  font: 600 15px/1.4 Arial, sans-serif;
  min-height: 44px;
  min-width: 44px;
  padding: 11px 14px;
}
.gss-search-preview [data-pagination] .rounded-button[aria-current="page"] { background: #0066ff; color: #fff; }
.gss-search-preview [data-pagination] > span { color: #657184; padding-inline: 2px; }
.gss-search-preview [data-pagination] .rounded-button:hover { background: #0066ff; color: #fff; }
.gss-search-preview [data-pagination] .rounded-button:focus-visible { outline: 2px solid #0066ff; outline-offset: 4px; }
@media (max-width: 640px) {
  .gss-search-preview { --search-card-width: min(280px, calc(100vw - 64px)); --search-card-height: 349px; }
  .gss-search-preview .gallery-heading-row { gap: 12px; grid-template-columns: minmax(0, 1fr); }
  .gss-search-preview .blog-header-search { gap: 8px; min-height: 56px; padding-left: 16px; }
  .gss-search-preview .blog-header-search button { padding-inline: 15px; }
  .gss-search-preview .gallery-heading-row > label { min-height: 48px; padding-block: 8px; }
  .gss-search-preview .case-carousel-track { padding-inline: 16px; }
  .gss-search-preview > [data-guidance] { margin-top: 20px; }
  .gss-search-preview [data-summary] { padding: 18px; }
}
