/* Travel articles inherit the blog's colors and typography. */
.travel-page .blog-post .container > .row > .col-lg-12 {
  width: 100%;
  min-width: 0;
}

.travel-page h1,
.travel-page .breadcrumb,
.travel-article {
  overflow-wrap: anywhere;
}

.travel-page h1 {
  text-wrap: balance;
}

.travel-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.travel-page .toc-container {
  width: 100%;
  max-width: 100%;
}

.travel-article h2 {
  scroll-margin-top: 28px;
  font-size: clamp(25px, 3.5vw, 34px);
  line-height: 1.55;
}

.travel-article figure {
  min-width: 0;
  margin: 30px 0;
}

.travel-article figure a {
  display: block;
}

/* Enlarging a photo should not inherit the underline of a text link. */
.travel-article figure a[data-lightbox],
.travel-article figure a[data-lightbox]:hover,
.travel-article figure a[data-lightbox]:focus {
  border-bottom: 0;
  text-decoration: none;
}

.blog-post .travel-article figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
}

.travel-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin: 32px 0;
}

.travel-gallery figure {
  margin: 0;
}

.travel-article figcaption {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

.travel-page .article-return {
  margin-top: 28px;
}

[data-theme="dark"] .travel-page .blog-post {
  background: var(--page-bg);
}

@media (max-width: 1199px) {
  .travel-page .search-toggle { right: 56px; }
  .travel-page .theme-toggle { right: 16px; }
  .travel-page .navbar-right { margin-right: 85px; }
}

@media (max-width: 767px) {
  .travel-page .search-toggle { right: 166px; }
  .travel-page .theme-toggle { right: 128px; }
  .travel-page .navbar-right { margin-right: -15px; }
  .travel-page .search-toggle,
  .travel-page .theme-toggle {
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .travel-page .blog-post {
    padding-top: 32px;
  }
}

@media (max-width: 600px) {
  .travel-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .travel-article figure {
    margin: 24px 0;
  }

  .travel-gallery figure {
    margin: 0;
  }
}

@media print {
  .travel-article figure {
    break-inside: avoid;
  }

  .travel-article h2 {
    break-after: avoid;
  }

  .travel-page .article-return,
  .travel-page .travel-recommendations {
    display: none;
  }
}
