/* INDEXIKA consent UI — values taken from the accepted Contact page.
   Paper #f3f1eb, ink #211d18, contact CTA #ad5547.
   Scoped to this plugin. No changes to theme or consent behavior. */
#cookie.mw-consent[hidden],#cookie .mw-consent__preferences[hidden]{display:none}
#cookie.mw-consent{box-sizing:border-box;position:fixed;z-index:100000;bottom:24px;left:24px;width:min(610px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;margin:0;padding:27px 30px 26px;border:1px solid #c9c9c1;border-radius:24px;background:#f3f1eb;color:#211d18;box-shadow:0 20px 64px rgba(0,0,0,.2);font-family:"Helvetica Neue",Arial,sans-serif;text-align:left;line-height:1.5}
#cookie.mw-consent *,#cookie.mw-consent *::before,#cookie.mw-consent *::after{box-sizing:border-box}
#cookie .mw-consent__title{margin:0 0 12px;color:#211d18;font-size:clamp(19px,2.2vw,25px);font-weight:650;letter-spacing:-.035em;line-height:1.15;text-transform:uppercase}
#cookie .mw-consent__description{margin:0;color:#5e625e;font-size:15px;line-height:1.6}
#cookie .mw-consent__links{display:flex;flex-wrap:wrap;gap:9px 20px;margin-top:13px}
#cookie .mw-consent__links a{color:#934339;font-size:13px;text-decoration:underline;text-underline-offset:3px}
#cookie .mw-consent__links:not(:has(a)){display:none}
#cookie .mw-consent__actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px;align-items:center}
#cookie .mw-consent__button{appearance:none;min-height:44px;cursor:pointer;padding:11px 17px;border-radius:100px;border:1px solid transparent;background:transparent;color:#211d18;font-family:inherit;font-size:13px;font-weight:750;line-height:1.3;text-transform:uppercase;letter-spacing:.02em;text-align:center;transition:background-color .2s ease,color .2s ease,border-color .2s ease,filter .2s ease}
#cookie .mw-consent__button--primary{background:var(--ix-button-red);color:#fff;border-color:var(--ix-button-red)}
#cookie .mw-consent__button--primary:hover{background:var(--ix-button-red);border-color:var(--ix-button-red);color:#fff;filter:brightness(.9)}
#cookie .mw-consent__button--outlined{background:#211d18;border-color:#211d18;color:#fff}
#cookie .mw-consent__button--outlined:hover{background:#3b3530;border-color:#3b3530;color:#fff}
#cookie .mw-consent__button--text{color:#211d18;padding-inline:11px;text-decoration:underline;text-underline-offset:4px}
#cookie .mw-consent__button--text:hover{color:var(--ix-button-red)}
#cookie :focus-visible,.mw-consent-footer-link:focus-visible{outline:2px solid var(--ix-focus-ring);outline-offset:3px}
#cookie .mw-consent__preferences{margin-top:18px;padding-top:6px;border-top:1px solid #c9c9c1}
#cookie .mw-consent__preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #c9c9c1;padding:14px 0;color:#211d18;font-size:14px}
#cookie .mw-consent__required{font-size:12px;color:#66655f;white-space:nowrap}
#cookie .mw-consent__preference-row input{accent-color:var(--ix-button-red);width:19px;height:19px;margin:0;flex:0 0 auto}
#cookie .mw-consent__save{margin-top:18px}
.ix-footer__bottom .mw-consent-footer-link{display:inline-block;margin-left:18px;background:none;border:0;box-shadow:none;color:#f3f1eb;font:inherit;font-size:11px;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}
.ix-footer__bottom .mw-consent-footer-link:hover{color:#fff}
@media(max-width:781px){.ix-footer__bottom .mw-consent-footer-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px}}
@media(max-width:640px) {
  #cookie.mw-consent {left:10px;right:10px;bottom:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:10px 10px 8px;border-radius:14px}
  #cookie .mw-consent__title {font-size:16px;line-height:1.15;margin-bottom:3px}
  #cookie .mw-consent__description {font-size:14px;line-height:1.25}
  #cookie .mw-consent__actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px;margin-top:5px}
  #cookie .mw-consent__button {min-height:44px;padding:6px 4px;font-size:12px;line-height:1.2;white-space:normal;word-break:normal;overflow-wrap:normal}
  #cookie .mw-consent__button--text {grid-column:1/-1;justify-self:center;min-height:44px;padding:2px 4px;font-size:12px;text-decoration:underline}
}
@media(prefers-reduced-motion:reduce){#cookie .mw-consent__button{transition:none}}

@media(max-width:360px) {
  #cookie.mw-consent {left:8px;right:8px;bottom:8px;width:calc(100vw - 16px);padding:9px 10px 8px}
  #cookie .mw-consent__actions {gap:4px 6px;margin-top:5px}
}
