/* One accent color, harvest gold (11/4, "make it pop" idea 7). Adam: every section had the same navy-on-white
   treatment. A single warm accent, used in a few small places, gives the eye somewhere to land without turning into a
   second theme. Body text, headings, and buttons stay navy. This file loads last (the zz- name sorts after every other
   part), so equal-weight rules here win without !important.

   Contrast, measured:
   - #c8952b on navy #182a61 is 5.05:1 and on deep navy #101d45 6.07:1, so gold works as text, icons, and rings on navy,
     and navy text works on a gold fill.
   - #c8952b on white is only 2.7:1, so on white it draws only lines that sit beside navy text, never text or a mark that
     carries meaning by itself.
   - #9a6f14 (strong) on white is 4.5:1, for gold text and state marks on white. It is a brighter gold than Sale
     Pending's #7f6212, which stays the status color. */
:root {
  --gl-accent: #c8952b;
  --gl-accent-strong: #9a6f14;
}

/* "New listing" and "Price reduced" flags on listing photos: a gold fill with deep navy text (6.07:1), so the two
   flags that mean "look at this" stand out from the white status flags (Sale pending, Sold, For lease). The listing
   page's gallery flag (.gl-flag) says the same two things. */
body .gl-card-flag--news, body .gl-flag { background: var(--gl-accent); color: var(--gl-navy-deep); }
/* A card without a photo shows its flag in the text column, where restyle.css drops the fill. The gold fill comes back
   with its padding, so the flag still reads as a flag. */
body .gl-card--text .gl-card-flag--news { padding: 2px 8px; background: var(--gl-accent); }

/* Hover underlines on text links turn gold and 2 px thick. Most links already underline on hover, or always, from rules
   of many weights across the parts, so the color and thickness here use !important, and only while hovered. Many
   underlines sit on a span inside the link (a card's name, a heading's words), so the rule reaches the link's
   descendants too. The words keep their color. */
@media (hover: hover) {
  a:hover, a:hover * { text-decoration-color: var(--gl-accent) !important; text-decoration-thickness: 2px !important; }
}

/* The main menu's line under the current page, and the line that grows under a hovered item: gold. It marks the current
   page, so it uses the strong gold (4.5:1 on the white header). */
#header .nav-line-grow > li > a::before, #header .nav-line > li > a::before { background-color: var(--gl-accent-strong); }

/* Get Started, the navy call-to-action button in the menu: a gold focus ring, which reads on the navy button and keeps
   the site's 3 px weight. */
@media (min-width: 850px) {
  #header .header-nav-main > li.gl-a-forms > a:focus-visible { outline: 3px solid var(--gl-accent); outline-offset: 2px; }
}

/* The figures in Our Services and in "Where do you start?": strong gold, the one place numbers carry the accent. They
   are 28 px and up at weight 600, on white. */
.gl-o-big, .gl-o-pf-big { color: var(--gl-accent-strong); }

/* The hero's "Show N listings" button stays navy; its arrow turns gold (5.05:1 on navy). */
body.gl-home-mix button.gl-o-find-go .gl-i { color: var(--gl-accent); }

/* The star on the footer's "Leave a Google review" button: the same gold, so the site has one yellow, not two. */
body #footer .gl-e-rev-star { color: var(--gl-accent); }
