@media (min-width: 768px) {
  html.mod-js:not(.mod-ix) .info-bar .next-child .card-whipe {
    width: 0%;
    height: 100%;
  }
  html.mod-js:not(.mod-ix) .info-bar .link-parent > .next-parent {
    display: none;
  }
}

/* ===========================================================================
   Page transition — curtain loading screen
   Driven by /src/transitions/page-transition.js. Panels rest off-screen
   (left / right); `html.is-page-transitioning` covers the viewport before
   paint so a page navigated to via the curtain loads already covered.
   =========================================================================== */
.outro-parent {
  display: none;
}
.panel.one {
  transform: translate3d(-100%, 0, 0);
}
.panel.two {
  transform: translate3d(100%, 0, 0);
}
html.is-page-transitioning .outro-parent {
  display: block;
}
html.is-page-transitioning .panel.one,
html.is-page-transitioning .panel.two {
  transform: translate3d(0, 0, 0);
}

/* ===========================================================================
   Custom cursor
   Driven by /src/cursor/cursor.js. Hidden for touch / reduced-motion users,
   who keep the native cursor.
   =========================================================================== */
.cursor-child {
  position: fixed;
  top: 0;
  left: 0;
  will-change: transform;
}
.cursor-parent {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cursor-parent.is-active {
  opacity: 1;
}
.cursor-dot {
  transform: translate(-50%, -50%);
  border-color: var(--text-colors--main);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    background-color 0.3s ease;
}
.cursor-parent.is-hover .cursor-dot {
  width: 3.4em;
  height: 3.4em;
}
.cursor-parent.is-press .cursor-dot {
  width: 1.2em;
  height: 1.2em;
}
.cursor-parent.is-loading .cursor-dot {
  width: 6em;
  height: 6em;
  background-color: var(--text-colors--main);
}

html.mod-touch .cursor-parent {
  display: none;
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-parent {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   Language switcher + preference offer
   The offer is injected by /js/lang-switch.js after load. It is fixed, so it
   never shifts the page, and it starts translated-down so a reduced-motion
   user simply sees it appear.
   --------------------------------------------------------------------------- */
.site-menu-overlay__link--lang .site-menu-overlay__num {
  font-variant-numeric: normal;
  letter-spacing: 0.06em;
}

.bmg-footer__legal-link--lang {
  font-variant: small-caps;
}

.lang-offer {
  position: fixed;
  z-index: 60;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  max-width: 34rem;
  margin-inline: auto;
  padding: 0.85rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 10px;
  background: rgb(12 12 12 / 0.94);
  color: #f2f2f2;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.45);
  font-size: 0.875rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.lang-offer[data-shown] {
  opacity: 1;
  transform: none;
}

.lang-offer__text {
  flex: 1 1 14rem;
  margin: 0;
}

.lang-offer__go,
.lang-offer__dismiss {
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.lang-offer__go {
  border: 1px solid transparent;
  background: #f2f2f2;
  color: #0c0c0c;
  text-decoration: none;
}

.lang-offer__go:hover,
.lang-offer__go:focus-visible {
  background: #fff;
}

.lang-offer__dismiss {
  border: 1px solid rgb(255 255 255 / 0.28);
  background: transparent;
  color: inherit;
}

.lang-offer__dismiss:hover,
.lang-offer__dismiss:focus-visible {
  border-color: rgb(255 255 255 / 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .lang-offer {
    transition: none;
    transform: none;
  }
}

/* Governing-language notice on translated legal pages (added by the i18n build). */
.legal-lang-note {
  margin: 0 0 1.5rem;
  padding: 0.65rem 0.85rem;
  border-left: 2px solid currentColor;
  opacity: 0.72;
  font-size: 0.85rem;
  line-height: 1.45;
}
