/* The Elizabeth — site-specific colour corrections (WCAG 1.4.3 / 1.4.11)
   The design is white type on Elizabeth blue #879cb1, which only reaches 2.8:1.
   Every white-on-blue surface takes one deeper shade of the same blue, #5e7791
   (white on it = 4.64:1). Type, logo, icons and burger lines all stay white. */

/* Top bar: was rgba(135,156,177,.85). At 85% the photo underneath can lighten it
   below the minimum, so the bar is solid. */
header.banner { background: #5e7791; }
header.banner .link-holder a:hover,
header.banner .link-holder a:focus-visible { color: #fff; text-decoration: underline; }

/* Open menu panel: was rgba(135,156,177,.8/.9) */
.nav-primary { background: #5e7791; }
.nav-primary #menu-main-menu a:hover,
.nav-primary #menu-main-menu a:focus-visible { color: #fff; text-decoration: underline; }
/* Current page was #345264 (2.9:1). It stays marked by its rule line, now light. */
.nav-primary #menu-main-menu .current-menu-item a { color: #fff; }
.nav-primary #menu-main-menu .current-menu-item a:before { background: #fff; }
.nav-primary .contact-info a:hover,
.nav-primary .contact-info a:focus-visible { color: #fff; text-decoration: underline; }
.nav-primary .socials a svg:hover path { fill: #fff !important; }

/* Community amenities panel */
#amenities figcaption { background: #5e7791; }

/* Footer: white on grey #83898e was 3.5:1 -> grey #70757a = 4.65:1 */
footer.footer-content { background: #70757a; }
footer.footer-content a:hover,
footer.footer-content a:focus-visible { color: #fff; text-decoration: underline; }

/* Residences: floor-plan titles #879cb1 on #dddfe0 were 2.1:1 -> #4e6378 = 4.65:1 */
#floor-plans .title { color: #4e6378; }
/* Heading inside the features panel follows the panel text colour */
#residence-features .book { color: #21333f; }

/* Residence features panel: navy #345264 on blue was 2.9:1 -> #21333f = 4.61:1 */
#residence-features .feature-holder { color: #21333f; }

/* Buttons: blue-on-white and white-on-blue were 2.8:1 -> the same deeper blue #5e7791 */
.btn.white { color: #5e7791; border-color: #5e7791; }
.btn.white:hover, .btn.white:focus-visible { color: #fff; background: #5e7791; }
.btn.blue { background: #5e7791; border-color: #5e7791; }
.btn.blue:hover, .btn.blue:focus-visible { color: #5e7791; background: #fff; }

/* "Site by" credit: #a6a6a6 on #f1eee8 was 2.1:1 -> #6b6b6b = 4.60:1 */
footer.footer-content #site-by a, #site-by a { color: #6b6b6b; }

/* Section headings over the pale pattern background measured 2.8:1 (need 3:1 for large text).
   A darker shade of the same blue-grey: 6:1 on white. */
section#content h2.fancy-underline, .section-padding h2.fancy-underline { color: #4f647a; }
