/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.1
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */

/* =========================================================
   Accessibility fixes (Oct 2026)
   ========================================================= */

/* Body text: theme default #757575 was 3.7-3.9:1 on the light grey
   sections (#e8ebed, #e6e6e6). #595959 is 5.6:1+ on those, 7:1 on white. */
body {
  color: #595959;
}

/* Keyboard focus: dark ring with a white halo, visible on white,
   blue and photo backgrounds alike (3.5:1+ everywhere). */
.fl-page a:focus-visible,
.fl-page button:focus-visible,
.fl-page input:focus-visible,
.fl-page textarea:focus-visible,
.fl-page select:focus-visible,
.fl-page [role="button"]:focus-visible,
.fl-page [tabindex]:focus-visible,
.fl-screen-reader-text:focus {
  outline: 3px solid #111 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px #fff !important;
}

/* Contact form: show the First / Last name and email sub-labels
   so fields don't rely on placeholder text as their only label. */
.gform_wrapper .gform-field-label--type-sub.hidden_sub_label.screen-reader-text {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  font-size: 14px;
  color: #595959;
}

/* Placeholder text: was 2:1, now 5.2:1 on the field background. */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: #6b6b6b !important;
  opacity: 1 !important;
}

/* Home slider: darken the photos so white headline text stays at
   least 3.4:1 even over white sky, plus a stronger text shadow. */
.n2-ss-slide-background-image {
  filter: brightness(0.55);
}
.n2-ss-text,
.n2-ss-text * {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}
