/* Shared route-title treatment for desktop and mobile.  The route copy and
   the Tripura wordmark are kept in one row, with one responsive type scale so
   neither side becomes visually heavier than the other. */
.route-gallery-top .route-gallery-title-row{
  --route-title-size:clamp(2.35rem,4.25vw,4.85rem);
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(.75rem,2.2vw,2.5rem)!important;
  width:100%!important;
  min-width:0!important;
}
.route-gallery-top .route-gallery-title-row h1{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  font-size:var(--route-title-size)!important;
  line-height:.94!important;
  letter-spacing:-.055em!important;
  white-space:nowrap!important;
  text-wrap:nowrap!important;
  overflow:visible!important;
}
.route-gallery-top .route-gallery-title-row h1 br{display:none!important}
.route-gallery-top .tripura-wordmark.route-gallery-word{
  flex:0 0 clamp(200px,24vw,390px)!important;
  width:clamp(200px,24vw,390px)!important;
  min-width:200px!important;
  max-width:390px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:clamp(40px,6vw,82px)!important;
  overflow:visible!important;
}
.route-gallery-top .tripura-wordmark.route-gallery-word .route-gallery-word-letter{
  font-size:var(--route-title-size)!important;
  line-height:.8!important;
}

@media (max-width:850px){
  .route-gallery-top .route-gallery-title-row{
    --route-title-size:clamp(.72rem,4.3vw,1.05rem);
    gap:.3rem!important;
  }
  .route-gallery-top .route-gallery-title-row h1{
    flex:1 1 auto!important;
    letter-spacing:-.065em!important;
  }
  .route-gallery-top .tripura-wordmark.route-gallery-word{
    flex:0 0 clamp(96px,28vw,132px)!important;
    width:clamp(96px,28vw,132px)!important;
    min-width:96px!important;
    max-width:132px!important;
    min-height:clamp(22px,7vw,36px)!important;
    align-self:center!important;
  }
}
