.tlg-journey {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.tlg-jr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(16px, 3vw, 40px);
  position: relative;
  z-index: 5;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.tlg-jr-heading {
  margin: 0;
  font-size: clamp(28px, 5vw, 64px) !important;
  line-height: 1.1 !important;
}
.tlg-jr-skip {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  opacity: 0.8;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 50;

  color: var(--Text-Text-primary, #060809);
    font-family: "DM Sans";
    font-size: var(--Typography-Size-Text-L, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Typography-Line-Height-Button-L, 24px); /* 150% */
    letter-spacing: -0.32px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    position: relative;
    top: 20px;
}
.tlg-jr-skip:hover,
.tlg-jr-skip:active,
.tlg-jr-skip:focus {
  opacity: 1;
  text-decoration: underline;
  background: none !important;

  color: var(--Colour-Shades-Grey-300, #596369);
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400;
    line-height: var(--Typography-Line-Height-Button-L, 24px); /* 171.429% */
    letter-spacing: -0.28px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.tlg-jr-wrap {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px) 32px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 900px) {
  .tlg-jr-wrap {
    grid-template-columns: 1fr;
  }
}

.tlg-jr-rail {
  position: relative;
  z-index: 10;
}
.tlg-jr-rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tlg-jr-rail-btn {
  width: 100%;
  text-align: left;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 0;
  cursor: pointer;
  color: var(--Text-Text-disabled, #E0E1CF);

  /* Heading/H5 */
  font-family: "DM Sans";
  font-size: var(--Typography-Size-H5, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 25px */
  letter-spacing: -0.8px;
  background: none !important;
}
.tlg-jr-rail-btn.is-active,
.tlg-jr-rail-btn:hover {
    color: var(--Text-Text-primary, #060809);

    /* Heading/H5 */
    font-family: "DM Sans";
    font-size: var(--Typography-Size-H5, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 25px */
    letter-spacing: -0.8px;
    background: none !important;
}

@media (max-width: 900px) {
  .tlg-jr-rail {
    display: none;
  }
}

.tlg-jr-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.tlg-jr-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}
.tlg-jr-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@media (max-width: 900px) {
  .tlg-jr-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 260px;
    gap: 16px;
  }
}

.tlg-jr-copy {
    max-width: 392px;
}

.tlg-jr-copy .tlg-jr-year {
    color: #060809 !important;
    font-family: "DM Sans";
    font-size: 120px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 100% !important; 
    letter-spacing: -4.8px !important;
}
.tlg-jr-title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 28px);
}
.tlg-jr-desc {
  margin: 0;
  max-width: 56ch;
  opacity: 0.9;
}
.tlg-jr-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #172a1f;
  min-height: 470px;
  height: 470px;
}
.tlg-jr-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width:900px){
    .tlg-journey {
        position: relative;
        height: auto !important;
    }
  
    .tlg-jr-header{
      padding:16px 16px 8px;
    }
  
    .tlg-jr-wrap{
      display:flex;
      flex-direction:column;
      gap:16px;
      padding:0 16px 24px;
    }
  
    /* Years row on top, scrollable */
    .tlg-jr-rail{
      order:1;
      display:block;
    }
  
    .tlg-jr-rail ul{
      display:flex;
      flex-direction:row;
      gap:57px;
      margin:0;
      padding:0 0 4px;
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .tlg-jr-rail ul::-webkit-scrollbar {
        display: none;
    }
  
    .tlg-jr-rail-btn{
      white-space:nowrap;
      padding:4px 0;
      opacity:.35;
    }
  
    .tlg-jr-rail-btn.is-active{
      opacity:1;
      font-weight:700;
    }
  
    /* Horizontal swiper */
    .tlg-jr-stage{
      order:2;
      display:flex;
      overflow-x:auto;
      overflow-y:hidden;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
    }
  
    .tlg-jr-slide{
      position:relative;
      flex:0 0 100%;
      scroll-snap-align:start;
      display:flex;
      flex-direction:column;
      gap:16px;
      opacity:1;
      transform:none;
      pointer-events:auto;
      transition:none;
    }
  
    .tlg-jr-media{
        min-height: 200px;
        max-height: 200px;
        order: -1;
        width: 100%;
        margin-bottom: 20px;
    }
  
    .tlg-jr-desc{
      margin:0 0 16px;
    }
  
    .tlg-jr-skip{
        display: none;
    }
    .tlg-jr-heading {
        margin-bottom: 40px;
    }
    h2.tlg-jr-heading {
        color: var(--Color-Scheme-1-Text, #000) !important;

        /* Heading/H1 */
        font-family: "DM Sans" !important;
        font-size: var(--Typography-Size-H1, 56px) !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 100% !important; 
        letter-spacing: -2.24px !important;
    }
    .tlg-jr-rail ul li button {
        color: var(--Text-Text-disabled, #E0E1CF);

        /* Heading/H5 */
        font-family: "DM Sans" !important;
        font-size: var(--Typography-Size-H5, 20px) !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 125% !important;
        letter-spacing: -0.8px !important;
    }

    .tlg-jr-rail ul li button.tlg-jr-rail-btn.is-active{
        color: var(--Text-Text-primary, #060809) !important;
    }
  }
  