/* Travego-only header and footer refinements. */

/* Sticky wrapper is a direct child of body, unlike .travego-header itself.
   Keep the mobile navigation visible while the page scrolls. */
@media (max-width: 768px) {
  .travego-header-shell {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: #fff;
    isolation: isolate;
  }
}

/* Same 34px circular icon holder as the Facebook link. */
body .travego-footer a.travego-instagram-link > .bi-instagram {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
body .travego-footer a.travego-instagram-link:hover > .bi-instagram {
  color: #ffffcc;
}

/* Mobile and desktop: center the entire home inspiration heading, never only one column. */
body.travego-design-c-home .travego-inspiration-title {
  box-sizing: border-box;
  width: 100%;
  max-width: 1350px;
  margin: 28px auto 24px;
  padding: 0 20px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  text-align: center !important;
}
body.travego-design-c-home .travego-inspiration-title > div {
  width: 100%;
  min-width: 0;
  text-align: center;
}
body.travego-design-c-home .travego-inspiration-title p,
body.travego-design-c-home .travego-inspiration-title h2 {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}
body.travego-design-c-home .travego-inspiration-title h2 {
  overflow-wrap: break-word;
  text-wrap: balance;
}
body.travego-design-c-home .travego-inspiration-title .travego-all-trips {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
@media (max-width: 600px) {
  body.travego-design-c-home .travego-inspiration-title {
    padding: 0 14px;
    gap: 10px;
  }
  body.travego-design-c-home .travego-inspiration-title h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.2;
  }
}

/* Larger Travego logo without crowding the mobile menu and account icons. */
@media (min-width: 769px) {
  .travego-header .travego-logo-link { max-width: 208px !important; }
  .travego-header .travego-logo-img {
    height: 42px !important;
    max-width: 208px !important;
    width: auto !important;
    object-fit: contain;
  }
}
@media (min-width: 381px) and (max-width: 768px) {
  .travego-header .travego-logo-link {
    width: 138px !important;
    max-width: 138px !important;
  }
  .travego-header .travego-logo-img {
    height: 36px !important;
    max-width: 138px !important;
    width: auto !important;
    object-fit: contain;
  }
}
@media (max-width: 380px) {
  .travego-header .travego-logo-link {
    width: 120px !important;
    max-width: 120px !important;
  }
  .travego-header .travego-logo-img {
    height: 33px !important;
    max-width: 120px !important;
    width: auto !important;
    object-fit: contain;
  }
}
