/* TG Travel v0.17.32 — complete the intermediate footer breakpoints.
 * 680–779px: brand/explore row, services/contact row.
 * 780–1100px: 4-column brand/explore/services/contact via v0.17.31.
 * Keep phones under 680px, full desktop over 1100px and isolated Desktop Site footer unchanged.
 */
@media screen and (min-width:680px) and (max-width:779px) {
  body #tg-global-footer.tg-brand-footer .tg-footer-main {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:"brand explore" "services contact"!important;
    column-gap:clamp(20px,4vw,34px)!important;
    row-gap:clamp(16px,2.8vw,25px)!important;
    width:calc(100% - 40px)!important;
    max-width:1240px!important;
    padding:26px 0 24px!important;
    align-items:start!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-brand {
    grid-area:brand!important;
    grid-column:auto!important;
    min-width:0!important;max-width:100%!important;
    padding:0!important;
    text-align:center!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col:nth-of-type(1) {
    grid-area:explore!important;grid-column:auto!important;
    min-width:0!important;max-width:100%!important;
    padding:0!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col:nth-of-type(2) {
    grid-area:services!important;grid-column:auto!important;
    min-width:0!important;max-width:100%!important;
    padding:12px 0 0!important;
    border-top:1px solid rgba(195,218,232,.20)!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > section.tg-footer-contact {
    grid-area:contact!important;grid-column:auto!important;
    justify-self:stretch!important;align-self:start!important;
    min-width:0!important;max-width:100%!important;width:100%!important;
    margin:0!important;padding:12px 0 0!important;
    border:0!important;
    border-top:1px solid rgba(195,218,232,.20)!important;
    background:transparent!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-brand .tg-footer-logo {
    margin:0 auto 10px!important;
    padding:0!important;
    text-align:center!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-brand .tg-footer-logo img {
    display:block!important;
    width:auto!important;height:auto!important;
    max-width:95%!important;max-height:90px!important;
    margin:0 auto!important;object-fit:contain!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-brand h3 {
    font-size:clamp(15px,2.3vw,18px)!important;
    line-height:1.4!important;
    margin:0 0 8px!important;
    text-align:center!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-brand > p {
    font-size:12px!important;
    line-height:1.5!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-brand .tg-footer-socials {
    justify-content:center!important;
    margin:12px auto 0!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col h4,
  body #tg-global-footer.tg-brand-footer .tg-footer-main > section.tg-footer-contact > h4 {
    display:table!important;
    position:relative!important;
    width:max-content!important;max-width:100%!important;
    margin:0 auto 12px!important;
    padding:0 0 11px!important;
    font-size:14px!important;
    line-height:1.4!important;
    text-align:center!important;
    border:0!important;
    background-image:linear-gradient(#F58220,#F58220)!important;
    background-size:33px 3px!important;
    background-position:center bottom!important;
    background-repeat:no-repeat!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col h4:before,
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col h4:after,
  body #tg-global-footer.tg-brand-footer .tg-footer-main > section.tg-footer-contact > h4:before,
  body #tg-global-footer.tg-brand-footer .tg-footer-main > section.tg-footer-contact > h4:after {
    display:none!important;content:none!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col > ul {
    display:block!important;list-style:none!important;
    margin:0!important;padding:0!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col > ul > li {
    min-height:0!important;margin:0!important;
    border-top:0!important;
    border-bottom:1px solid rgba(195,218,232,.14)!important;
    text-align:center!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col > ul > li:last-child {border-bottom:0!important;}
  body #tg-global-footer.tg-brand-footer .tg-footer-main > nav.tg-footer-col > ul > li > a {
    display:block!important;
    padding:7px 2px!important;
    margin:0!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1.35!important;
    color:#c9d7e5!important;
    overflow-wrap:anywhere!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-contact > ul {
    grid-template-columns:minmax(0,1fr)!important;
    display:block!important;
    gap:0!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main > .tg-footer-contact > ul > li {
    padding:9px 0 10px!important;
  }
  body #tg-global-footer.tg-brand-footer .tg-footer-main .tg-footer-contact .tg-fc1631-values > a,
  body #tg-global-footer.tg-brand-footer .tg-footer-main .tg-footer-contact .tg-fc1631-values > span {
    font-size:12px!important;
  }
}

/* Keep all small headings aligned with their details, never centered inside an item. */
@media screen and (min-width:680px) and (max-width:779px) {
  body #tg-global-footer.tg-brand-footer .tg-footer-main > section.tg-footer-contact .tg-fc1630-content > small,
  body #tg-global-footer.tg-brand-footer .tg-footer-main > section.tg-footer-contact > ul > li:not(.tg-fc1630-item) > div > small {
    align-self:flex-start!important;
    justify-self:start!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
  }
}
