/* TG Travel v0.16.17 — genuine three-container desktop Top Bar.
   Grid columns have distinct tracks, so contact text cannot paint over social icons.
   Keep existing mobile single-line responsive behavior untouched. */
@media (min-width:981px) {
 body #tg-global-topbar > .tg-topbar-inner {
   display:grid!important;
   grid-template-columns: minmax(0,max-content) minmax(0,1fr) max-content!important;
   align-items:center!important;
   column-gap:clamp(20px,2vw,36px)!important;
   justify-content:normal!important;
 }
 body #tg-global-topbar #tg-topbar-contact-group {
   grid-column:1!important;
   display:flex!important;
   justify-content:flex-start!important;
   justify-self:start!important;
   flex-wrap:nowrap!important;
   width:max-content!important;
   max-width:100%!important;
   min-width:0!important;
   padding-right:0!important;
   margin:0!important;
   box-sizing:border-box!important;
 }
 body #tg-global-topbar #tg-topbar-contact-group .tg-topitem {
   flex:0 0 auto!important;
   min-width:0!important;
   white-space:nowrap!important;
 }
 body #tg-global-topbar > .tg-topbar-inner > .tg-topbar-socials {
   grid-column:2!important;
   display:flex!important;
   justify-content:center!important;
   justify-self:stretch!important;
   align-items:center!important;
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
   overflow:visible!important;
   margin:0!important;
   padding:0!important;
 }
 body #tg-global-topbar #tg-topbar-actions-group {
   grid-column:3!important;
   justify-self:end!important;
   flex:none!important;
   width:max-content!important;
   min-width:0!important;
   margin:0!important;
 }
}
/* When there isn't space for full-width labels + socials + controls, prioritize
   the three isolated zones; only lengthy contact text may be truncated. */
@media (min-width:981px) and (max-width:1490px) {
 body #tg-global-topbar > .tg-topbar-inner {
   grid-template-columns:minmax(0,1fr) max-content max-content!important;
   column-gap:clamp(10px,1.6vw,22px)!important;
 }
 body #tg-global-topbar #tg-topbar-contact-group {
   width:100%!important;
   overflow:hidden!important;
 }
 body #tg-global-topbar #tg-topbar-contact-group .tg-topitem-email {
   flex:0 1 auto!important;
   overflow:hidden!important;
 }
 body #tg-global-topbar #tg-topbar-contact-group .tg-topitem-email > span:not(.tg-ti) {
   overflow:hidden!important;
   text-overflow:ellipsis!important;
   white-space:nowrap!important;
 }
 body #tg-global-topbar > .tg-topbar-inner > .tg-topbar-socials{width:max-content!important;}
}
