/* V80 — footer trust row, mobile contact centering and logo top breathing room */

/* Keep all three trust promises in one row on every viewport. */
.compact-footer-trust,
.luxury-footer-trust.compact-footer-trust{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  gap:10px!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.compact-footer-trust span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  margin:0!important;
  line-height:1.15!important;
  text-align:center!important;
}

/* Keep footer contact groups visually centred. */
.compact-contact-col .footer-contact-list{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin-inline:auto!important;
}
.compact-contact-col .footer-contact-row{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  max-width:min(100%,460px)!important;
  margin:7px auto!important;
  gap:10px!important;
  text-align:center!important;
}
.compact-contact-col .footer-contact-row > span:last-child{
  display:inline-block!important;
  width:auto!important;
  text-align:center!important;
  overflow-wrap:anywhere!important;
}
.compact-contact-col .footer-contact-icon{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  margin:0!important;
}

@media (max-width:640px){
  /* Prevent the footer logo from touching the upper separator line. */
  .compact-footer-about{
    padding-top:10px!important;
  }
  .compact-footer-about .footer-luxury-brand,
  .compact-footer-about .footer-luxury-brand.tripwithera-brand{
    margin-top:4px!important;
    margin-bottom:14px!important;
  }

  .compact-footer-trust,
  .luxury-footer-trust.compact-footer-trust{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:4px!important;
    padding:11px 4px!important;
    margin-top:20px!important;
    font-size:clamp(.46rem,2.25vw,.59rem)!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }
  .compact-footer-trust span{
    gap:3px!important;
    line-height:1.1!important;
  }
  .compact-footer-trust span:before{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    margin-right:3px!important;
    font-size:.61rem!important;
  }

  .compact-contact-col .footer-contact-list{
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
  }
  .compact-contact-col .footer-contact-row{
    display:flex!important;
    width:min(100%,370px)!important;
    max-width:370px!important;
    justify-content:center!important;
    align-items:center!important;
    margin:8px auto!important;
    padding:0 8px!important;
    gap:9px!important;
    text-align:center!important;
  }
  .compact-contact-col .footer-contact-row > span:last-child{
    flex:0 1 auto!important;
    max-width:320px!important;
    text-align:center!important;
    line-height:1.45!important;
  }
}

@media (max-width:390px){
  .compact-footer-trust,
  .luxury-footer-trust.compact-footer-trust{
    font-size:.43rem!important;
    gap:2px!important;
    padding-inline:0!important;
  }
  .compact-footer-trust span:before{
    width:13px!important;
    height:13px!important;
    min-width:13px!important;
    margin-right:2px!important;
    font-size:.53rem!important;
  }
}
