
/* Externalized AG WEB logo prevents simple right-click downloads */
.footer__dev .ag-web-logo {
  background-image: url("/ag-web.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.5s;
}

 :root {
  --eirene-footer-bg-solid: #0d1a41;
  --footer-edge-anchor: calc(var(--page-gutter, 2rem) + 1rem);
  --eirene-page-bg-y-offset: calc(60px - var(--eirene-safe-content-underlap, 0px));
  --eirene-bg-artwork-width: 1388px;
  --eirene-bg-page-edge-rgb: 233, 244, 255;
    --eirene-bg-page-edge-alpha: 0.28;
    --eirene-bg-page-edge-soft-alpha: 0.14;
    --eirene-bg-page-edge-faint-alpha: 0.05;
    --eirene-bg-page-edge-trace-alpha: 0.016;
    --eirene-bg-page-edge-span: clamp(180px, calc(50vw - (var(--eirene-bg-artwork-width) / 2) + 92px), 34vw);
    --eirene-bg-artwork-feather-span: 22%;
  --eirene-bg-artwork-feather-soft-alpha: 0.30;
  --eirene-bg-artwork-feather-mid-alpha: 0.68;
  --eirene-bg-top-glass-clear-stop: calc(var(--eirene-safe-top-inset, 0px) + 18px);
  --eirene-bg-top-glass-mid-stop: calc(var(--eirene-safe-top-inset, 0px) + 96px);
  --eirene-bg-top-glass-solid-stop: calc(var(--eirene-safe-top-inset, 0px) + 212px);
  --eirene-bg-edge-gradient: linear-gradient(
    90deg,
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-alpha)) 0%,
    rgba(var(--eirene-bg-page-edge-rgb), calc(var(--eirene-bg-page-edge-alpha) * 0.86)) calc(var(--eirene-bg-page-edge-span) * 0.10),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-soft-alpha)) calc(var(--eirene-bg-page-edge-span) * 0.30),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-faint-alpha)) calc(var(--eirene-bg-page-edge-span) * 0.54),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-trace-alpha)) calc(var(--eirene-bg-page-edge-span) * 0.76),
    rgba(var(--eirene-bg-page-edge-rgb), 0) var(--eirene-bg-page-edge-span),
    rgba(var(--eirene-bg-page-edge-rgb), 0) calc(100% - var(--eirene-bg-page-edge-span)),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-trace-alpha)) calc(100% - (var(--eirene-bg-page-edge-span) * 0.76)),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-faint-alpha)) calc(100% - (var(--eirene-bg-page-edge-span) * 0.54)),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-soft-alpha)) calc(100% - (var(--eirene-bg-page-edge-span) * 0.30)),
    rgba(var(--eirene-bg-page-edge-rgb), calc(var(--eirene-bg-page-edge-alpha) * 0.86)) calc(100% - (var(--eirene-bg-page-edge-span) * 0.10)),
    rgba(var(--eirene-bg-page-edge-rgb), var(--eirene-bg-page-edge-alpha)) 100%
  );
  --eirene-bg-artwork-mask-gradient: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.04) calc(var(--eirene-bg-artwork-feather-span) * 0.14),
    rgba(0, 0, 0, var(--eirene-bg-artwork-feather-soft-alpha)) calc(var(--eirene-bg-artwork-feather-span) * 0.34),
    rgba(0, 0, 0, var(--eirene-bg-artwork-feather-mid-alpha)) calc(var(--eirene-bg-artwork-feather-span) * 0.68),
    rgba(0, 0, 0, 1) var(--eirene-bg-artwork-feather-span),
    rgba(0, 0, 0, 1) calc(100% - var(--eirene-bg-artwork-feather-span)),
    rgba(0, 0, 0, var(--eirene-bg-artwork-feather-mid-alpha)) calc(100% - (var(--eirene-bg-artwork-feather-span) * 0.68)),
    rgba(0, 0, 0, var(--eirene-bg-artwork-feather-soft-alpha)) calc(100% - (var(--eirene-bg-artwork-feather-span) * 0.34)),
    rgba(0, 0, 0, 0.04) calc(100% - (var(--eirene-bg-artwork-feather-span) * 0.14)),
    rgba(0, 0, 0, 0) 100%
  );
  --eirene-bg-top-mask-gradient: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.18) var(--eirene-bg-top-glass-clear-stop),
    rgba(0, 0, 0, 0.62) var(--eirene-bg-top-glass-mid-stop),
    rgba(0, 0, 0, 1) var(--eirene-bg-top-glass-solid-stop),
    rgba(0, 0, 0, 1) 100%
  );
  --eirene-bg-overlay-a0: 0.32;
  --eirene-bg-overlay-a1: 0.18;
  --eirene-bg-overlay-a2: 0.08;
  --eirene-bg-panel-a0: 0.00;
  --eirene-bg-panel-a1: 0.50;
  --eirene-bg-overlay-strong-a0: 0.34;
  --eirene-bg-overlay-strong-a1: 0.20;
  --eirene-bg-overlay-strong-a2: 0.09;
  --eirene-bg-wave-light-alpha: 0.085;
  --eirene-bg-wave-dark-alpha: 0.065;
  --eirene-bg-overlay-upper-soft-a: 0.02;
  --eirene-bg-overlay-upper-stop: 20%;
  --eirene-bg-overlay-mid-stop: 58%;
  --eirene-bg-overlay-lower-stop: 82%;
  --eirene-bg-overlay-bottom-a: 0.03;
  --eirene-bg-overlay-strong-upper-soft-a: 0.025;
  --eirene-bg-overlay-strong-upper-stop: 22%;
  --eirene-bg-overlay-strong-mid-stop: 60%;
  --eirene-bg-overlay-strong-lower-stop: 84%;
  --eirene-bg-overlay-strong-bottom-a: 0.035;
  --eirene-bg-panel-mid-a: 0.06;
  --eirene-bg-panel-knee-stop: 54%;
  --eirene-bg-grain-layer: none;
  --eirene-bg-grain-size: 224px;
 }

