/*
 * Amphora publisher vessel-home presentation package 1.0.0.
 *
 * Purpose:
 *   Present the governed publisher/vessel_home_v1 component inside an otherwise
 *   empty CMS/site vessel without recreating the standalone Pagecache page
 *   chassis.
 *
 * Ownership:
 *   Schemas owns content, semantic order, links, search semantics, eligibility,
 *   and the component markup.
 *   Amphora owns the portable component survival/presentation rules below.
 *   The consuming vessel owns surrounding header, navigation, page canvas,
 *   outer layout, and footer.
 *
 * Portability:
 *   No CMS, theme, page-id, body-class, or customer-specific selector appears
 *   in this file.
 */

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] {
  width: 100% !important;
  max-width: var(--amphora-page-frame-max, 1160px) !important;
  margin: 0 auto !important;
  color: var(--amphora-ink, #172033) !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] > .pagecache-publisher-vessel-home {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: clamp(1.4rem, 3.2vw, 3.2rem) clamp(1rem, 3vw, 2.75rem) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-hero-media {
  width: min(100%, 70rem) !important;
  margin: 0 auto clamp(1.4rem, 2.8vw, 2.5rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--amphora-media-radius, 22px) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-hero-media img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(56vh, 34rem) !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: inherit !important;
  box-shadow: none !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-identity-in-presentation {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-identity-in-presentation h1 {
  max-width: 18ch !important;
  margin: 0 auto clamp(.8rem, 1.6vw, 1.25rem) !important;
  color: var(--amphora-ink, #172033) !important;
  font: inherit !important;
  font-size: clamp(2rem, 4.6vw, 4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  line-height: 1.04 !important;
  text-align: center !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-identity-in-presentation > p {
  max-width: 52rem !important;
  margin: 0 auto 1rem !important;
  color: var(--amphora-muted, #566176) !important;
  font: inherit !important;
  font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions.pagecache-home-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .75rem !important;
  width: min(100%, 58rem) !important;
  max-width: 58rem !important;
  margin: clamp(1.35rem, 2.5vw, 2rem) auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-search-actions-left {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .65rem !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions input[type="search"],
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  margin: 0 !important;
  padding: .7rem 1rem !important;
  color: var(--amphora-ink, #172033) !important;
  background: var(--amphora-surface, #fff) !important;
  border: 1px solid var(--amphora-line, #d8dee8) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(23, 32, 51, .07) !important;
  font: inherit !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions input[type="search"]::placeholder,
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-input::placeholder {
  color: var(--amphora-muted, #566176) !important;
  opacity: .78 !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-action-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  height: 3.15rem !important;
  min-height: 3.15rem !important;
  margin: 0 !important;
  padding: 0 .95rem !important;
  gap: .45rem !important;
  color: var(--amphora-accent, #243b63) !important;
  background: var(--amphora-surface, #fff) !important;
  border: 1px solid color-mix(in srgb, var(--amphora-accent, #243b63) 45%, var(--amphora-line, #d8dee8)) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(23, 32, 51, .07) !important;
  font: inherit !important;
  font-size: .98rem !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-clear,
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-submit {
  width: 3.15rem !important;
  min-width: 3.15rem !important;
  max-width: 3.15rem !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-icon {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.28rem !important;
  min-width: 1.28rem !important;
  max-width: 1.28rem !important;
  height: 1.28rem !important;
  min-height: 1.28rem !important;
  max-height: 1.28rem !important;
  margin: 0 !important;
  padding: 0 !important;
  color: currentColor !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-icon svg {
  position: static !important;
  display: block !important;
  width: 1.28rem !important;
  min-width: 1.28rem !important;
  max-width: 1.28rem !important;
  height: 1.28rem !important;
  min-height: 1.28rem !important;
  max-height: 1.28rem !important;
  margin: 0 !important;
  padding: 0 !important;
  color: currentColor !important;
  fill: none !important;
  overflow: visible !important;
  transform: none !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-action-button:hover,
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-action-button:focus-visible {
  color: var(--amphora-surface, #fff) !important;
  background: var(--amphora-accent, #243b63) !important;
  border-color: var(--amphora-accent, #243b63) !important;
  text-decoration: none !important;
  outline: 2px solid color-mix(in srgb, var(--amphora-accent, #243b63) 45%, transparent) !important;
  outline-offset: 2px !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-favorites,
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-saved-listings-link {
  width: auto !important;
  min-width: max-content !important;
  padding-inline: 1rem !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-saved-listings-link-favorite {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.15rem !important;
  min-width: 1.15rem !important;
  max-width: 1.15rem !important;
  height: 1.15rem !important;
  min-height: 1.15rem !important;
  max-height: 1.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: currentColor !important;
  overflow: visible !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon-slot,
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.15rem !important;
  min-width: 1.15rem !important;
  max-width: 1.15rem !important;
  height: 1.15rem !important;
  min-height: 1.15rem !important;
  max-height: 1.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon::before {
  content: "\2665" !important;
  display: block !important;
  color: currentColor !important;
  font: inherit !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-home-collection-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .55rem 1.1rem !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 58rem !important;
  margin: clamp(1.15rem, 2vw, 1.6rem) auto 0 !important;
  padding: 0 !important;
  color: var(--amphora-muted, #566176) !important;
  font: inherit !important;
  font-size: .98rem !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-home-collection-nav a {
  color: var(--amphora-accent, #243b63) !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  text-underline-offset: .16em !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-home-collection-nav a:hover,
.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-home-collection-nav a:focus-visible {
  text-decoration: underline !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-about-in-presentation {
  width: min(100%, 52rem) !important;
  max-width: 52rem !important;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0 !important;
  padding: clamp(1.6rem, 3vw, 2.25rem) 0 0 !important;
  color: var(--amphora-ink, #172033) !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--amphora-line, #d8dee8) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-about-in-presentation h2 {
  margin: 0 0 .9rem !important;
  color: var(--amphora-ink, #172033) !important;
  font: inherit !important;
  font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.015em !important;
  line-height: 1.15 !important;
}

.savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-publisher-about-in-presentation p {
  margin: 0 0 1rem !important;
  color: var(--amphora-muted, #566176) !important;
  font: inherit !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

@media (max-width: 760px) {
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] > .pagecache-publisher-vessel-home {
    padding-inline: clamp(.85rem, 4vw, 1.35rem) !important;
  }

  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions.pagecache-home-search {
    grid-template-columns: 1fr !important;
  }

  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-favorites,
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-saved-listings-link {
    justify-self: center !important;
  }
}

@media (max-width: 480px) {
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] .pagecache-search-actions-left {
    gap: .45rem !important;
  }

  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions input[type="search"],
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-input {
    height: 2.9rem !important;
    min-height: 2.9rem !important;
    padding-inline: .8rem !important;
    font-size: .95rem !important;
  }

  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-action-button,
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-clear,
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-submit {
    height: 2.9rem !important;
    min-height: 2.9rem !important;
  }

  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-clear,
  .savvy-pagecache-component[data-amphora-layout="publisher_vessel_home_v1"] form.pagecache-search-actions .pagecache-search-actions-submit {
    width: 2.9rem !important;
    min-width: 2.9rem !important;
    max-width: 2.9rem !important;
  }
}
