#primary_nav a:focus,
#primary_nav button:focus {
  scroll-margin-top: 110px;
}

/* Visible keyboard-focus indicator for the primary nav, utility bar, and
   footer links (axe/keyboard audit: no focus ring anywhere in the header). */
#primary_nav a:focus-visible,
.utility_wrap a:focus-visible,
.nav a:focus-visible,
#footer_wrap a:focus-visible,
.custom_button_1 a:focus-visible {
  outline: 3px solid #231f20;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   MobileCTA.tsx: mobile only bottom action bar. Moved out of a
   body <style> element (Nu validator disallows <style> in body)
   into this site wide, head loaded stylesheet. Fully static, no
   props or state involved. Loads after ve-site.css and
   responsive-overrides.css so equal specificity ties still
   resolve the same way they did as an inline block.
   ============================================================ */
.mobile-cta-bar {
  display: flex !important;
}

@media (min-width: 769px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

/* ============================================================
   FloatingReviewWidget.tsx: desktop review card vs mobile
   compact badge. Moved out of a body <style> element for the
   same Nu validator reason. Fully static, no props or state
   involved.
   ============================================================ */
/* The full review card is 280px wide at left:16px. It clears the 1080px
   text column only when the viewport leaves ~300px of margin each side,
   so it renders from 1680px up; narrower desktops and phones get the
   compact rating pill instead (Zach 09-28: the card covered body text). */
.review-widget-desktop {
  display: none;
}

.review-widget-mobile {
  display: flex;
}

@media (min-width: 1680px) {
  .review-widget-desktop {
    display: block;
  }

  .review-widget-mobile {
    display: none !important;
  }
}

/* Blog subscribe buttons: white on #ff850b is 2.4:1. Keep the protected
   orange (responsive-overrides.css) and switch the label to the site ink
   color: #231f20 is 6.6:1 on #ff850b and 4.9:1 on the #e9651f hover. */
.blog_subscribe_form .blog-subscribe-open.button,
.blog-subscribe-modal-form .blog-subscribe-submit.button,
.blog_subscribe_form .blog-subscribe-open.button:hover,
.blog_subscribe_form .blog-subscribe-open.button:focus,
.blog-subscribe-modal-form .blog-subscribe-submit.button:hover,
.blog-subscribe-modal-form .blog-subscribe-submit.button:focus {
  color: #231f20 !important;
}

/* unsized-images / image-aspect-ratio: the blog card crops are square by
   design (130x130 / 200x200) but sources are 4:3; height:auto on mobile left
   them unsized. aspect-ratio + object-fit keeps the crop honest and sized. */
.blog #content .blog-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.blog #ve-page .blog-entry-photo .blog-image {
  height: auto;
}
#ve-page .latest-post .blog-entry-photo img {
  object-fit: cover;
}
