/*
 * Text contrast to WCAG 2.1 AA, 4.5:1 (Robert, 2026-11-03). Loaded LAST in <head> by inc/header.php,
 * inc/header-lp.php and inc/header-davor.php. Text colors only: no layout, sizes or backgrounds change.
 *
 * Every rule here is one an axe scan of the live pages flagged. !important is deliberate: most of these
 * colors come from page-local <style> blocks in the body or inline style="" attributes, which a head
 * stylesheet cannot otherwise beat.
 *
 *   text ON brand orange  -> navy #1f2d3d   (5.2:1 on #e8841a, 6.1:1 on #ff8d1b, 4.6:1 on #e27712)
 *   brand orange AS text  -> #a34f00        (5.7:1 on white, 4.9:1 on #eee)
 *   light grey text       -> #6b6b6b        (5.3:1 on white); #595959 on the #eee page band
 *   link blue on #f7f7f7  -> #1558b0        (6.4:1)
 * Orange used as text on a DARK background is left alone on purpose: darkening it there would fail.
 */

/* 1. Text on an orange fill: buttons, price tags */
.rnb-prop-price, .rnb-prop-price *,
.rnb-prop-btn, .rnb-prop-btn:hover, .rnb-prop-btn:focus,
#leasingToggle, .rnb-of-next, .rnb-sw-btn, .rnb-portal-btn,
.orange-button, #message_submit,
a.btn[style*="#ff8d1b"], a.btn[style*="#FF8D1B"] { color: #1f2d3d !important; }

/* 2. Orange used as text on a light background */
.site_map_style, .site_map_style:hover,
.media-right strong, .count, .phone, .off-bold strong,
.pl-office-card > a, .pl-office-cities a, .pl-office-card a[href^="tel:"],
.rnb-sw-label, .rnb-sw-mark, .rnb-sw-prompt, .rnb-sw-call, .rnb-of-steps .is-active, .rnb-of-steps strong,
.email, #showDetailsCollapse, .card-header > strong,
.maintanance-inner .active, .properties-details h5 { color: #a34f00 !important; }

/* 3. Light grey text */
.rnb-prop-addr, .rnb-rent-note, .rnb-region-cities, .rnb-of-steps,
.boxtext .col-md-4, .properties-details .content p span, .properties-details .content p small,
.rnb-quick .d, .service-pricing-card .service-subtitle, .service-pricing-card .price-note,
blockquote footer, #right-left-margin > h6, #office-areas h6, #leasing h6, #leasing .row > h6 { color: #6b6b6b !important; }

/* 4. Breadcrumb links on the light grey band */
.breadcrumb a, ol.breadcrumb li a, .rnb-breadcrumbs a { color: #1558b0 !important; }

/* 5. Second pass (colors set on child elements, opacity, and the landing-page design) */
.rnb-prop-price *, .rnb-listing-price, .rnb-listing-price * { color: #1f2d3d !important; opacity: 1 !important; }
.rnb-lpd-btn { color: #1f2d3d !important; }
.rnb-lpd-label, .submenu-wrapper a.active, .rp-redesign h5 a, .rp-redesign a > u,
.prospective-landlord h5.text-center { color: #a34f00 !important; }
.boxtext .col-md-4 label, .boxtext .col-md-4 label *, .properties-details strong,
.rnb-listing-addr, .rnb-listing-city, .rnb-listing-specs, .rp-redesign h5,
.service-pricing-card .price-label { color: #6b6b6b !important; }
.rnb-breadcrumb a { color: #1558b0 !important; }

/* Exceptions: labels on DARK bands keep the bright orange (it passes there; the dark orange would not). */
.rnb-sw-same-head .rnb-sw-label { color: #e27712 !important; }
.rnb-re-dark .rnb-lpd-label, .rnb-ogr-cap .rnb-lpd-label, .rnb-ogr-dark .rnb-lpd-label { color: #e27712 !important; }

/* 6. Third pass */
.rnb-re-mark, .rnb-re-kicker, .rnb-lpd-call, .rnb-lpd-in a[href$="book-a-call.php"]:not(.rnb-lpd-btn),
.rnb-ogd-qs span[aria-hidden="true"], .rnb-ogd span[aria-hidden="true"],
.offices-tabs a[href="#home"], .nav-tabs > li > a[href="#home"] { color: #a34f00 !important; }
.rnb-re-dark .rnb-re-mark, .rnb-re-dark .rnb-re-kicker { color: #e27712 !important; }
.rnb-og-note { color: #595959 !important; }
a.btn[href$="?t=2"]:not([style]) { color: #1f2d3d !important; }
.rnb-og-dl a[href$="book-a-call.php"], p > a[href="/lp/book-a-call.php"] { color: #1558b0 !important; }
.rnb-ro-mark, .rnb-fl-num, li > span[aria-hidden="true"]:only-of-type { color: #a34f00 !important; }
/* Labels on the blue bands: white (the orange fails on blue either shade). */
.rnb-rp-how .rnb-lpd-label, .rnb-bc-talk .rnb-lpd-label, .rnb-ro-blue .rnb-lpd-label, .rnb-ogd-toc .rnb-lpd-label, .is-full .rnb-lpd-label { color: #ffffff !important; }
.custom_btn, .rnb-ad-btn { color: #1f2d3d !important; }
.rvw-txt, p.position, .reviewed #flexiselDemo2 h5 { color: #6b6b6b !important; }
.rnb-owner-strip-btn { color: #1f2d3d !important; }
#expandMapTrigger, #expandMapTrigger span { color: #a34f00 !important; }

/* 7. Links inside running text must not rely on color alone (WCAG 1.4.1). */
p a:not([class]), .rnb-fee-answer a, .rnb-rent-note a, .rp-redesign h5 a, a[href="/rent-up-vs-management.php"]:not([class]) { text-decoration: underline; }
/* Owner guides added 2026-11-03 (late rent, leases): tab numbers and the sheet kicker; the leases guide's blue band. */
.rnb-ogs-tabs a i, .rnb-ogl-sheet > span { color: #a34f00 !important; }
.rnb-ogs-help .rnb-lpd-label { color: #ffffff !important; }
/* Owner guide: Repairs and safety (#168). Its cheat-sheet button and timing band are BLUE: white text there.
   A new landing design that puts .rnb-lpd-btn or .rnb-lpd-label on blue or dark needs a line like these. */
.rnb-ogp-sheet .rnb-lpd-btn, .rnb-ogp-sheet button { color: #ffffff !important; }
.rnb-ogp-timing .rnb-lpd-label { color: #ffffff !important; }
.rnb-ogp-coord li > i, .rnb-ogp-sheet > span { color: #a34f00 !important; }
