/*
 * Home/search, demo profiles, local pages, blog, and shared search-panel history.
 * Extracted from accepted Argent 1.1.57 visual/audit state during 1.1.58
 * WordPress-conventional CSS stack reconstruction.
 */

/* -------------------------------------------------------------------------
 * Argent local purified customer-site keeper rules 0.2.98.
 * -------------------------------------------------------------------------
 * Consolidates the accepted 0.2.84 through 0.2.95 local customer-site overlay
 * into final rule owners.  The 0.2.97 refinement also lightens locally
 * owned home-page marketing headings so they no longer read heavier than
 * governed page titles.  This is intentionally a cascade-purification pass:
 * it preserves the accepted footer depth, customer-card breadcrumb placement,
 * card radius parity, Market Notebook title cleanup, logo-prepaint cache key,
 * and customer-title sizing/weight/vertical rhythm without retaining the
 * superseded intermediate trial blocks.
 * ---------------------------------------------------------------------- */

/* Home/search inline governed footer: accepted 0.2.84 keyed depth cue. */
body.argent-local-home .argent-home-unified > .argent-home-gateways,
body.argent-local-search .argent-search-unified > .argent-search-lanes {
  position: relative !important;
  z-index: 3 !important;
}

body.argent-local-home .argent-home-unified > .argent-home-gateways::after,
body.argent-local-search .argent-search-unified > .argent-search-lanes::after {
  content: "" !important;
  position: absolute !important;
  inset-inline: 0 !important;
  bottom: -11px !important;
  block-size: 11px !important;
  pointer-events: none !important;
  z-index: 4 !important;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 32, 48, 0.020) 0,
      rgba(12, 32, 48, 0.009) 44%,
      rgba(12, 32, 48, 0.000) 100%
    ) !important;
}

/* Customer-owned card radii and in-card breadcrumbs: accepted 0.2.87/0.2.88. */
body.argent-local-home #primary.argent-home-main > .argent-home-unified,
body.argent-local-search #primary.argent-search-main > .argent-search-unified,
body.argent-local-branding.argent-local-ordinary .argent-ordinary-card,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article.argent-ordinary-card,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > .argent-ordinary-card,
body.argent-local-branding .argent-blog-card {
  border-radius: var(--amphora-site-card-radius, var(--amphora-card-radius, 16px)) !important;
}

html body.argent-local-branding .argent-local-breadcrumbs,
html body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-line,
html body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-line > :is(a, span, strong) {
  font-size: 19px !important;
  line-height: 1.32 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

body.argent-local-branding .argent-local-breadcrumbs {
  display: block !important;
  inline-size: 100% !important;
  max-inline-size: 100% !important;
  margin: 0 !important;
  padding: clamp(14px, 2vw, 24px) var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px)) clamp(8px, 1.2vw, 14px) !important;
  color: var(--amphora-local-ink) !important;
  box-sizing: border-box !important;
}

body.argent-local-branding .argent-ordinary-card > .argent-local-breadcrumbs,
body.argent-local-branding .argent-blog-card > .argent-local-breadcrumbs {
  padding-top: clamp(14px, 2vw, 24px) !important;
}

body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-line {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.46em !important;
  min-inline-size: 0 !important;
}

body.argent-local-branding .argent-local-breadcrumbs a,
body.argent-local-branding .argent-local-breadcrumbs a:visited {
  color: var(--amphora-local-ink) !important;
  text-decoration: none !important;
}

body.argent-local-branding .argent-local-breadcrumbs a:hover,
body.argent-local-branding .argent-local-breadcrumbs a:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 0.16em !important;
}

body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-separator,
body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-current {
  min-inline-size: 0 !important;
  color: var(--amphora-local-ink) !important;
  opacity: 1 !important;
  line-height: inherit !important;
}

/* Customer-owned page titles: accepted 0.2.93/0.2.94/0.2.95 final rhythm. */
body.argent-local-branding .argent-blog-header,
body.argent-local-branding.argent-local-ordinary .argent-ordinary-header {
  padding-left: var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px)) !important;
  padding-right: var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px)) !important;
  box-sizing: border-box !important;
}

body.argent-local-branding .argent-blog-card > .argent-local-breadcrumbs + .argent-blog-header,
body.argent-local-branding .argent-ordinary-card > .argent-local-breadcrumbs + .argent-ordinary-header {
  padding-top: 6px !important;
}

body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero,
body.argent-local-search #primary.argent-search-main .argent-search-unified > .argent-search-hero {
  padding-top: calc(clamp(32px, 5vw, 62px) + 4px) !important;
}

body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero h1,
body.argent-local-search #primary.argent-search-main .argent-search-unified > .argent-search-hero h1,
body.argent-local-branding #primary.site-main.argent-blog-main .argent-blog-card .argent-blog-header h1,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article.argent-ordinary-card .argent-ordinary-header .entry-title,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .argent-ordinary-header .entry-title,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .entry-header .entry-title,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .entry-title {
  max-inline-size: min(100%, 940px) !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.018em !important;
  box-sizing: border-box !important;
}

/* Home page marketing headings: 0.2.97 visual-weight parity.
 * The shared customer-page title rule above correctly governs ordinary and
 * blog titles.  The home page hero/section headings still read heavier because
 * older marketing-heading rules gave them stronger optical weight.  Keep the
 * accepted size/rail rhythm, but lighten only locally owned home headings.
 */
body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero h1,
body.argent-local-home #primary.argent-home-main .argent-home-unified .argent-section-heading h2,
body.argent-local-home #primary.argent-home-main .argent-home-unified .argent-home-intro h2 {
  font-weight: 650 !important;
  line-height: 1.13 !important;
  letter-spacing: -0.012em !important;
}

@media (max-width: 980px) {
  html body.argent-local-branding .argent-local-breadcrumbs,
  html body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-line,
  html body.argent-local-branding .argent-local-breadcrumbs .breadcrumb-line > :is(a, span, strong) {
    font-size: 18.5px !important;
  }
}

@media (max-width: 680px) {
  body.argent-local-branding .argent-local-breadcrumbs {
    padding-left: var(--amphora-local-readable-inset-mobile, clamp(22px, 5.5vw, 34px)) !important;
    padding-right: var(--amphora-local-readable-inset-mobile, clamp(22px, 5.5vw, 34px)) !important;
  }

  body.argent-local-branding .argent-ordinary-card > .argent-local-breadcrumbs,
  body.argent-local-branding .argent-blog-card > .argent-local-breadcrumbs {
    padding-top: clamp(14px, 3.5vw, 22px) !important;
  }

  body.argent-local-branding .argent-blog-header,
  body.argent-local-branding.argent-local-ordinary .argent-ordinary-header {
    padding-left: var(--amphora-local-readable-inset-mobile, clamp(22px, 5.5vw, 34px)) !important;
    padding-right: var(--amphora-local-readable-inset-mobile, clamp(22px, 5.5vw, 34px)) !important;
  }

  body.argent-local-branding .argent-blog-card > .argent-local-breadcrumbs + .argent-blog-header,
  body.argent-local-branding .argent-ordinary-card > .argent-local-breadcrumbs + .argent-ordinary-header {
    padding-top: 5px !important;
  }

  body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero,
  body.argent-local-search #primary.argent-search-main .argent-search-unified > .argent-search-hero {
    padding-top: calc(clamp(32px, 7vw, 46px) + 3px) !important;
  }
}


/* Home breadcrumb-equivalent title shim 0.2.98.
 * The Home page intentionally does not print a visible breadcrumb, but the
 * page title should still occupy the same vertical rhythm as pages that do.
 * Reserve the breadcrumb line invisibly without adding fake navigation markup
 * or screen-reader content.
 */
body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero {
  padding-top: clamp(14px, 2vw, 24px) !important;
}

body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero::before {
  content: "" !important;
  display: block !important;
  block-size: 25px !important;
  margin: 0 0 calc(clamp(8px, 1.2vw, 14px) + 6px) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 680px) {
  body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero {
    padding-top: clamp(14px, 3.5vw, 22px) !important;
  }

  body.argent-local-home #primary.argent-home-main .argent-home-unified > .argent-home-hero::before {
    block-size: 24px !important;
    margin-bottom: calc(clamp(8px, 2vw, 12px) + 5px) !important;
  }
}

/* -------------------------------------------------------------------------
 * Saved Listings button favorite icon parity 0.2.99.
 *
 * The Saved Listings call-to-action reuses the same local favorite-heart SVG
 * artwork and sizing as listing-card favorite controls.
 * ---------------------------------------------------------------------- */
body.argent-local-branding .pagecache-public-root .pagecache-saved-listings-link .pagecache-saved-listings-link-favorite {
  --pagecache-favorite-icon-size: var(--argent-local-favorite-icon-size);
  --pagecache-favorite-on-image: var(--argent-local-favorite-on-image);
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  width: var(--pagecache-favorite-icon-size) !important;
  height: var(--pagecache-favorite-icon-size) !important;
  min-width: var(--pagecache-favorite-icon-size) !important;
  min-height: var(--pagecache-favorite-icon-size) !important;
  margin: 0 0.44rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  line-height: 0 !important;
}

body.argent-local-branding .pagecache-public-root .pagecache-saved-listings-link .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon-slot {
  display: grid !important;
  place-items: center !important;
  width: var(--pagecache-favorite-icon-size) !important;
  height: var(--pagecache-favorite-icon-size) !important;
  line-height: 0 !important;
}

body.argent-local-branding .pagecache-public-root .pagecache-saved-listings-link .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon {
  display: block !important;
  width: var(--pagecache-favorite-icon-size) !important;
  height: var(--pagecache-favorite-icon-size) !important;
  margin: 0 auto !important;
  background-color: transparent !important;
  background-image: var(--pagecache-favorite-on-image) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  -webkit-mask: none !important;
  mask: none !important;
}

/* -------------------------------------------------------------------------
 * Global breadcrumb ink rail calibration 0.2.104.
 *
 * 0.2.100/0.2.101 proved that the stylesheet and first-paint reset are loading,
 * but the visible breadcrumb ink still reads slightly left of the governed
 * content rail.  Preserve the accepted breadcrumb/container rhythm and move
 * only the breadcrumb line's visible ink rail by a small calibrated offset.
 * This deliberately avoids touching footer, gallery, card, or navigation logic.
 * ---------------------------------------------------------------------- */
:root {
  --argent-local-breadcrumb-ink-shift: 3px;
}

html body.argent-local-branding .savvy-pagecache-embed nav.breadcrumbs,
body.argent-local-branding .argent-local-breadcrumbs {
  padding-left: var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px)) !important;
  padding-right: var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px)) !important;
}

html body.argent-local-branding .savvy-pagecache-embed nav.breadcrumbs > .breadcrumb-line,
body.argent-local-branding .argent-local-breadcrumbs > .breadcrumb-line {
  transform: translateX(var(--argent-local-breadcrumb-ink-shift)) !important;
  max-width: calc(100% - var(--argent-local-breadcrumb-ink-shift)) !important;
}

@media (max-width: 680px) {
  :root {
    --argent-local-breadcrumb-ink-shift: 2px;
  }

  html body.argent-local-branding .savvy-pagecache-embed nav.breadcrumbs,
  body.argent-local-branding .argent-local-breadcrumbs {
    padding-left: var(--amphora-local-readable-inset-mobile, clamp(22px, 5.5vw, 34px)) !important;
    padding-right: var(--amphora-local-readable-inset-mobile, clamp(22px, 5.5vw, 34px)) !important;
  }
}

/* Demo customer presentation profiles 0.2.109.
 * These are session-local compatibility-profile skins for funding/demo use.
 * They do not change governed Schemas/pagecache data or WordPress active theme.
 */
html[data-amphora-profile="argent"],
html:not([data-amphora-profile]) {
  --argent-profile-label: "Argent";
}

html[data-amphora-profile="coastal"] {
  --amphora-local-site-field: #164956;
  --amphora-local-header-surface: #f4fbfb;
  --amphora-local-article-surface: #f4fbfb;
  --amphora-local-card-surface: #f4fbfb;
  --amphora-local-panel-surface: #ffffff;
  --amphora-local-line: #c9dfe3;
  --amphora-local-ink: #132a31;
  --amphora-local-muted-ink: #55727a;
  --amphora-local-accent: #1f7a8c;
  --argent-local-header-logo-width: clamp(218px, 23vw, 316px);
  --argent-profile-label: "Coastal";
}

html[data-amphora-profile="metro"] {
  --amphora-local-site-field: #22232b;
  --amphora-local-header-surface: #fbfaf7;
  --amphora-local-article-surface: #fbfaf7;
  --amphora-local-card-surface: #fbfaf7;
  --amphora-local-panel-surface: #ffffff;
  --amphora-local-line: #d7d1c8;
  --amphora-local-ink: #171922;
  --amphora-local-muted-ink: #65666d;
  --amphora-local-accent: #8a5a44;
  --argent-local-header-logo-width: clamp(210px, 21vw, 296px);
  --argent-profile-label: "Metro";
}

html[data-amphora-profile="estate"] {
  --amphora-local-site-field: #26301f;
  --amphora-local-header-surface: #f8f6ec;
  --amphora-local-article-surface: #f8f6ec;
  --amphora-local-card-surface: #f8f6ec;
  --amphora-local-panel-surface: #fffdf5;
  --amphora-local-line: #d8d0b9;
  --amphora-local-ink: #202318;
  --amphora-local-muted-ink: #66705b;
  --amphora-local-accent: #6c7a42;
  --argent-local-header-logo-width: clamp(224px, 24vw, 326px);
  --argent-profile-label: "Estate";
}

html[data-amphora-profile="coastal"] body.argent-local-branding .savvy-pagecache-embed,
html[data-amphora-profile="metro"] body.argent-local-branding .savvy-pagecache-embed,
html[data-amphora-profile="estate"] body.argent-local-branding .savvy-pagecache-embed {
  --pagecache-accent: var(--amphora-local-accent);
  --pagecache-line: var(--amphora-local-line);
  --pagecache-text: var(--amphora-local-ink);
  --pagecache-muted: var(--amphora-local-muted-ink);
  --pagecache-surface: var(--amphora-local-panel-surface);
}

html[data-amphora-profile="coastal"] body.argent-local-branding .site-header,
html[data-amphora-profile="coastal"] body.argent-local-branding .main-header-bar,
html[data-amphora-profile="coastal"] body.argent-local-branding .ast-primary-header-bar {
  box-shadow: 0 16px 36px rgba(12, 62, 74, 0.10);
}

html[data-amphora-profile="metro"] body.argent-local-branding .site-header,
html[data-amphora-profile="metro"] body.argent-local-branding .main-header-bar,
html[data-amphora-profile="metro"] body.argent-local-branding .ast-primary-header-bar {
  box-shadow: 0 14px 34px rgba(25, 25, 32, 0.12);
}

html[data-amphora-profile="estate"] body.argent-local-branding .site-header,
html[data-amphora-profile="estate"] body.argent-local-branding .main-header-bar,
html[data-amphora-profile="estate"] body.argent-local-branding .ast-primary-header-bar {
  box-shadow: 0 15px 34px rgba(37, 48, 31, 0.13);
}

html[data-amphora-profile="coastal"] body.argent-local-branding :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card),
html[data-amphora-profile="estate"] body.argent-local-branding :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card) {
  border-radius: 22px;
}

html[data-amphora-profile="metro"] body.argent-local-branding :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card) {
  border-radius: 12px;
}

html[data-amphora-profile="coastal"] body.argent-local-branding :is(button, .button, .ast-button, .pagecache-button, .pagecache-listing-view-button),
html[data-amphora-profile="estate"] body.argent-local-branding :is(button, .button, .ast-button, .pagecache-button, .pagecache-listing-view-button) {
  border-radius: 999px;
}

html[data-amphora-profile="metro"] body.argent-local-branding :is(button, .button, .ast-button, .pagecache-button, .pagecache-listing-view-button) {
  border-radius: 8px;
}

html[data-amphora-profile-switcher="1"] .argent-profile-switcher {
  display: flex;
}

.argent-profile-switcher {
  position: fixed;
  z-index: 99999;
  right: 18px;
  bottom: 18px;
  display: none;
  align-items: center;
  gap: 8px;
  max-inline-size: calc(100vw - 36px);
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--amphora-local-line) 88%, #000 12%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--amphora-local-panel-surface) 94%, #fff 6%);
  color: var(--amphora-local-ink);
  box-shadow: 0 14px 34px rgba(10, 18, 28, 0.18);
  font: 700 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.argent-profile-switcher-label {
  color: var(--amphora-local-muted-ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.argent-profile-switcher button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--amphora-local-ink);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  padding: 7px 10px;
}

.argent-profile-switcher button[aria-pressed="true"] {
  background: var(--amphora-local-accent);
  border-color: var(--amphora-local-accent);
  color: #fff;
}

.argent-profile-switcher button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--amphora-local-accent) 55%, #fff);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .argent-profile-switcher {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    border-radius: 18px;
    flex-wrap: wrap;
  }
}


/* Listing filter row polish 0.2.109.
 * Keep Features directly adjacent to Segment on desktop while allowing clean stacking on narrow rails.
 */
body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-filter-row {
  align-items: center !important;
}

@media (min-width: 860px) {
  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-filter-row {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-segment-control {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 17rem) !important;
  }

  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-segment-control select {
    width: clamp(18rem, 34vw, 27rem) !important;
    min-width: 0 !important;
    flex: 0 1 clamp(18rem, 34vw, 27rem) !important;
  }

  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-feature-control {
    flex: 0 0 auto !important;
    min-width: max-content !important;
  }
}

