/*
 * Arvo Child – a11y.css v2
 * Stronger defaults for contrast + icon links + visible focus
 */

/* Skip link */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:auto; height:auto;
}
.skip-link:focus{
  left:12px; top:12px; z-index:9999; background:#fff; padding:.5rem .75rem;
  outline:2px solid #005fcc;
}

/* Visible focus */
:focus{ outline:2px solid #005fcc; outline-offset:2px; }
a:focus, button:focus, [role="button"]:focus, input:focus, select:focus, textarea:focus{
  box-shadow:0 0 0 3px rgba(0,95,204,.25);
}

/* Contrast quick wins */
.site-header .main-navigation a { color:#0f0f0f !important; }
.site-header .main-navigation .current-menu-item > a,
.site-header .main-navigation a:hover { text-decoration:underline; }

.button, .btn, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button{
  color:#111 !important;
}

/* Dark sections: ensure readable text/icons */
.dark, .bg-dark, .has-dark-bg, footer, .site-footer, .widget-dark {
  color:#ffffff !important;
}
.dark a, .bg-dark a, .has-dark-bg a, footer a, .site-footer a { color:#ffffff !important; }
.dark .button, .bg-dark .button, .has-dark-bg .button { color:#111 !important; background:#fff !important; }

/* Icons (FontAwesome / SVG) ensure sufficient contrast on dark backgrounds */
i[class*="fa"], [class*="icon-"], .icon, svg { color:#ffffff !important; fill:#ffffff !important; }

/* Overlay text on images */
.hero .entry-title, .hero .section-title, .has-overlay [class*="title"]{
  text-shadow:0 1px 2px rgba(0,0,0,.5);
}
.hero .cta, .has-overlay .button{
  background:rgba(255,255,255,.92); padding:.6rem 1rem; border-radius:.3rem;
}

/* Visually hidden helper */
.visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,1px,1px); white-space:nowrap; border:0;
}

/* ---- WCAG contrast hard-fix for G5Plus/Arvo footers & dark bands ---- */
.footer, .site-footer, .main-footer, .footer-wrapper,
.footer-widgets, .footer-widget-area, .footer-sidebar,
.g5plus__footer, .g5core__footer, .g5plus-footer, .footer-top, .footer-bottom {
  background-color: #000 !important;   /* solid background (WAVE-visible) */
  color: #fff !important;
}

/* Ensure links, headings, icons are explicitly white (no transparency) */
.footer a, .site-footer a, .footer-top a, .footer-bottom a,
.footer .widget-title, .site-footer .widget-title, .widget_title,
.footer i, .footer svg, .site-footer i, .site-footer svg,
.footer [class*="icon-"], .site-footer [class*="icon-"] {
  color: #fff !important;
  fill: #fff !important;
}

/* Kill decorative pseudo-elements/lines that trigger contrast checks */
.footer .widget-title::before, .footer .widget-title::after,
.site-footer .widget-title::before, .site-footer .widget-title::after,
.footer [class*="widget-title"]::before, .footer [class*="widget-title"]::after {
  content: none !important; display: none !important;
}

/* If the blue underline exists, make it high-contrast vs black */
.footer .widget-title,
.site-footer .widget-title { border: 0 !important; }
.footer .widget-title span, .site-footer .widget-title span {
  border-bottom: 3px solid #2b6cb0 !important; /* ~7:1 vs #000 */
}

/* Only apply white text if the widget is already in a dark area */
.footer .widget,
.site-footer .widget {
  background-color: transparent !important;
  color: inherit !important; /* let it inherit normal text color */
}

/* For specific known dark widget areas */
.footer.bg-dark .widget,
.site-footer.bg-dark .widget {
  color: #fff !important;
}
.ib-content > p {
  color: #000 !important;
}
.ourteam-content > p {
    color: #727171 !important;
}

.entry-post-meta{display:none;}


.wpcf7-form-control.wpcf7-submit,
.wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-form-control.wpcf7-submit:focus,
.wpcf7-form-control.wpcf7-submit:active {
    color: #fff !important;                 /* White text for max contrast */
    background-color: #0d3a6e !important;   /* Dark navy blue */
    border: none !important;
    opacity: 1 !important;
}

