/*
 * Priority 8J4 / Argent 1.5.47 — vessel_footer_v1 presentation isolation.
 *
 * Legacy local/footer-convergence rules in this file remain available for
 * their historical attachment classes, but MUST NOT style Amphora's current
 * global neutral vessel footer. The current wrapper is identified explicitly
 * by data-page-variant="vessel_footer_v1" and data-amphora-global-footer="1".
 * Attribute exclusions below keep those legacy rules off that representation.
 */

/*
 * Local chrome, masthead/logo/menu/footer and ordinary page foundations.
 * Extracted from accepted Argent 1.1.57 visual/audit state during 1.1.58
 * WordPress-conventional CSS stack reconstruction.
 */

/*
 * Federated search result wiring 0.2.18.
 * Local WordPress-owned search presentation keeps governed pagecache lanes
 * visually distinct from the local site content lane.
 */
.argent-search-result-groups {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.argent-search-result-lane {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--amphora-local-line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--amphora-local-panel-surface) 84%, transparent);
}

.argent-search-result-lane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.argent-search-result-lane-heading h3 {
  margin: 0;
  color: var(--amphora-local-ink);
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  letter-spacing: -0.01em;
}

.argent-search-result-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  min-height: 2.1em;
  padding: 0 0.7em;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 42%, var(--amphora-local-line));
  border-radius: 999px;
  color: var(--amphora-local-ink);
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-panel-surface));
  font-weight: 800;
  font-size: 0.86rem;
}

.argent-search-result-list {
  display: grid;
  gap: 12px;
}

.argent-search-result-card {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
  border: 1px solid color-mix(in srgb, var(--amphora-local-line) 82%, transparent);
  border-radius: 16px;
  background: var(--amphora-local-card-surface);
}

.argent-search-result-card h4 {
  margin: 0;
  color: var(--amphora-local-ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.argent-search-result-card h4 a {
  color: inherit;
  text-decoration: none;
}

.argent-search-result-card h4 a:hover,
.argent-search-result-card h4 a:focus-visible {
  color: var(--amphora-local-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.argent-search-result-card p {
  margin: 0;
  color: var(--amphora-local-muted-ink);
  line-height: 1.48;
}

.argent-search-result-meta {
  color: var(--amphora-local-muted-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.argent-search-lane-more {
  justify-self: start;
  color: var(--amphora-local-accent);
  font-weight: 800;
  text-decoration: none;
}

.argent-search-lane-more:hover,
.argent-search-lane-more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.argent-search-no-results,
.argent-search-error {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--amphora-local-line);
  border-radius: 22px;
  color: var(--amphora-local-muted-ink);
  background: color-mix(in srgb, var(--amphora-local-panel-surface) 82%, transparent);
}

.argent-search-no-results h3 {
  margin: 0 0 8px;
  color: var(--amphora-local-ink);
}

.argent-search-no-results p,
.argent-search-error {
  margin: 0;
}

.argent-search-error {
  border-color: color-mix(in srgb, #b00020 32%, var(--amphora-local-line));
}

@media (max-width: 680px) {
  .argent-search-result-lane-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* -------------------------------------------------------------------------
 * Governed listings favorite/icon accommodation 1.0.13.
 *
 * Pagecache owns the listing-card markup and favorite-state behavior.  The
 * local site owns the icon treatment and sizing.  The default favorite
 * artwork is now two local SVG image assets, so a customer theme can replace
 * the off/on images without changing pagecache behavior or accessibility labels.
 * ---------------------------------------------------------------------- */
:root {
  --argent-local-favorite-icon-width: 20px;
  --argent-local-favorite-icon-height: 18px;
  --argent-local-favorite-icon-size: var(--argent-local-favorite-icon-width);
  --argent-local-favorite-off-image: url("../favorite-heart-off.svg");
  --argent-local-favorite-on-image: url("../favorite-heart-on.svg");
  /* Favorite icon variable bridge 1.3.42.
   * Static replacement for the former adapter wp_add_inline_style block.
   */
  --amphora-listing-favorite-off-image: var(--argent-local-favorite-off-image);
  --amphora-listing-favorite-on-image: var(--argent-local-favorite-on-image);
  --argent-local-favorite-focus-color: #c84b5a;
}

body.argent-local-branding .pagecache-public-root .pagecache-listings-grid {
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)) !important;
  gap: 14px 18px !important;
}

body.argent-local-branding .pagecache-public-root .pagecache-listing-card-head {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  justify-content: start !important;
  column-gap: 0.42rem !important;
  min-width: 0 !important;
}

body.argent-local-branding .pagecache-public-root .pagecache-listing-card-head > a,
body.argent-local-branding .pagecache-public-root .pagecache-listing-card-head h2 {
  min-width: 0 !important;
  font-size: 1.28rem !important;
  line-height: 1.08 !important;
}

body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle {
  --pagecache-favorite-icon-width: var(--argent-local-favorite-icon-width);
  --pagecache-favorite-icon-height: var(--argent-local-favorite-icon-height);
  --pagecache-favorite-icon-size: var(--argent-local-favorite-icon-width);
  --pagecache-favorite-off-image: var(--argent-local-favorite-off-image);
  --pagecache-favorite-on-image: var(--argent-local-favorite-on-image);
  --pagecache-favorite-focus-color: var(--argent-local-favorite-focus-color);
  appearance: none !important;
  -webkit-appearance: none !important;
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  width: var(--pagecache-favorite-icon-width) !important;
  height: var(--pagecache-favorite-icon-height) !important;
  min-width: var(--pagecache-favorite-icon-width) !important;
  min-height: var(--pagecache-favorite-icon-height) !important;
  max-width: var(--pagecache-favorite-icon-width) !important;
  max-height: var(--pagecache-favorite-icon-height) !important;
  align-self: center !important;
  margin: 0 !important;
  transform: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  cursor: pointer !important;
}

body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle:hover,
body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle:focus-visible {
  background: color-mix(in srgb, var(--pagecache-favorite-focus-color) 10%, transparent) !important;
  color: inherit !important;
  outline: none !important;
}

body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pagecache-favorite-focus-color) 24%, transparent) !important;
}

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

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

body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle[aria-pressed="true"] .pagecache-listing-favorite-icon,
body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle.is-saved .pagecache-listing-favorite-icon {
  background-image: var(--pagecache-favorite-on-image) !important;
}

body.argent-local-branding .pagecache-public-root button.pagecache-listing-favorite-toggle .pagecache-listing-favorite-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* -------------------------------------------------------------------------
 * Local chrome visible scale reset 0.2.34.
 *
 * Source-stored companion to the wp_head override in functions.php.  This
 * pass intentionally makes the header menu and governed breadcrumb visibly
 * larger after the failed/tiny 0.2.29-0.2.33 trials, without touching media,
 * QR, footer, Listings state behavior, adapter PHP, or Schemas.
 * ---------------------------------------------------------------------- */
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 {
  font-size: 20px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.026em !important;
}

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


/* -------------------------------------------------------------------------
 * Local footer mark full-strength gray tone 0.2.40.
 *
 * Schemas 2.26.6 exposes footer mark strength/color through inherited CSS
 * variables.  Keep the website-local choice here so the pagecache footer
 * remains governed while the site owner can tune presentation strength.
 * Keep the marks gray, not black ink blobs.
 * ---------------------------------------------------------------------- */
html body.argent-local-branding,
html body.argent-local-branding .savvy-pagecache-embed,
html body.argent-local-branding .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]) {
  --site-footer-mark-opacity: 1;
  --amphora-footer-mark-opacity: 1;
  --site-footer-icon: #6f7378;
  --amphora-footer-icon: #6f7378;
  --pagecache-footer-icon: #6f7378;
}

