/* ============================================================
   MUSEF - COOKIE CONSENT
   Hidden by default and opened by script. Hiding it in CSS rather
   than in markup matters: every page on this site is served from a
   full-page cache, so the HTML is identical for a first-time visitor
   and for someone who answered months ago. The choice lives in the
   browser, and only script knows it.
   ============================================================ */

.msf-consent{
  display:none;
  position:fixed;
  z-index:9999;
  inset-inline:0;
  bottom:0;
  background:var(--msf-bg,#FFFFFF);
  border-top:1px solid var(--msf-line,#ECECEC);
  box-shadow:0 -8px 28px rgba(0,0,0,.10);
  font-family:var(--msf-font);
  color:var(--msf-ink,#1A1A1A);
}
.msf-consent.is-open{ display:block; }

.msf-consent__inner{
  max-width:var(--msf-max,1360px);
  margin-inline:auto;
  padding:18px var(--msf-gut,24px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.msf-consent__text{
  margin:0;
  font-size:14px;
  line-height:1.55;
  max-width:74ch;
}
.msf-consent__text a{
  color:var(--msf-accent,#EA6A33);
  text-decoration:underline;
}

.msf-consent__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.msf-consent__btn{
  font:inherit;
  font-size:14px;
  font-weight:600;
  min-height:var(--msf-tap,44px);
  padding:10px 24px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background-color .15s ease, color .15s ease;
}
.msf-consent__btn--accept{
  background:var(--msf-accent,#EA6A33);
  color:#FFFFFF;
}
.msf-consent__btn--accept:hover{ background:var(--msf-accent-dark,#D4551F); }

/* Declining must look as easy as accepting, not like the way out. */
.msf-consent__btn--decline{
  background:transparent;
  color:var(--msf-ink,#1A1A1A);
  border-color:var(--msf-line,#ECECEC);
}
.msf-consent__btn--decline:hover{ background:var(--msf-hover,#F5F5F5); }

.msf-consent__btn:focus-visible{
  outline:2px solid var(--msf-accent,#EA6A33);
  outline-offset:2px;
}

@media (max-width:720px){
  .msf-consent__inner{
    padding:16px var(--msf-gut-sm,16px);
    gap:14px;
  }
  .msf-consent__actions{ width:100%; }
  .msf-consent__btn{ flex:1 1 0; padding-inline:12px; }
}

/* The link that lets someone change their mind later. Styled as a link
   because it sits inside running text on the privacy page. */
.msf-consent-reopen{
  background:none;
  border:0;
  padding:0;
  font:inherit;
  color:var(--msf-accent,#EA6A33);
  text-decoration:underline;
  cursor:pointer;
}
.msf-consent-reopen:focus-visible{
  outline:2px solid var(--msf-accent,#EA6A33);
  outline-offset:2px;
}