@media only screen {
.footer {
  margin-top: auto;
  background: var(--eirene-footer-bg-solid, #0d1a41);
  
  padding: 2.2rem var(--page-gutter);
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;

            position: relative;
            padding-top: 2rem;
    padding-bottom: 2rem;
}

.background-image {
	--eirene-bg-artwork: radial-gradient(120% 120% at 30% 10%, rgba(198, 238, 255, 0.95) 0%, rgba(198, 238, 255, 0) 65%), radial-gradient(130% 140% at 85% 15%, rgba(214, 252, 236, 0.85) 0%, rgba(214, 252, 236, 0) 70%), radial-gradient(110% 110% at 50% -10%, rgba(246, 252, 255, 0.95) 0%, rgba(246, 252, 255, 0) 50%), radial-gradient(100% 140% at 90% 60%, rgba(188, 228, 255, 0.5) 0%, rgba(188, 228, 255, 0) 50%), radial-gradient(140% 160% at 10% 70%, rgba(200, 245, 225, 0.4) 0%, rgba(200, 245, 225, 0) 50%);
  position: relative;
	height: auto;
	
  
  
}

  .background-image::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: var(--eirene-bg-artwork);
    background-size: var(--eirene-bg-artwork-width);
    background-position: center calc(0px - var(--eirene-page-bg-y-offset));
    background-repeat: no-repeat;
    -webkit-mask-image: var(--eirene-bg-top-mask-gradient), var(--eirene-bg-artwork-mask-gradient);
    mask-image: var(--eirene-bg-top-mask-gradient), var(--eirene-bg-artwork-mask-gradient);
    -webkit-mask-composite: source-in, xor;
    mask-composite: intersect;
    -webkit-mask-size: 100% 100%, var(--eirene-bg-artwork-width) 100%;
    mask-size: 100% 100%, var(--eirene-bg-artwork-width) 100%;
    -webkit-mask-position: center top, center calc(0px - var(--eirene-page-bg-y-offset));
    mask-position: center top, center calc(0px - var(--eirene-page-bg-y-offset));
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
  }

  .background-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
      var(--eirene-bg-grain-layer),
      linear-gradient(
        180deg,
        rgba(250, 254, 255, 0) 0%,
        rgba(246, 252, 255, var(--eirene-bg-overlay-upper-soft-a)) var(--eirene-bg-overlay-upper-stop),
        rgba(242, 250, 255, var(--eirene-bg-overlay-a1)) var(--eirene-bg-overlay-mid-stop),
        rgba(234, 245, 255, var(--eirene-bg-overlay-a2)) var(--eirene-bg-overlay-lower-stop),
        rgba(234, 245, 255, var(--eirene-bg-overlay-bottom-a)) 100%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, var(--eirene-bg-panel-a0)) 0%,
        rgba(255, 255, 255, var(--eirene-bg-panel-mid-a)) var(--eirene-bg-panel-knee-stop),
        rgba(255, 255, 255, var(--eirene-bg-panel-a1)) 100%
      ),
      var(--eirene-bg-edge-gradient);
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      var(--eirene-bg-artwork-width),
      100% 100%;
    background-position:
      0 0,
      center top,
      center calc(0px - var(--eirene-page-bg-y-offset)),
      center calc(0px - var(--eirene-page-bg-y-offset));
    background-repeat:
      repeat,
      no-repeat,
      no-repeat,
      no-repeat;
    -webkit-mask-image: var(--eirene-bg-top-mask-gradient);
    mask-image: var(--eirene-bg-top-mask-gradient);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center top;
    mask-position: center top;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .background-image > * {
    position: relative;
    z-index: 2;
  }

