/* Z3 color and design changes (Portland Veteran Homes), approved by Troy Nov 25, 2026. Written by infra/static-updates/z3-color/build_css.py: change it there, not here. */
/* #3 PVH header, every page and the search pages: same order (Call, Sign In, Contact Us), red, white and blue.
   Call: solid flag red, white text (6.7 to 1). Phone call icon: red. Sign In: white with a thin navy outline.
   Contact Us: solid Dress Blues navy, white text (11.0 to 1). The header bar is white, so the navy button stands out
   without an extra edge; the thin white edge is only added where the button sits on the dark menu bar. */
#pvh-menu .pvh-call, #pvh-menu .pvh-call:visited {
  background: var(--pvh-hot-bg,#B31942) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
}
#pvh-menu .pvh-call:hover, #pvh-menu .pvh-call:active { background: #8E1433 !important; }
#pvh-menu .pvh-call-m { background: var(--pvh-hot-bg,#B31942) !important; }
#pvh-menu .pvh-call-m:hover, #pvh-menu .pvh-call-m:active { background: #8E1433 !important; }
#pvh-menu .pvh-call svg, #pvh-menu .pvh-call-m svg { fill: #fff !important; }

#pvh-menu .pvh-topbar-right .pvh-navbtns.pvh-hq-btn a.btn {
  background: #fff !important; color: #0B3B78 !important; -webkit-text-fill-color: #0B3B78 !important;
  border: 2px solid #0B3B78 !important; box-shadow: none !important;
}
#pvh-menu .pvh-topbar-right .pvh-navbtns.pvh-hq-btn a.btn:hover,
#pvh-menu .pvh-topbar-right .pvh-navbtns.pvh-hq-btn a.btn:active {
  background: var(--pvh-wash-hover,#F3F5F8) !important; color: #0B3B78 !important; -webkit-text-fill-color: #0B3B78 !important; border-color: #0B3B78 !important;
}

#pvh-menu .pvh-topbar-right .pvh-navbtns a.btn.btn-warning {
  background: #0B3B78 !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  border: 2px solid #0B3B78 !important; box-shadow: none !important;
}
#pvh-menu .pvh-topbar-right .pvh-navbtns a.btn.btn-warning:hover,
#pvh-menu .pvh-topbar-right .pvh-navbtns a.btn.btn-warning:active {
  background: #082C5A !important; border-color: #082C5A !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
}

/* Phone menu (navy panel): Sign In is a white pill with navy text; a white edge keeps it clear of the panel */
#pvh-menu .pvh-navlist .pvh-hq-m .nav-link {
  background: #fff !important; color: #0B3B78 !important; -webkit-text-fill-color: #0B3B78 !important;
  border: 2px solid #fff; border-radius: 999px; font-weight: 800;
}

/* Focus on the header buttons and links: the same two-tone ring as the rest of the site (#4) */
#pvh-menu a:focus-visible, #pvh-menu button:focus-visible {
  outline: 2px solid transparent !important; outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #0B3B78 !important;
}
#pvh-menu .pvh-menubar a:focus-visible, #pvh-menu .pvh-menubar button:focus-visible {
  box-shadow: 0 0 0 2px #0B3B78, 0 0 0 5px #fff !important;   /* on the navy menu bar the white ring goes outside */
}
/* #4 Keyboard focus ring: two-tone, white inside and #0B3B78 outside, so it shows on light and dark backgrounds */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid transparent !important; outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #0B3B78 !important;
}
/* #5 Badges: status stays a solid color (Active, Pending, Sold); feature and event tags are white pills */
.idxw-b .idxw-st.va, .idxw-b .idxw-st.side {
  background: #fff; color: #0B3B78; border: 1px solid #CED6E0; font-weight: 800;
  display: inline-flex; align-items: center; gap: 5px;
}
.idxw-b .idxw-st.va::before, .idxw-b .idxw-st.side::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #B31942; flex: none;
}
/* #6 Form errors: a white box with a red bar and a warning mark, dark text (not just red words) */
[data-pvh-alert-bad]:not([hidden]), .idxw-vc-err, .idxw-as-err, .idxw-st-err {
  display: flex !important; gap: 10px; align-items: flex-start;
  background: #fff !important; color: #1B2433 !important; font-weight: 600; line-height: 1.5;
  border: 1px solid #E3E8EF !important; border-left: 4px solid #B42318 !important; border-radius: 8px !important;
  padding: 10px 12px !important; margin: 8px 0;
}
[data-pvh-alert-bad]:not([hidden])::before, .idxw-vc-err::before, .idxw-as-err::before, .idxw-st-err::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: #B42318; color: #fff; font-weight: 800; font-size: 13px; line-height: 1; margin-top: 1px;
}
/* #8 PVH content pages: the red bar stays on headings; boxes get a light neutral edge instead of a red top border */
.pvh-city .box, .pvh-city .cb, .pvh-city .glance div, .pvh-city .life > div, .pvh-city .ngc > div,
.pvh-city .pa-mapbox, .pvh-city .read div, .pvh-city .rep, .pvh-city .two .sell {
  border-top: 1px solid #DCE3EC !important;
}

/* #9 PVH neighborhood photo banners: navy shade only, no red tint over the photo */
.pvh-fh:before {
  background: linear-gradient(135deg, rgba(7,31,73,.82) 0%, rgba(7,31,73,.55) 60%, rgba(7,31,73,.35) 100%) !important;
}

/* #10 PVH small gray text one step darker: done in the pages themselves (#7A8594 becomes #5A6676, 5.8 to 1) */
