/* Cookie consent banner and footer link. Uses the site's navy/gold palette. */
.consent{position:fixed;inset-inline:0;bottom:0;z-index:1050;box-sizing:border-box;padding:.75rem;max-height:100vh;max-height:100dvh;overflow-y:auto;font-family:'Assistant',Arial,sans-serif;direction:rtl}
.consent[hidden]{display:none}
.consent *{box-sizing:border-box}
.consent-inner{max-width:820px;margin-inline:auto;padding:1.1rem 1.25rem 1.25rem;background:#0B1F33;color:#F8F7F4;border:1px solid #C2A878;border-top:3px solid #C2A878;border-radius:4px;box-shadow:0 10px 40px rgba(0,0,0,.45)}
.consent-title{margin:0 0 .4rem;font-size:1.1rem;font-weight:800;color:#F8F7F4}
.consent-text{margin:0 0 1rem;font-size:.95rem;line-height:1.65;color:rgba(248,247,244,.92)}
.consent-text a{color:#E3C998;text-decoration:underline;text-underline-offset:3px}
.consent-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.consent-btn{flex:1 1 auto;min-height:44px;padding:.55rem 1.1rem;border:2px solid #C2A878;border-radius:3px;font:700 .95rem/1.25 'Assistant',Arial,sans-serif;text-align:center;cursor:pointer}
.consent-btn--accept{background:#C2A878;color:#0B1F33}
.consent-btn--reject{background:#F8F7F4;color:#0B1F33;border-color:#F8F7F4}
.consent-btn--settings,.consent-btn--close{background:transparent;color:#F8F7F4;border-color:rgba(248,247,244,.7)}
.consent-btn--save{margin-top:.25rem;background:#C2A878;color:#0B1F33;width:100%}
.consent-btn:hover{filter:brightness(1.08)}
.consent-btn[hidden]{display:none}
.consent-settings{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(248,247,244,.25)}
.consent-settings:focus{outline:none}
.consent-cat{margin-bottom:.9rem;padding:.8rem .9rem;border:1px solid rgba(248,247,244,.3);border-radius:3px}
.consent-cat-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.consent-cat-name{font-weight:800;font-size:1rem}
.consent-cat-fixed{flex:none;padding:.1rem .6rem;border:1px solid rgba(248,247,244,.6);border-radius:10px;font-size:.8rem;font-weight:700}
.consent-cat-label{cursor:pointer}
.consent-cat-desc{margin:.5rem 0 0;font-size:.88rem;line-height:1.6;color:rgba(248,247,244,.88)}
.consent-switch{flex:none;width:1.35rem;height:1.35rem;margin:0;accent-color:#C2A878;cursor:pointer}
.consent-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media(max-width:600px){.consent{padding:.4rem}.consent-inner{padding:.8rem .9rem .9rem}.consent-title{font-size:1rem;margin-bottom:.25rem}.consent-text{font-size:.84rem;line-height:1.5;margin-bottom:.7rem}.consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.consent-btn{width:100%;min-height:44px;padding:.4rem .5rem;font-size:.88rem}.consent-btn--settings,.consent-btn--close{grid-column:1/-1}.consent-cat-desc{font-size:.82rem}}

/* Keep the accessibility toolbar clear of the banner */
.a11y-toggle{bottom:calc(1rem + var(--consent-h,0px))}
.a11y-panel{bottom:calc(4.5rem + var(--consent-h,0px));max-height:calc(100vh - 6rem - var(--consent-h,0px));max-height:calc(100dvh - 6rem - var(--consent-h,0px))}

/* Footer link, styled like the other legal links */
.ftr-legal .ftr-consent-link{padding:0;border:0;background:none;font:inherit;font-size:.78rem;color:rgba(248,247,244,.58);cursor:pointer;transition:color .25s}
.ftr-legal .ftr-consent-link:hover{color:rgba(248,247,244,.9)}

/* High-contrast mode from the accessibility toolbar */
html.a11y-contrast .consent-inner{background:#000;border-color:#FFE066;color:#fff}
html.a11y-contrast .consent-title,html.a11y-contrast .consent-text,html.a11y-contrast .consent-cat-desc{color:#fff}
html.a11y-contrast .consent-text a{color:#FFE066}
html.a11y-contrast .consent-btn--accept,html.a11y-contrast .consent-btn--save{background:#FFE066;border-color:#FFE066;color:#000}
html.a11y-contrast .consent-btn--reject{background:#fff;border-color:#fff;color:#000}
html.a11y-contrast .consent-btn--settings,html.a11y-contrast .consent-btn--close{border-color:#fff;color:#fff}
html.a11y-contrast .consent-cat{border-color:#fff}
html.a11y-readable .consent,html.a11y-readable .consent *{font-family:Arial,Tahoma,"Segoe UI",Helvetica,sans-serif!important}