.background-image--map-cinematic {
  --eirene-bg-page-edge-alpha: 0.32;
  --eirene-bg-page-edge-soft-alpha: 0.16;
  --eirene-bg-page-edge-faint-alpha: 0.06;
  --eirene-bg-page-edge-trace-alpha: 0.02;
  --eirene-bg-page-edge-span: clamp(200px, calc(50vw - (var(--eirene-bg-artwork-width) / 2) + 112px), 36vw);
  --eirene-bg-artwork-feather-span: 26%;
  --eirene-bg-artwork-feather-soft-alpha: 0.34;
  --eirene-bg-artwork-feather-mid-alpha: 0.72;
  --eirene-bg-top-glass-clear-stop: calc(var(--eirene-safe-top-inset, 0px) + 20px);
  --eirene-bg-top-glass-mid-stop: calc(var(--eirene-safe-top-inset, 0px) + 110px);
  --eirene-bg-top-glass-solid-stop: calc(var(--eirene-safe-top-inset, 0px) + 228px);
  --eirene-bg-overlay-upper-soft-a: 0.008;
  --eirene-bg-overlay-upper-stop: 36%;
  --eirene-bg-overlay-a1: 0.21;
  --eirene-bg-overlay-mid-stop: 74%;
  --eirene-bg-overlay-a2: 0.13;
  --eirene-bg-overlay-lower-stop: 90%;
  --eirene-bg-overlay-bottom-a: 0.09;
  --eirene-bg-overlay-strong-upper-soft-a: 0.012;
  --eirene-bg-overlay-strong-upper-stop: 40%;
  --eirene-bg-overlay-strong-a1: 0.23;
  --eirene-bg-overlay-strong-mid-stop: 76%;
  --eirene-bg-overlay-strong-a2: 0.15;
  --eirene-bg-overlay-strong-lower-stop: 91%;
  --eirene-bg-overlay-strong-bottom-a: 0.10;
  --eirene-bg-panel-mid-a: 0.02;
  --eirene-bg-panel-knee-stop: 70%;
  --eirene-bg-panel-a1: 0.56;
}

@supports (animation-timeline: scroll()) {
  .background-image::before {
    animation: cinematic-artwork-scroll linear;
    animation-timeline: scroll(root);
  }

  .background-image::after {
    animation: cinematic-bg-scroll linear;
    animation-timeline: scroll(root);
  }
}

@keyframes cinematic-artwork-scroll {
  from {
    background-position: center calc(0px - var(--eirene-page-bg-y-offset));
  }
  to {
    background-position: center calc(25vh - var(--eirene-page-bg-y-offset));
  }
}


@keyframes cinematic-bg-scroll {
  from {
    background-position: 0 0, center top, center calc(0px - var(--eirene-page-bg-y-offset)), center calc(0px - var(--eirene-page-bg-y-offset));
  }
  to {
    background-position: 0 0, center 30vh, center calc(0px - var(--eirene-page-bg-y-offset) + 20vh), center calc(0px - var(--eirene-page-bg-y-offset) + 10vh);
  }
}

.background-image.background-image--no-artwork {
  --eirene-bg-artwork: none;
}

.background-image.background-image--no-artwork::before {
  background-image: none;
  -webkit-mask-image: none;
  mask-image: none;
}
}