/* Argent local chrome logo prominence trial 0.2.45.
   Keep the now-stable prepaint geometry, but give the brokerage mark a
   slightly stronger visual role by enlarging the reserved logo slot and
   masthead depth together. */




/* -------------------------------------------------------------------------
 * Local home/search headline scale alignment 0.2.79.
 *
 * Keep the stable 0.2.45 masthead/logo geometry, but make the home/search
 * hero headline use the same display scale as the governed-collection section
 * heading below it.  This prevents the local search card from feeling like a
 * competing landing-page billboard above the real page navigation choices.
 * ---------------------------------------------------------------------- */
body.argent-local-home .argent-home-hero h1,
body.argent-local-search .argent-search-hero h1 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
}

/* Argent local home/search kicker suppression 0.2.79.
 * Remove the small redundant overline labels above the home/search hero and
 * governed-collection headings: site name over the hero and EXPLORE over the
 * Start-with section.
 */
body.argent-local-home .argent-home-kicker,
body.argent-local-search .argent-home-kicker {
  display: none !important;
}

body.argent-local-home .argent-section-heading,
body.argent-local-search .argent-section-heading {
  margin-bottom: 18px !important;
}


/* Argent local home copy simplification and small-type weight 0.2.79.
 * The home page is shopper-facing, so suppress technocratic overline labels,
 * replace the governed-collection heading in PHP, and give supporting copy a
 * little more authority without changing layout geometry.
 */
body.argent-local-home .argent-home-lede,
body.argent-local-home .argent-home-search-note,
body.argent-local-home .argent-gateway-description,
body.argent-local-home .argent-home-intro p,
body.argent-local-search .argent-search-status,
body.argent-local-search .argent-search-lane-card p {
  font-weight: 500 !important;
}

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


/* Argent local search control standardization and copy-weight tuning 0.2.79.
 * Finish the shopper-facing home/search pass by: (1) strengthening supporting
 * prose and placeholder text, (2) making the search cartouche more visible,
 * and (3) bringing the local Search button into the same outlined pill idiom
 * as the rest of the site instead of the earlier filled all-caps variant.
 */
body.argent-local-home .argent-home-lede,
body.argent-local-home .argent-home-search-note,
body.argent-local-home .argent-gateway-description,
body.argent-local-home .argent-home-intro p,
body.argent-local-search .argent-search-status,
body.argent-local-search .argent-search-lane-card p {
  font-weight: 560 !important;
}

body.argent-local-home .argent-home-search,
body.argent-local-search .argent-home-search {
  border-color: color-mix(in srgb, var(--amphora-local-accent) 18%, var(--amphora-local-line) 82%) !important;
  background: color-mix(in srgb, var(--amphora-local-card-surface) 72%, white 28%) !important;
  box-shadow: 0 8px 20px rgba(12, 32, 48, 0.08) !important;
}

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

body.argent-local-home .argent-home-search input[type='search'],
body.argent-local-search .argent-home-search input[type='search'] {
  border: 1px solid color-mix(in srgb, var(--amphora-local-line) 70%, var(--amphora-local-accent) 30%) !important;
  background: #fff !important;
  color: var(--amphora-local-ink) !important;
}

body.argent-local-home .argent-home-search input[type='search']::placeholder,
body.argent-local-search .argent-home-search input[type='search']::placeholder {
  color: color-mix(in srgb, var(--amphora-local-muted-ink) 84%, var(--amphora-local-ink) 16%) !important;
  opacity: 1 !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 {
  min-height: 48px !important;
  padding: 0 24px !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;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !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 {
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-card-surface) 90%) !important;
}


/* Argent local governed collection search unification 0.2.79.
 * Apply the same shopper-facing search treatment used on the local home search
 * module to governed publisher collection search forms, especially Listings,
 * so the cartouche, input weight, placeholder tone, and Search button all
 * read as one coherent system.
 */
body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  margin-top: 16px !important;
  padding: 12px !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-accent) 18%, var(--amphora-local-line) 82%) !important;
  border-radius: 26px !important;
  background: color-mix(in srgb, var(--amphora-local-card-surface) 72%, white 28%) !important;
  box-shadow: 0 8px 20px rgba(12, 32, 48, 0.08) !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search input[type='search'] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid color-mix(in srgb, var(--amphora-local-line) 70%, var(--amphora-local-accent) 30%) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--amphora-local-ink) !important;
  font-weight: 560 !important;
  box-shadow: none !important;
}

body.argent-local-branding .pagecache-public-root.pagecache-publisher-page .pagecache-home-search input[type='search']::placeholder {
  color: color-mix(in srgb, var(--amphora-local-muted-ink) 84%, var(--amphora-local-ink) 16%) !important;
  font-weight: 560 !important;
  opacity: 1 !important;
}

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 {
  min-height: 48px !important;
  padding: 0 24px !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;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

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 {
  background: color-mix(in srgb, var(--amphora-local-accent) 10%, var(--amphora-local-card-surface) 90%) !important;
}

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

  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 {
    margin-left: auto !important;
  }
}


/* Argent local search control vertical alignment and button weight 0.2.79.
 * Make the input and button share the same visual height and centerline across
 * local home/search and governed publisher collection search forms.  Keep the
 * already-accepted outlined search button, but make its label clearly bold.
 */
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 {
  align-items: center !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'] {
  height: 48px !important;
  min-height: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 48px !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 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}


/* Argent local logo/prose weight refinement 0.2.79.
 * Nudge the already-stable brokerage mark larger while reserving the same
 * first-paint geometry up front, and strengthen home-page prose copy without
 * increasing placeholder weight.
 */

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-desktop-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-mobile-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-main-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .main-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-primary-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-primary-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row-container,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row {
  min-block-size: calc(var(--argent-local-header-logo-max-height) + 36px) !important;
}



body.argent-local-home .argent-home-lede,
body.argent-local-home .argent-home-search-note,
body.argent-local-home .argent-gateway-description,
body.argent-local-home .argent-home-intro p {
  font-weight: 600 !important;
}

body.argent-local-home .argent-home-search input[type='search']::placeholder {
  font-weight: 500 !important;
}

/* Argent local logo prominence refinement 0.2.79.
 * Give the brokerage mark one more visible size step while preserving reserved
 * prepaint geometry.  The masthead grows only enough to keep the larger logo
 * from clipping; the intent is to use the existing top-band space more fully.
 */

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-desktop-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-mobile-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-main-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .main-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-primary-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-primary-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row-container,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row {
  min-block-size: calc(var(--argent-local-header-logo-max-height) + 34px) !important;
}


