/* ------------------------------------------------------------------
   BEEDEN — universal overrides (loaded after the page
   bundle, before style.css). Site-wide fixes live here.
   ------------------------------------------------------------------ */

/* WordPress admin bar sits over the fixed header when logged in. */
body.admin-bar #hdr { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar #hdr { top: 46px; } }
body.admin-bar .menu { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .menu { top: 46px; } }

/* WordPress alignment/caption classes, in case a guide uses them. */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--slate); font-size: .8125rem; margin-top: .5rem; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Bare <b> and <strong> inherit the browser's default weight 700, which the
   site never asks Google for, so four places were drawn in synthetic bold:
   the two prescription cap figures in the fees guide and two emphasised lines
   on the home page. 600 is the heaviest weight the design actually uses, so
   they now render in a real Inter face instead of a smeared one. */
b, strong { font-weight: 600; }

/* Skip link. The approved HTML has no way to bypass the header and the menu
   with a keyboard, which is a WCAG 2.4.1 failure on every page. Hidden until
   it takes focus, so the design is unchanged for everyone else. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--chalk); color: var(--ink);
  padding: 12px 20px; font-size: 14px; font-weight: 500;
  text-decoration: none; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; outline: 2px solid var(--aubergine); outline-offset: 2px; }

/* The footer strapline carried an inline style in the approved HTML. It moves
   into a class here so the template stays free of style attributes. */
.ftr__line { margin-top: 18px; font-size: 14px; color: var(--stone); max-width: 32ch; }

/* The approved pages never put a link inside a .checks list, so those items
   fell back to the browser's underline. The 404 and search templates do use
   them as a list of places to go. No underline, colour shift on hover, and a
   visible focus ring for keyboard users. */
.checks li > a { text-decoration: none; }
.checks li > a:hover { color: var(--aubergine); }
.sec--aub .checks li > a:hover,
.sec--deep .checks li > a:hover { color: var(--chalk); }
.checks li > a:focus-visible { outline: 2px solid var(--mineral); outline-offset: 3px; }