@supports (background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0))) {
  .background-image::after {
    background-image:
      var(--eirene-bg-grain-layer),
      linear-gradient(
        180deg,
        rgba(251, 254, 255, 0) 0%,
        rgba(248, 253, 255, var(--eirene-bg-overlay-strong-upper-soft-a)) var(--eirene-bg-overlay-strong-upper-stop),
        rgba(244, 250, 255, var(--eirene-bg-overlay-strong-a1)) var(--eirene-bg-overlay-strong-mid-stop),
        rgba(236, 247, 255, var(--eirene-bg-overlay-strong-a2)) var(--eirene-bg-overlay-strong-lower-stop),
        rgba(236, 247, 255, var(--eirene-bg-overlay-strong-bottom-a)) 100%
      ),
      radial-gradient(170% 122% at 16% 22%, rgba(255, 255, 255, var(--eirene-bg-wave-light-alpha)) 0%, rgba(255, 255, 255, 0) 69%),
      radial-gradient(162% 120% at 84% 74%, rgba(0, 0, 0, var(--eirene-bg-wave-dark-alpha)) 0%, rgba(0, 0, 0, 0) 72%),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, var(--eirene-bg-panel-a0)) 0%,
        rgba(255, 255, 255, var(--eirene-bg-panel-mid-a)) var(--eirene-bg-panel-knee-stop),
        rgba(255, 255, 255, var(--eirene-bg-panel-a1)) 100%
      ),
      var(--eirene-bg-edge-gradient);
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      168% 148%,
      160% 144%,
	      var(--eirene-bg-artwork-width),
	      100% 100%;
    background-position:
      0 0,
      center top,
      13% 18%,
      86% 74%,
	      center calc(0px - var(--eirene-page-bg-y-offset)),
	      center calc(0px - var(--eirene-page-bg-y-offset));
    background-repeat:
      repeat,
      no-repeat,
      no-repeat,
      no-repeat,
	      no-repeat,
	      no-repeat;
    animation: eirene-bg-luma-wave 64s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-image::after {
    animation: none;
  }
}

@keyframes eirene-bg-luma-wave {
  0% {
    background-position:
      0 0,
      center top,
      13% 18%,
      86% 74%,
	      center calc(0px - var(--eirene-page-bg-y-offset)),
	      center calc(0px - var(--eirene-page-bg-y-offset));
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      168% 148%,
      160% 144%,
	      var(--eirene-bg-artwork-width),
	      100% 100%;
  }
  23% {
    background-position:
      0 0,
      center top,
      15% 23%,
      82% 68%,
	      center calc(0px - var(--eirene-page-bg-y-offset)),
	      center calc(0px - var(--eirene-page-bg-y-offset));
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      173% 152%,
      157% 141%,
	      var(--eirene-bg-artwork-width),
	      100% 100%;
  }
  49% {
    background-position:
      0 0,
      center top,
      11% 26%,
      88% 64%,
	      center calc(0px - var(--eirene-page-bg-y-offset)),
	      center calc(0px - var(--eirene-page-bg-y-offset));
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      179% 156%,
      163% 148%,
	      var(--eirene-bg-artwork-width),
	      100% 100%;
  }
  74% {
    background-position:
      0 0,
      center top,
      18% 21%,
      79% 69%,
	      center calc(0px - var(--eirene-page-bg-y-offset)),
	      center calc(0px - var(--eirene-page-bg-y-offset));
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      172% 150%,
      159% 143%,
	      var(--eirene-bg-artwork-width),
	      100% 100%;
  }
  100% {
    background-position:
      0 0,
      center top,
      14% 16%,
      84% 75%,
	      center calc(0px - var(--eirene-page-bg-y-offset)),
	      center calc(0px - var(--eirene-page-bg-y-offset));
    background-size:
      var(--eirene-bg-grain-size) var(--eirene-bg-grain-size),
      100% 100%,
      168% 148%,
      160% 144%,
	      var(--eirene-bg-artwork-width),
	      100% 100%;
  }
}

@media only screen and (max-width: 1023px) {
  .background-image {
    --eirene-bg-artwork-width: clamp(820px, calc(100vw + 5rem), 1180px);
  }
}

@media only screen and (max-width: 575px) {
  .background-image {
    --eirene-bg-artwork-width: clamp(820px, calc(100vw + 5rem), 1180px);
    --eirene-bg-overlay-a0: 0.26;
    --eirene-bg-overlay-a1: 0.14;
    --eirene-bg-overlay-a2: 0.06;
    --eirene-bg-panel-a0: 0.00;
    --eirene-bg-panel-a1: 0.38;
    --eirene-bg-overlay-strong-a0: 0.28;
    --eirene-bg-overlay-strong-a1: 0.16;
    --eirene-bg-overlay-strong-a2: 0.07;
    --eirene-bg-wave-light-alpha: 0.065;
    --eirene-bg-wave-dark-alpha: 0.045;
  }
}

