/*
 * Amphora Presentation — Listing Package
 * Bundle foundation: Amphora Display Adapter 1.5.75 / Priority 5A
 *
 * This file begins the physical separation of Amphora-owned governed
 * presentation from CMS-family adapter mechanics.
 *
 * Current migration rule:
 *   - declarations below are copied exactly from the accepted 1.5.74
 *     amphora-artifact.css presentation behavior;
 *   - the accepted copies remain in amphora-artifact.css during this
 *     browser-acceptance slice so the migration itself cannot remove behavior;
 *   - this file loads after ordinary vessel/theme CSS;
 *   - after browser acceptance, the compatibility copies can be removed in a
 *     later narrow slice and this package becomes the single owner.
 *
 * This is not the Representation capability handshake. Capability/version
 * negotiation remains a later Priority 7 concern.
 */

:root {
  --amphora-presentation-listing-package-foundation: 1;
}

/* ========================================================================
 * Gallery / media presentation
 * ===================================================================== */

/* -------------------------------------------------------------------------
 * Amphora static-card media layout keeper 1.3.22.
 * ----------------------------------------------------------------------
 * Explicit static media layout for the two Amphora-owned card contracts:
 * listing_card_hero_rail_v1 and complex_card_gallery_v1.
 * Native Schemas listing galleries remain outside this contract.
 * Native Schemas listing pages are explicitly excluded so this
 * static-card keeper cannot override listing-gallery rail-fill geometry.
 * Amphora static-card native-listing exclusion keeper 1.3.23.
 * 1.3.26 live proof: complex_card_gallery_v1 is deliberately removed
 * from this static-card media-internals keeper so Schemas/pagecache can
 * own complex gallery shell, rail, thumb, and image geometry directly.
 * ---------------------------------------------------------------------- */
body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery, .pagecache-listing-hero-selector, .pagecache-gallery-media-shell),
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery, .pagecache-listing-hero-selector, .pagecache-gallery-media-shell),
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery, .pagecache-listing-hero-selector, .pagecache-gallery-media-shell) {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-shell,
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-shell,
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-shell {
  --pagecache-photo-grey: var(--pagecache-media-stage, #cccccc) !important;
  --pagecache-photo-grey-rule: var(--pagecache-media-rule, var(--pagecache-photo-grey)) !important;
  --pagecache-media-stage-height: clamp(360px, 42vw, 560px) !important;
  --pagecache-media-gap: 3px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 23vw, 310px) !important;
  gap: 0 !important;
  align-items: stretch !important;
  padding: 0 !important;
  border-radius: var(--amphora-media-radius) var(--amphora-media-radius) 0 0 !important;
  background: var(--pagecache-photo-grey) !important;
  box-shadow: 0 14px 34px rgba(18, 32, 54, 0.14) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media,
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media,
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media {
  position: relative !important;
  min-width: 0 !important;
  min-height: var(--pagecache-media-stage-height) !important;
  height: var(--pagecache-media-stage-height) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: var(--pagecache-photo-grey) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media :is(img, picture, figure, [data-hero], .pagecache-media-frame-cover, .pagecache-media-frame-contain, .pagecache-media-fit-cover, .pagecache-media-fit-contain),
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media :is(img, picture, figure, [data-hero], .pagecache-media-frame-cover, .pagecache-media-frame-contain, .pagecache-media-fit-cover, .pagecache-media-fit-contain),
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media :is(img, picture, figure, [data-hero], .pagecache-media-frame-cover, .pagecache-media-frame-contain, .pagecache-media-fit-cover, .pagecache-media-fit-contain) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: var(--pagecache-photo-grey) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail,
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail,
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  height: var(--pagecache-media-stage-height) !important;
  max-height: var(--pagecache-media-stage-height) !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 3px solid var(--pagecache-photo-grey-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: var(--pagecache-photo-grey) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-static-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track),
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track) {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--pagecache-media-gap) !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: var(--pagecache-photo-grey) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb),
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb),
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) {
  flex: 0 0 auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) :is(img, picture, figure, .pagecache-media-frame-cover, .pagecache-media-frame-contain, .pagecache-media-fit-cover, .pagecache-media-fit-contain),
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) :is(img, picture, figure, .pagecache-media-frame-cover, .pagecache-media-frame-contain, .pagecache-media-fit-cover, .pagecache-media-fit-contain),
.argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) :is(img, picture, figure, .pagecache-media-frame-cover, .pagecache-media-frame-contain, .pagecache-media-fit-cover, .pagecache-media-fit-contain) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(115px, 10.6vw, 168px) !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: var(--pagecache-photo-grey) !important;
}

