/* Ippis Cookie Consent Banner */
.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

html.ippis-consent-open{overflow:hidden}

.ippis-consent{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:16px;
  pointer-events:none;
}
.ippis-consent[hidden]{display:none!important}

.ippis-consent__scrim{
  position:absolute;
  inset:0;
  background:rgba(12,11,10,.55);
  pointer-events:auto;
}

.ippis-consent__panel{
  position:relative;
  z-index:1;
  width:min(560px,100%);
  margin-bottom:max(8px, env(safe-area-inset-bottom));
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:linear-gradient(165deg,#221f1c 0%,#171614 100%);
  box-shadow:0 28px 70px rgba(0,0,0,.45);
  color:#f5f0e9;
  pointer-events:auto;
  overflow:hidden;
}

.ippis-consent__accent{
  height:3px;
  background:linear-gradient(90deg,var(--red,#ef342a) 0%,var(--red,#ef342a) 52%,var(--gold,#e2ad28) 100%);
}

.ippis-consent__banner,
.ippis-consent__settings{padding:22px 22px 20px}

.ippis-consent__eyebrow{
  margin:0 0 8px;
  color:var(--gold,#e2ad28);
  font-size:.68rem;
  font-weight:720;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ippis-consent__panel h2{
  margin:0 0 10px;
  font-family:var(--display,"IBM Plex Sans",sans-serif);
  font-size:1.35rem;
  line-height:1.2;
  letter-spacing:-.02em;
  font-weight:700;
  color:#fff;
}

.ippis-consent__text{
  margin:0 0 12px;
  color:#b9b1a7;
  font-size:.9rem;
  line-height:1.55;
}

.ippis-consent__meta{
  margin:0 0 18px;
  font-size:.8rem;
}
.ippis-consent__meta a{
  color:#e8dfd4;
  text-decoration:underline;
  text-underline-offset:2px;
}
.ippis-consent__meta a:hover{color:#fff}

.ippis-consent__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.ippis-consent__actions .ippis-consent__btn--ghost{
  grid-column:1 / -1;
}

.ippis-consent__btn{
  min-height:46px;
  padding:0 14px;
  border-radius:11px;
  border:1px solid transparent;
  font:inherit;
  font-size:.86rem;
  font-weight:650;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.ippis-consent__btn:hover{transform:translateY(-1px)}
.ippis-consent__btn:focus-visible{
  outline:2px solid var(--gold,#e2ad28);
  outline-offset:2px;
}

.ippis-consent__btn--primary{
  background:var(--red,#ef342a);
  color:#fff;
  box-shadow:0 8px 20px rgba(239,52,42,.18);
}
.ippis-consent__btn--primary:hover{background:#ff3f34}

.ippis-consent__btn--secondary{
  background:transparent;
  color:#f3ede5;
  border-color:rgba(255,255,255,.28);
}
.ippis-consent__btn--secondary:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.42);
}

.ippis-consent__btn--ghost{
  background:transparent;
  color:#cfc6bb;
  border-color:rgba(255,255,255,.12);
}
.ippis-consent__btn--ghost:hover{
  color:#fff;
  border-color:rgba(226,173,40,.45);
}

.ippis-consent__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.ippis-consent__row:last-of-type{margin-bottom:8px}
.ippis-consent__row strong{
  display:block;
  margin-bottom:4px;
  color:#f3ede5;
  font-size:.9rem;
}
.ippis-consent__row span{
  display:block;
  color:#9e968c;
  font-size:.78rem;
  line-height:1.45;
  max-width:34ch;
}

.ippis-consent__badge{
  flex:none;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(226,173,40,.35);
  color:var(--gold,#e2ad28);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}

.ippis-consent__switch{
  position:relative;
  display:inline-flex;
  width:48px;
  height:28px;
  flex:none;
  cursor:pointer;
}
.ippis-consent__switch input{
  position:absolute;
  opacity:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:pointer;
}
.ippis-consent__slider{
  width:100%;
  height:100%;
  border-radius:999px;
  background:#3a3632;
  border:1px solid rgba(255,255,255,.14);
  transition:background .18s ease;
}
.ippis-consent__slider:before{
  content:"";
  position:absolute;
  top:3px;left:3px;
  width:20px;height:20px;
  border-radius:50%;
  background:#f5f0e9;
  transition:transform .18s ease;
}
.ippis-consent__switch input:checked + .ippis-consent__slider{
  background:rgba(239,52,42,.85);
  border-color:rgba(239,52,42,.9);
}
.ippis-consent__switch input:checked + .ippis-consent__slider:before{
  transform:translateX(20px);
}
.ippis-consent__switch input:focus-visible + .ippis-consent__slider{
  outline:2px solid var(--gold,#e2ad28);
  outline-offset:2px;
}

.footer-consent-link,
a.footer-consent-link,
button.footer-consent-link{
  appearance:none;
  background:none;
  border:0;
  padding:0;
  margin:7px 0;
  display:block;
  color:#aaa39a;
  font:inherit;
  font-size:.82rem;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.footer-consent-link:hover{color:#fff}
.footer-consent-link:focus-visible{
  outline:2px solid var(--gold,#e2ad28);
  outline-offset:2px;
}

.page-footer .footer-consent-link,
.page-footer button.footer-consent-link{
  display:inline;
  margin:0 0 0 .35em;
  color:inherit;
  font-size:inherit;
}
.page-footer .footer-consent-link:hover{color:#fff}

@media (min-width:720px){
  .ippis-consent{
    align-items:flex-end;
    justify-content:flex-end;
    padding:24px;
  }
  .ippis-consent__banner,
  .ippis-consent__settings{padding:26px 26px 22px}
  .ippis-consent__panel h2{font-size:1.45rem}
}

@media (prefers-reduced-motion:reduce){
  .ippis-consent__btn,
  .ippis-consent__slider,
  .ippis-consent__slider:before{transition:none}
  .ippis-consent__btn:hover{transform:none}
}