@media only screen and (min-width: 1680px) {
  .background-image {
    --eirene-bg-overlay-a0: 0.28;
    --eirene-bg-overlay-a1: 0.15;
    --eirene-bg-overlay-a2: 0.06;
    --eirene-bg-panel-a0: 0.00;
    --eirene-bg-panel-a1: 0.42;
    --eirene-bg-overlay-strong-a0: 0.30;
    --eirene-bg-overlay-strong-a1: 0.17;
    --eirene-bg-overlay-strong-a2: 0.07;
    --eirene-bg-wave-light-alpha: 0.07;
    --eirene-bg-wave-dark-alpha: 0.05;
  }
}

@media only screen and (min-width: 1024px) {
  .background-image {
	  --eirene-bg-artwork-width: 1388px;
    min-width: 100vw;
    overflow: hidden;
    position: relative;
    left: 0;
  }

  .background-image:not(.background-image--no-artwork) {
    --eirene-bg-grain-size: 224px;
  }

  /* Blur the artwork layer to dissolve the SVG clipPath hard alpha edge
     before it reaches the mask composite step. The parent overflow:hidden
     clips any blur halo at the container boundary. */
  .background-image::before {
    filter: blur(1.5px);
    inset: -3px;
  }
}

@media only screen and (min-width: 1024px) and (min-resolution: 2dppx) {
  .background-image:not(.background-image--no-artwork) {
    --eirene-bg-grain-layer: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 160 160%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.82%27 numOctaves=%272%27 seed=%2737%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27160%27 height=%27160%27 filter=%27url(%23n)%27 opacity=%270.026%27/%3E%3C/svg%3E");
    --eirene-bg-grain-size: 208px;
  }

  /* Stronger blur on retina (2x DPR): clipPath anti-aliasing is 2x denser,
     so we need proportionally more blur to cover the 1-2 physical pixel seam. */
  .background-image::before {
    filter: blur(2.5px);
    inset: -5px;
  }
}

.lang {
	margin: 0 1.6rem 0 0;
  display: inline-grid;
  place-items: center;
  padding: 0 calc(.72rem + 2px);
  height: 2.2rem;
  min-height: 2.2rem;
  border-radius: 999px;
  box-sizing: border-box;
/*	border: 0.5px solid grey;*/
	cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  background: #09122f ;
  border: 1px solid rgba(255, 255, 255, 0.15) ;
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  backdrop-filter: saturate(150%) blur(8px);
  box-shadow: none;
  color: #f2f5fb;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.lang:hover {
/*	border: 2px solid cornflowerblue; */
  box-shadow: inset 0 0 0 2.5px #04B75E, 0 0 12px rgba(4, 183, 94, 0.45);
  background: #09122f ;
  color: #f7fffb;
}

.lang:visited,
.lang:focus,
.lang:active {
  color: #f2f5fb;
  text-decoration: none;
}

.footer a:not(.footer__list__link):not(.lang) {
/*    color: #8cade0;*/
  color: #43423D;
}

.footer a:focus {
    outline: thin dotted;
	color: #2c83c2;
}

.footer a:active,
.footer a:hover {
    outline: 0;
}