/* Argent local warm header accent trial 0.2.79.
 * Add a restrained complementary color to the site by applying a dark
 * burnished-copper accent to the masthead navigation text.  Keep the effect
 * in the local chrome only: no adapter, Schemas, pagecache, logo geometry,
 * search control, or content changes.
 */
:root {
  --argent-local-warm-accent: #8A4A2A;
  --argent-local-warm-accent-strong: #6F351F;
}

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,
body.argent-local-branding .main-header-menu .menu-link,
body.argent-local-branding .main-header-menu .menu-link:visited {
  color: var(--argent-local-warm-accent) !important;
}

body.argent-local-branding .main-header-menu .menu-link:hover,
body.argent-local-branding .main-header-menu .menu-link:focus-visible,
body.argent-local-branding .main-header-menu .current-menu-item > .menu-link,
body.argent-local-branding .main-header-menu .current_page_item > .menu-link {
  color: var(--argent-local-warm-accent-strong) !important;
}

/* Argent local heading system consolidation 0.2.182/0.2.184.
 * One heading token now governs the local WordPress, home/search, blog,
 * archive, and governed pagecache heading families. Earlier 0.2.79 rules had the
 * correct intent but duplicated selectors and let ordinary WordPress h2
 * headings fall back to the darker subhead accent. Keep color agreement at
 * the token layer, then size ordinary-page section headings by role rather
 * than by page-specific rescue rules.
 */
:root {
  --argent-local-heading-accent: var(--argent-local-warm-accent, #8A4A2A);
  --argent-local-heading-accent-strong: var(--argent-local-warm-accent-strong, #6F351F);
  --argent-local-ordinary-section-heading-size: clamp(1.38rem, 1.85vw, 1.58rem);
}

body.argent-local-branding :is(
  .argent-home-hero h1,
  .argent-search-hero h1,
  .argent-section-heading h2,
  .argent-home-intro h2,
  .argent-search-lanes h2,
  .argent-blog-header h1,
  .argent-blog-item-title,
  .argent-blog-item-title a,
  .entry-title,
  .entry-title a,
  .page-title,
  .wp-block-heading,
  .entry-content h1,
  .entry-content h2,
  .argent-ordinary-header .entry-title,
  .argent-ordinary-content h1,
  .argent-ordinary-content h2,
  .ast-archive-title,
  .ast-archive-description h1,
  .ast-archive-description h2,
  .savvy-pagecache-embed h1,
  .savvy-pagecache-embed h2,
  .savvy-pagecache-embed .pagecache-public-root h1,
  .savvy-pagecache-embed .pagecache-public-root h2,
  .pagecache-public-root h1,
  .pagecache-public-root h2
) {
  color: var(--argent-local-heading-accent) !important;
}

body.argent-local-branding :is(
  .entry-content h3,
  .entry-content h4,
  .argent-ordinary-content h3,
  .argent-ordinary-content h4,
  .savvy-pagecache-embed h3,
  .savvy-pagecache-embed h4,
  .savvy-pagecache-embed .pagecache-public-root h3,
  .savvy-pagecache-embed .pagecache-public-root h4,
  .pagecache-public-root h3,
  .pagecache-public-root h4
) {
  color: var(--argent-local-heading-accent-strong) !important;
}

/* Ordinary local pages use the shared heading token, but their body-content
 * h2 elements are section headings rather than page titles. Keep them visibly
 * subordinate to `.entry-title` while still clearly above bold body copy.
 */
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.argent-ordinary-card .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 {
  color: var(--argent-local-heading-accent) !important;
}

body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .argent-ordinary-content h2,
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .entry-content h2 {
  color: var(--argent-local-heading-accent) !important;
  font-size: var(--argent-local-ordinary-section-heading-size) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.018em !important;
}

body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .argent-ordinary-content :is(h3, h4),
body.argent-local-branding.argent-local-ordinary #primary.site-main.argent-ordinary-main > article .entry-content :is(h3, h4) {
  color: var(--argent-local-heading-accent-strong) !important;
}

/* Argent prose readability weight refinement 0.2.188.
 * The 0.2.187 prose scale improved readability, but the body copy still
 * read a little light for older users and lower-contrast displays. Keep the
 * same shared prose scale and line-height, but raise the normal prose weight
 * enough to improve contrast without making body text look like bold labels.
 */
body.argent-local-branding :is(
  .argent-ordinary-content p,
  .argent-ordinary-content li,
  .argent-blog-excerpt,
  .argent-blog-excerpt p,
  .argent-home-intro p
) {
  color: var(--amphora-local-ink) !important;
  font-size: var(--argent-local-prose-size) !important;
  font-weight: var(--argent-local-prose-weight) !important;
  line-height: var(--argent-local-prose-line-height) !important;
}

body.argent-local-branding .argent-ordinary-content :is(strong, b),
body.argent-local-branding .argent-blog-excerpt :is(strong, b),
body.argent-local-branding .argent-home-intro :is(strong, b) {
  font-weight: 750 !important;
}

/* Argent governed collection card readability 0.2.189.
 * Publisher collection cards for complexes carry substantial prose summaries.
 * The renderer's inline grid floor is intentionally compact and generic, but
 * the Argent complex page reads better with fewer, wider cards and the same
 * strengthened prose treatment used by local customer pages and blog excerpts.
 */
body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root.pagecache-publisher-index-complex .pagecache-publisher-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
  gap: clamp(18px, 2.2vw, 30px) clamp(22px, 2.8vw, 36px) !important;
}

body.argent-local-branding .savvy-pagecache-embed .pagecache-public-root.pagecache-publisher-index-complex .pagecache-collection-card .small {
  color: var(--amphora-local-ink) !important;
  font-size: var(--argent-local-prose-size) !important;
  font-weight: var(--argent-local-prose-weight) !important;
  line-height: var(--argent-local-prose-line-height) !important;
}

/* Argent ordinary WordPress contact block cleanup 0.2.186.
 * Local page contact details are structured content, not a heading hierarchy.
 * Keep labels ordinary, make address/contact values prominent, and give the
 * contact block a slightly stronger readable scale without page-specific
 * layout drift.
 */
body.argent-local-branding.argent-local-ordinary .argent-local-contact-block {
  margin-block: 1.65rem 2rem !important;
  font-size: clamp(1.08rem, 1.25vw, 1.18rem) !important;
  line-height: 1.42 !important;
}

body.argent-local-branding.argent-local-ordinary .argent-local-contact-block p {
  margin-block: 0 0.42rem !important;
}


body.argent-local-branding.argent-local-ordinary .argent-local-contact-label {
  font-weight: 400 !important;
}

body.argent-local-branding.argent-local-ordinary .argent-local-contact-address,
body.argent-local-branding.argent-local-ordinary .argent-local-contact-value,
body.argent-local-branding.argent-local-ordinary .argent-local-contact-value a {
  font-weight: 700 !important;
}