/* Complex cards are static: show three complete equal-height rail slots only. */
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-static-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  height: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb {
  height: 100% !important;
  min-height: 0 !important;
  cursor: default !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb img {
  height: 100% !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb:nth-child(n+4),
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb:nth-child(n+4) {
  display: none !important;
}

/* Singleton/no-rail Amphora cards fill one media frame without synthesizing a rail. */
body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-complex-static-media-no-rail, .pagecache-complex-static-media-singleton, [data-amphora-component="static-media-singleton"]) .pagecache-gallery-media-shell,
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-complex-static-media-no-rail, .pagecache-complex-static-media-singleton, [data-amphora-component="static-media-singleton"]) .pagecache-gallery-media-shell {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-complex-static-media-no-rail, .pagecache-complex-static-media-singleton, [data-amphora-component="static-media-singleton"]) .pagecache-gallery-media-rail,
.argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-complex-static-media-no-rail, .pagecache-complex-static-media-singleton, [data-amphora-component="static-media-singleton"]) .pagecache-gallery-media-rail {
  display: none !important;
}

@media (max-width: 720px) {
  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-shell,
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-shell,
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-shell {
    --pagecache-media-stage-height: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media,
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media,
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media {
    min-height: min(66vw, 420px) !important;
    height: auto !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media :is(img, [data-hero]),
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media :is(img, [data-hero]),
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-hero-media :is(img, [data-hero]) {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail,
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail,
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) .pagecache-gallery-media-rail {
    height: auto !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-left: 0 !important;
    border-top: 3px solid var(--pagecache-photo-grey-rule) !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track),
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track),
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track) {
    flex-direction: row !important;
    width: max-content !important;
    max-width: none !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb),
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb),
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) {
    width: min(36vw, 150px) !important;
    flex: 0 0 min(36vw, 150px) !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) img,
  .argent-savvy-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) img,
  .argent-savvy-dynamic-page .savvy-pagecache-embed:is([data-amphora-layout="listing_card_hero_rail_v1"], [data-amphora-layout="amphora_complex_gallery_disabled_1326"]):not(:has(.pagecache-public-root.pagecache-listing-page)) :is(.pagecache-gallery-media-thumb, button.pagecache-gallery-media-thumb) img {
    width: 100% !important;
    height: min(24vw, 100px) !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track),
  .argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation :is(.pagecache-gallery-media-rail-track, .pagecache-static-media-rail-track) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb,
  .argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-complex-presentation .pagecache-gallery-media-thumb {
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
  }
}
/* Amphora static-card media layout keeper 1.3.22 END */

/* Amphora static-card media internal dividers keeper 1.3.22 START
 * Square separators for Amphora-owned static media layouts.
 * Native Schemas listing galleries remain outside this static-card contract.
 */
