/* Mobile fixes from the Nov 9 2026 overflow audit. */

/* Long web addresses in text must wrap instead of widening the page. */
.blog-article,
main h1,
main p,
main li,
main blockquote {
  overflow-wrap: anywhere;
}

/* Wide content scrolls inside its own box. */
.blog-article table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.blog-article img,
.blog-article iframe,
.blog-article video,
.blog-article pre {
  max-width: 100%;
}

.blog-article pre {
  overflow-x: auto;
}

@media (max-width: 900px) {
  /* Gift certificate images stack instead of widening the page on tablets. */
  .gift-media-row {
    flex-wrap: wrap;
  }

  .gift-media-row > * {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  /* Overrides the fixed inline min-width on the home page photo. */
  .home-airline-photo {
    min-width: 0 !important;
  }
}
