/**
 * 1.7.200 Ada baseline website fixes (W1, W2, W3, W10).
 * 1.7.201: W1 document-end room + raised fixed bottom controls while CookieYes shows.
 * 1.7.202: W1 html body padding-bottom beats WordPress global-styles body{padding-*:0}.
 * Brand purple #6A4883 unchanged. Copper button colour lives in home-v2.css.
 */

/* W1: leave room so focused fields can scroll clear of the CookieYes banner. */
html {
  scroll-padding-bottom: max(11rem, 28vh, var(--llwhs-cky-pad, 11rem));
}
/* Higher specificity than later global-styles-inline-css `body{padding-bottom:0}` (membership page). */
html body {
  /* Extra scrollable space at the document end so footer links (FAQ) can rise above the banner. */
  padding-bottom: var(--llwhs-cky-pad, 0px);
}

/* W1: fixed Back to top (and peers) sit above the banner when the pad var is set. */
.llwhs-v2-top,
[data-llwhs-v2-top] {
  bottom: max(1.1rem, var(--llwhs-cky-fixed-bottom, 1.1rem)) !important;
}

/* W2: if both headers are somehow present, the site sticky is covered - remove it from view and hits. */
body:has([data-ll-shop-sticky]) .ll-site-sticky,
body:has([data-ll-shop-sticky]) .ll-site-sticky-spacer {
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* W3: clipped PDF plugin fallback must not take pointer or keyboard. */
.llwhs-pdf-fallback,
.wp-block-pdf-viewer-block-standard[aria-hidden="true"] {
  pointer-events: none !important;
}
.llwhs-pdf-fallback a,
.llwhs-pdf-fallback button,
.llwhs-pdf-fallback input,
.llwhs-pdf-fallback iframe,
.wp-block-pdf-viewer-block-standard[aria-hidden="true"] a,
.wp-block-pdf-viewer-block-standard[aria-hidden="true"] button,
.wp-block-pdf-viewer-block-standard[aria-hidden="true"] input,
.wp-block-pdf-viewer-block-standard[aria-hidden="true"] iframe {
  display: none !important;
}

/* W10: Privacy (and other legal) policy body links keep a non-colour cue. Words unchanged. */
body.llwhs-legal-sticky.page .entry-content a,
body.privacy-policy .entry-content a,
.page-id-6542 .entry-content a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* W7: Who are you? fieldset legend matches existing .lbl look. */
.llwhs-join fieldset.llwhs-who {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.llwhs-join fieldset.llwhs-who > legend.lbl {
  padding: 0;
  float: none;
}
