/*
 * R12 Stage V74: navigation and footer touch/accessibility styling.
 * Does NOT change WordPress menu items, consent flow or JavaScript handlers.
 */
:root{--ananda-v74-cream:#fff9ef;--ananda-v74-brown:#674a3b;--ananda-v74-clay:#975e44}
.reference-header {
  border-bottom-color:rgba(156,105,68,.22);
  background-color:rgba(255,250,241,.96);
}
.reference-header__inner{max-width:min(1440px,100%)}
.reference-nav__list > li > a{
  text-underline-offset:.25em;
  color:var(--ananda-v74-brown);
}
.reference-nav__list > li > a:is(:hover,:focus-visible){
  color:var(--ananda-v74-clay);
}
.reference-nav :is(a,button):focus-visible,
.reference-mobile :is(a,button):focus-visible,
.menu-toggle:focus-visible {
  outline:3px solid #a67554!important;
  outline-offset:4px;
}
.reference-mobile a {text-underline-offset:.2em}
.reference-footer {
  color:#6b5243;
  background:linear-gradient(150deg,#fffaf2,#f0e5d3);
  border-top:1px solid rgba(147,100,65,.25);
}
.reference-footer__inner{gap:clamp(12px,3vw,34px)}
.reference-footer__links a {
  color:#7a4c3b;
  text-underline-offset:.22em;
}
.reference-footer__links a:is(:hover,:focus-visible) {color:#9a593f}
.reference-footer :is(a,button):focus-visible{outline:3px solid #af805b;outline-offset:4px}
@media(max-width:760px) {
  .reference-mobile__list a {
    min-height:44px;
    display:flex;
    align-items:center;
    padding-block:10px;
    overflow-wrap:anywhere;
  }
  .menu-toggle{min-height:44px;min-width:44px}
  .reference-footer__inner {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    align-items:flex-start;
  }
  .reference-footer__links {
    display:flex;
    flex-wrap:wrap;
    column-gap:16px;
    row-gap:12px;
  }
  .reference-footer__links a{min-height:44px;display:inline-flex;align-items:center}
}
@media(prefers-reduced-motion:reduce) {
  .reference-nav__list a,.reference-footer__links a,.reference-mobile__list a {transition:none}
}