:root {
  --amphora-static-media-divider-width: 3px;
  --amphora-static-media-divider-surface: var(--pagecache-photo-grey, var(--pagecache-media-stage, #eee9de));
}
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell {
  gap: var(--amphora-static-media-divider-width) !important;
  background: var(--amphora-static-media-divider-surface) !important;
  overflow: hidden !important;
}
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-static-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-static-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-static-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-static-media-rail-track,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-rail-track,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-rail-track,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-static-media-rail-track,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-static-media-rail-track {
  gap: var(--amphora-static-media-divider-width) !important;
  background: var(--amphora-static-media-divider-surface) !important;
}
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-hero-media,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-hero-media,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-rail,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-rail,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-thumb,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-hero-media,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-hero-media,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-rail,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-rail,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-thumb,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-hero-media,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-hero-media,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-rail,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-rail,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-thumb,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-thumb {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-hero-media img,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-hero-media img,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-thumb img,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-thumb img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-hero-media img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-hero-media img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-thumb img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-thumb img,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-hero-media img,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-hero-media img,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-thumb img,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-thumb img {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .gallery-controls,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .gallery-controls,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .gallery-controls,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .gallery-controls,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .gallery-controls,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .gallery-controls {
  display: none !important;
}
/* Amphora static-card media internal dividers keeper 1.3.22 END */

/* Amphora static media outer clip / inner-square keeper 1.3.22.
 * Ownership boundary:
 * - These rules apply only to Amphora static-card media layouts.
 * - Native Schemas listing galleries remain Schemas-owned.
 * - The rounded silhouette belongs only to the outer media shell.
 * - Every internal hero/rail/thumb/image join stays square.
 */
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell,
.argent-savvy-dynamic-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell {
  border-radius: var(--amphora-media-radius, 22px) !important;
  overflow: hidden !important;
  background: var(--pagecache-photo-grey, var(--pagecache-media-stage, #cccccc)) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-hero-media,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .hero-media,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-static-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-media-thumb,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .amphora-media-thumb,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-frame-cover,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-frame-contain,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-fit-cover,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-fit-contain,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell img,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell picture,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell figure,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-hero-media,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .hero-media,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-static-media-rail-track,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-media-thumb,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .amphora-media-thumb,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-frame-cover,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-frame-contain,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-fit-cover,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-fit-contain,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell img,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell picture,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell figure,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-hero-media,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .hero-media,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-static-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-gallery-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .amphora-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-frame-cover,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-frame-contain,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-fit-cover,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell .pagecache-media-fit-contain,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell picture,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-media-shell figure,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-hero-media,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .hero-media,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-static-media-rail-track,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-gallery-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .amphora-media-thumb,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-frame-cover,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-frame-contain,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-fit-cover,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell .pagecache-media-fit-contain,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell img,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell picture,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-media-shell figure {
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-controls,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .gallery-controls,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-controls,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .gallery-controls,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .pagecache-gallery-controls,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="listing_card_hero_rail_v1"] .gallery-controls,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .pagecache-gallery-controls,
.argent-savvy-page .savvy-pagecache-embed[data-amphora-layout="amphora_complex_gallery_disabled_1326"] .gallery-controls {
  display: none !important;
}
/* Amphora static media outer clip / inner-square keeper 1.3.22 END */

/* ========================================================================
 * Governed listing document / language / enquiry control-row presentation
 * ===================================================================== */

/* Amphora 1.5.44 document action blue pill alignment: START */

/*
 * Narrow correction after the pre-taxonomy chrome tear-out:
 * Fact Sheet PDF is a document action, not a plain prose link and not a fact
 * cartouche.  Align it with the compact blue action family now exposed by the
 * Schemas pagecache-action hooks.
 */
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action--document,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root .pagecache-action--document.pagecache-listing-fact-sheet-link,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action--document {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .42em !important;
  min-height: 34px !important;
  min-width: 34px !important;
  padding: 6px 16px !important;
  border: 1px solid var(--amphora-inquiry-bg, #0b72d9) !important;
  border-radius: 999px !important;
  background: var(--amphora-inquiry-bg, #0b72d9) !important;
  background-color: var(--amphora-inquiry-bg, #0b72d9) !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--amphora-inquiry-bg, #0b72d9) 22%, transparent) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: .012em !important;
  text-decoration: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action:visited,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action--document:visited,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action:visited,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action--document:visited {
  color: #ffffff !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action:hover,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action--document:hover,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action:hover,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action--document:hover {
  border-color: color-mix(in srgb, var(--amphora-inquiry-bg, #0b72d9) 82%, black 18%) !important;
  background: color-mix(in srgb, var(--amphora-inquiry-bg, #0b72d9) 86%, black 14%) !important;
  background-color: color-mix(in srgb, var(--amphora-inquiry-bg, #0b72d9) 86%, black 14%) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--amphora-inquiry-bg, #0b72d9) 28%, transparent) !important;
  transform: translateY(-1px) !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action:focus-visible,
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-public-root a.pagecache-listing-fact-sheet-link.pagecache-action--document:focus-visible,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action:focus-visible,
body.savvy-amphora-site-chassis a.pagecache-listing-fact-sheet-link.pagecache-action--document:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--amphora-inquiry-bg, #0b72d9) 35%, transparent) !important;
  outline-offset: 3px !important;
}

/* Amphora 1.5.44 document action blue pill alignment: END */

/* Amphora 1.5.47 generic inquiry CTA fallback chrome stripped. */

/* -------------------------------------------------------------------------
 * Amphora 1.5.48 listing controls row inquiry CTA bridge.
 *
 * When the governed Pagecache action row is present, Amphora mounts the
 * listing enquiry trigger into that row instead of the address row.  The
 * address-row mount remains the fallback for artifacts that lack the controls
 * row.  Keep the closed CTA as the right-side primary action; when opened,
 * let the reveal workspace occupy a full wrapped row under the controls.
 * ---------------------------------------------------------------------- */
body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .75rem !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap .amphora-listing-inquiry-details {
  max-width: 100% !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap[data-amphora-inquiry-controls-open="1"] {
  flex: 1 1 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  justify-content: flex-end !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap[data-amphora-inquiry-controls-open="1"] .amphora-listing-inquiry-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: min(1040px, 100%) !important;
  margin-left: auto !important;
}

body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap[data-amphora-inquiry-controls-open="1"] .amphora-listing-inquiry-details > summary {
  align-self: flex-end !important;
}

@media (max-width: 760px) {
  body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap {
    flex: 1 1 100% !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }

  body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap[data-amphora-inquiry-controls-open="1"] .amphora-listing-inquiry-details,
  body.savvy-amphora-site-chassis .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-language-actions > .amphora-listing-inquiry-controls-cta-wrap[data-amphora-inquiry-controls-open="1"] .amphora-listing-inquiry-details > summary {
    align-self: stretch !important;
    margin-left: 0 !important;
  }
}

/* -------------------------------------------------------------------------
 * Amphora 1.5.49 three-zone controls and inquiry receipt modal.
 *
 * Desktop control hierarchy:
 *   language selection | page format/documents | enquiry
 *
 * The open enquiry occupies a full subsequent row. Responsive layouts retain
 * the three semantic groups while allowing controlled wrapping.
 * ---------------------------------------------------------------------- */
body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 10px !important;
  width: 100% !important;
}

body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
> .localized-tablist {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  align-self: center !important;
}

body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
> .pagecache-listing-fact-sheet-actions {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  align-self: center !important;
  margin: 0 !important;
}

body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
> .amphora-listing-inquiry-controls-cta-wrap {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
> .amphora-listing-inquiry-controls-cta-wrap[
  data-amphora-inquiry-controls-open="1"
] {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Acknowledged receipt dialog. */
html body .amphora-listing-inquiry-status.amphora-listing-inquiry-receipt {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 4vw, 42px) !important;
  color: var(--amphora-local-ink, #142033) !important;
}

html body
.amphora-listing-inquiry-status.amphora-listing-inquiry-receipt[hidden] {
  display: none !important;
}

html body .amphora-listing-inquiry-receipt-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(10, 20, 31, .58) !important;
  backdrop-filter: blur(2px);
}

html body .amphora-listing-inquiry-receipt-card {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 14px !important;
  width: min(440px, 100%) !important;
  box-sizing: border-box !important;
  padding: clamp(24px, 4vw, 36px) !important;
  border: 1px solid rgba(26, 54, 78, .18) !important;
  border-radius: 22px !important;
  background: var(--amphora-local-card-surface, #fffdf8) !important;
  box-shadow: 0 28px 70px rgba(8, 22, 36, .34) !important;
  text-align: center !important;
}

html body .amphora-listing-inquiry-receipt-title {
  margin: 0 !important;
  color: var(--amphora-local-ink, #142033) !important;
  font: inherit !important;
  font-size: clamp(1.7rem, 3vw, 2.25rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
}

html body .amphora-listing-inquiry-receipt-message {
  margin: 0 !important;
  color: var(--amphora-local-muted, #4f7180) !important;
  font: inherit !important;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

html body .amphora-listing-inquiry-receipt-actions {
  display: flex !important;
  justify-content: center !important;
  margin-top: 4px !important;
}

html body button.amphora-listing-inquiry-receipt-ok {
  min-width: 96px !important;
  min-height: 40px !important;
  padding: 8px 24px !important;
  border: 1px solid #0b72d9 !important;
  border-radius: 999px !important;
  background: #0b72d9 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(11, 114, 217, .22) !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body[data-amphora-inquiry-receipt-open="1"] :is(
  .argent-action-rail,
  .argent-local-action-rail,
  [data-argent-action-rail],
  [data-amphora-action-rail]
) {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .localized-tablist {
    grid-column: 1 !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .pagecache-listing-fact-sheet-actions {
    grid-column: 2 !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .amphora-listing-inquiry-controls-cta-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: end !important;
  }
}

@media (max-width: 620px) {
  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .localized-tablist {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .pagecache-listing-fact-sheet-actions {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .amphora-listing-inquiry-controls-cta-wrap {
    grid-column: 1 !important;
    grid-row: 3 !important;
    justify-self: end !important;
  }

  body.savvy-amphora-site-chassis
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .amphora-listing-inquiry-controls-cta-wrap[
    data-amphora-inquiry-controls-open="1"
  ] {
    grid-row: 3 !important;
  }
}

/* -------------------------------------------------------------------------
 * Amphora 1.5.51 hidden localized PDF authority and true centering.
 *
 * Localized PDF links for inactive languages legitimately carry the HTML
 * hidden attribute. A broad action-control display rule must not resurrect
 * those inactive links into flex layout. Only the active localized PDF link
 * participates beside the paper-format control.
 * ---------------------------------------------------------------------- */
body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
> .pagecache-listing-fact-sheet-actions {
  width: max-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  justify-self: center !important;
  justify-content: center !important;
}

body.savvy-amphora-site-chassis
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
> .pagecache-listing-fact-sheet-actions
> [hidden] {
  display: none !important;
}

/* Amphora 1.5.57 governed localized/action system and listing control-row reconciliation. */

/*
 * Localization controls are a governed artifact capability rather than a
 * listing-only feature. Any artifact with localized prose may use this family.
 *
 * Amphora 1.5.63 establishes one cross-surface state contract:
 * unselected controls are blue on white; the selected control is white on
 * blue. Listing, agent, team, office, complex, and publisher artifacts consume
 * the same presentation without page-type reconstruction.
 */
html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed
:is(
  .localized-tabs,
  .localized-tablist,
  .pagecache-language-tabs,
  .pagecache-localized-tabs,
  .pagecache-listing-language-actions,
  .pagecache-agent-language-actions,
  .pagecache-office-language-actions,
  .pagecache-team-language-actions,
  .pagecache-complex-language-actions,
  .pagecache-publisher-language-actions
)
:is(
  button.localized-tab,
  button.localized-tab-button,
  [role="tab"].localized-tab,
  [role="tab"].localized-tab-button,
  button.pagecache-action--language
) {
  min-height: 38px !important;
  padding: 0.48rem 1rem !important;
  border:
    1px solid var(--amphora-local-link, #0b72d9) !important;
  border-radius:
    var(--amphora-governed-action-radius, 999px) !important;
  background: #ffffff !important;
  color:
    var(--amphora-local-link, #0b72d9) !important;
  font: inherit !important;
  font-size: 0.92rem !important;
  font-weight:
    var(--amphora-governed-action-weight, 900) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed
:is(
  .localized-tabs,
  .localized-tablist,
  .pagecache-language-tabs,
  .pagecache-localized-tabs,
  .pagecache-listing-language-actions,
  .pagecache-agent-language-actions,
  .pagecache-office-language-actions,
  .pagecache-team-language-actions,
  .pagecache-complex-language-actions,
  .pagecache-publisher-language-actions
)
:is(
  button.localized-tab[aria-selected="true"],
  button.localized-tab-button[aria-selected="true"],
  [role="tab"].localized-tab[aria-selected="true"],
  [role="tab"].localized-tab-button[aria-selected="true"],
  button.pagecache-action--language[aria-selected="true"]
) {
  border-color:
    var(--amphora-local-link, #0b72d9) !important;
  background:
    var(--amphora-local-link, #0b72d9) !important;
  color:
    var(--amphora-governed-action-foreground, #ffffff)
    !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed
:is(
  .localized-tabs,
  .localized-tablist,
  .pagecache-language-tabs,
  .pagecache-localized-tabs,
  .pagecache-listing-language-actions,
  .pagecache-agent-language-actions,
  .pagecache-office-language-actions,
  .pagecache-team-language-actions,
  .pagecache-complex-language-actions,
  .pagecache-publisher-language-actions
)
:is(
  button.localized-tab,
  button.localized-tab-button,
  [role="tab"].localized-tab,
  [role="tab"].localized-tab-button,
  button.pagecache-action--language
):is(:hover, :focus-visible) {
  border-color:
    var(--amphora-local-link-hover, #075fb8) !important;
  outline:
    2px solid var(--amphora-local-link-hover, #075fb8)
    !important;
  outline-offset: 2px !important;
}

/*
 * Listing document and enquiry actions consume the same action color.
 * Existing dimensions, visibility, localization, and behavior remain owned
 * by their established component contracts.
 */
html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed
:is(
  a.pagecache-listing-fact-sheet-link,
  button.pagecache-listing-paper-profile-toggle,
  button.amphora-listing-inquiry-cta,
  a.amphora-listing-inquiry-cta,
  summary.amphora-listing-inquiry-cta
) {
  border-color:
    var(--amphora-local-link, #0b72d9) !important;
  background:
    var(--amphora-local-link, #0b72d9) !important;
  color:
    var(--amphora-governed-action-foreground, #ffffff) !important;
  font-weight:
    var(--amphora-governed-action-weight, 900) !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed
:is(
  a.pagecache-listing-fact-sheet-link,
  button.pagecache-listing-paper-profile-toggle,
  button.amphora-listing-inquiry-cta,
  a.amphora-listing-inquiry-cta,
  summary.amphora-listing-inquiry-cta
):is(:hover, :focus-visible) {
  border-color:
    var(--amphora-local-link-hover, #075fb8) !important;
  background:
    var(--amphora-local-link-hover, #075fb8) !important;
}

/*
 * The enquiry workspace remains full-width below the control row. Its summary
 * action returns visually to the upper-right control position while open.
 */
@media (min-width: 721px) {
  html body.savvy-amphora-site-chassis.argent-local-branding
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions
  > .amphora-listing-inquiry-controls-cta-wrap[
    data-amphora-inquiry-controls-open="1"
  ] {
    position: relative !important;
  }

  html body.savvy-amphora-site-chassis.argent-local-branding
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions
  > .amphora-listing-inquiry-controls-cta-wrap[
    data-amphora-inquiry-controls-open="1"
  ]
  .amphora-listing-inquiry-details {
    position: relative !important;
  }

  html body.savvy-amphora-site-chassis.argent-local-branding
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions
  > .amphora-listing-inquiry-controls-cta-wrap[
    data-amphora-inquiry-controls-open="1"
  ]
  .amphora-listing-inquiry-details
  > summary {
    position: absolute !important;
    top: -48px !important;
    right: 0 !important;
    z-index: 5 !important;
    width: max-content !important;
    margin: 0 !important;
  }
}

/* Amphora 1.5.60 stable listing document, paper-profile, language, and enquiry control row. */

/*
 * Desktop zone contract:
 *
 *   document action + LTR + A4 | languages | existing enquiry action
 *
 * No new positioning declaration targets the enquiry wrapper.
 */
@media (min-width: 721px) {
  html body.savvy-amphora-site-chassis.argent-local-branding
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .pagecache-listing-fact-sheet-actions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
  }

  html body.savvy-amphora-site-chassis.argent-local-branding
  .savvy-pagecache-embed[data-page-type="listing"]
  .pagecache-listing-language-actions.amphora-listing-controls-with-inquiry
  > .localized-tablist {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    align-self: center !important;
  }
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions
.pagecache-listing-fact-sheet-link {
  order: 1 !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions
[data-amphora-paper-profile-choice="usl"] {
  order: 2 !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions
[data-amphora-paper-profile-choice="a4"] {
  order: 3 !important;
}

/*
 * Suppress the renderer's binary presentation only after the adapter bridge
 * has initialized successfully. Without the bridge marker, the original
 * paper toggle remains visible and functional.
 */
html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions[
  data-amphora-explicit-paper-controls="1"
]
> [data-pdf-paper-toggle] {
  display: none !important;
}

/*
 * Paper selectors retain the same blue-on-white / white-on-blue state
 * language used by the now-global localized selector contract.
 */
html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions
.amphora-paper-profile-choice {
  min-height: 38px !important;
  padding: 0.48rem 1rem !important;
  border:
    1px solid var(--amphora-local-link, #0b72d9) !important;
  border-radius:
    var(--amphora-governed-action-radius, 999px) !important;
  background: #ffffff !important;
  color:
    var(--amphora-local-link, #0b72d9) !important;
  font: inherit !important;
  font-size: 0.92rem !important;
  font-weight:
    var(--amphora-governed-action-weight, 900) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions
.amphora-paper-profile-choice[aria-pressed="true"] {
  border-color:
    var(--amphora-local-link, #0b72d9) !important;
  background:
    var(--amphora-local-link, #0b72d9) !important;
  color:
    var(--amphora-governed-action-foreground, #ffffff)
    !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"]
.pagecache-listing-fact-sheet-actions
.amphora-paper-profile-choice:is(:hover, :focus-visible) {
  border-color:
    var(--amphora-local-link-hover, #075fb8) !important;
  outline:
    2px solid var(--amphora-local-link-hover, #075fb8)
    !important;
  outline-offset: 2px !important;
}

/* Amphora 1.5.62 active-span multilingual title stability contract. */

/*
 * Reserve slightly more than two title lines on multilingual listings.
 * Clamp only the active localized title span, so the ellipsis belongs to
 * the end of line two rather than appearing inside line one.
 */
html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"][
  data-amphora-multilingual-title-clamp="1"
]
h1.pagecache-listing-localized-title[
  data-amphora-multilingual-title-clamp="1"
] {
  --amphora-multilingual-title-slot:
    calc(2lh + 0.25em);
  display: block !important;
  block-size:
    var(--amphora-multilingual-title-slot) !important;
  min-block-size:
    var(--amphora-multilingual-title-slot) !important;
  max-block-size:
    var(--amphora-multilingual-title-slot) !important;
  overflow: hidden !important;
  overflow-anchor: none !important;
}

html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"][
  data-amphora-multilingual-title-clamp="1"
]
h1.pagecache-listing-localized-title[
  data-amphora-multilingual-title-clamp="1"
]
> .pagecache-listing-localized-title-text[
  data-amphora-active-localized-title="1"
] {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  max-block-size: 2lh !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/*
 * The localized body below the control row changes height by language.
 * Excluding that region from browser scroll anchoring prevents lower-page
 * language changes from nudging the stable title/control geometry.
 */
html body.savvy-amphora-site-chassis.argent-local-branding
.savvy-pagecache-embed[data-page-type="listing"][
  data-amphora-multilingual-title-clamp="1"
]
.localized-tabs.localized-tabs-primary.pagecache-listing-localized-with-actions {
  overflow-anchor: none !important;
}

