/* WordPress-specific adjustments for the V5 header and footer (of-chrome.css is generated from the design and not edited).
   The theme and the legacy stylesheets style lists, buttons and links globally; these resets keep the design's values. */
body:not(#ofh) .ofh-chrome :is(ul,ol){margin:0;padding:0;list-style:none}
body:not(#ofh) .ofh-chrome li{margin:0;padding:0}
body:not(#ofh) .ofh-chrome li::before{content:none}
body:not(#ofh) .ofh-chrome button{box-shadow:none;text-transform:none;letter-spacing:normal;min-height:0}
body:not(#ofh) .ofh-chrome img{max-width:none;height:auto}
body:not(#ofh) .ofh-chrome svg{flex:none}
body:not(#ofh) .ofh-chrome :is(h2,p){margin:0}
body:not(#ofh) .ofh-chrome a{text-decoration:underline}
/* The utility bar has the language switcher, so TranslatePress's floating one is hidden. */
#trp-floater-ls,.trp-floating-switcher{display:none!important}

/* Phones: every link is at least 44px tall to tap (test plan G9). The padding enlarges the tap area and the negative
   margin cancels it out, so nothing moves. */
@media (max-width:600px){
.ofh-chrome .site-header .lockup-link{padding-block:5px;margin-block:-5px}
.ofh-chrome .footer-legal a{display:inline-block;padding-block:10px;margin-block:-10px}
}

/* Phones: the cookie-consent plugin's floating "cookie settings" button (Hu-manity, #hu-revoke) shrinks from 50px to a
   32px circle and moves into the bottom-left corner gutter, so it no longer covers text. An invisible ring keeps a 44px
   tap area (test plan G9). It stays bottom-left in Arabic too, as the plugin places it. */
@media (max-width:600px){
/*rtl:begin:ignore*/
body #hu-revoke{left:6px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;width:32px!important;height:32px!important}
body #hu-revoke #hu-revoke-wrapper{width:32px!important;height:32px!important}
body #hu-revoke button{position:relative;width:32px!important;height:32px!important;min-height:0!important;min-width:0!important;padding:5px!important;display:flex;align-items:center;justify-content:center}
body #hu-revoke button::after{content:"";position:absolute;inset:-6px}
body #hu-revoke button img{left:0!important;width:21px!important;height:auto!important}
/*rtl:end:ignore*/
}

/* Footer recognition row (Foundation review, 17 Nov 2026): the "V5 footer: Recognition" widgets (sponsor thank-you,
   Candid seal) and the social icons, between the footer columns and the legal links. */
body:not(#ofh) .ofh-chrome .footer-recognition{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;padding-block:24px;margin-bottom:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body:not(#ofh) .ofh-chrome .footer-recognition__widgets{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px;min-width:0}
body:not(#ofh) .ofh-chrome .footer-recognition__widgets :is(p,.wp-block-paragraph){margin:0;font:600 12px/1.5 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
body:not(#ofh) .ofh-chrome .footer-recognition__widgets img{display:block;width:auto;max-width:120px;height:auto;max-height:120px}
body:not(#ofh) .ofh-chrome .footer-recognition__widgets a{display:inline-block}
body:not(#ofh) .ofh-chrome .footer-social{display:flex;gap:8px}
body:not(#ofh) .ofh-chrome .footer-social__link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:var(--accent);border:1px solid var(--line);text-decoration:none}
body:not(#ofh) .ofh-chrome .footer-social__link:hover{color:#fff;background:var(--accent);border-color:var(--accent)}
body:not(#ofh) .ofh-chrome .footer-social__link:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media (max-width:600px){
body:not(#ofh) .ofh-chrome .footer-recognition{flex-direction:column;align-items:flex-start}
}