@media (max-width: 859px) {
  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-filter-control {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-segment-control select,
  body.argent-local-branding .pagecache-listing-segment-filter .pagecache-listing-feature-button {
    width: 100% !important;
  }
}


/* Demo profile visibility/runtime hardening 0.2.109.
 * The switcher is emitted in wp_footer; these guards make the runtime state obvious
 * even when the browser does not repaint from the early html attribute alone.
 */
html[data-amphora-profile-switcher="1"] .argent-profile-switcher,
body[data-amphora-profile-switcher="1"] .argent-profile-switcher,
.argent-profile-switcher.is-enabled {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body[data-amphora-profile="coastal"],
html[data-amphora-profile="coastal"] body {
  --amphora-local-site-field: #164956;
  --amphora-local-header-surface: #f4fbfb;
  --amphora-local-article-surface: #f4fbfb;
  --amphora-local-card-surface: #f4fbfb;
  --amphora-local-panel-surface: #ffffff;
  --amphora-local-line: #c9dfe3;
  --amphora-local-ink: #132a31;
  --amphora-local-muted-ink: #55727a;
  --amphora-local-accent: #1f7a8c;
}

body[data-amphora-profile="metro"],
html[data-amphora-profile="metro"] body {
  --amphora-local-site-field: #22232b;
  --amphora-local-header-surface: #fbfaf7;
  --amphora-local-article-surface: #fbfaf7;
  --amphora-local-card-surface: #fbfaf7;
  --amphora-local-panel-surface: #ffffff;
  --amphora-local-line: #d7d1c8;
  --amphora-local-ink: #171922;
  --amphora-local-muted-ink: #65666d;
  --amphora-local-accent: #8a5a44;
}

body[data-amphora-profile="estate"],
html[data-amphora-profile="estate"] body {
  --amphora-local-site-field: #26301f;
  --amphora-local-header-surface: #f8f6ec;
  --amphora-local-article-surface: #f8f6ec;
  --amphora-local-card-surface: #f8f6ec;
  --amphora-local-panel-surface: #fffdf5;
  --amphora-local-line: #d8d0b9;
  --amphora-local-ink: #202318;
  --amphora-local-muted-ink: #66705b;
  --amphora-local-accent: #6c7a42;
}

body[data-amphora-profile="coastal"] .savvy-pagecache-embed,
body[data-amphora-profile="metro"] .savvy-pagecache-embed,
body[data-amphora-profile="estate"] .savvy-pagecache-embed {
  --pagecache-accent: var(--amphora-local-accent) !important;
  --pagecache-line: var(--amphora-local-line) !important;
  --pagecache-text: var(--amphora-local-ink) !important;
  --pagecache-muted: var(--amphora-local-muted-ink) !important;
  --pagecache-surface: var(--amphora-local-panel-surface) !important;
}

/* Listing filter row hardening 0.2.109.
 * Override inline flex growth from the governed artifact so Features remains
 * directly adjacent to Segment on normal desktop widths.
 */
.pagecache-listing-segment-filter .pagecache-listing-filter-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px 16px !important;
}

@media (min-width: 860px) {
  .pagecache-listing-segment-filter .pagecache-listing-filter-row {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  .pagecache-listing-segment-filter .pagecache-listing-segment-control {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 16rem) !important;
  }

  .pagecache-listing-segment-filter .pagecache-listing-segment-control select {
    width: clamp(16rem, 31vw, 23rem) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
  }

  .pagecache-listing-segment-filter .pagecache-listing-feature-control {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
  }

  .pagecache-listing-segment-filter .pagecache-listing-feature-button {
    min-width: 11.5rem !important;
    width: auto !important;
    white-space: nowrap !important;
  }
}

/* Profile-aware segment description polish 0.2.109.
 * The governed artifact emits the segment description with an inline color using
 * --muted.  Bridge that variable and give alternate demo profiles a visible,
 * profile-colored description treatment so profile changes are evident in the
 * listing filter panel as well as the page chrome.
 */
body[data-amphora-profile="coastal"] .savvy-pagecache-embed,
body[data-amphora-profile="metro"] .savvy-pagecache-embed,
body[data-amphora-profile="estate"] .savvy-pagecache-embed,
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed,
html[data-amphora-profile="metro"] body .savvy-pagecache-embed,
html[data-amphora-profile="estate"] body .savvy-pagecache-embed {
  --muted: var(--amphora-local-muted-ink) !important;
}

body[data-amphora-profile="coastal"] .pagecache-listing-segment-description,
body[data-amphora-profile="metro"] .pagecache-listing-segment-description,
body[data-amphora-profile="estate"] .pagecache-listing-segment-description,
html[data-amphora-profile="coastal"] body .pagecache-listing-segment-description,
html[data-amphora-profile="metro"] body .pagecache-listing-segment-description,
html[data-amphora-profile="estate"] body .pagecache-listing-segment-description {
  color: var(--amphora-local-muted-ink) !important;
  background: color-mix(in srgb, var(--amphora-local-panel-surface) 76%, var(--amphora-local-accent) 10%);
  border-left: 3px solid var(--amphora-local-accent);
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 12px !important;
  font-weight: 600;
  max-width: 78ch !important;
}

body[data-amphora-profile="metro"] .pagecache-listing-segment-description,
html[data-amphora-profile="metro"] body .pagecache-listing-segment-description {
  border-radius: 8px;
}


/* Segment description full-span polish 0.2.109.
 * Let shopper-facing segment descriptions use the full filter panel width under
 * the Segment/Features row.  This avoids premature wrapping for longer governed
 * segment descriptions while preserving the profile-aware rail treatment above.
 */
.pagecache-listing-segment-filter .pagecache-listing-segment-description {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Demo profile visual divergence pass 0.2.110.
 * Make the alternate customer presentation profiles plainly distinct while
 * preserving the governed Schemas/pagecache structure, routes, filtering,
 * favorites, breadcrumbs, and footer mechanics.
 */
body[data-amphora-profile="coastal"],
html[data-amphora-profile="coastal"] body {
  --amphora-profile-soft: #e6f5f6;
  --amphora-profile-soft-strong: #d7edf0;
  --amphora-profile-accent-strong: #0f6373;
  --amphora-profile-accent-contrast: #ffffff;
  --amphora-profile-shadow: rgba(18, 86, 101, 0.15);
  --amphora-profile-card-radius: 28px;
  --amphora-profile-control-radius: 999px;
  --amphora-profile-card-border: #bcdade;
  --amphora-profile-card-shadow: 0 18px 42px rgba(18, 86, 101, 0.12);
  background:
    radial-gradient(circle at 18% 0%, rgba(72, 176, 190, 0.18), transparent 34rem),
    linear-gradient(180deg, #eefafa 0%, #f8fcfc 42%, #eef7f8 100%);
}

body[data-amphora-profile="metro"],
html[data-amphora-profile="metro"] body {
  --amphora-profile-soft: #eeeae4;
  --amphora-profile-soft-strong: #e3dbd0;
  --amphora-profile-accent-strong: #6e3f2d;
  --amphora-profile-accent-contrast: #ffffff;
  --amphora-profile-shadow: rgba(22, 23, 30, 0.20);
  --amphora-profile-card-radius: 9px;
  --amphora-profile-control-radius: 6px;
  --amphora-profile-card-border: #cfc5b7;
  --amphora-profile-card-shadow: 0 12px 24px rgba(22, 23, 30, 0.14);
  background:
    linear-gradient(90deg, rgba(34, 35, 43, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #f5f2ed 0%, #fbfaf7 54%, #f0ece5 100%);
  background-size: 28px 28px, auto;
}

body[data-amphora-profile="estate"],
html[data-amphora-profile="estate"] body {
  --amphora-profile-soft: #f1ead2;
  --amphora-profile-soft-strong: #e5d8ab;
  --amphora-profile-accent-strong: #4f622d;
  --amphora-profile-accent-contrast: #fffdf5;
  --amphora-profile-shadow: rgba(51, 64, 31, 0.17);
  --amphora-profile-card-radius: 24px;
  --amphora-profile-control-radius: 14px;
  --amphora-profile-card-border: #cfc39a;
  --amphora-profile-card-shadow: 0 18px 38px rgba(51, 64, 31, 0.13);
  background:
    radial-gradient(circle at 10% 0%, rgba(148, 132, 73, 0.16), transparent 32rem),
    linear-gradient(180deg, #f8f3df 0%, #fffdf5 46%, #f3edd6 100%);
}

body[data-amphora-profile="coastal"] #masthead,
body[data-amphora-profile="coastal"] .site-header,
html[data-amphora-profile="coastal"] body #masthead,
html[data-amphora-profile="coastal"] body .site-header {
  border-bottom: 1px solid rgba(31, 122, 140, 0.24) !important;
  background: linear-gradient(180deg, #f7ffff 0%, #ecf8f9 100%) !important;
}

body[data-amphora-profile="metro"] #masthead,
body[data-amphora-profile="metro"] .site-header,
html[data-amphora-profile="metro"] body #masthead,
html[data-amphora-profile="metro"] body .site-header {
  border-bottom: 4px solid #22232b !important;
  background: linear-gradient(180deg, #fffdf9 0%, #eee9e1 100%) !important;
}

body[data-amphora-profile="estate"] #masthead,
body[data-amphora-profile="estate"] .site-header,
html[data-amphora-profile="estate"] body #masthead,
html[data-amphora-profile="estate"] body .site-header {
  border-bottom: 1px solid rgba(108, 122, 66, 0.32) !important;
  background: linear-gradient(180deg, #fffdf2 0%, #f4eed7 100%) !important;
}

body[data-amphora-profile="coastal"] .main-header-menu > li > a,
body[data-amphora-profile="coastal"] .main-header-menu a,
html[data-amphora-profile="coastal"] body .main-header-menu > li > a,
html[data-amphora-profile="coastal"] body .main-header-menu a {
  color: #123e49 !important;
}

body[data-amphora-profile="metro"] .main-header-menu > li > a,
body[data-amphora-profile="metro"] .main-header-menu a,
html[data-amphora-profile="metro"] body .main-header-menu > li > a,
html[data-amphora-profile="metro"] body .main-header-menu a {
  color: #171922 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.018em !important;
}

body[data-amphora-profile="estate"] .main-header-menu > li > a,
body[data-amphora-profile="estate"] .main-header-menu a,
html[data-amphora-profile="estate"] body .main-header-menu > li > a,
html[data-amphora-profile="estate"] body .main-header-menu a {
  color: #28351f !important;
  letter-spacing: 0.004em !important;
}

body[data-amphora-profile="coastal"] :is(.savvy-pagecache-embed, .argent-local-article, .site-content .ast-container),
body[data-amphora-profile="metro"] :is(.savvy-pagecache-embed, .argent-local-article, .site-content .ast-container),
body[data-amphora-profile="estate"] :is(.savvy-pagecache-embed, .argent-local-article, .site-content .ast-container),
html[data-amphora-profile="coastal"] body :is(.savvy-pagecache-embed, .argent-local-article, .site-content .ast-container),
html[data-amphora-profile="metro"] body :is(.savvy-pagecache-embed, .argent-local-article, .site-content .ast-container),
html[data-amphora-profile="estate"] body :is(.savvy-pagecache-embed, .argent-local-article, .site-content .ast-container) {
  border-color: var(--amphora-profile-card-border) !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card, .pagecache-listing-segment-filter),
body[data-amphora-profile="metro"] :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card, .pagecache-listing-segment-filter),
body[data-amphora-profile="estate"] :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card, .pagecache-listing-segment-filter),
html[data-amphora-profile="coastal"] body :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card, .pagecache-listing-segment-filter),
html[data-amphora-profile="metro"] body :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card, .pagecache-listing-segment-filter),
html[data-amphora-profile="estate"] body :is(.pagecache-card, .pagecache-listing-result-card, .argent-home-card, .argent-ordinary-card, .argent-blog-card, .pagecache-listing-segment-filter) {
  border-color: var(--amphora-profile-card-border) !important;
  border-radius: var(--amphora-profile-card-radius) !important;
  box-shadow: var(--amphora-profile-card-shadow) !important;
}

body[data-amphora-profile="coastal"] .pagecache-listing-result-card,
html[data-amphora-profile="coastal"] body .pagecache-listing-result-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0fbfc 100%) !important;
}

body[data-amphora-profile="metro"] .pagecache-listing-result-card,
html[data-amphora-profile="metro"] body .pagecache-listing-result-card {
  background: linear-gradient(180deg, #fffdf9 0%, #f1ede6 100%) !important;
  border-left: 5px solid var(--amphora-local-accent) !important;
}

body[data-amphora-profile="estate"] .pagecache-listing-result-card,
html[data-amphora-profile="estate"] body .pagecache-listing-result-card {
  background: linear-gradient(180deg, #fffdf6 0%, #f6efd6 100%) !important;
  border-top: 4px double rgba(108, 122, 66, 0.44) !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-listing-result-title, .pagecache-card-title, h1, h2),
html[data-amphora-profile="coastal"] body :is(.pagecache-listing-result-title, .pagecache-card-title, h1, h2) {
  color: #0f5361 !important;
}

body[data-amphora-profile="metro"] :is(.pagecache-listing-result-title, .pagecache-card-title, h1, h2),
html[data-amphora-profile="metro"] body :is(.pagecache-listing-result-title, .pagecache-card-title, h1, h2) {
  color: #171922 !important;
  letter-spacing: -0.018em !important;
}

body[data-amphora-profile="estate"] :is(.pagecache-listing-result-title, .pagecache-card-title, h1, h2),
html[data-amphora-profile="estate"] body :is(.pagecache-listing-result-title, .pagecache-card-title, h1, h2) {
  color: #354423 !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button, .pagecache-listing-segment-control select, .argent-profile-switcher button[aria-pressed="true"]),
body[data-amphora-profile="metro"] :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button, .pagecache-listing-segment-control select, .argent-profile-switcher button[aria-pressed="true"]),
body[data-amphora-profile="estate"] :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button, .pagecache-listing-segment-control select, .argent-profile-switcher button[aria-pressed="true"]),
html[data-amphora-profile="coastal"] body :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button, .pagecache-listing-segment-control select, .argent-profile-switcher button[aria-pressed="true"]),
html[data-amphora-profile="metro"] body :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button, .pagecache-listing-segment-control select, .argent-profile-switcher button[aria-pressed="true"]),
html[data-amphora-profile="estate"] body :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button, .pagecache-listing-segment-control select, .argent-profile-switcher button[aria-pressed="true"]) {
  border-radius: var(--amphora-profile-control-radius) !important;
  border-color: color-mix(in srgb, var(--amphora-local-accent) 42%, var(--amphora-profile-card-border)) !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button),
html[data-amphora-profile="coastal"] body :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button) {
  background: linear-gradient(180deg, #ffffff 0%, #e8f7f8 100%) !important;
  color: #0f5361 !important;
}

body[data-amphora-profile="metro"] :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button),
html[data-amphora-profile="metro"] body :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button) {
  background: #22232b !important;
  color: #fffdf9 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

body[data-amphora-profile="estate"] :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button),
html[data-amphora-profile="estate"] body :is(.pagecache-button, .pagecache-listing-view-button, .pagecache-listing-feature-button) {
  background: linear-gradient(180deg, #fffdf4 0%, #ebe0b8 100%) !important;
  color: #354423 !important;
}




body[data-amphora-profile="coastal"] .pagecache-listing-segment-description,
html[data-amphora-profile="coastal"] body .pagecache-listing-segment-description {
  background: linear-gradient(90deg, rgba(31, 122, 140, 0.14), rgba(255,255,255,0.82)) !important;
  border-left-color: #1f7a8c !important;
}

body[data-amphora-profile="metro"] .pagecache-listing-segment-description,
html[data-amphora-profile="metro"] body .pagecache-listing-segment-description {
  background: linear-gradient(90deg, rgba(34, 35, 43, 0.10), rgba(255,253,249,0.88)) !important;
  border-left-width: 5px !important;
  border-left-color: #8a5a44 !important;
}

body[data-amphora-profile="estate"] .pagecache-listing-segment-description,
html[data-amphora-profile="estate"] body .pagecache-listing-segment-description {
  background: linear-gradient(90deg, rgba(108, 122, 66, 0.14), rgba(255,253,245,0.88)) !important;
  border-left-color: #6c7a42 !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-listing-feature-dialog, .pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
body[data-amphora-profile="metro"] :is(.pagecache-listing-feature-dialog, .pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
body[data-amphora-profile="estate"] :is(.pagecache-listing-feature-dialog, .pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="coastal"] body :is(.pagecache-listing-feature-dialog, .pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="metro"] body :is(.pagecache-listing-feature-dialog, .pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="estate"] body :is(.pagecache-listing-feature-dialog, .pagecache-listing-feature-modal, .pagecache-listing-feature-panel) {
  border-radius: var(--amphora-profile-card-radius) !important;
  border-color: var(--amphora-profile-card-border) !important;
  box-shadow: 0 26px 70px var(--amphora-profile-shadow) !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-listing-favorite-button, .pagecache-saved-listings-link),
html[data-amphora-profile="coastal"] body :is(.pagecache-listing-favorite-button, .pagecache-saved-listings-link) {
  filter: drop-shadow(0 5px 10px rgba(31, 122, 140, 0.16));
}

body[data-amphora-profile="metro"] :is(.pagecache-listing-favorite-button, .pagecache-saved-listings-link),
html[data-amphora-profile="metro"] body :is(.pagecache-listing-favorite-button, .pagecache-saved-listings-link) {
  filter: drop-shadow(0 4px 8px rgba(34, 35, 43, 0.20));
}

body[data-amphora-profile="estate"] :is(.pagecache-listing-favorite-button, .pagecache-saved-listings-link),
html[data-amphora-profile="estate"] body :is(.pagecache-listing-favorite-button, .pagecache-saved-listings-link) {
  filter: drop-shadow(0 5px 10px rgba(108, 122, 66, 0.18));
}

body[data-amphora-profile="metro"] .argent-profile-switcher,
html[data-amphora-profile="metro"] body .argent-profile-switcher {
  border-radius: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.025em !important;
}

body[data-amphora-profile="estate"] .argent-profile-switcher,
html[data-amphora-profile="estate"] body .argent-profile-switcher {
  border-radius: 16px !important;
  background: #fffdf5 !important;
}


/* Demo profile stronger visual divergence pass 0.2.111.
 * This second presentation pass makes the alternate customer profiles read
 * as plainly different skins, while leaving Argent as the accepted baseline
 * and without changing governed pagecache data, markup ownership, routes,
 * favorites, filters, breadcrumbs, or PDF behavior.
 */
body[data-amphora-profile="coastal"],
html[data-amphora-profile="coastal"] body {
  --amphora-profile-frame: #0f6373;
  --amphora-profile-frame-soft: #d8f0f3;
  --amphora-profile-title-font: inherit;
}

body[data-amphora-profile="metro"],
html[data-amphora-profile="metro"] body {
  --amphora-profile-frame: #22232b;
  --amphora-profile-frame-soft: #ded4c8;
  --amphora-profile-title-font: inherit;
}

body[data-amphora-profile="estate"],
html[data-amphora-profile="estate"] body {
  --amphora-profile-frame: #4f622d;
  --amphora-profile-frame-soft: #e6dba8;
  --amphora-profile-title-font: Georgia, "Times New Roman", serif;
}

body[data-amphora-profile="coastal"] :is(.site-content, .ast-container, .content-area),
html[data-amphora-profile="coastal"] body :is(.site-content, .ast-container, .content-area) {
  background-image:
    radial-gradient(circle at 92% 2%, rgba(31, 122, 140, 0.11), transparent 24rem),
    radial-gradient(circle at 2% 82%, rgba(72, 176, 190, 0.10), transparent 20rem) !important;
}

body[data-amphora-profile="metro"] :is(.site-content, .ast-container, .content-area),
html[data-amphora-profile="metro"] body :is(.site-content, .ast-container, .content-area) {
  background-image:
    linear-gradient(90deg, rgba(34, 35, 43, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(138, 90, 68, 0.08), rgba(255, 253, 249, 0)) !important;
  background-size: 22px 22px, auto !important;
}

body[data-amphora-profile="estate"] :is(.site-content, .ast-container, .content-area),
html[data-amphora-profile="estate"] body :is(.site-content, .ast-container, .content-area) {
  background-image:
    radial-gradient(circle at 94% 4%, rgba(108, 122, 66, 0.12), transparent 25rem),
    linear-gradient(180deg, rgba(231, 219, 168, 0.14), rgba(255, 253, 245, 0)) !important;
}

body[data-amphora-profile="coastal"] :is(.savvy-pagecache-embed, main.site-main, article.page, .argent-local-article),
html[data-amphora-profile="coastal"] body :is(.savvy-pagecache-embed, main.site-main, article.page, .argent-local-article) {
  border-top: 7px solid #1f7a8c !important;
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(240,251,252,0.96) 100%) !important;
  box-shadow: 0 24px 58px rgba(18, 86, 101, 0.14) !important;
}

body[data-amphora-profile="metro"] :is(.savvy-pagecache-embed, main.site-main, article.page, .argent-local-article),
html[data-amphora-profile="metro"] body :is(.savvy-pagecache-embed, main.site-main, article.page, .argent-local-article) {
  border-top: 8px solid #22232b !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255,253,249,0.98) 0%, rgba(242,237,229,0.98) 100%) !important;
  box-shadow: 0 18px 38px rgba(22, 23, 30, 0.18) !important;
}

body[data-amphora-profile="estate"] :is(.savvy-pagecache-embed, main.site-main, article.page, .argent-local-article),
html[data-amphora-profile="estate"] body :is(.savvy-pagecache-embed, main.site-main, article.page, .argent-local-article) {
  border-top: 8px double rgba(79, 98, 45, 0.62) !important;
  border-radius: 26px !important;
  background:
    linear-gradient(180deg, rgba(255,253,245,0.98) 0%, rgba(247,241,219,0.98) 100%) !important;
  box-shadow: 0 24px 52px rgba(51, 64, 31, 0.15) !important;
}

body[data-amphora-profile="coastal"] :is(.entry-title, .page-title, .pagecache-title, .pagecache-heading, h1),
html[data-amphora-profile="coastal"] body :is(.entry-title, .page-title, .pagecache-title, .pagecache-heading, h1) {
  color: #0f5361 !important;
  letter-spacing: -0.026em !important;
}

body[data-amphora-profile="metro"] :is(.entry-title, .page-title, .pagecache-title, .pagecache-heading, h1),
html[data-amphora-profile="metro"] body :is(.entry-title, .page-title, .pagecache-title, .pagecache-heading, h1) {
  color: #171922 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.006em !important;
  border-bottom: 3px solid #8a5a44 !important;
  padding-bottom: 0.24em !important;
}

body[data-amphora-profile="estate"] :is(.entry-title, .page-title, .pagecache-title, .pagecache-heading, h1),
html[data-amphora-profile="estate"] body :is(.entry-title, .page-title, .pagecache-title, .pagecache-heading, h1) {
  color: #354423 !important;
  font-family: var(--amphora-profile-title-font) !important;
  letter-spacing: -0.012em !important;
  border-bottom: 3px double rgba(108, 122, 66, 0.42) !important;
  padding-bottom: 0.22em !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-listing-result-card, .pagecache-card),
html[data-amphora-profile="coastal"] body :is(.pagecache-listing-result-card, .pagecache-card) {
  border-left: 7px solid rgba(31, 122, 140, 0.58) !important;
}

body[data-amphora-profile="metro"] :is(.pagecache-listing-result-card, .pagecache-card),
html[data-amphora-profile="metro"] body :is(.pagecache-listing-result-card, .pagecache-card) {
  border-left: 8px solid #22232b !important;
  border-radius: 7px !important;
}

body[data-amphora-profile="estate"] :is(.pagecache-listing-result-card, .pagecache-card),
html[data-amphora-profile="estate"] body :is(.pagecache-listing-result-card, .pagecache-card) {
  border-left: 6px solid rgba(108, 122, 66, 0.48) !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="coastal"] body :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel) {
  outline: 1px solid rgba(31, 122, 140, 0.26) !important;
  outline-offset: 3px !important;
}

body[data-amphora-profile="metro"] :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="metro"] body :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel) {
  outline: 2px solid rgba(34, 35, 43, 0.20) !important;
  outline-offset: 0 !important;
}