/* Argent local ordinary/footer governance bridge 0.2.79.
 * Ordinary WordPress pages carry the same governed publisher footer content as
 * pagecache pages, but older local ordinary-page rules still controlled part
 * of the footer presentation.  Bridge ordinary, home/search, and embedded
 * governed footer instances back to one shared footer bottle: light panel,
 * top divider, REALTOR mark left, centered publisher/contact block, Fair
 * Housing mark right, and the accepted gray mark tone.
 */
body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) {
  --site-footer-mark-opacity: 1;
  --amphora-footer-mark-opacity: 1;
}

body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) :is(.pagecache-footer, .pagecache-footer-inner) {
  background: var(--amphora-local-card-surface, #fffdf8) !important;
  border: 0 !important;
}

body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .pagecache-footer-row {
  border-top: 1px solid var(--amphora-local-line, #ded7c8) !important;
  background: var(--amphora-local-card-surface, #fffdf8) !important;
}

body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) :is(.footer-left, .footer-right) :is(svg, img) {
  opacity: var(--site-footer-mark-opacity, 1) !important;
  color: var(--site-footer-icon, #6f7378) !important;
  fill: currentColor !important;
}

body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .footer-center {
  color: var(--amphora-local-ink, #141d2f) !important;
}

body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) :is(.footer-company-name, .footer-contact-emphasis, .footer-line-contact a) {
  color: inherit !important;
  font-weight: 900 !important;
}


/* Argent local footer mark tone restoration 0.2.79.
 * Keep the unified ordinary/home/governed footer structure from 0.2.62, but
 * stop ordinary-page footer marks from reading as black ink.  External SVG/img
 * marks cannot always be recolored by fill/currentColor alone, so use the same
 * accepted quiet gray tone plus opacity treatment that visually matches the
 * governed pagecache footer marks.
 */
body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) {
  --site-footer-mark-opacity: 0.56;
  --amphora-footer-mark-opacity: 0.56;
  --pagecache-footer-mark-opacity: 0.56;
}

/* Argent local footer mark subdued artwork treatment 0.2.79.
 * The prior bridge unified structure, but external black SVG/img artwork still
 * read too dark on home/ordinary embedded footers.  Treat the marks as artwork:
 * keep layout unchanged, but apply a quieter opacity/filter treatment to all
 * local governed footer instances so Home, About/Contact, Blog, and governed
 * collections converge visually.
 */
body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) {
  --site-footer-mark-opacity: 0.38;
  --amphora-footer-mark-opacity: 0.38;
  --pagecache-footer-mark-opacity: 0.38;
  --site-footer-icon: #6f7378;
  --amphora-footer-icon: #6f7378;
  --pagecache-footer-icon: #6f7378;
}

body.argent-local-branding :is(
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .footer-center {
  opacity: 1 !important;
  filter: none !important;
}

/* Argent local footer tray convergence 0.2.79.
 * Make the cleaner customer-page footer tray the site-wide footer bottle:
 * a clear horizontal divider, subtly distinct tray surface, same centered
 * publisher/contact typography, same accepted subdued mark tone.  This is
 * presentation convergence only; footer content remains governed.
 */
body.argent-local-branding {
  --argent-local-footer-tray-surface: color-mix(in srgb, var(--amphora-local-card-surface, #fffdf8) 88%, var(--amphora-local-line, #ded7c8) 12%);
  --argent-local-footer-tray-line: color-mix(in srgb, var(--amphora-local-line, #ded7c8) 88%, var(--amphora-local-ink, #141d2f) 12%);
}

body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) :is(.pagecache-footer, .pagecache-footer-inner) {
  background: var(--argent-local-footer-tray-surface) !important;
  background-color: var(--argent-local-footer-tray-surface) !important;
  border: 0 !important;
}

body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .pagecache-footer-row {
  background: var(--argent-local-footer-tray-surface) !important;
  background-color: var(--argent-local-footer-tray-surface) !important;
  border-top: 1px solid var(--argent-local-footer-tray-line) !important;
}

/* Home/search and ordinary-page embedded footers sit at the bottom of an
 * already-rounded card. Keep the tray attached to that bottom edge.
 */
body.argent-local-branding :is(
  .argent-home-governed-footer,
  .argent-local-governed-footer
) {
  background: var(--argent-local-footer-tray-surface) !important;
  background-color: var(--argent-local-footer-tray-surface) !important;
}

body.argent-local-branding :is(
  .argent-home-unified > .argent-home-governed-footer,
  .argent-search-unified > .argent-home-governed-footer,
  .argent-blog-card > .argent-local-governed-footer,
  .argent-ordinary-card .argent-local-governed-footer
) {
  border-radius: 0 0 var(--amphora-card-radius, 16px) var(--amphora-card-radius, 16px) !important;
  overflow: hidden !important;
}

/* Argent local governed content/footer breathing room 0.2.79.
 * Keep the 0.2.65 footer tray bottle unchanged.  The crowding on governed
 * collection/detail pages is caused by page content running into the footer
 * divider, so add air before the footer begins on governed pagecache embeds.
 * Exclude local customer-page embedded footers because those already have
 * appropriate content-to-footer rhythm.
 */
body.argent-local-branding .savvy-pagecache-embed:not(.argent-local-governed-footer):not(.argent-home-governed-footer) .pagecache-public-root > .pagecache-footer,
body.argent-local-branding .savvy-pagecache-embed:not(.argent-local-governed-footer):not(.argent-home-governed-footer) .pagecache-footer {
  margin-top: clamp(28px, 3.8vw, 52px) !important;
}

/* Collection summaries can end in tight grid/list rows. Add a small bottom
 * cushion to the content blocks most likely to immediately precede the footer.
 */
body.argent-local-branding .savvy-pagecache-embed:not(.argent-local-governed-footer):not(.argent-home-governed-footer) :is(
  .pagecache-publisher-collection-results-in-presentation,
  .pagecache-publisher-collection-in-presentation,
  .pagecache-publisher-home-in-presentation,
  .pagecache-listings-grid,
  .pagecache-collection-grid,
  .pagecache-office-grid,
  .pagecache-team-grid,
  .pagecache-agent-grid
) {
  padding-bottom: clamp(14px, 2.2vw, 28px) !important;
}

/* Argent local footer tray depth edge 0.2.79.
 * Preserve the 0.2.66 governed content/footer breathing room and the 0.2.65
 * unified footer tray.  Add the subtle customer-page style depth cue at the
 * content/footer boundary so the footer reads as a tray seated into the card,
 * not a flat ruled line.
 */
body.argent-local-branding {
  --argent-local-footer-tray-shadow: 0 -8px 18px rgba(12, 32, 48, 0.035);
  --argent-local-footer-tray-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

/* Argent local footer tray visible depth cue 0.2.79.
 * 0.2.67 was technically present but too quiet to register.  Keep the same
 * footer tray geometry and spacing, but add a visible, still-subtle top-edge
 * gradient and a slightly firmer divider so the footer reads as a distinct
 * tray rather than as content mush.
 */
body.argent-local-branding {
  --argent-local-footer-tray-depth-gradient:
    linear-gradient(
      to bottom,
      rgba(12, 32, 48, 0.070) 0,
      rgba(12, 32, 48, 0.038) 2px,
      rgba(12, 32, 48, 0.016) 12px,
      rgba(12, 32, 48, 0.000) 28px
    );
  --argent-local-footer-tray-line-strong:
    color-mix(in srgb, var(--amphora-local-line, #ded7c8) 76%, var(--amphora-local-ink, #141d2f) 24%);
}

body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .pagecache-footer-row {
  background:
    var(--argent-local-footer-tray-depth-gradient),
    var(--argent-local-footer-tray-surface, var(--amphora-local-card-surface, #fffdf8)) !important;
  background-color: var(--argent-local-footer-tray-surface, var(--amphora-local-card-surface, #fffdf8)) !important;
  border-top: 1px solid var(--argent-local-footer-tray-line-strong) !important;
}

/* Argent local footer tray visible top-edge overlay 0.2.79.
 * The gradient on the footer row alone remained too subtle.  Add a real
 * shallow overlay at the top of the footer tray so the content/footer boundary
 * has the same visible seated-tray cue as the customer-page footer, while
 * leaving layout, marks, text, and spacing unchanged.
 */
body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) :is(.pagecache-footer, .pagecache-footer-inner) {
  position: relative !important;
  overflow: hidden !important;
}

body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .pagecache-footer-row {
  position: relative !important;
  z-index: 1 !important;
  border-top: 1px solid color-mix(in srgb, var(--amphora-local-line, #ded7c8) 66%, var(--amphora-local-ink, #141d2f) 34%) !important;
}

body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .pagecache-footer-row {
  border-top: 1px solid color-mix(in srgb, var(--amphora-local-line, #ded7c8) 78%, var(--amphora-local-ink, #141d2f) 22%) !important;
}

body.argent-local-branding :is(
  .savvy-pagecache-embed,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"])
) .pagecache-footer-row {
  border-top: 1px solid color-mix(in srgb, var(--amphora-local-line, #ded7c8) 82%, var(--amphora-local-ink, #141d2f) 18%) !important;
}



/* Argent local logo prominence expansion 0.2.79.
 * From the accepted warm/chassis/footer state, give the brokerage mark another
 * substantial but bounded size step.  Reserve the larger prepaint geometry with
 * the logo so the stable masthead behavior is preserved.
 */

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-desktop-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-mobile-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-main-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .main-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-primary-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-primary-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row-container,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row {
  min-block-size: calc(var(--argent-local-header-logo-max-height) + 32px) !important;
}




/* Argent local logo cap synchronization 0.2.79.
 * The 0.2.72 stylesheet requested a larger logo, but the late wp_head chrome
 * reset still carried older 0.2.55 logo variables.  functions.php now emits
 * the same larger prepaint logo variables, so this marker documents that the
 * stylesheet and inline stabilization layer are synchronized.
 */



/* Argent local masthead brand/nav space reallocation 0.2.79.
 * The 0.2.73 enlargement mostly expanded the reserved brand column, crowding
 * the menu and increasing the top-section height.  Reclaim the empty brand-slot
 * width, return the masthead toward the accepted normal height, and make the
 * visible SVG use its box a little more assertively instead of growing the
 * whole slot.
 */
:root {
  --argent-local-header-logo-width: clamp(292px, 25vw, 382px);
  --argent-local-header-logo-max-height: 78px;
}

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-desktop-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #ast-mobile-header,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-main-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .main-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-primary-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-primary-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row-container,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row {
  min-block-size: calc(var(--argent-local-header-logo-max-height) + 30px) !important;
}

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-branding,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-site-identity,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-site-title-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title {
  flex: 0 1 var(--argent-local-header-logo-width) !important;
  inline-size: var(--argent-local-header-logo-width) !important;
  max-inline-size: var(--argent-local-header-logo-width) !important;
}

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title a,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title a.argent-brand-logo-link,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title a:not(.argent-brand-logo-link) {
  inline-size: var(--argent-local-header-logo-width) !important;
  max-inline-size: var(--argent-local-header-logo-width) !important;
  block-size: var(--argent-local-header-logo-max-height) !important;
  min-block-size: var(--argent-local-header-logo-max-height) !important;
  overflow: visible !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-grid-row {
  column-gap: clamp(14px, 1.7vw, 28px) !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-navigation,
html body.argent-local-branding #masthead #ast-desktop-header nav#primary-site-navigation-desktop,
html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu,
html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu-1 {
  min-inline-size: 0 !important;
}

@media (max-width: 980px) {
  :root {
    --argent-local-header-logo-width: clamp(224px, 36vw, 294px);
    --argent-local-header-logo-max-height: 66px;
  }
}



/* Argent local visible logo artwork scale 0.2.79.
 * 0.2.74 restored the masthead and brand/nav slot geometry.  The remaining
 * issue is that the actual SVG artwork still reads at the old visual scale.
 * Do not grow the reserved brand column or masthead height; enlarge only the
 * artwork layer and allow it to overflow the logo slot into the existing air.
 */

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-main-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .main-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-primary-header-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-primary-header-bar,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row-container,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-builder-grid-row,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-branding,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-site-identity,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .ast-site-title-wrap,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title a,
html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .site-title a.argent-brand-logo-link {
  overflow: visible !important;
}

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .argent-brand-logo-svg {
  overflow: visible !important;
  will-change: transform;
}




/* Argent local compact justified logo asset 0.2.79.
 * Branding asset geometry changed: decorative horizontal lines removed, ARGENT
 * retained above REALTY GROUP, and REALTY GROUP is justified to the same width
 * as ARGENT.  The horizontal SVG viewBox is now narrower, so back off the
 * artwork transform; the asset itself supplies the visual enlargement without
 * growing the masthead slot or crowding the menu.
 */
:root {
  --argent-local-logo-visible-scale: 1.00;
}

html body.argent-local-branding:is(.argent-brand-mode-logo, .argent-brand-mode-logo_and_text) #masthead .argent-brand-logo-svg {
  transform: scale(var(--argent-local-logo-visible-scale)) !important;
  transform-origin: left center !important;
}

@media (max-width: 980px) {
  :root {
    --argent-local-logo-visible-scale: 1.00;
  }
}



/* Argent local masthead right rail alignment 0.2.79.
 * Now that the compact logo no longer crowds the menu, let the desktop
 * navigation claim the full remaining slot and terminate on the same visual
 * right rail used by the governed footer tray below.  This gives the final
 * Blog label a cleaner relationship to the card/footer edge instead of leaving
 * an unnecessary inset pocket on the right.
 */
html body.argent-local-branding #masthead #ast-desktop-header .main-header-bar-navigation,
html body.argent-local-branding #masthead #ast-desktop-header .main-navigation,
html body.argent-local-branding #masthead #ast-desktop-header nav#primary-site-navigation-desktop,
html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu,
html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-menu-1 {
  margin-left: auto !important;
  margin-right: 0 !important;
  min-inline-size: 0 !important;
  justify-content: flex-end !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-header-bar-navigation {
  padding-right: var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px)) !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li:last-child,
html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li:last-child > a.menu-link {
  margin-right: 0 !important;
  padding-right: 0 !important;
}


/* Argent local masthead grid-column reclaim 0.2.79.
 * 0.2.77 asked the menu itself to right-align, but Astra's primary header
 * sections still reserved too much structural room around the branding side.
 * Reframe the desktop masthead row as a compact brand column plus one flexible
 * nav column, then let the menu terminate on the right rail.
 */
html body.argent-local-branding #masthead #ast-desktop-header .ast-builder-grid-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: clamp(22px, 3.2vw, 48px) !important;
  inline-size: 100% !important;
}

html body.argent-local-branding #masthead #ast-desktop-header :is(
  .site-header-primary-section-left,
  .ast-grid-left-section
) {
  justify-self: start !important;
  inline-size: auto !important;
  width: auto !important;
  max-inline-size: max-content !important;
  flex: 0 0 auto !important;
  min-inline-size: 0 !important;
}

html body.argent-local-branding #masthead #ast-desktop-header :is(
  .site-header-primary-section-right,
  .ast-grid-right-section
) {
  justify-self: stretch !important;
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: none !important;
  flex: 1 1 auto !important;
  min-inline-size: 0 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

html body.argent-local-branding #masthead #ast-desktop-header :is(
  .site-header-primary-section-right,
  .ast-grid-right-section
) > * {
  min-inline-size: 0 !important;
}

html body.argent-local-branding #masthead #ast-desktop-header :is(
  .main-header-bar-navigation,
  .main-navigation,
  nav#primary-site-navigation-desktop,
  .ast-builder-menu,
  .ast-builder-menu-1
) {
  inline-size: 100% !important;
  width: 100% !important;
  max-inline-size: none !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu {
  inline-size: 100% !important;
  width: 100% !important;
  justify-content: flex-end !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li:last-child > a.menu-link {
  margin-right: 0 !important;
  padding-right: 0 !important;
}



/* Argent local masthead nav end-rail inset correction 0.2.79.
 * 0.2.78 reclaimed the structural grid column, but the earlier right-rail
 * trial still left explicit padding on the nav wrapper.  Remove that final
 * menu-side inset so the Blog label can terminate on the same visual rail as
 * the page/footer elements, roughly mirroring the logo's left starting inset.
 */
html body.argent-local-branding #masthead #ast-desktop-header :is(
  .site-header-primary-section-right,
  .ast-grid-right-section,
  .main-header-bar-navigation,
  .main-navigation,
  nav#primary-site-navigation-desktop,
  .ast-builder-menu,
  .ast-builder-menu-1
) {
  padding-right: 0 !important;
  padding-inline-end: 0 !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu {
  padding-right: 0 !important;
  padding-inline-end: 0 !important;
}

html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li:last-child,
html body.argent-local-branding #masthead #ast-desktop-header .main-header-menu > li:last-child > a.menu-link {
  margin-right: 0 !important;
  padding-right: 0 !important;
  padding-inline-end: 0 !important;
}

/* Argent local action rail canonical geometry 1.3.40.
 * One CSS contract owns the right-side action rail geometry for all page
 * types: favorite reservation, stack gap, Up button, stack gap, Down button.
 * JavaScript may set the horizontal left variable and toggle visibility, but
 * it must not calculate bespoke vertical origins for listing/search/home
 * variants.
 */
:root {
  --argent-local-action-rail-width: var(--amphora-listing-save-tab-width, 118px);
  --argent-local-action-rail-gap: 16px;
  --argent-local-action-rail-stack-gap: 10px;
  --argent-local-action-rail-left: calc(100vw - var(--argent-local-action-rail-width) - 12px);
  --argent-local-action-rail-top: 118px;
  --argent-local-action-rail-favorite-reserved-height: var(--argent-local-action-rail-button-height, 42px);
}

html body.argent-local-branding .argent-local-action-rail {
  position: fixed !important;
  z-index: 9997 !important;
  top: var(--argent-local-action-rail-top) !important;
  left: var(--argent-local-action-rail-left) !important;
  right: auto !important;
  width: var(--argent-local-action-rail-width) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--argent-local-action-rail-stack-gap, 10px) !important;
  align-items: stretch !important;
  pointer-events: none !important;
}

html body.argent-local-branding .argent-local-action-rail .amphora-listing-page-favorite-tab {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  transform: none !important;
  z-index: auto !important;
}

html body.argent-local-branding .argent-local-action-rail .amphora-listing-page-favorite-tab .pagecache-listing-favorite-toggle {
  width: 100% !important;
}


html body.argent-local-branding .argent-local-action-rail-favorite-slot {
  display: block !important;
  min-height: var(--argent-local-action-rail-favorite-reserved-height, 42px) !important;
  pointer-events: none !important;
}

html body.argent-local-branding .argent-local-action-rail-favorite-slot:empty {
  visibility: hidden !important;
}

html body.argent-local-branding .argent-local-action-rail-scroll-stack {
  display: grid !important;
  gap: var(--argent-local-action-rail-stack-gap, 10px) !important;
  pointer-events: auto !important;
}

html body.argent-local-branding .argent-action-rail-scroll-control {
  width: 100% !important;
  min-height: 58px !important;
  border: 1px solid color-mix(in srgb, var(--argent-local-link, var(--accent, #7a844a)) 38%, var(--line, #d8e0ea)) !important;
  border-radius: 22px !important;
  background: var(--surface, #fff) !important;
  color: var(--argent-local-link, var(--accent, #7a844a)) !important;
  box-shadow: 0 14px 34px rgba(18,34,52,.14) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: opacity 140ms ease, background-color 140ms ease !important;
}

html body.argent-local-branding .argent-action-rail-scroll-control::before {
  content: "" !important;
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  border: solid currentColor !important;
  border-width: 0 4px 4px 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  color: currentColor !important;
}

html body.argent-local-branding .argent-scroll-to-top-button::before,
html body.argent-local-branding .argent-fallback-scroll-to-top-button::before {
  transform: rotate(-135deg) translate(-1px, -1px) !important;
}


html body.argent-local-branding .argent-action-rail-scroll-control.is-disabled,
html body.argent-local-branding .argent-action-rail-scroll-control:disabled {
  opacity: .58 !important;
  cursor: default !important;
}

@media (max-width: 980px) {
  html body.argent-local-branding .argent-local-action-rail {
    display: none !important;
  }
}

/* Argent local action rail legacy dedupe 1.3.41.
 * Moved from wp_head inline CSS during CSS purification.
 * Behavior preserved: suppress duplicate legacy Astra scroll controls on
 * desktop while leaving the governed local action rail and small-screen
 * behavior alone.
 */
@media (min-width: 981px) {
  html body.argent-local-branding:not(.argent-amphora-page-type-listings) :is(
    #ast-scroll-top,
    .ast-scroll-top-icon,
    .ast-scroll-to-top,
    .ast-scroll-to-top-right,
    [data-argent-hidden-legacy-scrolltop="1"],
    [data-argent-hidden-duplicate-action-rail="1"]
  ):not(.argent-local-action-rail):not(.argent-action-rail-scroll-control):not(.argent-scroll-to-top-button) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Listing page favorite heart restore 1.3.49.
 * Reassert the accepted static heart assets for listing-detail Save controls.
 * This is presentation-only: it does not change favorite state, storage,
 * event handling, enquiry behavior, action-rail scroll controls, or footer logic.
 */
html body.argent-local-branding {
  --amphora-listing-favorite-off-image: var(--argent-local-favorite-off-image, url("../favorite-heart-off.svg"));
  --amphora-listing-favorite-on-image: var(--argent-local-favorite-on-image, url("../favorite-heart-on.svg"));
  --pagecache-favorite-off-image: var(--argent-local-favorite-off-image, url("../favorite-heart-off.svg"));
  --pagecache-favorite-on-image: var(--argent-local-favorite-on-image, url("../favorite-heart-on.svg"));
}

html body.argent-local-branding:not(.argent-amphora-page-type-listings) :is(
  .amphora-listing-favorite,
  .amphora-listing-favorite-button,
  .amphora-listing-page-favorite,
  .amphora-listing-page-favorite-button,
  .savvy-listing-favorite,
  .savvy-listing-favorite-button,
  .pagecache-listing-favorite,
  .pagecache-listing-favorite-button,
  .pagecache-favorite,
  .pagecache-favorite-button,
  .argent-listing-favorite,
  .argent-listing-favorite-button,
  [data-amphora-listing-favorite],
  [data-amphora-favorite],
  [data-pagecache-listing-favorite],
  [data-pagecache-favorite],
  [data-argent-listing-favorite],
  [data-argent-favorite],
  [aria-label="Save"],
  [aria-label^="Save "],
  [aria-label*=" favorite" i],
  [title="Save"],
  [title^="Save "]
):is(a, button, [role="button"]) {
  display: inline-flex !important;
  gap: 0.42em !important;
}

html body.argent-local-branding:not(.argent-amphora-page-type-listings) :is(
  .amphora-listing-favorite,
  .amphora-listing-favorite-button,
  .amphora-listing-page-favorite,
  .amphora-listing-page-favorite-button,
  .savvy-listing-favorite,
  .savvy-listing-favorite-button,
  .pagecache-listing-favorite,
  .pagecache-listing-favorite-button,
  .pagecache-favorite,
  .pagecache-favorite-button,
  .argent-listing-favorite,
  .argent-listing-favorite-button,
  [data-amphora-listing-favorite],
  [data-amphora-favorite],
  [data-pagecache-listing-favorite],
  [data-pagecache-favorite],
  [data-argent-listing-favorite],
  [data-argent-favorite],
  [aria-label="Save"],
  [aria-label^="Save "],
  [aria-label*=" favorite" i],
  [title="Save"],
  [title^="Save "]
):is(a, button, [role="button"])::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 1.08em !important;
  background-image: var(--amphora-listing-favorite-off-image, var(--pagecache-favorite-off-image, url("../favorite-heart-off.svg"))) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

html body.argent-local-branding:not(.argent-amphora-page-type-listings) :is(
  .amphora-listing-favorite,
  .amphora-listing-favorite-button,
  .amphora-listing-page-favorite,
  .amphora-listing-page-favorite-button,
  .savvy-listing-favorite,
  .savvy-listing-favorite-button,
  .pagecache-listing-favorite,
  .pagecache-listing-favorite-button,
  .pagecache-favorite,
  .pagecache-favorite-button,
  .argent-listing-favorite,
  .argent-listing-favorite-button,
  [data-amphora-listing-favorite],
  [data-amphora-favorite],
  [data-pagecache-listing-favorite],
  [data-pagecache-favorite],
  [data-argent-listing-favorite],
  [data-argent-favorite],
  [aria-label="Save"],
  [aria-label^="Save "],
  [aria-label*=" favorite" i],
  [title="Save"],
  [title^="Save "]
):is(a, button, [role="button"]):is(
  [aria-pressed="true"],
  [data-amphora-favorite-state="saved"],
  [data-amphora-favorite-state="on"],
  [data-amphora-favorite-state="active"],
  [data-pagecache-favorite-state="saved"],
  [data-pagecache-favorite-state="on"],
  [data-pagecache-favorite-state="active"],
  [data-argent-favorite-state="saved"],
  [data-argent-favorite-state="on"],
  [data-argent-favorite-state="active"],
  .is-saved,
  .is-active,
  .saved,
  .active
)::before {
  background-image: var(--amphora-listing-favorite-on-image, var(--pagecache-favorite-on-image, url("../favorite-heart-on.svg"))) !important;
}

/* Listing page favorite heart/label alignment 1.3.50.
 * Keep the 1.3.49 restored heart size. Only align the icon+label as one
 * centered group inside the Save/Saved pill.
 */
html body.argent-local-branding:not(.argent-amphora-page-type-listings) :is(
  .amphora-listing-favorite,
  .amphora-listing-favorite-button,
  .amphora-listing-page-favorite,
  .amphora-listing-page-favorite-button,
  .savvy-listing-favorite,
  .savvy-listing-favorite-button,
  .pagecache-listing-favorite,
  .pagecache-listing-favorite-button,
  .pagecache-favorite,
  .pagecache-favorite-button,
  .argent-listing-favorite,
  .argent-listing-favorite-button,
  [data-amphora-listing-favorite],
  [data-amphora-favorite],
  [data-pagecache-listing-favorite],
  [data-pagecache-favorite],
  [data-argent-listing-favorite],
  [data-argent-favorite],
  [aria-label="Save"],
  [aria-label^="Save "],
  [aria-label*=" favorite" i],
  [title="Save"],
  [title^="Save "]
):is(a, button, [role="button"]) {
  display: inline-grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max-content !important;
  align-items: center !important;
  justify-content: center !important;
  justify-items: center !important;
  column-gap: 0.50rem !important;
  gap: 0.50rem !important;
  text-align: center !important;
  padding-inline: 0.95rem !important;
}

html body.argent-local-branding:not(.argent-amphora-page-type-listings) :is(
  .amphora-listing-favorite,
  .amphora-listing-favorite-button,
  .amphora-listing-page-favorite,
  .amphora-listing-page-favorite-button,
  .savvy-listing-favorite,
  .savvy-listing-favorite-button,
  .pagecache-listing-favorite,
  .pagecache-listing-favorite-button,
  .pagecache-favorite,
  .pagecache-favorite-button,
  .argent-listing-favorite,
  .argent-listing-favorite-button,
  [data-amphora-listing-favorite],
  [data-amphora-favorite],
  [data-pagecache-listing-favorite],
  [data-pagecache-favorite],
  [data-argent-listing-favorite],
  [data-argent-favorite],
  [aria-label="Save"],
  [aria-label^="Save "],
  [aria-label*=" favorite" i],
  [title="Save"],
  [title^="Save "]
):is(a, button, [role="button"])::before {
  inline-size: 1.08em !important;
  block-size: 1.08em !important;
  min-inline-size: 1.08em !important;
  min-block-size: 1.08em !important;
  flex-basis: auto !important;
  margin: 0 !important;
  transform: translateY(-0.01em) !important;
}

/* Argent attached footer SVG viewport unclip 1.4.1.
 *
 * Inline REALTOR and Fair Housing artwork may extend to the edge of its
 * declared SVG viewport. The attached-footer bridge owns vessel presentation,
 * so permit the mark wrappers and SVG roots to paint their complete artwork
 * without changing the governed Amphora footer markup or grid geometry.
 */
body.argent-local-branding .pagecache-footer-attachment :is(
  .footer-left,
  .footer-right,
  .footer-mark,
  .footer-mark-realtor,
  .footer-mark-fairhousing
) {
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  mask: none !important;
}

body.argent-local-branding .pagecache-footer-attachment :is(
  .footer-mark-realtor,
  .footer-mark-fairhousing
) :is(svg, img) {
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  mask: none !important;
  border-radius: 0 !important;
}

/* Argent dynamic attached-footer main overflow bridge 1.4.2.
 *
 * Dynamic Amphora pages place the governed attached footer inside main#primary.
 * The REALTOR artwork legitimately paints below its nominal SVG viewport, but
 * the Argent dynamic-page main container previously clipped that overflow.
 *
 * Limit the correction to Amphora dynamic page mains that actually contain a
 * governed pagecache footer attachment. This preserves ordinary Astra vessel
 * containment while allowing the governed footer marks to render completely.
 */
body.argent-local-branding.argent-savvy-dynamic-body
main#primary.argent-savvy-dynamic-page:has(
  .pagecache-footer-attachment[data-amphora-role="footer-attachment"]
) {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* Argent canonical governed footer geometry authority 1.4.7.
 *
 * Sole vessel authority for governed footer geometry.
 *
 * This block owns:
 *   - footer row grid and spacing;
 *   - compliance-mark dimensions and tone;
 *   - center typography;
 *   - responsive collapse.
 *
 * Earlier CSS layers may still own attachment, card radius, tray surface,
 * divider, shadows, overflow, clipping, and page-shell integration, but they
 * no longer own footer geometry.
 */
body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .pagecache-footer-row {
  display: grid !important;
  grid-template-columns:
    minmax(66px, 0.18fr)
    minmax(0, 1fr)
    minmax(86px, 0.18fr) !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 38px) !important;
  padding:
    18px
    var(--amphora-site-inner-pad, clamp(18px, 3vw, 34px))
    20px
    !important;
  min-height: 0 !important;
  border-top:
    1px solid
    color-mix(
      in srgb,
      var(--amphora-local-line, #ded7c8) 90%,
      var(--amphora-local-ink, #141d2f) 10%
    )
    !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58)
    !important;
  box-sizing: border-box !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) :is(
  .footer-left,
  .footer-right,
  .footer-mark,
  .footer-mark-realtor,
  .footer-mark-fairhousing
) {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 0 !important;
  min-inline-size: 0 !important;
  min-block-size: 0 !important;
  overflow: visible !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .footer-left {
  justify-content: flex-start !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .footer-right {
  justify-content: flex-end !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .footer-mark-realtor :is(svg, img) {
  display: block !important;
  width: auto !important;
  height: 66px !important;
  inline-size: auto !important;
  block-size: 66px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 66px !important;
  max-height: 66px !important;
  min-inline-size: 0 !important;
  min-block-size: 0 !important;
  max-inline-size: 66px !important;
  max-block-size: 66px !important;
  object-fit: contain !important;
  object-position: center center !important;
  overflow: visible !important;
  opacity: 0.38 !important;
  color: #6f7378 !important;
  fill: #6f7378 !important;
  filter: grayscale(1) opacity(0.92) !important;
  clip: auto !important;
  clip-path: none !important;
  mask: none !important;
  border-radius: 0 !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .footer-mark-fairhousing :is(svg, img) {
  display: block !important;
  width: 86px !important;
  height: auto !important;
  inline-size: 86px !important;
  block-size: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 86px !important;
  max-height: 66px !important;
  min-inline-size: 0 !important;
  min-block-size: 0 !important;
  max-inline-size: 86px !important;
  max-block-size: 66px !important;
  object-fit: contain !important;
  object-position: center center !important;
  overflow: visible !important;
  opacity: 0.38 !important;
  color: #6f7378 !important;
  fill: #6f7378 !important;
  filter: grayscale(1) opacity(0.92) !important;
  clip: auto !important;
  clip-path: none !important;
  mask: none !important;
  border-radius: 0 !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .footer-center {
  min-width: 0 !important;
  min-inline-size: 0 !important;
  text-align: center !important;
  font-size: clamp(0.92rem, 1.35vw, 1.08rem) !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
}

@media (max-width: 720px) {
  body.argent-local-branding :is(
    .pagecache-footer-attachment,
    .argent-local-governed-footer,
    .argent-home-governed-footer,
    .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
    .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
  ) .pagecache-footer-row {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body.argent-local-branding :is(
    .pagecache-footer-attachment,
    .argent-local-governed-footer,
    .argent-home-governed-footer,
    .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
    .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
  ) :is(.footer-left, .footer-right) {
    justify-content: center !important;
  }
}

/* Argent page termination contract 1.4.8.
 *
 * Every Argent page finishes through one normal-flow content block followed
 * immediately by a governed footer attachment. The vessel—not individual
 * renderers or page templates—owns the breathing space on the content side of
 * that divider.
 *
 * This contract deliberately targets only the direct in-flow sibling
 * immediately preceding a governed footer. Fixed, sticky, absolute, overlay,
 * QR-panel, and action-rail descendants do not participate in this geometry.
 */
body.argent-local-branding {
  --argent-page-end-space: clamp(24px, 2.4vw, 32px);
}

/*
 * Canonical terminal content region.
 *
 * The direct sibling relation makes this independent of whether the page is a
 * native WordPress article, Home gateway, Blog grid, Amphora collection, or
 * listing-detail artifact.
 */
html body.argent-local-branding
:is(main#primary, article, section, div)
> :not(
    .pagecache-footer-attachment,
    .argent-local-governed-footer,
    .argent-home-governed-footer,
    .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
    .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
  ):has(
    + :is(
        .pagecache-footer-attachment,
        .argent-local-governed-footer,
        .argent-home-governed-footer,
        .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
        .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
      )
  ) {
  padding-bottom: var(--argent-page-end-space) !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

/*
 * The footer attachment follows immediately after the governed terminal
 * region. All visible breathing room belongs to that region, not to incidental
 * margins on the footer wrapper.
 */
html body.argent-local-branding
:is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) {
  margin-top: 0 !important;
}

/* Argent P8B governed footer contact-link color authority 1.5.37.
 *
 * Astra Starter Template global link colors must not recolor governed footer
 * contact data. Footer content/markup remains governed; the vessel owns only
 * presentation. Cover attached, embedded, and global governed footer wrappers
 * and inherit the canonical footer-center ink.
 */
body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) .footer-center {
  color: var(--amphora-local-ink, #141d2f) !important;
}

body.argent-local-branding :is(
  .pagecache-footer-attachment,
  .argent-local-governed-footer,
  .argent-home-governed-footer,
  .savvy-amphora-global-footer-embed:not([data-page-variant="vessel_footer_v1"]),
  .savvy-amphora-global-footer-shell:not([data-amphora-global-footer="1"])
) :is(.footer-line-contact a, .footer-contact-emphasis) {
  color: inherit !important;
}
