.ed-footer {
  --footer-muted: #bcbcbc;
  --footer-rule: #363636;
  --footer-inset: clamp(36px, 3.2vw, 64px);
  position: relative;
  isolation: isolate;
  /* The footer fills the screen: links at the top, the signature takes the room that is left. */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: max(var(--footer-inset), 104px) 0 0;
  background: #0b0b0b;
  color: #fff;
  line-height: 1.45;
}
.ed-footer-inner {
  flex: none;
  width: min(84%, 1550px);
  margin-inline: auto;
}
.ed-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3.6vw, 76px);
}
.ed-footer summary {
  list-style: none;
  cursor: pointer;
}
.ed-footer summary::-webkit-details-marker { display: none; }
.ed-footer summary::marker { content: ""; }
.ed-foot-col summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -.022em;
  cursor: default;
}
.ed-foot-col ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.ed-foot-col li + li { margin-top: 6px; }
.ed-footer a {
  color: var(--footer-muted);
  text-decoration: none;
}
.ed-foot-col a {
  display: inline-block;
  padding-block: 2px;
  font-size: .9rem;
  line-height: 1.5;
}
.ed-footer a:hover, .ed-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.ed-footer :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
.ed-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(24px, 2.75vw, 48px);
  border-top: 1px solid var(--footer-rule);
  padding-top: 16px;
  font-size: .84rem;
}
.ed-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  color: var(--footer-muted);
}
.ed-legal a { padding-block: 5px; }
.ed-lang { position: relative; }
.ed-lang summary {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  gap: 8px;
}
.ed-lang svg { width: 16px; height: 16px; }
.ed-lang i, .ed-foot-col i, .ed-footer-company i {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ed-foot-col i { display: none; }
.ed-lang[open] i, .ed-foot-col[open] i, .ed-footer-company[open] i { transform: translateY(1px) rotate(225deg); }
.ed-lang > div {
  position: absolute;
  z-index: 1;
  bottom: calc(100% + 4px);
  min-width: 140px;
  padding: 5px;
  border: 1px solid #484848;
  border-radius: 10px;
  background: #202020;
}
.ed-lang > div a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
}
.ed-lang a:hover, .ed-lang a:focus-visible {
  background: #353535;
  text-decoration: none;
}
.ed-footer-company { position: relative; }
.ed-footer-company summary { display: flex; align-items: center; gap: 8px; padding-block: 6px; }
.ed-footer-disclosure {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 2;
  width: min(370px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid #484848;
  border-radius: 10px;
  background: #202020;
  color: #ccc;
  font-size: .875rem;
  line-height: 1.55;
}
.ed-footer-disclosure p { margin: 0 0 10px; }
.ed-footer-disclosure p:first-child { color: #fff; }
.ed-footer-disclosure div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ed-footer-disclosure a { text-decoration: underline; text-underline-offset: .18em; }
.footer-signature {
  /* The signature takes the height that is left, stays inside the width, and sits flush with the page edge.
     pyratz-signature-top.svg is the upper 546 units of the 613-unit signature. */
  flex: 1 1 auto;
  min-height: clamp(90px, 17vw, 240px);
  margin: clamp(18px, 2.2vw, 42px) 4% 0;
  background: #e50000;
  -webkit-mask: url("assets/pyratz-signature-top.svg") center bottom / contain no-repeat;
  mask: url("assets/pyratz-signature-top.svg") center bottom / contain no-repeat;
}
@media (min-width: 900px) and (max-width: 1200px) {
  .ed-footer-inner { width: 91%; }
  .ed-footer-nav { gap: 24px; }
}
@media (max-width: 899px) {
  .ed-footer { padding-top: 96px; }
  .ed-footer-inner { width: calc(100% - 40px); }
  .ed-footer-nav { display: block; }
  .ed-foot-col { border-top: 1px solid var(--footer-rule); }
  .ed-foot-col:last-child { border-bottom: 1px solid var(--footer-rule); }
  .ed-foot-col summary { min-height: 55px; cursor: pointer; }
  .ed-foot-col i { display: inline-block; margin-right: 3px; }
  .ed-foot-col ul { margin: 0 0 16px; }
  .ed-foot-col li + li { margin-top: 0; }
  .ed-foot-col a { padding-block: 8px; }
  .ed-footer-meta {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
    padding-top: 0;
    border: 0;
  }
  .ed-legal { position: relative; gap: 4px 14px; }
  .ed-footer-company { position: static; }
  .ed-footer-disclosure { right: auto; left: 0; }
}
@media print { .ed-footer { display: none; } }
@media (max-width: 899px) and (max-height: 640px) {
  .ed-foot-col summary { min-height: 44px; }
  .ed-footer-meta { margin-top: 8px; }
}