@media only screen {
.up-btn {
    background-color: #0D1941;
    overflow: hidden;
    cursor: pointer;
    
    
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    pointer-events: none;
    transform: translateY(60px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    left: auto;
    right: var(--footer-edge-anchor, calc(var(--page-gutter, 2rem) + 1rem));
    margin: 0;
    position: absolute;
    top: -35px;
    height: 85px;
    width: 85px;
  	padding: 0;
	  border: 0;
	  text-decoration: none;
}
}

@media (min-width: 768px) {
  .footer {
  margin-top: auto;
    padding: 2.2rem var(--page-gutter);
  }
	
}

@media (max-width: 1023px) {
  .menu-active footer {
    opacity: 0;
  }
	.up-btn {
	 right: 0;
    left: 0;
    margin: 0 auto;
    top: -30px;
    height: 65px;
    width: 65px;
}
}

@media (min-width: 1280px) {
  .footer {
  margin-top: auto;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
}

@media only print {
  .footer {
  margin-top: auto;
    display: none
  }
}

@media only screen {
.footer-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; /* block */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
}

      .footer__mobile-top-row {
    display: inline-grid !important;
    grid-template-columns: min-content 1fr 1fr !important;
    align-items: center !important;
    gap: 0.6rem;
    margin: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
    width: max-content;
    max-width: 100%;
  }
      .footer__mobile-top-row > div:first-child {
        flex-shrink: 0;
        display: flex;
        align-items: center;
      }

@media only screen and (min-width: 768px) {
  .footer-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    max-width: calc(114.6rem - 2 * var(--page-gutter));
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1280px) {
  .footer-container {
    max-width: calc(144.6rem - 2 * var(--page-gutter));
    margin: 0 auto;
  }
}

@media only screen and (min-width: 768px) {
  .footer__mobile-top-row {
    display: inline-grid !important;
    grid-template-columns: min-content 1fr 1fr !important;
    align-items: center !important;
    gap: 0.6rem;
    margin: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
    width: max-content;
    max-width: 100%;
  }
}

/* ----------- */
/* Footer logo */
/* ----------- */

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  position: relative;
  margin-bottom: 0;
}

.footer_flag {
	cursor: auto;
  display: inline-block;
  vertical-align: middle;
	
    
  background-size: contain;
    
	background-blend-mode: overlay;
    margin: 0;
  position: static;
  width: 22px;
  height: 16px;
  max-width: none;
	
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
  border-radius: 2px;
	border: none;
	
  padding: 0;
	text-decoration: none;
	/*	filter: gray; /* IE6-9 */
   /* -webkit-filter: grayscale(20%); */
}

@media (min-width: 768px) {
  .footer__logo {
    margin-bottom: 0;
  }

  .footer_flag {
	  vertical-align: middle;
  }
}

/* ----------- */
/* Footer dev */
/* ----------- */

.footer__dev {
  margin-bottom: 0rem;
  padding-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.footer__dev img, .footer__dev .ag-web-logo {
  width: 3.28rem;
  height: 3.28rem;
  max-width: 3.28rem;
  flex: 0 0 3.28rem;
  display: inline-block;
  vertical-align: middle;
  padding-left: 0;
}

.footer__dev svg {
  width: 3.28rem;
  height: 3.28rem;
  max-width: 3.28rem;
  flex: 0 0 3.28rem;
  display: inline-block;
  vertical-align: middle;
  padding-left: 0;
}

.footer__dev:hover {
  color: #8cade0;
  cursor:pointer;
}

@media (min-width: 768px) {
  .footer__dev {
    margin-bottom: 0;
    padding-top: 0;
    position: relative;
	margin-right: 2%;
	text-align: end;
	justify-content: flex-end;
	  
  }

}

/* ----------- */
/* Footer list */
/* ----------- */

.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: block;
   max-width: 100px;
	margin-left: auto; 
	
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-bottom: 2.8rem;
	
}

@media (max-width: 767px) {
  .footer__list__item:first-child:before {
    display: none;
	  margin:0;
  }

  .footer__list__item {
    margin: .4rem 0 0 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
	  		top: 0 !important;
  }
	
 .footer__list__item:nth-child(2) {
    position: relative;
    margin-left: 0rem;
    margin-top: .4rem;
    padding-left: 0;
	 top: 0;
  }

  .footer__list__link {
  cursor: pointer !important;
  z-index: 10;
  position: relative;
    display: inline-grid;
    place-items: center;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .footer__list {
    width: auto;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    margin-bottom: 0;
  }
	
 .footer__list__item {
		top:-1.1em;
	}
	
 .footer__list__item:nth-child(2) {
    position: relative;
    margin-left: 2rem;
    padding-left: 2rem;	 
	 margin-bottom: 1.5rem;
	 
  }
}

.footer__list__item {
  position: relative;
  margin: 3.5rem 0 0 0;
  padding-left: 1rem;
  padding-right: 1rem;
 margin-bottom: 1.5rem;	 
}


.footer__links-row::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  
}

.footer__links-row .footer__list__item,
  .footer__mobile-top-row .footer__list__item {
  -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
      flex: 0 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
}





.footer__list__link {
  cursor: pointer !important;
  z-index: 10;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-grid;
  place-items: center;
  align-content: center;
  padding: 0 calc(.72rem + 4px);
  height: 2.2rem;
  min-height: 2.2rem;
  box-sizing: border-box;
  
  border-radius: 999px;
  background: #09122f ;
  border: 1px solid rgba(255, 255, 255, 0.15) ;
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  backdrop-filter: saturate(150%) blur(8px);
  box-shadow: none;
  
  text-decoration: none;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05rem;
  color: #f2f5fb;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  text-align: center;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.footer__links-row .footer__list__link:hover,
.footer__links-row .footer__list__link:active,
.footer__links-row .footer__list__link:focus,
.footer__list__link:hover,
.footer__list__link:active,
.footer__list__link:focus {
  background: transparent ;
  border: 1px solid rgba(255, 255, 255, 0.15) ;
  box-shadow: none;
  color: #ffffff;
  outline: none;
}


.footer__list__link:focus-visible {
  outline: 2px solid rgba(173, 219, 255, 0.95);
  outline-offset: 2px;
}



/* ------------ */
/* Social links */
/* ------------ */

.social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

footer .social-links {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  margin-bottom: 3.2rem;
}

@media (min-width: 768px) {
  footer .social-links {
    margin-left: 3.7rem;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-bottom: 0;
  }
}

.social-links__item {
  margin-left: 3.7rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.social-links__item:first-child {
  margin-left: 0;
}

@media (min-width: 768px) {
    .social-links__item {
      margin-left: 2.2rem;
    }

    .social-links__item:first-child {
      margin-left: 0;
    }
}

.icon-hover {
  -webkit-transition: fill 0.2s;
  -o-transition: fill 0.2s;
  transition: fill 0.2s;
}

.social-links__item:hover .icon-hover {
  fill: #27aae1;
}

.icon-twitter {
  width: 2.6rem;
}

.icon-youtube {
  width: 2.5rem;
}

.icon-linkedin {
  width: 2.4rem;
}

@media (min-width: 768px) {
  .icon-twitter {
    width: 2.2rem;
    height: 1.8rem;
  }

  .icon-youtube {
    width: 2.2rem;
    height: 1.5rem;
  }

  .icon-linkedin {
    width: 2.1rem;
    height: 1.8rem;
  }
}

/* --------- */
/* Copyright */
/* --------- */

.footer__copyright {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.4rem;
  font-weight:400;
/*  line-height: 1;*/
  letter-spacing: 0.05rem;
/*  color: #949494;*/
  color: #d6dbe4;
  text-align:end;
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
			z-index: 1;
  -moz-osx-font-smoothing: grayscale;
}

.footer .notes {
  color: #d6dbe4;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.footer {
  margin-bottom: 0 !important;
}

.footer__dev {
  color: #d6dbe4;
}

@media (min-width: 768px) {
  .footer__copyright {
    margin-left: auto;
  }
}

@media (min-width: 1024px) {
.footer__list__item {
  padding-left: 2rem;
  padding-right: 2rem;
}
}















@media (max-width: 768px) {
  .footer__mobile-top-row {
    display: inline-grid !important;
    grid-template-columns: min-content 1fr 1fr !important;
    align-items: center !important;
    gap: 0.6rem;
    margin: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
    width: max-content;
    max-width: 100%;
  }
}



/* Uniform styling for the home button to EXACTLY match language button (Liquid glass pill) */
.footer__mobile-top-row .footer__list__item {
  flex: none !important;
  margin: 0 !important;
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

.footer__mobile-top-row .footer__list__link {
  cursor: pointer !important;
  z-index: 10;
  position: relative;
  display: inline-grid !important;
  place-items: center !important;
  align-content: center !important;
  width: 100% !important; 
  text-align: center;
  padding: 0 calc(.72rem + 2px) !important;
  height: 2.2rem !important;
  min-height: 2.2rem !important;
  box-sizing: border-box !important;
  
  /* Mirror the .lang pill styles exactly */
  border-radius: 999px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  -webkit-backdrop-filter: saturate(150%) blur(8px) !important;
  backdrop-filter: saturate(150%) blur(8px) !important;
  box-shadow: none;
  
  color: #f2f5fb !important;
  font-family: 'Source Sans Pro', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.05rem !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* Subtly differentiate hover state but absolutely NO neon green */
.footer__mobile-top-row .footer__list__link:hover,
.footer__mobile-top-row .footer__list__link:focus,
.footer__mobile-top-row .footer__list__link:active {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none;
}

/* ensure the language form takes the full grid cell */
.footer__mobile-top-row .language-selector {
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer__mobile-top-row .language-selector .sc-select {
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  padding: 0 !important;
  border: none !important; /* Hide original .sc-select fallback border */
}

/* Force the actual .lang button to stretch exactly like home button */
.footer__mobile-top-row .lang {
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.footer__logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer__mobile-top-row > div:first-child {
  display: flex;
  align-items: center;
  height: 100%;
}









@media (max-width: 768px) {
  .footer__mobile-top-row {
    display: inline-grid !important;
    grid-template-columns: min-content 1fr 1fr !important;
    align-items: center !important;
    gap: 0.6rem;
    margin: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
    width: max-content;
    max-width: 100%;
  }
}










@media (max-width: 768px) {
  .footer__mobile-top-row {
    margin: 0 auto 1.2rem auto !important;
    justify-content: center !important;
  }
}


/* Responsive Footer Button Layout for Mobile */
/* Make the children links look like inner pill tokens */
.footer__links-row .footer__list__link {
  cursor: pointer !important;
  z-index: 10;
  position: relative;
  white-space: nowrap !important;
  font-size: 1.45rem !important;
  touch-action: manipulation;
  flex-shrink: 0 !important;

  background: transparent !important;
  border: transparent 1px solid !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer__links-row .footer__list__link:hover,
.footer__links-row .footer__list__link:focus,
.footer__links-row .footer__list__link:active {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 2px 4px rgba(0,0,0, 0.1) !important;
  color: #ffffff !important;
}





@media (max-width: 850px) {
  
  
  .footer__list__link {
    font-size: 1.3rem !important;
    padding: 0 2.2rem !important;
  }
}




@media (min-width: 1025px) {
  
}


/* Segmented Outer Wrapper (Side-by-side Layout) */
.footer__pills-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.8rem !important;
  margin: 1.5rem auto 2.5rem auto !important;
  width: 100% !important;
  max-width: 84rem !important;
  flex-wrap: wrap !important;
}

@media (min-width: 1025px) {
  .footer__pills-wrapper {
    max-width: 114.6rem !important;
    flex-wrap: nowrap !important; /* Force nowrap only on huge desktops if desired, or let it wrap, but requested side-by-side */
  }
}

/* Individual Segmented Group (Compact) */
.footer__links-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.6rem !important;
  width: max-content !important; /* Make purely compact */
  justify-content: center !important;
  margin: 0 !important; /* Flex handles centering */
}

@media (max-width: 850px) {
  .footer__pills-wrapper {
    margin: 1.2rem auto 2.2rem auto !important;
    gap: 0.6rem !important;
  }
  .footer__links-row {
    gap: 0.5rem !important;
  }
}

@media only screen and (min-width: 768px) {
  .footer__pills-wrapper {
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
  .footer__links-row .footer__list__link {
    font-size: 1.6rem !important;
    height: 2.8rem !important;
    min-height: 2.8rem !important;
    display: inline-grid !important;
    place-items: center !important;
    align-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    padding: 0 1.6rem !important;
    margin: 0 !important;
  }
}


/* Mobile styles remain unaffected */

/* Hide legacy text node immediately so it never flashes before JS cleanup. */
.footer__dev.footer__copyright {
    font-size: 0 !important;
    line-height: 0 !important;
  padding-top: 0 !important;
}

.footer__dev.footer__copyright .ag-web-logo {
    vertical-align: middle;
}

/* Wide screen specific overrides */
@media (min-width: 1024px) {
    /* Break .footer__copyright out of the flow to follow the up-btn */
    .footer__copyright {
        position: absolute !important;
    left: auto !important;
    right: var(--footer-edge-anchor, calc(var(--page-gutter, 2rem) + 1rem)) !important;
    margin: 0 !important;
        top: 70px !important;
        width: 85px !important;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        padding: 0 !important;
    }

    .footer__dev.footer__copyright {
        /* Let it shrink to just the image size, then center it in the 85px container */
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        position: relative !important;
        top: auto !important;
        justify-content: center !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    .footer__dev .ag-web-logo {
        margin: 0 !important;
    }
}

.up-btn--visible {
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.up-btn--visible .up-btn__svg {
    transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.24s ease, visibility 0s linear 0s;
}

.up-btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.up-btn:active {
    transform: translateY(0) scale(0.95);
    transition: transform 0.1s ease;
}

.up-btn__svg {
    width: 35px;
    height: auto;
    display: block;
    overflow: visible;
    transform: translateY(60px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.24s ease, visibility 0s linear 0.24s;
}

.up-btn__arrow {
    stroke: #ffffff;
    transition: d 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
    d: path("M 44.45 28.2 L 23.75 7.7 L 4.55 28.3");
    transform-origin: center;
}

.up-btn:hover .up-btn__arrow {
    d: path("M 38.45 32 L 23.75 10 L 8.55 32");
    transform: scale(1.1);
}

@media (max-width: 1023px) {
    .up-btn__svg {
        width: 30px;
    }
}
