:root {
  /* Type scale */
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.85rem;
  --font-size-m: 0.95rem;
  --font-size-base: 1.0625rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2.2rem;
  --font-size-4xl: 3.4rem;
  --font-size-display: 6.5rem;
  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  /* Line heights */
  --lh-none: 1;
  --lh-tight: 1.15;
  --lh-snug: 1.4;
  --lh-normal: 1.5;
  --lh-body: 1.6;
  --lh-relaxed: 1.7;
  /* Letter spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.02em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.14em;
  --tracking-display: 0.4em;
  --epsa-navy: #131C25;
  --epsa-navy-light: #1A2531;
  --epsa-navy-mid: #1F2B38;
  --epsa-navy-deep: #0E151C;
  --epsa-ink: #FBFAF8;
  --epsa-gold: #E1B129;
  --epsa-text: #D6D9E0;
  --epsa-text-2: #C7CCD3;
  --epsa-muted: #AEB6C0;
  --epsa-line: rgba(251, 250, 248, 0.18);
  --epsa-line-soft: rgba(251, 250, 248, 0.1);

  /* "Shift Model" step colours (rail--steps). */
  --epsa-step-1: #22385A;
  --epsa-step-2: #2F5E8C;
  --epsa-step-3: #2C6F6D;
  --epsa-step-4: #56744A;
  --epsa-step-5: #E1B129;
  --epsa-step-6: #A5573A;
  --epsa-step-7: #634C7A;

  --epsa-radius: 0.5rem;
  --epsa-radius-card: 0.75rem;
  --epsa-header-h: clamp(86px, 9.2vw, 114px);
  --epsa-section-y: clamp(3.1rem, 5.5vw, 5.5rem);
  --epsa-side: clamp(20px, 4vw, 48px);

  --bs-link-color-rgb: 225, 177, 41;
  --bs-link-hover-color-rgb: 251, 250, 248;
}

body {
  background: var(--epsa-navy);
  color: var(--epsa-ink);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: var(--lh-body);
  /* font-weight: 300; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  /* padding-top: 90px; */
  position: relative;
  word-wrap: normal;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}
a:hover,
a:focus,
a:active {
  text-decoration: underline;
}
a.disabled-link {
/*   pointer-events: none;  */
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.size-11 { font-size: 11px !important; }
.size-12 { font-size: 12px !important; }
.size-13 { font-size: 13px !important; }
.size-14 { font-size: 14px !important; }
.size-15 { font-size: 15px !important; }
.size-16 { font-size: 16px !important; }
.size-18 { font-size: 18px !important; }
.size-20 { font-size: 20px !important; }
.size-24 { font-size: 24px !important; }
.size-32 { font-size: 32px !important; }
.size-36 { font-size: 36px !important; }
.size-48 { font-size: 48px !important; }
.size-64 { font-size: 64px !important; }
.size-128 { font-size: 128px !important; }
.list-style-none, .list-no-styles, .list-no-styles li {
  list-style:none !important;
  margin: 0;
  padding: 0;
}

.row {
  margin: 0;
  padding: 0;
}

#offcanvasContent, #offcanvasMap {
  width: min(60vw, 1000px);
}
@media (max-width: 767px) {
  #offcanvasContent, #offcanvasMap {
    width: 95vw;
  }
}

@media (min-width: 768px) {
.reveal{
  position: relative;
  opacity: 0;
  transition: 1s all ease;
}
.reveal.reveal-initialposition-left {
  transform: translateX(-75px);
}
.reveal.reveal-initialposition-right {
  transform: translateX(75px);
}
.reveal.reveal-initialposition-above {
  transform: translateY(-75px);
}
.reveal.reveal-initialposition-lower {
  transform: translateY(75px);
}
.reveal.active{
  transform: translateY(0) translateX(0);
  opacity: 1;
}
}

.linear-slider {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  overflow-x: scroll;
  flex-wrap: unset;
  scrollbar-color: var(--color-blue-dark) #f1f1f1;
  scrollbar-width: 2px;
}
.linear-slider > div {
  /* flex: 0 0 70vw;
  width: auto !important; */
  float: none;
  padding: 0 10px;
  scroll-snap-align: start;
}
.linear-slider.slider-slides-narrow > div {
  flex: 0 0 60vw;
}
.linear-slider::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background: #f1f1f1;
}

.linear-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.linear-slider::-webkit-scrollbar-thumb {
    background: var(--color-blue-dark);
}

.linear-slider::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 990px) {
  .mobile-slider {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    overflow-x: scroll;
    flex-wrap: unset!important;
  }
  .mobile-slider > div, .linear-slider > div, .mobile-slider > li {
    flex: 0 0 70vw;
    width: auto !important;
    float: none;
    padding: 0 10px;
    scroll-snap-align: start;
  }
  .mobile-slider.slider-slides-narrow > div {
    flex: 0 0 60vw;
  }
  .no-border-sm {
    border: none!important;
  }
  .offcanvas-header {
    --bs-offcanvas-padding-y: 1.5rem;
    --bs-offcanvas-padding-x: 1.5rem;
  }
  .offcanvas-header .btn-close, .offcanvas-header .ui-dialog .ui-dialog-titlebar-close, .ui-dialog .offcanvas-header .ui-dialog-titlebar-close {
    --bs-offcanvas-padding-y: 1.5rem;
    --bs-offcanvas-padding-x: 1.5rem;
  }
}