body[data-amphora-profile="estate"] :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="estate"] body :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel) {
  outline: 1px solid rgba(108, 122, 66, 0.28) !important;
  outline-offset: 4px !important;
}

/* Demo profile header seam repair 0.2.112.
 * The stronger divergence pass used full-width header borders to make the
 * profiles read differently, but those borders presented as an unwanted
 * horizontal break line between the masthead card and the governed content.
 * Keep profile distinction in the card/chrome surfaces and suppress only the
 * full-bleed masthead seam for alternate profiles.
 */
body[data-amphora-profile="coastal"] :is(#masthead, .site-header),
body[data-amphora-profile="metro"] :is(#masthead, .site-header),
body[data-amphora-profile="estate"] :is(#masthead, .site-header),
html[data-amphora-profile="coastal"] body :is(#masthead, .site-header),
html[data-amphora-profile="metro"] body :is(#masthead, .site-header),
html[data-amphora-profile="estate"] body :is(#masthead, .site-header) {
  border-bottom: 0 !important;
}

body[data-amphora-profile="coastal"] :is(#masthead, .site-header)::before,
body[data-amphora-profile="coastal"] :is(#masthead, .site-header)::after,
body[data-amphora-profile="metro"] :is(#masthead, .site-header)::before,
body[data-amphora-profile="metro"] :is(#masthead, .site-header)::after,
body[data-amphora-profile="estate"] :is(#masthead, .site-header)::before,
body[data-amphora-profile="estate"] :is(#masthead, .site-header)::after,
html[data-amphora-profile="coastal"] body :is(#masthead, .site-header)::before,
html[data-amphora-profile="coastal"] body :is(#masthead, .site-header)::after,
html[data-amphora-profile="metro"] body :is(#masthead, .site-header)::before,
html[data-amphora-profile="metro"] body :is(#masthead, .site-header)::after,
html[data-amphora-profile="estate"] body :is(#masthead, .site-header)::before,
html[data-amphora-profile="estate"] body :is(#masthead, .site-header)::after {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body[data-amphora-profile="coastal"] #content,
body[data-amphora-profile="metro"] #content,
body[data-amphora-profile="estate"] #content,
html[data-amphora-profile="coastal"] body #content,
html[data-amphora-profile="metro"] body #content,
html[data-amphora-profile="estate"] body #content {
  border-top: 0 !important;
}


/* Demo profile layout-wrapper seam repair 0.2.113.
 * 0.2.111 put accent top borders on a mixed selector that included layout
 * wrappers as well as the real artifact/card shell.  On Astra those layout
 * wrappers can span the viewport, producing a full-bleed horizontal seam
 * between the masthead card and the governed content.  Keep profile styling
 * on actual cards/artifacts, but neutralize seams on outer layout wrappers.
 */
body[data-amphora-profile="coastal"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main),
body[data-amphora-profile="metro"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main),
body[data-amphora-profile="estate"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main),
html[data-amphora-profile="coastal"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main),
html[data-amphora-profile="metro"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main),
html[data-amphora-profile="estate"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main) {
  border-top: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body[data-amphora-profile="coastal"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::before,
body[data-amphora-profile="coastal"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::after,
body[data-amphora-profile="metro"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::before,
body[data-amphora-profile="metro"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::after,
body[data-amphora-profile="estate"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::before,
body[data-amphora-profile="estate"] :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::after,
html[data-amphora-profile="coastal"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::before,
html[data-amphora-profile="coastal"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::after,
html[data-amphora-profile="metro"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::before,
html[data-amphora-profile="metro"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::after,
html[data-amphora-profile="estate"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::before,
html[data-amphora-profile="estate"] body :is(#content, .site-content, .ast-container, .content-area, #primary, main.site-main, .site-main)::after {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

body[data-amphora-profile="coastal"] :is(.savvy-pagecache-embed, .argent-local-article),
html[data-amphora-profile="coastal"] body :is(.savvy-pagecache-embed, .argent-local-article) {
  border-top: 7px solid #1f7a8c !important;
}

body[data-amphora-profile="metro"] :is(.savvy-pagecache-embed, .argent-local-article),
html[data-amphora-profile="metro"] body :is(.savvy-pagecache-embed, .argent-local-article) {
  border-top: 8px solid #22232b !important;
}

body[data-amphora-profile="estate"] :is(.savvy-pagecache-embed, .argent-local-article),
html[data-amphora-profile="estate"] body :is(.savvy-pagecache-embed, .argent-local-article) {
  border-top: 8px double rgba(79, 98, 45, 0.62) !important;
}


/* Demo profile governed rail/seam containment 0.2.115.
 * The 0.2.111 stronger-divergence pass intentionally gave listing-index cards
 * visible profile rails, but its selector also matched generic governed
 * `.pagecache-card` panels on listing-detail pages.  That made a continuous
 * vertical rail through detail content across every alternate profile.  Keep
 * the visible rail evidence on collection/result cards only, and restore
 * ordinary governed detail panels to their normal card border.
 *
 * Also remove the profile top rail from the outer artifact shell; it reads as
 * a shared seam across all three alternate profiles.  Profile distinction stays
 * in background, cards, controls, headings, filters, footers, and result cards.
 */
body[data-amphora-profile="coastal"] :is(.savvy-pagecache-embed, .argent-local-article),
body[data-amphora-profile="metro"] :is(.savvy-pagecache-embed, .argent-local-article),
body[data-amphora-profile="estate"] :is(.savvy-pagecache-embed, .argent-local-article),
html[data-amphora-profile="coastal"] body :is(.savvy-pagecache-embed, .argent-local-article),
html[data-amphora-profile="metro"] body :is(.savvy-pagecache-embed, .argent-local-article),
html[data-amphora-profile="estate"] body :is(.savvy-pagecache-embed, .argent-local-article) {
  border-top-width: 1px !important;
  border-top-style: solid !important;
  border-top-color: var(--amphora-profile-card-border, var(--amphora-local-line, #ded7c8)) !important;
}

body[data-amphora-profile="coastal"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card),
body[data-amphora-profile="metro"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card),
body[data-amphora-profile="estate"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card),
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card),
html[data-amphora-profile="metro"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card),
html[data-amphora-profile="estate"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card) {
  border-left-width: 1px !important;
  border-left-style: solid !important;
  border-left-color: var(--amphora-profile-card-border, var(--amphora-local-line, #ded7c8)) !important;
}

body[data-amphora-profile="coastal"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::before,
body[data-amphora-profile="coastal"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::after,
body[data-amphora-profile="metro"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::before,
body[data-amphora-profile="metro"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::after,
body[data-amphora-profile="estate"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::before,
body[data-amphora-profile="estate"] .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::after,
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::before,
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::after,
html[data-amphora-profile="metro"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::before,
html[data-amphora-profile="metro"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::after,
html[data-amphora-profile="estate"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::before,
html[data-amphora-profile="estate"] body .savvy-pagecache-embed :is(.pagecache-card):not(.pagecache-listing-result-card)::after {
  border-left: 0 !important;
  box-shadow: none !important;
}


/* Demo profile detail-card hairline removal 0.2.116.
 * 0.2.115 correctly narrowed the alternate-profile rail treatment, but it
 * restored detail-card left edges as a visible one-pixel border.  On listing
 * detail artifacts that still reads as a faint continuous vertical line.
 * Remove the left edge entirely from governed detail cards/panels while keeping
 * the intentional profile rail on collection listing-result cards and the
 * intentional segment-description rail on listing indexes.
 */
body[data-amphora-profile="coastal"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description),
body[data-amphora-profile="metro"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description),
body[data-amphora-profile="estate"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description),
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description),
html[data-amphora-profile="metro"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description),
html[data-amphora-profile="estate"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description) {
  border-left-width: 0 !important;
  border-left-style: none !important;
  border-left-color: transparent !important;
}

body[data-amphora-profile="coastal"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::before,
body[data-amphora-profile="coastal"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::after,
body[data-amphora-profile="metro"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::before,
body[data-amphora-profile="metro"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::after,
body[data-amphora-profile="estate"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::before,
body[data-amphora-profile="estate"] .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::after,
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::before,
html[data-amphora-profile="coastal"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::after,
html[data-amphora-profile="metro"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::before,
html[data-amphora-profile="metro"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::after,
html[data-amphora-profile="estate"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::before,
html[data-amphora-profile="estate"] body .savvy-pagecache-embed .pagecache-public-root:not(.pagecache-publisher-index-listing) :is(.pagecache-card, .pagecache-section, .pagecache-panel, [class*="pagecache-card"], [class*="pagecache-section"], [class*="pagecache-panel"]):not(.pagecache-listing-result-card):not(.pagecache-listing-segment-description)::after {
  border-left: 0 !important;
  box-shadow: none !important;
}

/* Estate profile heading typography unification 0.2.117.
 * Keep Estate's formal heading personality, but apply one governed-heading
 * typeface consistently across listing-detail/title/section heading surfaces
 * instead of mixing serif primary titles with sans-serif subordinate headers.
 */
body[data-amphora-profile="estate"] .savvy-pagecache-embed :is(
  h1, h2, h3, h4,
  .pagecache-title,
  .pagecache-heading,
  .pagecache-section-title,
  .pagecache-card-title,
  .pagecache-listing-title,
  .pagecache-listing-headline,
  .pagecache-listing-subheadline,
  .pagecache-listing-result-title,
  .pagecache-property-title,
  .pagecache-property-subtitle
),
html[data-amphora-profile="estate"] body .savvy-pagecache-embed :is(
  h1, h2, h3, h4,
  .pagecache-title,
  .pagecache-heading,
  .pagecache-section-title,
  .pagecache-card-title,
  .pagecache-listing-title,
  .pagecache-listing-headline,
  .pagecache-listing-subheadline,
  .pagecache-listing-result-title,
  .pagecache-property-title,
  .pagecache-property-subtitle
) {
  font-family: var(--amphora-profile-title-font, Georgia, "Times New Roman", serif) !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

body[data-amphora-profile="estate"] .savvy-pagecache-embed :is(h1, h2, h3, h4),
html[data-amphora-profile="estate"] body .savvy-pagecache-embed :is(h1, h2, h3, h4) {
  color: #354423 !important;
}



/* Estate local/profile heading typography consolidation 0.2.183.
 * Replace the accumulated 0.2.128-0.2.132 page-by-page Estate heading
 * repairs with one role-based profile rule.  Estate still uses the formal
 * serif heading face for page titles, home hero titles, blog titles, and
 * governed/list page h1 headings; blog item h2 and home gateway h2 keep their
 * accepted subordinate Estate treatment.  The 0.2.133 governed/list geometry
 * correction remains below because it solves a separate spacing defect.
 */
body[data-amphora-profile="estate"].argent-local-branding,
html[data-amphora-profile="estate"] body.argent-local-branding {
  --argent-estate-heading-font: Georgia, "Times New Roman", serif;
  --argent-estate-page-title-size: clamp(2.05rem, 2.25vw, 2.55rem);
  --argent-estate-page-title-line: 1.06;
  --argent-estate-page-title-weight: 600;
  --argent-estate-page-title-tracking: 0.015em;
  --argent-estate-section-title-size: clamp(1.75rem, 1.9vw, 2.20rem);
  --argent-estate-section-title-line: 1.08;
  --argent-estate-section-title-tracking: 0.012em;
}

body[data-amphora-profile="estate"].argent-local-branding :is(
  #primary.site-main h1,
  #primary.site-main .argent-home-hero > h1#argent-home-title,
  #primary.site-main .argent-blog-header > h1#argent-blog-title,
  #primary.site-main .argent-ordinary-header > h1.entry-title
),
html[data-amphora-profile="estate"] body.argent-local-branding :is(
  #primary.site-main h1,
  #primary.site-main .argent-home-hero > h1#argent-home-title,
  #primary.site-main .argent-blog-header > h1#argent-blog-title,
  #primary.site-main .argent-ordinary-header > h1.entry-title
) {
  font-family: var(--argent-estate-heading-font) !important;
  font-size: var(--argent-estate-page-title-size) !important;
  line-height: var(--argent-estate-page-title-line) !important;
  font-weight: var(--argent-estate-page-title-weight) !important;
  letter-spacing: var(--argent-estate-page-title-tracking) !important;
}

body[data-amphora-profile="estate"].argent-local-branding :is(
  #primary.site-main.argent-blog-main .argent-blog-item > h2.argent-blog-item-title,
  #primary.site-main.argent-home-main .argent-section-heading > h2#argent-gateway-title
),
html[data-amphora-profile="estate"] body.argent-local-branding :is(
  #primary.site-main.argent-blog-main .argent-blog-item > h2.argent-blog-item-title,
  #primary.site-main.argent-home-main .argent-section-heading > h2#argent-gateway-title
) {
  font-family: var(--argent-estate-heading-font) !important;
  line-height: var(--argent-estate-section-title-line) !important;
  font-weight: var(--argent-estate-page-title-weight) !important;
  letter-spacing: var(--argent-estate-section-title-tracking) !important;
}

body[data-amphora-profile="estate"].argent-local-branding #primary.site-main.argent-home-main .argent-section-heading > h2#argent-gateway-title,
html[data-amphora-profile="estate"] body.argent-local-branding #primary.site-main.argent-home-main .argent-section-heading > h2#argent-gateway-title {
  font-size: var(--argent-estate-section-title-size) !important;
}

/* Estate governed/list page-title geometry correction 0.2.133.
 * Continuation from 0.2.132.
 *
 * Measured 0.2.132 proved typography was normalized across surfaces, but
 * governed/list pages retained a different title-row geometry:
 *   governed/list h1: titleFromMainTop 79.63px, titleHeight 44.95px,
 *                     padding-bottom 7.216px
 *   Home/About/Contact/Blog: titleFromMainTop about 67.6px,
 *                            titleHeight 37.75px,
 *                            padding-bottom 0
 *
 * This Estate-only governed/list correction preserves the 0.2.132 typography
 * and removes only the residual geometry mismatch.  It intentionally does not
 * target Home, Blog, ordinary pages, card/link titles, body copy, footer,
 * profile switcher, or non-Estate profiles.
 */
html[data-amphora-profile="estate"] body.argent-local-branding:not(.argent-local-home):not(.blog):not(.page-id-8) #page.hfeed.site #content.site-content .ast-container #primary.site-main:not(.argent-home-main):not(.argent-blog-main):not(.argent-ordinary-main) h1,
body[data-amphora-profile="estate"].argent-local-branding:not(.argent-local-home):not(.blog):not(.page-id-8) #page.hfeed.site #content.site-content .ast-container #primary.site-main:not(.argent-home-main):not(.argent-blog-main):not(.argent-ordinary-main) h1,
html[data-amphora-profile="estate"] body.argent-local-branding:not(.argent-local-home):not(.blog):not(.page-id-8) #primary.site-main:not(.argent-home-main):not(.argent-blog-main):not(.argent-ordinary-main) h1,
body[data-amphora-profile="estate"].argent-local-branding:not(.argent-local-home):not(.blog):not(.page-id-8) #primary.site-main:not(.argent-home-main):not(.argent-blog-main):not(.argent-ordinary-main) h1 {
  padding-bottom: 0 !important;
  margin-top: 6px !important;
}

/* Profile/style selector hot-corner toggle 0.2.135.
 * Continuation from accepted 0.2.134:
 *   - 0.2.133 accepted Estate heading keeper,
 *   - 0.2.134 Argent favicon integration.
 *
 * Adds a nearly invisible, keyboard-accessible top-right hot corner that hides
 * and restores only the demo profile/style selector UI.  It does not change
 * the active profile, does not disable Estate mode, and does not affect normal
 * content styling.
 */

.argent-profile-switcher-hot-corner {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 100002 !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 0 0 12px !important;
  background: rgba(28, 34, 23, 0.12) !important;
  color: rgba(28, 34, 23, 0.85) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  opacity: 0.035 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.argent-profile-switcher-hot-corner::before {
  content: "" !important;
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  margin: 11px 11px 12px 12px !important;
  border-radius: 999px !important;
  background: currentColor !important;
}

.argent-profile-switcher-hot-corner:hover,
.argent-profile-switcher-hot-corner:focus-visible {
  opacity: 0.86 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  outline: 2px solid rgba(138, 74, 42, 0.58) !important;
  outline-offset: 2px !important;
}

html[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher-hot-corner::before,
body[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher-hot-corner::before {
  box-shadow: 0 0 0 2px rgba(138, 74, 42, 0.72) !important;
}

/* Home search breadcrumb return helper marker 0.2.142.  Script lives in functions.php. */
/* Home-search breadcrumb label capitalization 0.2.137: Search Results. */

/* Argent local federated listing summary cards 0.2.139.
 * The governed search API now returns a structured `listing_summary` payload
 * for listing results.  Use it here to make local `/search/` listing hits read
 * like the governed Listings collection cards without taking over non-listing
 * lanes or local WordPress result cards.
 */
body.argent-local-search .argent-search-listing-result-card {
  gap: 8px;
  padding: 17px 18px;
}

body.argent-local-search .argent-search-listing-summary-row {
  display: flex;
  align-items: baseline;
  gap: 8px 14px;
  min-width: 0;
  color: #000;
  font-size: clamp(1.08rem, 1.2vw, 1.26rem);
  font-weight: 950;
  letter-spacing: -0.018em;
  line-height: 1.18;
}

body.argent-local-search .argent-search-listing-facts {
  display: inline-flex;
  align-items: baseline;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 2px 9px;
  min-width: 0;
}

body.argent-local-search .argent-search-listing-fact,
body.argent-local-search .argent-search-listing-separator {
  color: #000;
  opacity: 1;
}

body.argent-local-search .argent-search-listing-price {
  flex: 0 0 auto;
  margin-left: auto;
  color: #000;
  font-weight: 980;
  white-space: nowrap;
  text-align: right;
}

body.argent-local-search .argent-search-listing-address {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  color: #000;
  font-size: clamp(1rem, 1.06vw, 1.12rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

body.argent-local-search .argent-search-listing-street,
body.argent-local-search .argent-search-listing-locality,
body.argent-local-search .argent-search-listing-address-separator {
  color: #000;
}

body.argent-local-search .argent-search-listing-result-card h4 {
  margin-top: 2px;
  font-size: clamp(1.12rem, 1.22vw, 1.36rem);
  font-weight: 900;
  letter-spacing: -0.012em;
}

body.argent-local-search .argent-search-listing-result-card p {
  color: var(--amphora-local-ink);
  font-size: 0.98rem;
  font-weight: 520;
  line-height: 1.48;
}

@media (max-width: 560px) {
  body.argent-local-search .argent-search-listing-summary-row {
    flex-wrap: wrap;
    font-size: 1.02rem;
  }

  body.argent-local-search .argent-search-listing-price {
    margin-left: 0;
  }

  body.argent-local-search .argent-search-listing-locality {
    flex-basis: 100%;
  }

  body.argent-local-search .argent-search-listing-address-separator {
    display: none;
  }
}



/* Argent search clear control alignment 0.2.145.
 * Keep Clear on the same row as the input and Search button, with Clear
 * leading the row so it reads as a reset affordance rather than as a
 * secondary link under the input.
 */
body.argent-local-home .argent-home-search:not(.argent-search-form-has-clear),
body.argent-local-search .argent-home-search:not(.argent-search-form-has-clear) {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

body.argent-local-home .argent-home-search.argent-search-form-has-clear,
body.argent-local-search .argent-home-search.argent-search-form-has-clear {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
}

body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button,
body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  color: var(--amphora-local-accent) !important;
  background: var(--amphora-local-card-surface) !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 56%, var(--amphora-local-line) 44%) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

body.argent-local-home .argent-home-search.argent-search-form-has-clear input[type='search'],
body.argent-local-search .argent-home-search.argent-search-form-has-clear input[type='search'] {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.argent-local-home .argent-home-search.argent-search-form-has-clear button[type='submit'],
body.argent-local-search .argent-home-search.argent-search-form-has-clear button[type='submit'] {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:hover,
body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:focus-visible,
body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:hover,
body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:focus-visible {
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-card-surface) 90%) !important;
  text-decoration: none !important;
}

@media (max-width: 560px) {
  body.argent-local-home .argent-home-search.argent-search-form-has-clear,
  body.argent-local-search .argent-home-search.argent-search-form-has-clear {
    grid-template-columns: 1fr !important;
  }

  body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button,
  body.argent-local-home .argent-home-search.argent-search-form-has-clear input[type='search'],
  body.argent-local-home .argent-home-search.argent-search-form-has-clear button[type='submit'],
  body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button,
  body.argent-local-search .argent-home-search.argent-search-form-has-clear input[type='search'],
  body.argent-local-search .argent-home-search.argent-search-form-has-clear button[type='submit'] {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
}


/* Argent search input prominence 0.2.146.
 * Make the search entry field read as the dominant action: taller, larger,
 * and bolder, while keeping Clear/input/Search aligned on one row.
 */
body.argent-local-home .argent-home-search,
body.argent-local-search .argent-home-search {
  gap: 14px !important;
  padding: 14px !important;
}

body.argent-local-home .argent-home-search input[type='search'],
body.argent-local-search .argent-home-search input[type='search'] {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 22px !important;
  font-size: clamp(1.14rem, 1.65vw, 1.42rem) !important;
  font-weight: 820 !important;
  line-height: 64px !important;
  letter-spacing: -0.012em !important;
}

body.argent-local-home .argent-home-search input[type='search']::placeholder,
body.argent-local-search .argent-home-search input[type='search']::placeholder {
  font-size: clamp(1.08rem, 1.5vw, 1.34rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.01em !important;
}

body.argent-local-home .argent-home-search button,
body.argent-local-home .argent-home-search .argent-search-clear-button,
body.argent-local-search .argent-home-search button,
body.argent-local-search .argent-home-search .argent-search-clear-button {
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 26px !important;
  font-size: 1.02rem !important;
  font-weight: 850 !important;
}

@media (max-width: 720px) {
  body.argent-local-home .argent-home-search input[type='search'],
  body.argent-local-search .argent-home-search input[type='search'] {
    height: 58px !important;
    min-height: 58px !important;
    font-size: 1.08rem !important;
    line-height: 58px !important;
  }

  body.argent-local-home .argent-home-search input[type='search']::placeholder,
  body.argent-local-search .argent-home-search input[type='search']::placeholder {
    font-size: 1.02rem !important;
  }
}


/* Argent search control refinement 0.2.147.
 * Keep the large search input dominant, soften placeholder text, put button
 * labels on the same scale as the input, and support Clear on governed home
 * search forms injected by the local theme footer helper.
 */
body.argent-local-home .argent-home-search input[type='search']::placeholder,
body.argent-local-search .argent-home-search input[type='search']::placeholder,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search input[type='search']::placeholder {
  opacity: 0.50 !important;
}

body.argent-local-home .argent-home-search button,
body.argent-local-home .argent-home-search .argent-search-clear-button,
body.argent-local-search .argent-home-search button,
body.argent-local-search .argent-home-search .argent-search-clear-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button {
  font-size: clamp(1.14rem, 1.65vw, 1.42rem) !important;
  font-weight: 850 !important;
  opacity: 0.85 !important;
}

body.argent-local-home .argent-home-search button:hover,
body.argent-local-home .argent-home-search button:focus-visible,
body.argent-local-home .argent-home-search .argent-search-clear-button:hover,
body.argent-local-home .argent-home-search .argent-search-clear-button:focus-visible,
body.argent-local-search .argent-home-search button:hover,
body.argent-local-search .argent-home-search button:focus-visible,
body.argent-local-search .argent-home-search .argent-search-clear-button:hover,
body.argent-local-search .argent-home-search .argent-search-clear-button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button:focus-visible {
  opacity: 1 !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 26px !important;
  color: var(--amphora-local-accent) !important;
  background: var(--amphora-local-card-surface) !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 56%, var(--amphora-local-line) 44%) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button:focus-visible {
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-card-surface) 90%) !important;
  text-decoration: none !important;
}

@media (max-width: 720px) {
  body.argent-local-home .argent-home-search button,
  body.argent-local-home .argent-home-search .argent-search-clear-button,
  body.argent-local-search .argent-home-search button,
  body.argent-local-search .argent-home-search .argent-search-clear-button,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button {
    font-size: 1.08rem !important;
  }
}


/* Argent local search UX refinement 0.2.148.
 * Make search affordances shopper-obvious: clear buttons share the Search
 * button shape, placeholders stay quieter, result links read as links, and
 * local result headings use plain category language.
 */
body.argent-local-home .argent-home-search,
body.argent-local-search .argent-home-search,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
}

body.argent-local-home .argent-home-search input[type='search']::placeholder,
body.argent-local-search .argent-home-search input[type='search']::placeholder,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search input[type='search']::placeholder,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear input[type='search']::placeholder {
  opacity: .5 !important;
}

body.argent-local-home .argent-home-search button,
body.argent-local-home .argent-home-search .argent-search-clear-button,
body.argent-local-search .argent-home-search button,
body.argent-local-search .argent-home-search .argent-search-clear-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear button,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .pagecache-action-button,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .argent-pagecache-search-clear-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  height: 64px !important;
  min-height: 64px !important;
  min-width: 112px !important;
  padding: 0 28px !important;
  color: color-mix(in srgb, var(--amphora-local-accent) 85%, transparent) !important;
  background: var(--amphora-local-card-surface) !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 56%, var(--amphora-local-line) 44%) !important;
  border-radius: 999px !important;
  font-size: clamp(1.05rem, 1.45vw, 1.42rem) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: -0.018em !important;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: .85 !important;
  box-shadow: none !important;
}

body.argent-local-home .argent-home-search button:hover,
body.argent-local-home .argent-home-search button:focus-visible,
body.argent-local-home .argent-home-search .argent-search-clear-button:hover,
body.argent-local-home .argent-home-search .argent-search-clear-button:focus-visible,
body.argent-local-search .argent-home-search button:hover,
body.argent-local-search .argent-home-search button:focus-visible,
body.argent-local-search .argent-home-search .argent-search-clear-button:hover,
body.argent-local-search .argent-home-search .argent-search-clear-button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .pagecache-action-button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search .argent-pagecache-search-clear-button:focus-visible,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear button:hover,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear button:focus-visible,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .pagecache-action-button:hover,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .pagecache-action-button:focus-visible,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .argent-pagecache-search-clear-button:hover,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .argent-pagecache-search-clear-button:focus-visible {
  opacity: 1 !important;
  color: var(--amphora-local-accent) !important;
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-card-surface) 90%) !important;
  text-decoration: none !important;
}

body.argent-local-search .argent-search-result-card h4 a,
body.argent-local-search .argent-search-result-card h4 a:visited,
body.argent-local-search .argent-search-lane-card a,
body.argent-local-search .argent-search-lane-card a:visited,
body.argent-local-search .argent-search-lane-more,
body.argent-local-search .argent-search-lane-more:visited {
  color: #17679a !important;
  text-decoration: underline !important;
  text-decoration-thickness: .075em !important;
  text-underline-offset: .16em !important;
}

body.argent-local-search .argent-search-result-card h4 a:hover,
body.argent-local-search .argent-search-result-card h4 a:focus-visible,
body.argent-local-search .argent-search-lane-card a:hover,
body.argent-local-search .argent-search-lane-card a:focus-visible,
body.argent-local-search .argent-search-lane-more:hover,
body.argent-local-search .argent-search-lane-more:focus-visible {
  color: #0d4f7f !important;
  text-decoration-thickness: .11em !important;
}

@media (max-width: 720px) {
  body.argent-local-home .argent-home-search,
  body.argent-local-search .argent-home-search,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search,
  body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear {
    flex-wrap: wrap !important;
  }

  body.argent-local-home .argent-home-search input[type='search'],
  body.argent-local-search .argent-home-search input[type='search'],
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search input[type='search'],
  body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear input[type='search'] {
    flex-basis: 100% !important;
    order: 1 !important;
  }

  body.argent-local-home .argent-home-search .argent-search-clear-button,
  body.argent-local-search .argent-home-search .argent-search-clear-button,
  body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .argent-pagecache-search-clear-button {
    order: 2 !important;
  }

  body.argent-local-home .argent-home-search button,
  body.argent-local-search .argent-home-search button,
  body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear button,
  body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear .pagecache-action-button {
    order: 3 !important;
    margin-left: auto !important;
  }
}


/* Argent local search card polish 0.2.149.
 * Remove repeated per-card lane labels, reduce search hero scroll debt,
 * normalize link prominence across result categories, suppress weak listing
 * type labels such as Unit, and make governed home Clear insertion visible.
 */
body.argent-local-home .argent-home-unified > .argent-home-hero,
body.argent-local-search .argent-search-unified > .argent-search-hero {
  padding-top: clamp(28px, 3.7vw, 50px) !important;
  padding-bottom: clamp(20px, 2.4vw, 32px) !important;
}

body.argent-local-home .argent-home-search,
body.argent-local-search .argent-home-search,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear {
  margin-top: clamp(18px, 2vw, 24px) !important;
  margin-bottom: 0 !important;
}

body.argent-local-home .argent-home-lede,
body.argent-local-search .argent-search-status {
  margin-top: clamp(14px, 1.6vw, 22px) !important;
}

body.argent-local-search .argent-search-lanes,
body.argent-local-home .argent-home-gateways {
  padding-top: clamp(18px, 2.1vw, 28px) !important;
}

body.argent-local-search .argent-search-result-lane-heading h3 {
  font-size: clamp(1.45rem, 2.05vw, 2rem) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
}

body.argent-local-search .argent-search-result-meta {
  display: none !important;
}

body.argent-local-search .argent-search-result-card {
  gap: 9px !important;
}

body.argent-local-search .argent-search-result-card h4 {
  font-size: clamp(1.28rem, 1.75vw, 1.62rem) !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
}

body.argent-local-search .argent-search-result-card h4 a,
body.argent-local-search .argent-search-result-card h4 a:visited,
body.argent-local-search .argent-search-lane-card a,
body.argent-local-search .argent-search-lane-card a:visited,
body.argent-local-search .argent-search-lane-more,
body.argent-local-search .argent-search-lane-more:visited {
  color: #17679a !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-decoration-thickness: .075em !important;
  text-underline-offset: .16em !important;
}

body.argent-local-search .argent-search-lane-card a,
body.argent-local-search .argent-search-lane-more {
  font-size: clamp(1.15rem, 1.45vw, 1.34rem) !important;
  line-height: 1.2 !important;
}

body.argent-local-search .argent-search-listing-facts .argent-search-listing-type {
  display: none !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.argent-search-form-has-clear,
body.argent-local-branding .pagecache-public-root form.argent-search-form-has-clear,
body.argent-local-branding form.argent-search-form-has-clear {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
}

body.argent-local-branding form.argent-search-form-has-clear input[type='search'],
body.argent-local-branding form.argent-search-form-has-clear input[name='q'] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.argent-local-branding form.argent-search-form-has-clear .argent-pagecache-search-clear-button,
body.argent-local-branding form.argent-search-form-has-clear .argent-search-clear-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  height: 64px !important;
  min-height: 64px !important;
  min-width: 112px !important;
  padding: 0 28px !important;
  color: color-mix(in srgb, var(--amphora-local-accent) 85%, transparent) !important;
  background: var(--amphora-local-card-surface) !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 56%, var(--amphora-local-line) 44%) !important;
  border-radius: 999px !important;
  font-size: clamp(1.05rem, 1.45vw, 1.42rem) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: -0.018em !important;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: .85 !important;
  box-shadow: none !important;
}


/* Argent local search duplicate-clear and property-type polish 0.2.150.
 * Keep only one Clear affordance per form, preserve the one-row search controls,
 * and render the governed listing property type as a quiet bracketed fact.
 */
body.argent-local-branding form.argent-search-form-has-clear .argent-search-clear-button + .argent-search-clear-button,
body.argent-local-branding form.argent-search-form-has-clear .argent-pagecache-search-clear-button + .argent-pagecache-search-clear-button,
body.argent-local-branding form.argent-search-form-has-clear [data-argent-home-search-clear='1'] + [data-argent-home-search-clear='1'] {
  display: none !important;
}

body.argent-local-search .argent-search-listing-property-type {
  color: color-mix(in srgb, var(--amphora-local-ink) 76%, var(--amphora-local-muted-ink) 24%) !important;
  font-weight: 820 !important;
  white-space: nowrap !important;
}

body.argent-local-search .argent-search-lanes h2::after {
  content: none !important;
}


/* Argent local search button/type polish 0.2.151.
 * Match Clear to Search exactly in the local search row and only show real
 * building-class labels in listing facts, not source-subject labels like Unit.
 */
body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button,
body.argent-local-home .argent-home-search.argent-search-form-has-clear button[type='submit'],
body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button,
body.argent-local-search .argent-home-search.argent-search-form-has-clear button[type='submit'],
body.argent-local-branding form.argent-search-form-has-clear .argent-pagecache-search-clear-button,
body.argent-local-branding form.argent-search-form-has-clear .argent-search-clear-button,
body.argent-local-branding form.argent-search-form-has-clear button[type='submit'],
body.argent-local-branding form.argent-search-form-has-clear .pagecache-action-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 148px !important;
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 34px !important;
  color: var(--amphora-local-accent) !important;
  background: var(--amphora-local-card-surface) !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 56%, var(--amphora-local-line) 44%) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: clamp(1.14rem, 1.65vw, 1.42rem) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: -0.018em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: .85 !important;
  white-space: nowrap !important;
}

body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:hover,
body.argent-local-home .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:focus-visible,
body.argent-local-home .argent-home-search.argent-search-form-has-clear button[type='submit']:hover,
body.argent-local-home .argent-home-search.argent-search-form-has-clear button[type='submit']:focus-visible,
body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:hover,
body.argent-local-search .argent-home-search.argent-search-form-has-clear .argent-search-clear-button:focus-visible,
body.argent-local-search .argent-home-search.argent-search-form-has-clear button[type='submit']:hover,
body.argent-local-search .argent-home-search.argent-search-form-has-clear button[type='submit']:focus-visible,
body.argent-local-branding form.argent-search-form-has-clear .argent-pagecache-search-clear-button:hover,
body.argent-local-branding form.argent-search-form-has-clear .argent-pagecache-search-clear-button:focus-visible,
body.argent-local-branding form.argent-search-form-has-clear .argent-search-clear-button:hover,
body.argent-local-branding form.argent-search-form-has-clear .argent-search-clear-button:focus-visible,
body.argent-local-branding form.argent-search-form-has-clear button[type='submit']:hover,
body.argent-local-branding form.argent-search-form-has-clear button[type='submit']:focus-visible,
body.argent-local-branding form.argent-search-form-has-clear .pagecache-action-button:hover,
body.argent-local-branding form.argent-search-form-has-clear .pagecache-action-button:focus-visible {
  opacity: 1 !important;
  color: var(--amphora-local-accent) !important;
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-card-surface) 90%) !important;
  text-decoration: none !important;
}

body.argent-local-search .argent-search-listing-property-type[data-argent-weak-type='1'] {
  display: none !important;
}


/* Argent local search / contextual-neighborhood polish 0.2.152.
 * Consume Schemas' split listing summary labels, give the search result surface
 * the full local content rail, keep long placeholder copy from crowding the
 * input, and suppress governed neighborhood listing blocks when a shopper
 * reaches the neighborhood from Search Results.
 */
body.argent-local-search {
  --amphora-local-page-width: calc(100vw - (2 * var(--amphora-local-edge-air, 20px)));
}

body.argent-local-search #primary.site-main.argent-search-main,
body.argent-local-search #primary.argent-search-main,
body.argent-local-search #primary.argent-search-main > .argent-search-unified,
body.argent-local-search #primary.argent-search-main > .argent-home-card,
body.argent-local-search .argent-search-result-groups,
body.argent-local-search .argent-search-result-lane,
body.argent-local-search .argent-search-result-list {
  width: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
}

body.argent-local-search .argent-search-unified > :is(.argent-search-hero, .argent-search-lanes) {
  width: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
}

body.argent-local-search .argent-home-search,
body.argent-local-search .argent-home-search.argent-search-form-has-clear {
  width: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
}

body.argent-local-search .argent-home-search input[type='search'],
body.argent-local-search .argent-home-search input[name='q'] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.argent-local-search .argent-home-search input[type='search']::placeholder,
body.argent-local-search .argent-home-search input[name='q']::placeholder {
  font-size: clamp(0.92rem, 1.05vw, 1.06rem) !important;
  font-weight: 720 !important;
  letter-spacing: -0.012em !important;
  opacity: .42 !important;
}

body.argent-local-search .argent-search-listing-dwelling-type {
  color: #000 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.argent-local-branding [data-argent-search-suppressed-neighborhood-listings='1'] {
  display: none !important;
}

/* Argent search width and input prominence correction 0.2.154.
 * Restore the governed local search page to the normal local content rail,
 * keep home-page search forms full width inside their card, and restore the
 * large search-entry typography that was too aggressively compacted in 0.2.152.
 */
body.argent-local-search {
  --amphora-local-page-width: 1160px;
}

body.argent-local-search #primary.site-main.argent-search-main,
body.argent-local-search #primary.argent-search-main {
  inline-size: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  max-inline-size: var(--amphora-local-page-width, 1160px) !important;
  max-width: var(--amphora-local-page-width, 1160px) !important;
  margin-inline: auto !important;
}

body.argent-local-search #primary.argent-search-main > .argent-search-unified,
body.argent-local-search #primary.argent-search-main > .argent-home-card,
body.argent-local-search .argent-search-result-groups,
body.argent-local-search .argent-search-result-lane,
body.argent-local-search .argent-search-result-list,
body.argent-local-search .argent-search-unified > :is(.argent-search-hero, .argent-search-lanes) {
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: 100% !important;
  max-width: 100% !important;
}

body.argent-local-home .argent-home-search,
body.argent-local-home .argent-home-search.argent-search-form-has-clear,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.argent-search-form-has-clear,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search {
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: none !important;
  max-width: none !important;
}

body.argent-local-home .argent-home-search input[type='search'],
body.argent-local-home .argent-home-search input[name='q'],
body.argent-local-search .argent-home-search input[type='search'],
body.argent-local-search .argent-home-search input[name='q'],
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear input[type='search'],
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear input[name='q'] {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 22px !important;
  font-size: clamp(1.14rem, 1.65vw, 1.42rem) !important;
  font-weight: 820 !important;
  line-height: 64px !important;
  letter-spacing: -0.012em !important;
}

body.argent-local-home .argent-home-search input[type='search']::placeholder,
body.argent-local-home .argent-home-search input[name='q']::placeholder,
body.argent-local-search .argent-home-search input[type='search']::placeholder,
body.argent-local-search .argent-home-search input[name='q']::placeholder,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear input[type='search']::placeholder,
body.argent-local-branding .pagecache-home-search.argent-search-form-has-clear input[name='q']::placeholder {
  font-size: clamp(1.08rem, 1.5vw, 1.34rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.01em !important;
  opacity: .50 !important;
}

/* Argent search land qualifier data-line polish 0.2.155.
 * Search cards now consume listing_summary.land_subtype_label so land-character
 * qualifiers already shown on governed listing pages also appear in local search
 * data lines.  Price remains in the same summary row, right-aligned as before.
 */
body.argent-local-search .argent-search-listing-land-type {
  color: color-mix(in srgb, var(--amphora-local-ink) 76%, var(--amphora-local-muted-ink) 24%) !important;
  font-weight: 820 !important;
  white-space: nowrap !important;
}

/* Argent single-post article chrome correction 0.2.156.
 * Standard WordPress posts were not participating in the local off-white card
 * rail used by ordinary WP pages.  Scope this to single posts only so governed
 * pagecache surfaces and local listing/search pages remain untouched.
 */
body.argent-local-branding.single-post :is(.site-content, .site-content > .ast-container, .content-area),
body.argent-local-branding.post-template-default.single-post :is(.site-content, .site-content > .ast-container, .content-area) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

body.argent-local-branding.single-post #primary.site-main,
body.argent-local-branding.post-template-default.single-post #primary.site-main {
  display: block !important;
  inline-size: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  max-inline-size: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  max-width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  margin: var(--amphora-local-card-top-gap, 18px) auto var(--amphora-local-bottom-air, 44px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.argent-local-branding.single-post #primary.site-main > article,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--amphora-local-ink) !important;
  background: var(--amphora-local-card-surface) !important;
  border: 1px solid var(--amphora-local-line) !important;
  border-radius: var(--amphora-card-radius, 16px) !important;
  box-shadow: 0 18px 42px rgba(12, 32, 48, 0.13) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.argent-local-branding.single-post #primary.site-main > article :is(.entry-header, .entry-content, .entry-meta),
body.argent-local-branding.single-post #primary.site-main > .ast-article-single :is(.entry-header, .entry-content, .entry-meta),
body.argent-local-branding.post-template-default.single-post #primary.site-main > article :is(.entry-header, .entry-content, .entry-meta),
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single :is(.entry-header, .entry-content, .entry-meta) {
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
  color: var(--amphora-local-ink) !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-header,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-header,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-header,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-header {
  padding: clamp(26px, 4vw, 44px) clamp(28px, 5vw, 58px) 0 !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-title,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-title,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-title,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-title {
  margin: 0 0 .35em !important;
  padding: 0 !important;
  color: var(--amphora-local-accent, #9b4f2f) !important;
  font-size: clamp(1.7rem, 3vw, 2.65rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.018em !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-meta,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-meta,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-meta,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-meta {
  padding: 0 !important;
  color: var(--amphora-local-muted-ink, #607184) !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content {
  padding: clamp(20px, 2.6vw, 32px) clamp(28px, 5vw, 58px) clamp(26px, 4vw, 44px) !important;
  color: var(--amphora-local-ink, #172235) !important;
  font-size: clamp(1.02rem, .25vw + 1rem, 1.16rem) !important;
  line-height: 1.62 !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content > *,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content > *,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content > *,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content > * {
  max-width: none !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content :is(h2, h3, h4),
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content :is(h2, h3, h4),
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content :is(h2, h3, h4),
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content :is(h2, h3, h4) {
  color: var(--amphora-local-accent, #9b4f2f) !important;
  font-weight: 900 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.15 !important;
  margin-top: 1.45em !important;
  margin-bottom: .55em !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content p,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content p,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content p,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content p {
  margin: 0 0 1.05em !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content :is(ol, ul),
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content :is(ol, ul),
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content :is(ol, ul),
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content :is(ol, ul) {
  margin: .6em 0 1.1em 1.35em !important;
  padding: 0 !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content li,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content li,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content li,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content li {
  margin: .38em 0 !important;
  padding-left: .12em !important;
}

body.argent-local-branding.single-post #primary.site-main > article .entry-content a,
body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content a,
body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content a,
body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content a {
  color: var(--amphora-local-link, #0b6fd3) !important;
  font-weight: 800 !important;
  text-decoration-thickness: .08em !important;
  text-underline-offset: .16em !important;
}

@media (max-width: 780px) {
  body.argent-local-branding.single-post #primary.site-main > article .entry-header,
  body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-header,
  body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-header,
  body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-header {
    padding: 24px 22px 0 !important;
  }

  body.argent-local-branding.single-post #primary.site-main > article .entry-content,
  body.argent-local-branding.single-post #primary.site-main > .ast-article-single .entry-content,
  body.argent-local-branding.post-template-default.single-post #primary.site-main > article .entry-content,
  body.argent-local-branding.post-template-default.single-post #primary.site-main > .ast-article-single .entry-content {
    padding: 20px 22px 28px !important;
  }
}

/* Argent single-post article chrome broad capture 0.2.157.
 * The first single-post pass used too-narrow #primary.site-main selectors.
 * Astra's real single-post structure can put .site-main inside #primary, so
 * capture the full default post stack and keep comments out of the demo view.
 */
body.single-post #content,
body.single-post .site-content,
body.single-post .site-content > .ast-container,
body.single-post .content-area,
body.single-post #primary,
body.single-post main.site-main,
body.single-post .site-main {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-post .site-content > .ast-container,
body.single-post #primary,
body.single-post main.site-main,
body.single-post .site-main {
  width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  max-width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-post .site-content > .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-post #primary,
body.single-post main.site-main,
body.single-post .site-main {
  margin-top: var(--amphora-local-card-top-gap, 18px) !important;
  margin-bottom: var(--amphora-local-bottom-air, 44px) !important;
  padding: 0 !important;
}

body.single-post article.post,
body.single-post article.type-post,
body.single-post .ast-article-single {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: var(--amphora-local-ink, #172235) !important;
  background: var(--amphora-local-card-surface, #fffdf8) !important;
  border: 1px solid var(--amphora-local-line, #d8d2c6) !important;
  border-radius: var(--amphora-card-radius, 16px) !important;
  box-shadow: 0 18px 42px rgba(12, 32, 48, 0.13) !important;
  overflow: hidden !important;
}

body.single-post article.post > .entry-header,
body.single-post article.type-post > .entry-header,
body.single-post .ast-article-single > .entry-header {
  padding: clamp(26px, 4vw, 44px) clamp(28px, 5vw, 58px) 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

body.single-post article.post .entry-title,
body.single-post article.type-post .entry-title,
body.single-post .ast-article-single .entry-title {
  margin: 0 0 .35em !important;
  padding: 0 !important;
  color: var(--amphora-local-accent, #9b4f2f) !important;
  font-size: clamp(1.7rem, 3vw, 2.65rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.018em !important;
}

body.single-post article.post .entry-meta,
body.single-post article.type-post .entry-meta,
body.single-post .ast-article-single .entry-meta {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--amphora-local-muted-ink, #607184) !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
}

body.single-post article.post .entry-content,
body.single-post article.type-post .entry-content,
body.single-post .ast-article-single .entry-content {
  margin: 0 !important;
  padding: clamp(20px, 2.6vw, 32px) clamp(28px, 5vw, 58px) clamp(26px, 4vw, 44px) !important;
  color: var(--amphora-local-ink, #172235) !important;
  background: transparent !important;
  font-size: clamp(1.02rem, .25vw + 1rem, 1.16rem) !important;
  line-height: 1.62 !important;
}

body.single-post article.post .entry-content > *,
body.single-post article.type-post .entry-content > *,
body.single-post .ast-article-single .entry-content > * {
  max-width: none !important;
}

body.single-post article.post .entry-content :is(h2, h3, h4),
body.single-post article.type-post .entry-content :is(h2, h3, h4),
body.single-post .ast-article-single .entry-content :is(h2, h3, h4) {
  color: var(--amphora-local-accent, #9b4f2f) !important;
  font-weight: 900 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.15 !important;
  margin-top: 1.45em !important;
  margin-bottom: .55em !important;
}

body.single-post article.post .entry-content p,
body.single-post article.type-post .entry-content p,
body.single-post .ast-article-single .entry-content p {
  margin: 0 0 1.05em !important;
}

body.single-post article.post .entry-content :is(ol, ul),
body.single-post article.type-post .entry-content :is(ol, ul),
body.single-post .ast-article-single .entry-content :is(ol, ul) {
  margin: .6em 0 1.1em 1.35em !important;
  padding: 0 !important;
}

body.single-post article.post .entry-content li,
body.single-post article.type-post .entry-content li,
body.single-post .ast-article-single .entry-content li {
  margin: .38em 0 !important;
  padding-left: .12em !important;
}

body.single-post article.post .entry-content a,
body.single-post article.type-post .entry-content a,
body.single-post .ast-article-single .entry-content a {
  color: var(--amphora-local-link, #0b6fd3) !important;
  font-weight: 800 !important;
  text-decoration-thickness: .08em !important;
  text-underline-offset: .16em !important;
}

body.single-post :is(.comments-area, #comments, .comment-respond, #respond) {
  display: none !important;
}

/* Argent header menu fit guard 0.2.157.
 * Content seeding gave Contact/Blog longer page titles; DB menu labels are
 * corrected separately, but keep the header resilient if a fallback menu leaks
 * a longer label again.
 */
html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
html body.argent-local-branding #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
html body #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
html body #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
html body #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link {
  padding-left: clamp(0.32rem, .34vw, .56rem) !important;
  padding-right: clamp(0.32rem, .34vw, .56rem) !important;
  font-size: clamp(.9rem, .42vw + .78rem, 1.02rem) !important;
  white-space: nowrap !important;
}

body.argent-local-branding .main-header-bar-navigation,
body.argent-local-branding .main-header-menu,
body .main-header-bar-navigation,
body .main-header-menu {
  column-gap: clamp(8px, .6vw, 16px) !important;
  row-gap: 0 !important;
}

/* Argent profile switcher recovery visibility 0.2.157. */
.argent-profile-switcher-hot-corner {
  opacity: 0.18 !important;
}

.argent-profile-switcher-hot-corner:hover,
.argent-profile-switcher-hot-corner:focus-visible {
  opacity: 0.92 !important;
}

/* Argent single-post article shell capture 0.2.158.
 * The broad 0.2.157 article selectors improved typography, but Astra's single
 * posts can still paint the article directly on the body rail.  Move the card
 * chrome up to the single-post content shell and make the inner article
 * transparent, matching ordinary local pages without touching pagecache pages.
 */
body.single-post #content.site-content,
body.single-post .site-content {
  display: block !important;
  width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  max-width: min(var(--amphora-local-page-width, 1160px), calc(100vw - (2 * var(--amphora-local-edge-air, 20px)))) !important;
  margin: var(--amphora-local-card-top-gap, 18px) auto var(--amphora-local-bottom-air, 44px) !important;
  padding: clamp(26px, 4vw, 46px) clamp(28px, 5vw, 58px) clamp(28px, 4vw, 46px) !important;
  color: var(--amphora-local-ink, #172235) !important;
  background: var(--amphora-local-card-surface, #fffdf8) !important;
  border: 1px solid var(--amphora-local-line, #d8d2c6) !important;
  border-radius: var(--amphora-card-radius, 16px) !important;
  box-shadow: 0 18px 42px rgba(12, 32, 48, 0.13) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.single-post .site-content > .ast-container,
body.single-post #primary,
body.single-post main.site-main,
body.single-post .site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-post article.post,
body.single-post article.type-post,
body.single-post .ast-article-single,
body.single-post .ast-separate-container .ast-article-single,
body.single-post.ast-separate-container .ast-article-single {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--amphora-local-ink, #172235) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.single-post article.post > .entry-header,
body.single-post article.type-post > .entry-header,
body.single-post .ast-article-single > .entry-header,
body.single-post article.post .entry-content,
body.single-post article.type-post .entry-content,
body.single-post .ast-article-single .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-post article.post > .entry-header,
body.single-post article.type-post > .entry-header,
body.single-post .ast-article-single > .entry-header {
  padding-top: 0 !important;
}

body.single-post article.post .entry-content,
body.single-post article.type-post .entry-content,
body.single-post .ast-article-single .entry-content {
  padding-bottom: 0 !important;
}

body.single-post :is(.post-navigation, .nav-links, .navigation.post-navigation, .related-posts, .comments-area, #comments, .comment-respond, #respond) {
  display: none !important;
}

/* Metro top-menu size correction 0.2.158.
 * Keep the recovered style-switcher profiles, but make Metro's desktop header
 * navigation less shouty so the menu does not crowd the logo.
 */
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link {
  padding-left: clamp(0.22rem, .24vw, .40rem) !important;
  padding-right: clamp(0.22rem, .24vw, .40rem) !important;
  font-size: clamp(.74rem, .22vw + .68rem, .90rem) !important;
  line-height: 1.08 !important;
  letter-spacing: .018em !important;
  white-space: nowrap !important;
}

html[data-amphora-profile="metro"] body .main-header-bar-navigation,
html[data-amphora-profile="metro"] body .main-header-menu,
body[data-amphora-profile="metro"] .main-header-bar-navigation,
body[data-amphora-profile="metro"] .main-header-menu {
  column-gap: clamp(4px, .35vw, 9px) !important;
}

@media (max-width: 780px) {
  body.single-post #content.site-content,
  body.single-post .site-content {
    width: min(var(--amphora-local-page-width, 1160px), calc(100vw - 24px)) !important;
    max-width: min(var(--amphora-local-page-width, 1160px), calc(100vw - 24px)) !important;
    padding: 24px 22px 28px !important;
  }
}

/* Argent blog breadcrumb and Metro menu tightening 0.2.159. */
body.single-post .argent-blog-breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .38em !important;
  margin: 0 0 1.05rem !important;
  padding: 0 !important;
  color: var(--amphora-local-ink, #172235) !important;
  font-size: clamp(.95rem, .2vw + .9rem, 1.08rem) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

body.single-post .argent-blog-breadcrumb a {
  color: var(--amphora-local-ink, #172235) !important;
  text-decoration: none !important;
}

body.single-post .argent-blog-breadcrumb a:hover,
body.single-post .argent-blog-breadcrumb a:focus-visible {
  color: var(--amphora-local-link, #0b6fd3) !important;
  text-decoration: underline !important;
  text-underline-offset: .16em !important;
}

body.single-post .argent-blog-breadcrumb .argent-blog-breadcrumb-sep {
  color: var(--amphora-local-ink, #172235) !important;
  opacity: .88 !important;
}

body.single-post .argent-blog-breadcrumb .argent-blog-breadcrumb-current {
  color: var(--amphora-local-ink, #172235) !important;
  max-width: min(58ch, 100%) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Stronger Metro desktop menu fit correction 0.2.159.
 * Metro intentionally uses a bolder uppercase header, so it needs a materially
 * smaller nav scale than the other demo profiles.
 */
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link {
  padding-left: clamp(0.14rem, .16vw, .28rem) !important;
  padding-right: clamp(0.14rem, .16vw, .28rem) !important;
  font-size: clamp(.62rem, .16vw + .58rem, .76rem) !important;
  line-height: 1.05 !important;
  letter-spacing: .006em !important;
  font-weight: 850 !important;
}

html[data-amphora-profile="metro"] body .main-header-bar-navigation,
html[data-amphora-profile="metro"] body .main-header-menu,
body[data-amphora-profile="metro"] .main-header-bar-navigation,
body[data-amphora-profile="metro"] .main-header-menu {
  column-gap: clamp(2px, .18vw, 5px) !important;
}

html[data-amphora-profile="metro"] body .site-header-primary-section-right,
body[data-amphora-profile="metro"] .site-header-primary-section-right {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

html[data-amphora-profile="metro"] body .site-header-primary-section-left,
body[data-amphora-profile="metro"] .site-header-primary-section-left {
  flex: 0 1 auto !important;
}

/* Argent blog shell/footer radius and Metro menu gap correction 0.2.160.
 *
 * 0.2.158/0.2.159 correctly captured single posts into the local page shell,
 * but the shell still used the generic card radius and the governed footer
 * remained an inset pill.  Single posts should use the active profile's card
 * radius and the footer should attach to the bottom of the same card, just like
 * ordinary local pages.
 */
body.single-post #content.site-content,
body.single-post .site-content {
  --argent-single-post-shell-radius: var(--amphora-profile-card-radius, var(--amphora-card-radius, 16px));
  --argent-single-post-shell-inline-pad: clamp(28px, 5vw, 58px);
  --argent-single-post-shell-block-pad: clamp(26px, 4vw, 46px);
  padding: var(--argent-single-post-shell-block-pad) var(--argent-single-post-shell-inline-pad) var(--argent-single-post-shell-block-pad) !important;
  border-radius: var(--argent-single-post-shell-radius) !important;
}

body.single-post #content.site-content:has(.argent-local-governed-footer, .savvy-amphora-global-footer-shell),
body.single-post .site-content:has(.argent-local-governed-footer, .savvy-amphora-global-footer-shell) {
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

/* Metro nav was still visually crowded because the issue is partly proximity,
 * not just type size.  Give the nav column breathing room from the logo and
 * apply a final smaller Metro-only nav scale after all earlier profile rules.
 */
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header :is(.site-header-primary-section-right, .ast-builder-layout-element.ast-flex.site-header-focus-item),
body[data-amphora-profile="metro"] #masthead #ast-desktop-header :is(.site-header-primary-section-right, .ast-builder-layout-element.ast-flex.site-header-focus-item) {
  padding-left: clamp(18px, 2.25vw, 42px) !important;
  box-sizing: border-box !important;
}

html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link {
  padding-left: clamp(0.10rem, .12vw, .22rem) !important;
  padding-right: clamp(0.10rem, .12vw, .22rem) !important;
  font-size: clamp(.56rem, .14vw + .52rem, .68rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  font-weight: 820 !important;
  white-space: nowrap !important;
}

html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu {
  column-gap: clamp(1px, .10vw, 3px) !important;
}

@media (max-width: 780px) {
  body.single-post #content.site-content,
  body.single-post .site-content {
    --argent-single-post-shell-inline-pad: clamp(22px, 5.5vw, 34px);
  }
}

/* Argent shell radius, header separation, and blog prose correction 0.2.161.
 *
 * This is a consolidation pass:
 * - large site shells use one active-profile radius so the page card and top
 *   header agree within each selected style;
 * - the desktop navigation gets an actual layout gap from the logo, not just
 *   smaller type;
 * - single-post prose is raised in size and weight.
 */
:root {
  --argent-local-shell-radius: var(--amphora-profile-card-radius, var(--amphora-site-card-radius, var(--amphora-card-radius, 16px)));
  --argent-local-header-nav-gap: clamp(34px, 4.8vw, 86px);
}

/* Keep the top chrome and the large page shells using the same radius token. */
body.argent-local-branding #masthead,
body.argent-local-branding .site-header,
body.argent-local-branding #masthead .ast-main-header-wrap,
body.argent-local-branding #masthead .main-header-bar,
body.argent-local-branding #masthead .site-primary-header-wrap,
body.argent-local-branding #masthead .ast-primary-header-bar,
body.argent-local-branding #masthead .ast-builder-grid-row-container,
body.argent-local-branding #masthead .ast-builder-grid-row,
body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-home-card,
  .argent-home-unified,
  .argent-search-card,
  .argent-search-unified,
  .argent-ordinary-card,
  .argent-blog-card,
  .argent-local-article,
  .pagecache-artifact,
  .pagecache-shell,
  .pagecache-listing-shell
),
body.single-post #content.site-content,
body.single-post .site-content {
  border-radius: var(--argent-local-shell-radius) !important;
}

/* Real layout separation between logo and menu.  Earlier font-size-only passes
 * left some profiles visually colliding with the logo because the nav column
 * still began too far left.
 */
body.argent-local-branding #masthead #ast-desktop-header .ast-builder-grid-row {
  display: grid !important;
  grid-template-columns: minmax(min(42vw, var(--argent-local-header-logo-width, 292px)), auto) minmax(0, 1fr) !important;
  column-gap: var(--argent-local-header-nav-gap) !important;
  align-items: center !important;
}

body.argent-local-branding #masthead #ast-desktop-header :is(
  .site-header-primary-section-left,
  .ast-builder-grid-row > .site-header-section:first-child
) {
  min-width: min(42vw, var(--argent-local-header-logo-width, 292px)) !important;
  max-width: min(42vw, var(--argent-local-header-logo-width, 292px)) !important;
  overflow: visible !important;
  justify-self: start !important;
  grid-column: 1 !important;
}

body.argent-local-branding #masthead #ast-desktop-header :is(
  .site-header-primary-section-right,
  .ast-builder-grid-row > .site-header-section:last-child,
  .main-header-bar-navigation,
  .main-navigation
) {
  min-width: 0 !important;
  max-width: 100% !important;
  justify-self: end !important;
  grid-column: 2 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  overflow: visible !important;
}

body.argent-local-branding #masthead #ast-desktop-header .main-header-menu {
  justify-content: flex-end !important;
  min-width: 0 !important;
  max-width: 100% !important;
  column-gap: clamp(3px, .32vw, 8px) !important;
  margin-left: 0 !important;
}

body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
body.argent-local-branding #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link {
  padding-left: clamp(.18rem, .22vw, .36rem) !important;
  padding-right: clamp(.18rem, .22vw, .36rem) !important;
  font-size: clamp(.74rem, .22vw + .68rem, .92rem) !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
}

/* Metro keeps its uppercase language, but no longer gets to bully the logo. */
body[data-amphora-profile="metro"],
html[data-amphora-profile="metro"] body {
  --argent-local-header-nav-gap: clamp(46px, 6vw, 112px);
  --argent-local-header-logo-width: clamp(214px, 23vw, 294px);
}

html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link {
  padding-left: clamp(.08rem, .10vw, .18rem) !important;
  padding-right: clamp(.08rem, .10vw, .18rem) !important;
  font-size: clamp(.52rem, .12vw + .50rem, .64rem) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
}

/* Blog article reading weight. */
body.single-post article.post .entry-content,
body.single-post article.type-post .entry-content,
body.single-post .ast-article-single .entry-content,
body.single-post article.post .entry-content p,
body.single-post article.type-post .entry-content p,
body.single-post .ast-article-single .entry-content p,
body.single-post article.post .entry-content li,
body.single-post article.type-post .entry-content li,
body.single-post .ast-article-single .entry-content li {
  font-size: clamp(1.12rem, .38vw + 1.02rem, 1.30rem) !important;
  font-weight: 530 !important;
  line-height: 1.66 !important;
}

body.single-post article.post .entry-content strong,
body.single-post article.type-post .entry-content strong,
body.single-post .ast-article-single .entry-content strong,
body.single-post article.post .entry-content b,
body.single-post article.type-post .entry-content b,
body.single-post .ast-article-single .entry-content b {
  font-weight: 850 !important;
}

body.single-post article.post .entry-content :is(h2, h3, h4),
body.single-post article.type-post .entry-content :is(h2, h3, h4),
body.single-post .ast-article-single .entry-content :is(h2, h3, h4) {
  font-weight: 900 !important;
}

/* Argent radius/menu separation correction 0.2.162.
 *
 * The profile-specific card-radius token made Metro page shells sharper than
 * the top chrome.  Also, the grid attempt still let the nav begin over the
 * right side of the logo on Metro.  This pass deliberately uses the stable site
 * card radius for both header and large page shells, and moves desktop nav by
 * layout margin plus a small translate instead of trusting Astra's internal
 * grid tracks.
 */
body.argent-local-branding,
body.single-post {
  --argent-local-shell-radius: var(--amphora-site-card-radius, var(--amphora-card-radius, 16px));
}

/* One visible large-shell radius across the header and the page/article cards. */
body.argent-local-branding #masthead,
body.argent-local-branding .site-header,
body.argent-local-branding #masthead :is(
  .ast-main-header-wrap,
  .main-header-bar,
  .site-primary-header-wrap,
  .ast-primary-header-bar,
  .ast-builder-grid-row-container,
  .ast-builder-grid-row
),
body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-home-card,
  .argent-home-unified,
  .argent-search-card,
  .argent-search-unified,
  .argent-ordinary-card,
  .argent-blog-card,
  .argent-local-article,
  .pagecache-artifact,
  .pagecache-shell,
  .pagecache-listing-shell,
  .site-content .ast-container
),
body.single-post #content.site-content,
body.single-post .site-content {
  border-radius: var(--argent-local-shell-radius) !important;
}

/* Desktop header separation: override the 0.2.161 grid approach with flex so
 * Astra's real child wrappers cannot place the nav on top of the logo.
 */
@media (min-width: 922px) {
  body.argent-local-branding #masthead #ast-desktop-header :is(
    .ast-builder-grid-row,
    .site-primary-header-wrap,
    .ast-primary-header-bar,
    .main-header-bar
  ) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(34px, 4.2vw, 78px) !important;
    grid-template-columns: none !important;
  }

  body.argent-local-branding #masthead #ast-desktop-header :is(
    .site-header-primary-section-left,
    .ast-builder-grid-row > .site-header-section:first-child,
    .site-branding,
    .ast-site-identity
  ) {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    justify-self: auto !important;
    grid-column: auto !important;
    overflow: visible !important;
  }

  body.argent-local-branding #masthead #ast-desktop-header :is(
    .site-header-primary-section-right,
    .ast-builder-grid-row > .site-header-section:last-child,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation
  ) {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 360px) !important;
    min-width: 0 !important;
    margin-left: clamp(28px, 4.0vw, 74px) !important;
    padding-left: 0 !important;
    justify-self: auto !important;
    grid-column: auto !important;
    overflow: visible !important;
  }

  body.argent-local-branding #masthead #ast-desktop-header .main-header-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(4px, .45vw, 10px) !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: translateX(clamp(8px, 1.2vw, 22px)) !important;
  }

  body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
  body.argent-local-branding #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
  body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  body.argent-local-branding #masthead #ast-desktop-header .main-navigation a,
  body.argent-local-branding #masthead #ast-desktop-header .menu-link {
    padding-left: clamp(.14rem, .18vw, .30rem) !important;
    padding-right: clamp(.14rem, .18vw, .30rem) !important;
    font-size: clamp(.70rem, .18vw + .66rem, .86rem) !important;
    line-height: 1.06 !important;
    white-space: nowrap !important;
  }

  /* Metro final: materially smaller nav, stronger logo/menu separation, no
   * overlap even when the browser is close to tablet width.
   */
  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header :is(
    .site-header-primary-section-right,
    .ast-builder-grid-row > .site-header-section:last-child,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation
  ),
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header :is(
    .site-header-primary-section-right,
    .ast-builder-grid-row > .site-header-section:last-child,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation
  ) {
    max-width: calc(100% - 390px) !important;
    margin-left: clamp(44px, 6.2vw, 108px) !important;
  }

  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu {
    gap: clamp(1px, .14vw, 4px) !important;
    transform: translateX(clamp(20px, 2.2vw, 38px)) !important;
  }

  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .main-navigation a,
  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header .menu-link,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-header-menu > li.menu-item > a.menu-link,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header nav#primary-site-navigation-desktop a.menu-link,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header .main-navigation a,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header .menu-link {
    padding-left: clamp(.05rem, .08vw, .14rem) !important;
    padding-right: clamp(.05rem, .08vw, .14rem) !important;
    font-size: clamp(.48rem, .10vw + .46rem, .58rem) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    font-weight: 780 !important;
  }
}

/* Argent hard logo-exclusion header correction 0.2.163.
 *
 * The 0.2.162 menu fix still trusted too much of Astra's internal header
 * placement.  The visible failure is simple: the nav line is allowed to start
 * inside the logo's visual column.  This pass creates a hard exclusion zone for
 * the logo area and applies it broadly, without depending on a specific active
 * profile or whether Astra has placed navigation in the left, right, or shared
 * header section.
 */
@media (min-width: 922px) {
  body #masthead #ast-desktop-header {
    --argent-header-logo-exclusion: clamp(390px, 31vw, 520px);
    --argent-header-nav-font-size: clamp(.70rem, .16vw + .66rem, .86rem);
    overflow: visible !important;
  }

  body #masthead #ast-desktop-header :is(
    .ast-builder-grid-row,
    .ast-primary-header-bar,
    .site-primary-header-wrap,
    .main-header-bar,
    .ast-container
  ) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    grid-template-columns: none !important;
    overflow: visible !important;
  }

  body #masthead #ast-desktop-header :is(
    .site-header-primary-section-left,
    .ast-builder-grid-row > .site-header-section:first-child
  ) {
    flex: 0 0 var(--argent-header-logo-exclusion) !important;
    width: var(--argent-header-logo-exclusion) !important;
    max-width: var(--argent-header-logo-exclusion) !important;
    min-width: var(--argent-header-logo-exclusion) !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  body #masthead #ast-desktop-header :is(
    .site-branding,
    .ast-site-identity,
    .site-logo-img,
    .custom-logo-link
  ) {
    flex: 0 0 auto !important;
    margin-right: clamp(72px, 8vw, 150px) !important;
    overflow: visible !important;
  }

  body #masthead #ast-desktop-header :is(
    .site-header-primary-section-center,
    .site-header-primary-section-right,
    .ast-builder-grid-row > .site-header-section:nth-child(2),
    .ast-builder-grid-row > .site-header-section:last-child,
    .ast-main-header-bar-alignment,
    .ast-builder-menu,
    .main-header-bar-navigation,
    .main-navigation,
    nav.site-navigation,
    nav#primary-site-navigation,
    nav#primary-site-navigation-desktop
  ) {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-end !important;
    overflow: visible !important;
  }

  body #masthead #ast-desktop-header :is(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(5px, .42vw, 11px) !important;
    margin-left: auto !important;
    padding-left: clamp(20px, 2vw, 42px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
    translate: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
  }

  body #masthead #ast-desktop-header :is(
    .main-header-menu > li.menu-item > a.menu-link,
    nav#primary-site-navigation-desktop a.menu-link,
    .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
    .main-navigation a,
    .menu-link,
    ul.menu > li > a
  ) {
    padding-left: clamp(.14rem, .16vw, .30rem) !important;
    padding-right: clamp(.14rem, .16vw, .30rem) !important;
    font-size: var(--argent-header-nav-font-size) !important;
    line-height: 1.06 !important;
    white-space: nowrap !important;
  }

  /* If Astra/profile CSS still positions the nav in the same visual row as
   * the logo, this direct sibling/descendant rule forces the menu past the
   * logo exclusion zone rather than merely shrinking it.
   */
  body #masthead #ast-desktop-header :is(.site-branding, .ast-site-identity) ~ :is(
    .main-header-bar-navigation,
    .main-navigation,
    .ast-builder-menu,
    nav,
    ul.menu,
    .main-header-menu
  ),
  body #masthead #ast-desktop-header :is(
    .site-header-primary-section-left,
    .ast-builder-grid-row > .site-header-section:first-child
  ) :is(
    .main-header-bar-navigation,
    .main-navigation,
    .ast-builder-menu,
    nav,
    ul.menu,
    .main-header-menu
  ) {
    margin-left: clamp(170px, 15vw, 270px) !important;
  }

  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header,
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header {
    --argent-header-logo-exclusion: clamp(430px, 35vw, 580px);
    --argent-header-nav-font-size: clamp(.56rem, .10vw + .52rem, .68rem);
  }

  html[data-amphora-profile="metro"] body #masthead #ast-desktop-header :is(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ),
  body[data-amphora-profile="metro"] #masthead #ast-desktop-header :is(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ) {
    gap: clamp(1px, .16vw, 4px) !important;
    padding-left: clamp(28px, 3vw, 58px) !important;
  }
}

/* Argent header navigation visibility restore 0.2.165.
 *
 * 0.2.164 is intentionally discarded. Its absolute-positioning model matched
 * too many Astra header wrappers and could remove the desktop navigation from
 * visible flow.  This restore returns to the last visible header state before
 * the failed right-anchor experiment.
 */

/* Argent Metro rebuilt skin 0.2.173.
 *
 * This intentionally discards the failed Metro-specific header/menu experiment
 * stack from 0.2.166-0.2.172 and rebuilds Metro as a skin over the common
 * header chassis.  Metro is allowed to keep visual personality; it is not
 * allowed to own a separate header layout.
 *
 * Important operational point: these rules are NOT gated by min-width.  The
 * live probe showed Astra can render #ast-desktop-header while browser width /
 * CSS media state does not satisfy earlier min-width gates.  The contract
 * therefore keys off the actual visible desktop header, not the viewport query.
 */
body.argent-local-branding #masthead #ast-desktop-header {
  --argent-rebuilt-header-brand-column: clamp(330px, 28vw, 455px);
  --argent-rebuilt-header-menu-font-size: clamp(.68rem, .14vw + .64rem, .84rem);
  --argent-rebuilt-header-menu-gap: clamp(5px, .38vw, 10px);
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

html[data-amphora-profile="metro"] body #masthead #ast-desktop-header,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header {
  --argent-rebuilt-header-brand-column: clamp(330px, 28vw, 455px);
  --argent-rebuilt-header-menu-font-size: 16px;
  --argent-rebuilt-header-menu-gap: 7px;
}

/* Make the actual Astra desktop header row a single shared chassis. */
body.argent-local-branding #masthead #ast-desktop-header :is(
  .ast-main-header-wrap,
  .main-header-bar-wrap,
  .ast-primary-header-bar,
  .main-header-bar,
  .site-primary-header-wrap.ast-builder-grid-row-container,
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container
),
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header :is(
  .ast-main-header-wrap,
  .main-header-bar-wrap,
  .ast-primary-header-bar,
  .main-header-bar,
  .site-primary-header-wrap.ast-builder-grid-row-container,
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container
),
body[data-amphora-profile="metro"] #masthead #ast-desktop-header :is(
  .ast-main-header-wrap,
  .main-header-bar-wrap,
  .ast-primary-header-bar,
  .main-header-bar,
  .site-primary-header-wrap.ast-builder-grid-row-container,
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container
) {
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transform: none !important;
  translate: none !important;
}

body.argent-local-branding #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container,
body.argent-local-branding #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container {
  padding-left: var(--amphora-site-inner-pad, clamp(28px, 4vw, 68px)) !important;
  padding-right: var(--amphora-site-inner-pad, clamp(28px, 4vw, 68px)) !important;
}

/* Two columns: known-good brand/logo reserve plus flexible nav column. */
body.argent-local-branding #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container
  > .ast-builder-grid-row.ast-builder-grid-row-has-sides,
body.argent-local-branding #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container
  > .ast-builder-grid-row.ast-builder-grid-row-has-sides,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container
  > .ast-builder-grid-row.ast-builder-grid-row-has-sides,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container
  > .ast-builder-grid-row.ast-builder-grid-row-has-sides,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container
  > .ast-builder-grid-row.ast-builder-grid-row-has-sides,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container
  > .ast-builder-grid-row.ast-builder-grid-row-has-sides {
  display: grid !important;
  grid-template-columns: minmax(var(--argent-rebuilt-header-brand-column), max-content) minmax(0, 1fr) !important;
  column-gap: 0 !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transform: none !important;
  translate: none !important;
}

body.argent-local-branding #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .site-header-primary-section-left.site-header-section,
body.argent-local-branding #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .ast-grid-left-section.site-header-section,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .site-header-primary-section-left.site-header-section,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .ast-grid-left-section.site-header-section,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .site-header-primary-section-left.site-header-section,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .ast-grid-left-section.site-header-section {
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: var(--argent-rebuilt-header-brand-column) !important;
  inline-size: var(--argent-rebuilt-header-brand-column) !important;
  max-width: var(--argent-rebuilt-header-brand-column) !important;
  max-inline-size: var(--argent-rebuilt-header-brand-column) !important;
  min-width: var(--argent-rebuilt-header-brand-column) !important;
  min-inline-size: var(--argent-rebuilt-header-brand-column) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  translate: none !important;
}

body.argent-local-branding #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .site-header-primary-section-right.site-header-section,
body.argent-local-branding #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .ast-grid-right-section.site-header-section,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .site-header-primary-section-right.site-header-section,
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .ast-grid-right-section.site-header-section,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .site-header-primary-section-right.site-header-section,
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides
  > .ast-grid-right-section.site-header-section {
  grid-column: 2 !important;
  justify-self: stretch !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
  transform: none !important;
  translate: none !important;
  position: relative !important;
}

body.argent-local-branding #masthead #ast-desktop-header
  .site-header-primary-section-right.site-header-section :where(
    .ast-builder-layout-element,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation,
    nav.site-navigation,
    nav#primary-site-navigation,
    nav#primary-site-navigation-desktop
  ),
body.argent-local-branding #masthead #ast-desktop-header
  .ast-grid-right-section.site-header-section :where(
    .ast-builder-layout-element,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation,
    nav.site-navigation,
    nav#primary-site-navigation,
    nav#primary-site-navigation-desktop
  ),
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .site-header-primary-section-right.site-header-section :where(
    .ast-builder-layout-element,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation,
    nav.site-navigation,
    nav#primary-site-navigation,
    nav#primary-site-navigation-desktop
  ),
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .site-header-primary-section-right.site-header-section :where(
    .ast-builder-layout-element,
    .ast-builder-menu,
    .ast-main-header-bar-alignment,
    .main-header-bar-navigation,
    .main-navigation,
    nav.site-navigation,
    nav#primary-site-navigation,
    nav#primary-site-navigation-desktop
  ) {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  max-inline-size: none !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  translate: none !important;
}

body.argent-local-branding #masthead #ast-desktop-header
  .site-header-primary-section-right.site-header-section :where(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ),
body.argent-local-branding #masthead #ast-desktop-header
  .ast-grid-right-section.site-header-section :where(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ),
html[data-amphora-profile="metro"] body #masthead #ast-desktop-header
  .site-header-primary-section-right.site-header-section :where(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ),
body[data-amphora-profile="metro"] #masthead #ast-desktop-header
  .site-header-primary-section-right.site-header-section :where(
    .main-header-menu,
    .ast-nav-menu,
    .ast-menu,
    ul.menu
  ) {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: var(--argent-rebuilt-header-menu-gap) !important;
  width: auto !important;
  inline-size: auto !important;
  max-width: 100% !important;
  max-inline-size: 100% !important;
  min-width: 0 !important;
  min-inline-size: 0 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: clamp(12px, 1.2vw, 28px) !important;
  padding-right: 0 !important;
  overflow: visible !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  translate: none !important;
}

/* Direct visible-link scale, with no body-class dependency for Metro. */
body.argent-local-branding #masthead #ast-desktop-header :where(
  .main-header-menu > li.menu-item > a.menu-link,
  nav#primary-site-navigation-desktop a.menu-link,
  .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  .main-navigation a,
  .menu-link,
  ul.menu > li > a
),
html[data-amphora-profile="metro"] #masthead #ast-desktop-header :where(
  .main-header-menu > li.menu-item > a.menu-link,
  nav#primary-site-navigation-desktop a.menu-link,
  .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  .main-navigation a,
  .menu-link,
  ul.menu > li > a
),
body[data-amphora-profile="metro"] #masthead #ast-desktop-header :where(
  .main-header-menu > li.menu-item > a.menu-link,
  nav#primary-site-navigation-desktop a.menu-link,
  .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  .main-navigation a,
  .menu-link,
  ul.menu > li > a
) {
  font-size: var(--argent-rebuilt-header-menu-font-size) !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
  padding-left: clamp(.10rem, .12vw, .24rem) !important;
  padding-right: clamp(.10rem, .12vw, .24rem) !important;
  white-space: nowrap !important;
}

html[data-amphora-profile="metro"] #masthead #ast-desktop-header :where(
  .main-header-menu > li.menu-item > a.menu-link,
  nav#primary-site-navigation-desktop a.menu-link,
  .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  .main-navigation a,
  .menu-link,
  ul.menu > li > a
),
body[data-amphora-profile="metro"] #masthead #ast-desktop-header :where(
  .main-header-menu > li.menu-item > a.menu-link,
  nav#primary-site-navigation-desktop a.menu-link,
  .ast-builder-menu-1 .main-header-menu > li.menu-item > a.menu-link,
  .main-navigation a,
  .menu-link,
  ul.menu > li > a
) {
  font-size: 16px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}

/* Argent fixed vertical profile selector 0.2.176.
 *
 * Move the optional demo style/profile selector from the page bottom to a
 * stable, narrow, fixed rail near the top-right edge.  This keeps it available
 * without scrolling while making it visually subordinate to the actual demo
 * content.  The selector remains governed by the existing
 * data-amphora-profile-switcher and hot-corner hide/show state.
 */
html[data-amphora-profile-switcher="1"] .argent-profile-switcher,
body[data-amphora-profile-switcher="1"] .argent-profile-switcher,
.argent-profile-switcher.is-enabled {
  position: fixed !important;
  top: clamp(78px, 9vh, 118px) !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 100001 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  width: 74px !important;
  max-width: 74px !important;
  max-inline-size: 74px !important;
  min-width: 0 !important;
  padding: 6px !important;
  border-radius: 12px !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-line) 72%, transparent 28%) !important;
  background: color-mix(in srgb, var(--amphora-local-panel-surface) 84%, transparent 16%) !important;
  color: var(--amphora-local-ink) !important;
  box-shadow: 0 8px 20px rgba(10, 18, 28, 0.11) !important;
  opacity: 0.72 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  box-sizing: border-box !important;
}

html[data-amphora-profile-switcher="1"] .argent-profile-switcher:hover,
html[data-amphora-profile-switcher="1"] .argent-profile-switcher:focus-within,
body[data-amphora-profile-switcher="1"] .argent-profile-switcher:hover,
body[data-amphora-profile-switcher="1"] .argent-profile-switcher:focus-within,
.argent-profile-switcher.is-enabled:hover,
.argent-profile-switcher.is-enabled:focus-within {
  opacity: 0.96 !important;
  background: color-mix(in srgb, var(--amphora-local-panel-surface) 96%, #fff 4%) !important;
  box-shadow: 0 10px 24px rgba(10, 18, 28, 0.16) !important;
}

.argent-profile-switcher .argent-profile-switcher-label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  color: var(--amphora-local-muted-ink) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.055em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.argent-profile-switcher button {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 5px 4px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.argent-profile-switcher button[aria-pressed="true"] {
  background: var(--amphora-local-accent) !important;
  border-color: var(--amphora-local-accent) !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  html[data-amphora-profile-switcher="1"] .argent-profile-switcher,
  body[data-amphora-profile-switcher="1"] .argent-profile-switcher,
  .argent-profile-switcher.is-enabled {
    top: 72px !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    width: 70px !important;
    max-width: 70px !important;
    max-inline-size: 70px !important;
    padding: 5px !important;
    border-radius: 11px !important;
    flex-wrap: nowrap !important;
  }

  .argent-profile-switcher button {
    padding: 5px 3px !important;
    font-size: 9.5px !important;
  }
}

/* Argent fixed vertical profile selector hide restore 0.2.177.
 *
 * 0.2.176 correctly moved the selector into a fixed vertical rail, but its
 * late display:flex rule outranked the older hot-corner hidden-state rule.
 * Re-assert the hidden state after the fixed-rail rules so the existing
 * hot-corner/localStorage toggle can hide the selector again.
 */
html[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher,
html[data-argent-profile-switcher-hidden="1"] body .argent-profile-switcher,
body[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher,
html[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher.is-enabled,
html[data-argent-profile-switcher-hidden="1"] body .argent-profile-switcher.is-enabled,
body[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher.is-enabled,
html[data-argent-profile-switcher-hidden="1"][data-amphora-profile-switcher="1"] .argent-profile-switcher,
html[data-argent-profile-switcher-hidden="1"] body[data-amphora-profile-switcher="1"] .argent-profile-switcher,
body[data-argent-profile-switcher-hidden="1"][data-amphora-profile-switcher="1"] .argent-profile-switcher {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher-hot-corner,
body[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher-hot-corner {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Profile/style selector first-paint suppression 0.2.179.
 * The selector is a demo-only control. Keep it hidden by default so a stored
 * hidden/off state cannot flash during page load before footer JavaScript
 * reapplies localStorage state. JavaScript may reveal it by adding
 * `.is-enabled` and clearing the hidden state.
 */
.argent-profile-switcher {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html[data-amphora-profile-switcher="1"]:not([data-argent-profile-switcher-hidden="1"]) body .argent-profile-switcher.is-enabled,
body[data-amphora-profile-switcher="1"]:not([data-argent-profile-switcher-hidden="1"]) .argent-profile-switcher.is-enabled {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

html[data-argent-profile-switcher-hidden="1"] body .argent-profile-switcher,
body[data-argent-profile-switcher-hidden="1"] .argent-profile-switcher {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Governed listing headline scale refinement 0.2.180.
 * The listing H1 was reading too heroic/shouty relative to the rest of the
 * mature real-estate page hierarchy. Reduce only the governed listing title
 * scale; leave body copy, facts, chips, buttons, forms, and local pages alone.
 */
body.argent-local-branding .savvy-pagecache-embed[data-page-type="listing"] h1,
body.argent-local-branding .pagecache-public-root[data-page-type="listing"] h1,
body.argent-local-branding .savvy-pagecache-embed[data-page-type="listing"] .pagecache-listing-title,
body.argent-local-branding .pagecache-public-root[data-page-type="listing"] .pagecache-listing-title {
  font-size: clamp(2.35rem, 3.2vw, 3.65rem) !important;
  line-height: 1.045 !important;
  letter-spacing: -0.038em !important;
}


/* Argent website prose heading spacing 0.2.190.
 * Schemas emits website-only prose section headings as `.pagecache-prose-heading`.
 * The default governed output is structurally correct, but the Argent site needs
 * a little more readable air below these headings so the first paragraph does
 * not feel glued to the label. Keep this as theme presentation only; Schemas
 * still owns parsing/projection and non-website stripping.
 */
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root .pagecache-prose-heading {
  margin-block: clamp(1.35rem, 1.8vw, 1.95rem) clamp(0.72rem, 1.05vw, 1rem) !important;
  line-height: 1.18 !important;
}

body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root .pagecache-prose-heading:first-child {
  margin-block-start: 0 !important;
}

body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root .pagecache-prose-heading + p {
  margin-block-start: 0 !important;
}


/* Argent Search Panel V1.0.0 ungoverned consumer.
 * Local Home/Search consume the Schemas/Pagecache Search Panel V1 fragment and
 * must keep the same canonical panel anatomy as governed pages.
 */
body.argent-local-home .pagecache-search-actions,
body.argent-local-search .pagecache-search-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin-top: 16px !important;
}

body.argent-local-home .pagecache-search-actions-left,
body.argent-local-search .pagecache-search-actions-left {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
}

body.argent-local-home .pagecache-search-actions input[type='search'],
body.argent-local-home .pagecache-search-actions .pagecache-search-actions-input,
body.argent-local-search .pagecache-search-actions input[type='search'],
body.argent-local-search .pagecache-search-actions .pagecache-search-actions-input {
  box-sizing: border-box !important;
  flex: 0 1 clamp(18rem, 30vw, 34rem) !important;
  width: clamp(18rem, 30vw, 34rem) !important;
  max-width: 100% !important;
  min-width: min(100%, 18rem) !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--amphora-local-line, #d8e0ea) !important;
  border-radius: 999px !important;
  background: var(--amphora-local-card-surface, #fff) !important;
  color: var(--amphora-local-ink, #123) !important;
  font: inherit !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.argent-local-home .pagecache-search-actions .pagecache-action-button,
body.argent-local-home .pagecache-search-actions button.pagecache-action-button,
body.argent-local-home .pagecache-search-actions a.pagecache-action-button,
body.argent-local-search .pagecache-search-actions .pagecache-action-button,
body.argent-local-search .pagecache-search-actions button.pagecache-action-button,
body.argent-local-search .pagecache-search-actions a.pagecache-action-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 9px 16px !important;
  gap: .56rem !important;
  flex: 0 0 auto !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent, #215d92) 54%, var(--amphora-local-line, #d8e0ea)) !important;
  border-radius: 999px !important;
  background: var(--amphora-local-card-surface, #fff) !important;
  color: var(--amphora-local-accent, #215d92) !important;
  font: inherit !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  box-shadow: 0 6px 14px rgba(18,34,52,.08) !important;
}

body.argent-local-home .pagecache-search-actions-favorites,
body.argent-local-home .pagecache-search-actions .pagecache-saved-listings-link,
body.argent-local-search .pagecache-search-actions-favorites,
body.argent-local-search .pagecache-search-actions .pagecache-saved-listings-link {
  margin-left: auto !important;
}

body.argent-local-home .pagecache-search-actions .pagecache-saved-listings-link-favorite,
body.argent-local-search .pagecache-search-actions .pagecache-saved-listings-link-favorite {
  --pagecache-favorite-icon-size: 20px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 18px !important;
  min-width: 20px !important;
  min-height: 18px !important;
  max-width: 20px !important;
  max-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--amphora-local-accent, #215d92) !important;
}

body.argent-local-home .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon-slot,
body.argent-local-home .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon,
body.argent-local-search .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon-slot,
body.argent-local-search .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon {
  width: 20px !important;
  height: 18px !important;
  min-width: 20px !important;
  min-height: 18px !important;
}

body.argent-local-home .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon,
body.argent-local-search .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon {
  display: block !important;
  margin: 0 auto !important;
  background-color: transparent !important;
  background-image: var(--pagecache-favorite-on-image) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  -webkit-mask: none !important;
  mask: none !important;
}

@media (max-width: 720px) {
  body.argent-local-home .pagecache-search-actions,
  body.argent-local-home .pagecache-search-actions-left,
  body.argent-local-search .pagecache-search-actions,
  body.argent-local-search .pagecache-search-actions-left {
    align-items: stretch !important;
  }

  body.argent-local-home .pagecache-search-actions-left,
  body.argent-local-home .pagecache-search-actions input[type='search'],
  body.argent-local-home .pagecache-search-actions .pagecache-search-actions-input,
  body.argent-local-home .pagecache-search-actions .pagecache-action-button,
  body.argent-local-search .pagecache-search-actions-left,
  body.argent-local-search .pagecache-search-actions input[type='search'],
  body.argent-local-search .pagecache-search-actions .pagecache-search-actions-input,
  body.argent-local-search .pagecache-search-actions .pagecache-action-button {
    width: 100% !important;
  }

  body.argent-local-home .pagecache-search-actions-favorites,
  body.argent-local-home .pagecache-search-actions .pagecache-saved-listings-link,
  body.argent-local-search .pagecache-search-actions-favorites,
  body.argent-local-search .pagecache-search-actions .pagecache-saved-listings-link {
    margin-left: 0 !important;
  }
}


/* Argent Search Panel V1.0.1 row geometry refinement.
 * Keep the canonical Search Panel anatomy on one line at desktop/tablet widths,
 * let the input claim the available middle space for longer placeholders, and
 * reserve deliberate air before the Favorites control.
 */
body.argent-local-branding .pagecache-search-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(10px, 1.1vw, 16px) !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-left {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(10px, 1.1vw, 16px) !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}

body.argent-local-branding .pagecache-search-actions input[type='search'],
body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-input {
  flex: 1 1 clamp(24rem, 48vw, 58rem) !important;
  width: auto !important;
  min-width: min(100%, 20rem) !important;
  max-width: none !important;
}

body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-clear,
body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-submit {
  flex: 0 0 auto !important;
}

body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-favorites,
body.argent-local-branding .pagecache-search-actions .pagecache-saved-listings-link {
  flex: 0 0 auto !important;
  margin-left: clamp(24px, 3.2vw, 64px) !important;
}

body.argent-local-branding .pagecache-search-actions .pagecache-saved-listings-link-favorite {
  --pagecache-favorite-icon-size: 20px;
  --pagecache-favorite-on-image: var(--argent-local-favorite-on-image);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 18px !important;
  min-width: 20px !important;
  min-height: 18px !important;
  margin: 0 .44rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.argent-local-branding .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon-slot,
body.argent-local-branding .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon {
  width: 20px !important;
  height: 18px !important;
  min-width: 20px !important;
  min-height: 18px !important;
}

body.argent-local-branding .pagecache-search-actions .pagecache-saved-listings-link-favorite .pagecache-listing-favorite-icon {
  display: block !important;
  margin: 0 auto !important;
  background-color: transparent !important;
  background-image: var(--pagecache-favorite-on-image) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  -webkit-mask: none !important;
  mask: none !important;
}

@media (max-width: 980px) {
  body.argent-local-branding .pagecache-search-actions {
    flex-wrap: wrap !important;
  }

  body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-left {
    flex: 1 1 100% !important;
    flex-wrap: wrap !important;
  }

  body.argent-local-branding .pagecache-search-actions .pagecache-search-actions-favorites,
  body.argent-local-branding .pagecache-search-actions .pagecache-saved-listings-link {
    margin-left: 0 !important;
  }
}

/* Argent Search Panel V1.0.2 canonical proportions.
 * The Home-page Search Panel proportions are now the local visual target for
 * every caller.  Governed Pagecache listing/search panels inherit legacy
 * `.pagecache-home-search` rules, so this terminal block neutralizes the old
 * oversized framed panel treatment and normalizes the controls to the same
 * compact row language used by the ungoverned Home panel.
 */
body.argent-local-branding form.pagecache-search-actions,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(12px, 1.25vw, 18px) !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin-top: clamp(14px, 1.4vw, 18px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-left,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-left,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-left {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(12px, 1.25vw, 18px) !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}

body.argent-local-branding form.pagecache-search-actions input[type='search'],
body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-input,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search input[type='search'],
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search input[type='search'],
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input {
  box-sizing: border-box !important;
  flex: 1 1 clamp(34rem, 58vw, 76rem) !important;
  width: auto !important;
  min-width: min(100%, 20rem) !important;
  max-width: none !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-line, #d8e0ea) 70%, var(--amphora-local-accent, #215d92) 30%) !important;
  border-radius: 999px !important;
  background: var(--amphora-local-card-surface, #fffdf8) !important;
  color: var(--amphora-local-ink, #123) !important;
  font: inherit !important;
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  font-weight: 520 !important;
  line-height: 46px !important;
  box-shadow: 0 6px 14px rgba(18, 34, 52, .08) !important;
  opacity: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.argent-local-branding form.pagecache-search-actions input[type='search']::placeholder,
body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-input::placeholder,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search input[type='search']::placeholder,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input::placeholder,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search input[type='search']::placeholder,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input::placeholder {
  color: color-mix(in srgb, var(--amphora-local-muted-ink, #5f6f78) 72%, white 28%) !important;
  font-weight: 520 !important;
  opacity: .72 !important;
}

body.argent-local-branding form.pagecache-search-actions .pagecache-action-button,
body.argent-local-branding form.pagecache-search-actions button.pagecache-action-button,
body.argent-local-branding form.pagecache-search-actions a.pagecache-action-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-action-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search button.pagecache-action-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search a.pagecache-action-button,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-action-button,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search button.pagecache-action-button,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search a.pagecache-action-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: auto !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 clamp(18px, 1.7vw, 26px) !important;
  gap: .58rem !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent, #215d92) 54%, var(--amphora-local-line, #d8e0ea) 46%) !important;
  border-radius: 999px !important;
  background: var(--amphora-local-card-surface, #fffdf8) !important;
  color: var(--amphora-local-accent, #215d92) !important;
  font: inherit !important;
  font-size: clamp(1rem, 1.05vw, 1.12rem) !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  opacity: .9 !important;
  box-shadow: 0 6px 14px rgba(18, 34, 52, .08) !important;
}

body.argent-local-branding form.pagecache-search-actions .pagecache-action-button:hover,
body.argent-local-branding form.pagecache-search-actions .pagecache-action-button:focus-visible,
body.argent-local-branding form.pagecache-search-actions button.pagecache-action-button:hover,
body.argent-local-branding form.pagecache-search-actions button.pagecache-action-button:focus-visible,
body.argent-local-branding form.pagecache-search-actions a.pagecache-action-button:hover,
body.argent-local-branding form.pagecache-search-actions a.pagecache-action-button:focus-visible,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-action-button:hover,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-action-button:focus-visible,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-action-button:hover,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-action-button:focus-visible {
  color: var(--amphora-local-accent, #215d92) !important;
  background: color-mix(in srgb, var(--amphora-local-accent, #215d92) 10%, var(--amphora-local-card-surface, #fffdf8) 90%) !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-clear,
body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-submit,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-clear,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-submit,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-clear,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-submit {
  min-width: clamp(78px, 6vw, 108px) !important;
}

body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-favorites,
body.argent-local-branding form.pagecache-search-actions .pagecache-saved-listings-link,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-favorites,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-saved-listings-link,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-favorites,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-saved-listings-link {
  min-width: clamp(126px, 10vw, 168px) !important;
  margin-left: clamp(28px, 4vw, 88px) !important;
}

@media (max-width: 980px) {
  body.argent-local-branding form.pagecache-search-actions,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search {
    flex-wrap: wrap !important;
  }

  body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-left,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-left,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-left {
    flex: 1 1 100% !important;
    flex-wrap: nowrap !important;
  }

  body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-favorites,
  body.argent-local-branding form.pagecache-search-actions .pagecache-saved-listings-link,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-favorites,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-saved-listings-link,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-favorites,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-saved-listings-link {
    margin-left: 0 !important;
  }
}

@media (max-width: 720px) {
  body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-left,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-left,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-left {
    flex-wrap: wrap !important;
  }

  body.argent-local-branding form.pagecache-search-actions input[type='search'],
  body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-input,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search input[type='search'],
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search input[type='search'],
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input,
  body.argent-local-branding form.pagecache-search-actions .pagecache-action-button,
  body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-action-button,
  body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-action-button {
    width: 100% !important;
  }
}



/* Argent Search Panel V1.0.3 copy and shadow refinement.
 * Home pages with an explanatory federated-search line use concise placeholder
 * copy, and every Search Panel control inherits one local component shadow token
 * so inputs and action pills read as a single control family.
 */
body.argent-local-branding {
  --argent-search-panel-control-shadow: 0 6px 14px rgba(18, 34, 52, .08);
}




/* Argent Search Panel V1.0.4 local shadow inheritance.
 * The Search Panel does not define its own unrelated shadow palette.  It now
 * inherits the local/profile shadow vocabulary first, falling back only when a
 * local profile does not provide one.
 */
body.argent-local-branding {
  --argent-search-panel-control-shadow: var(--argent-local-control-shadow, 0 6px 14px var(--amphora-profile-shadow, rgba(18, 34, 52, .08)));
}



/* Argent Search Panel V1.0.5 profile-wide shadow tokens.
 * One-off shadow styling is not a profile doctrine.  Every profile now exposes
 * the same configurable token names for lightweight controls and heavier panels;
 * Search Panel consumes the control token, while feature modals/panels consume
 * the panel token.  Segment/Features participates in the shared card-family
 * selector after the source-level 1.0.10 cleanup below.
 */
body.argent-local-branding {
  --argent-local-control-shadow: 0 6px 14px rgba(18, 34, 52, .08);
  --argent-local-panel-shadow: var(--amphora-profile-card-shadow, 0 18px 42px rgba(12, 32, 48, .10));
  --argent-search-panel-control-shadow: var(--argent-local-control-shadow);
}

body[data-amphora-profile="coastal"].argent-local-branding,
html[data-amphora-profile="coastal"] body.argent-local-branding {
  --argent-local-control-shadow: 0 6px 14px rgba(31, 122, 140, .10);
  --argent-local-panel-shadow: 0 18px 42px rgba(18, 86, 101, .12);
}

body[data-amphora-profile="metro"].argent-local-branding,
html[data-amphora-profile="metro"] body.argent-local-branding {
  --argent-local-control-shadow: 0 6px 14px rgba(22, 23, 30, .12);
  --argent-local-panel-shadow: 0 12px 24px rgba(22, 23, 30, .14);
}

body[data-amphora-profile="estate"].argent-local-branding,
html[data-amphora-profile="estate"] body.argent-local-branding {
  --argent-local-control-shadow: 0 6px 14px rgba(51, 64, 31, .10);
  --argent-local-panel-shadow: 0 18px 38px rgba(51, 64, 31, .13);
}

body.argent-local-branding form.pagecache-search-actions input[type='search'],
body.argent-local-branding form.pagecache-search-actions .pagecache-search-actions-input,
body.argent-local-branding form.pagecache-search-actions .pagecache-action-button,
body.argent-local-branding form.pagecache-search-actions button.pagecache-action-button,
body.argent-local-branding form.pagecache-search-actions a.pagecache-action-button,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search input[type='search'],
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input,
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page form.pagecache-search-actions.pagecache-home-search .pagecache-action-button,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search input[type='search'],
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-search-actions-input,
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root form.pagecache-search-actions.pagecache-home-search .pagecache-action-button {
  box-shadow: var(--argent-search-panel-control-shadow) !important;
}

body[data-amphora-profile="coastal"] :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
body[data-amphora-profile="metro"] :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
body[data-amphora-profile="estate"] :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="coastal"] body :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="metro"] body :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel),
html[data-amphora-profile="estate"] body :is(.pagecache-listing-feature-modal, .pagecache-listing-feature-panel) {
  box-shadow: var(--argent-local-panel-shadow) !important;
}


/* Argent local card-family token consolidation 1.0.11.
 * Segment/Features is a card-family panel, not a bespoke rail.  Cards,
 * local content cards, listing result cards, and the Segment/Features rail all
 * consume one profile/local token bundle here.  Profile differences belong in
 * token values; the Segment/Features rail must not carry an independent
 * perimeter recipe for border, radius, shadow, outline, or background.
 */
body.argent-local-branding {
  --argent-local-card-family-background: var(--amphora-local-card-surface, var(--amphora-local-panel-surface, #fffdf6));
  --argent-local-card-family-border: 1px solid var(--amphora-profile-card-border, var(--amphora-local-line, #d8d0b9));
  --argent-local-card-family-radius: var(--amphora-profile-card-radius, var(--amphora-card-radius, 18px));
  --argent-local-card-family-shadow: var(--amphora-profile-card-shadow, 0 10px 24px rgba(12, 32, 48, .08));
}

body[data-amphora-profile="coastal"].argent-local-branding,
html[data-amphora-profile="coastal"] body.argent-local-branding {
  --argent-local-card-family-background: var(--amphora-local-card-surface, #f8fcfc);
  --argent-local-card-family-border: 1px solid var(--amphora-profile-card-border, #bcdade);
  --argent-local-card-family-radius: var(--amphora-profile-card-radius, 28px);
  --argent-local-card-family-shadow: var(--amphora-profile-card-shadow, 0 18px 42px rgba(18, 86, 101, .12));
}

body[data-amphora-profile="metro"].argent-local-branding,
html[data-amphora-profile="metro"] body.argent-local-branding {
  --argent-local-card-family-background: var(--amphora-local-card-surface, #fbfaf7);
  --argent-local-card-family-border: 1px solid var(--amphora-profile-card-border, #cfc5b7);
  --argent-local-card-family-radius: var(--amphora-profile-card-radius, 9px);
  --argent-local-card-family-shadow: var(--amphora-profile-card-shadow, 0 12px 24px rgba(22, 23, 30, .14));
}

body[data-amphora-profile="estate"].argent-local-branding,
html[data-amphora-profile="estate"] body.argent-local-branding {
  --argent-local-card-family-background: var(--amphora-local-card-surface, #fffdf5);
  --argent-local-card-family-border: 1px solid var(--amphora-profile-card-border, #cfc39a);
  --argent-local-card-family-radius: var(--amphora-profile-card-radius, 24px);
  --argent-local-card-family-shadow: var(--amphora-profile-card-shadow, 0 18px 38px rgba(51, 64, 31, .13));
}

body.argent-local-branding :is(
  .pagecache-card,
  .pagecache-listing-result-card,
  .argent-home-card,
  .argent-ordinary-card,
  .argent-blog-card,
  .pagecache-listing-segment-filter
),
html body.argent-local-branding :is(
  .pagecache-card,
  .pagecache-listing-result-card,
  .argent-home-card,
  .argent-ordinary-card,
  .argent-blog-card,
  .pagecache-listing-segment-filter
) {
  background: var(--argent-local-card-family-background) !important;
  border: var(--argent-local-card-family-border) !important;
  border-radius: var(--argent-local-card-family-radius) !important;
  box-shadow: var(--argent-local-card-family-shadow) !important;
  outline: 0 !important;
  outline-offset: 0 !important;
}

body.argent-local-branding .pagecache-listing-segment-filter::before,
body.argent-local-branding .pagecache-listing-segment-filter::after,
html body.argent-local-branding .pagecache-listing-segment-filter::before,
html body.argent-local-branding .pagecache-listing-segment-filter::after {
  border: 0 !important;
  box-shadow: none !important;
  content: none !important;
  display: none !important;
}


/* Argent local control-family token consolidation 1.0.12.
 * The Segment/Features rail is already classified as a card-family panel; its
 * inner select/search-like controls must not keep a separate bespoke perimeter
 * recipe.  Search Panel controls, Segment/Features controls, and other pill
 * controls consume one shared local/profile control token bundle here.  Profile
 * differences belong in token values, not in per-widget border/radius recipes.
 */
body.argent-local-branding {
  --argent-local-control-family-background: var(--amphora-local-panel-surface, var(--amphora-local-card-surface, #fffdf8));
  --argent-local-control-family-border: 1px solid color-mix(in srgb, var(--amphora-local-accent, #4f7180) 44%, var(--amphora-local-line, #d9d4c8) 56%);
  --argent-local-control-family-radius: var(--amphora-profile-control-radius, 999px);
  --argent-local-control-family-shadow: var(--argent-local-control-shadow, 0 6px 14px rgba(18, 34, 52, .08));
}

body[data-amphora-profile="coastal"].argent-local-branding,
html[data-amphora-profile="coastal"] body.argent-local-branding {
  --argent-local-control-family-background: var(--amphora-local-panel-surface, #f7ffff);
  --argent-local-control-family-border: 1px solid color-mix(in srgb, var(--amphora-local-accent, #278b98) 50%, var(--amphora-profile-card-border, #bcdade) 50%);
  --argent-local-control-family-radius: var(--amphora-profile-control-radius, 999px);
  --argent-local-control-family-shadow: var(--argent-local-control-shadow, 0 6px 14px rgba(31, 122, 140, .10));
}

body[data-amphora-profile="metro"].argent-local-branding,
html[data-amphora-profile="metro"] body.argent-local-branding {
  --argent-local-control-family-background: var(--amphora-local-panel-surface, #fffdf9);
  --argent-local-control-family-border: 1px solid color-mix(in srgb, var(--amphora-local-accent, #6e3f2d) 46%, var(--amphora-profile-card-border, #cfc5b7) 54%);
  --argent-local-control-family-radius: var(--amphora-profile-control-radius, 6px);
  --argent-local-control-family-shadow: var(--argent-local-control-shadow, 0 6px 14px rgba(22, 23, 30, .12));
}

body[data-amphora-profile="estate"].argent-local-branding,
html[data-amphora-profile="estate"] body.argent-local-branding {
  --argent-local-control-family-background: var(--amphora-local-panel-surface, #fffdf5);
  --argent-local-control-family-border: 1px solid color-mix(in srgb, var(--amphora-local-accent, #7d8747) 42%, var(--amphora-profile-card-border, #cfc39a) 58%);
  --argent-local-control-family-radius: var(--amphora-profile-control-radius, 14px);
  --argent-local-control-family-shadow: var(--argent-local-control-shadow, 0 6px 14px rgba(51, 64, 31, .10));
}

body.argent-local-branding :is(
  form.pagecache-search-actions input[type='search'],
  form.pagecache-search-actions .pagecache-search-actions-input,
  form.pagecache-search-actions .pagecache-action-button,
  form.pagecache-search-actions button.pagecache-action-button,
  form.pagecache-search-actions a.pagecache-action-button,
  .pagecache-listing-segment-filter .pagecache-listing-segment-control select,
  .pagecache-listing-segment-filter .pagecache-listing-filter-control select,
  .pagecache-listing-segment-filter .pagecache-listing-feature-button,
  .pagecache-listing-segment-filter .pagecache-listing-filter-control button,
  .pagecache-listing-segment-filter .pagecache-listing-filter-control .pagecache-action-button,
  .pagecache-listing-category-tabs a,
  .pagecache-listing-lane-tabs a,
  .pagecache-listing-lane-nav a,
  .pagecache-listing-segment-pills a,
  .pagecache-listing-segment-tabs a
),
html body.argent-local-branding :is(
  form.pagecache-search-actions input[type='search'],
  form.pagecache-search-actions .pagecache-search-actions-input,
  form.pagecache-search-actions .pagecache-action-button,
  form.pagecache-search-actions button.pagecache-action-button,
  form.pagecache-search-actions a.pagecache-action-button,
  .pagecache-listing-segment-filter .pagecache-listing-segment-control select,
  .pagecache-listing-segment-filter .pagecache-listing-filter-control select,
  .pagecache-listing-segment-filter .pagecache-listing-feature-button,
  .pagecache-listing-segment-filter .pagecache-listing-filter-control button,
  .pagecache-listing-segment-filter .pagecache-listing-filter-control .pagecache-action-button,
  .pagecache-listing-category-tabs a,
  .pagecache-listing-lane-tabs a,
  .pagecache-listing-lane-nav a,
  .pagecache-listing-segment-pills a,
  .pagecache-listing-segment-tabs a
) {
  background: var(--argent-local-control-family-background) !important;
  border: var(--argent-local-control-family-border) !important;
  border-radius: var(--argent-local-control-family-radius) !important;
  box-shadow: var(--argent-local-control-family-shadow) !important;
  outline: 0 !important;
  outline-offset: 0 !important;
}




/* Argent profile layout cleanup 1.3.14.
 * Collapse legacy empty agent headshot slots and stack office contact values
 * at the left edge while Schemas canonical output is rebuilt.
 */
body.argent-local-branding .pagecache-public-root.pagecache-agent-page .pagecache-agent-intro:has(.pagecache-agent-headshot:empty),
body.argent-local-branding .pagecache-public-root.pagecache-agent-page .pagecache-agent-intro.pagecache-agent-intro-no-photo {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-agent-page .pagecache-agent-intro .pagecache-agent-headshot:empty {
  display: none !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-office-page .pagecache-contact-inline {
  display: grid !important;
  grid-template-columns: minmax(0, max-content) !important;
  justify-items: start !important;
  align-items: start !important;
  justify-content: start !important;
  gap: 8px !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-office-page .pagecache-contact-inline span {
  width: fit-content !important;
  max-width: 100% !important;
  white-space: normal !important;
}

/* Argent Search Panel icon-first bridge 1.3.46.
 * Static replacement for former wp_head inline style
 * argent-search-icon-first-critical-1-3-13. Keeps legacy pagecache
 * home-search action controls icon-first without per-request CSS emission.
 */
html body.argent-local-branding {
  --argent-critical-search-icon-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 8 L24 24 M24 8 L8 24' fill='none' stroke='black' stroke-width='4.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --argent-critical-search-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M14.2 6.8a7.4 7.4 0 1 1 0 14.8a7.4 7.4 0 0 1 0-14.8Zm5.35 12.75L26 26' fill='none' stroke='black' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --argent-critical-search-icon-size: clamp(30px, 2.10vw, 34px);
  --argent-critical-search-button-width: clamp(48px, 3.65vw, 56px);
  --argent-critical-search-button-height: clamp(46px, 3.6vw, 52px);
}

html body.argent-local-branding form.pagecache-search-actions.pagecache-home-search[data-pagecache-search-actions='1'] :is(.pagecache-search-actions-clear, .argent-pagecache-search-clear-button, .pagecache-search-actions-submit, [aria-label='Clear search'], [aria-label='Search']) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 var(--argent-critical-search-button-width) !important;
  inline-size: var(--argent-critical-search-button-width) !important;
  min-inline-size: var(--argent-critical-search-button-width) !important;
  max-inline-size: var(--argent-critical-search-button-width) !important;
  height: var(--argent-critical-search-button-height) !important;
  min-height: var(--argent-critical-search-button-height) !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.argent-local-branding form.pagecache-search-actions.pagecache-home-search[data-pagecache-search-actions='1'] :is(.pagecache-search-actions-clear, .argent-pagecache-search-clear-button, .pagecache-search-actions-submit, [aria-label='Clear search'], [aria-label='Search'])::before {
  content: '' !important;
  position: absolute !important;
  inset-block-start: 50% !important;
  inset-inline-start: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
  inline-size: var(--argent-critical-search-icon-size) !important;
  block-size: var(--argent-critical-search-icon-size) !important;
  background-color: currentColor !important;
}

html body.argent-local-branding form.pagecache-search-actions.pagecache-home-search[data-pagecache-search-actions='1'] :is(.pagecache-search-actions-clear, .argent-pagecache-search-clear-button, [aria-label='Clear search'])::before {
  -webkit-mask: var(--argent-critical-search-icon-x) center / contain no-repeat !important;
  mask: var(--argent-critical-search-icon-x) center / contain no-repeat !important;
}

html body.argent-local-branding form.pagecache-search-actions.pagecache-home-search[data-pagecache-search-actions='1'] :is(.pagecache-search-actions-submit, [aria-label='Search'])::before {
  -webkit-mask: var(--argent-critical-search-icon-search) center / contain no-repeat !important;
  mask: var(--argent-critical-search-icon-search) center / contain no-repeat !important;
}

/* Argent non-owner footer tear-out 1.4.10.
 *
 * Direct governed-footer presentation selectors were removed from this
 * non-owner layer. argent-10-chrome-footer.css is the sole owner of footer
 * geometry, attachment, typography, compliance marks, divider, surface, and
 * page-termination behavior.
 *
 * Structural selectors that merely exclude the footer with :not(...) or test
 * for footer presence with :has(...) remain intact.
 */

