.tn-site-header__nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 7px;
  border-radius: 8px;
  color: var(--tn-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.tn-site-header__nav a:hover,
.tn-site-header__nav a:focus-visible {
  color: var(--tn-dark);
  background: rgba(117, 122, 250, .09);
}

.tn-nav-chevron { color: var(--tn-subtle); font-size: 12px; }

.tn-search-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--tn-primary);
  font-size: 13px;
  font-weight: 500;
}

.tn-site-header__toggle { display: none; }

.tn-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #bbbdfd;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 1px;
}

.tn-journal-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--tn-serif);
  font-size: clamp(36px, 3.33vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.tn-journal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 8px 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tn-line);
  font-size: 12px;
  letter-spacing: 1px;
}

.tn-journal-meta > p { margin: 0; color: var(--tn-subtle); white-space: nowrap; }
.tn-journal-meta time { margin-left: 8px; color: var(--tn-ink); }
.tn-journal-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tn-journal-tags a,
.tn-journal-tags > span:not(:first-child) { padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.8); }

.tn-journal-content h2 {
  margin: 0 0 24px;
  font-family: var(--tn-serif);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.tn-journal-content h2:not(:first-child) { margin-top: 40px; }
.tn-journal-content p { margin-bottom: 24px; font-size: 16px; line-height: 1.8; }
.tn-journal-content > p:last-child { margin-bottom: 0; }

.tn-journal-richtext iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 16px 0 40px;
  border: 0;
}

.tn-journal-gallery {
  display: grid;
  margin: 16px 0 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tn-journal-gallery__item {
  position: relative;
  height: 293px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd;
}

.tn-journal-gallery__item::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  content: "";
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

.tn-journal-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.tn-journal-gallery__item figcaption { position: absolute; z-index: 1; bottom: 10px; left: 12px; color: #fff; font-size: 12px; letter-spacing: 1px; }

.tn-journal-video {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 3 / 2;
  margin: 16px auto 40px;
  overflow: hidden;
  border-radius: 6px;
  background: #333;
}

.tn-journal-video > img,
.tn-journal-video video { width: 100%; height: 100%; object-fit: cover; }
.tn-journal-video button { position: absolute; top: 50%; left: 50%; display: grid; width: 48px; height: 48px; padding: 12px; transform: translate(-50%,-50%); place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); }

.tn-author-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
  padding: 25px 13px;
  border: 1px solid var(--tn-line);
  border-radius: 16px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(5px);
}

.tn-author-card__avatar { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border-radius: 50%; color: #fff; background: var(--tn-primary); font-size: 24px; font-weight: 700; }
.tn-author-card__avatar--image { overflow: hidden; }
.tn-author-card__avatar--image img { width: 100%; height: 100%; object-fit: cover; }
.tn-author-card__content { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.6; letter-spacing: 1px; }
.tn-author-card__content strong { font-size: 18px; line-height: 1.2; }
.tn-author-card__content small { margin-bottom: 4px; color: var(--tn-subtle); }

.tn-related__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.tn-related__header h2 { margin: 0 0 8px; color: var(--tn-ink); font-size: 24px; line-height: 1.2; }
.tn-related__header p { margin: 0; color: var(--tn-dark); font: 500 12px/1.6 var(--tn-display); letter-spacing: 1px; }
.tn-related__header > a { padding: 8px 4px; border-bottom: 1px solid var(--tn-ink); font-size: 14px; font-weight: 500; }

.tn-related-card {
  position: relative;
  display: flex;
  min-height: 469px;
  flex-direction: column;
  overflow: hidden;
  background: #e4e4ef;
  box-shadow: 0 15px 30px rgba(31,27,22,.14);
}

.tn-related-card:nth-child(2) { min-height: 516px; }
.tn-related-card::after { position: absolute; inset: 0; content: ""; opacity: .35; pointer-events: none; background: url("../../assets/travel-journal/paper-texture.png") center / cover; mix-blend-mode: multiply; }
.tn-related-card__marker { position: relative; z-index: 1; display: grid; height: 25px; flex: 0 0 25px; place-items: center; border-bottom: 1px dashed #9999b5; }
.tn-related-card__marker span { width: 8px; height: 8px; border-radius: 50%; background: var(--tn-dark); }
.tn-related-card > a,
.tn-related-card__body { position: relative; z-index: 1; }
.tn-related-card > a { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.tn-related-card > a img { width: 100%; height: 100%; object-fit: cover; }
.tn-related-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 16px; }
.tn-related-card__meta { color: var(--tn-muted); font-size: 12px; letter-spacing: 1px; }
.tn-related-card__meta > span { display: inline-block; width: 4px; height: 4px; margin-right: 4px; vertical-align: 3px; border-radius: 50%; background: var(--tn-primary); }
.tn-related-card h3 { margin: 20px 0 12px; font-size: 18px; line-height: 1.2; }
.tn-related-card__body > p:last-child { display: -webkit-box; overflow: hidden; margin: 0; color: var(--tn-muted); font-size: 14px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.tn-site-footer__brand > img { width: 160px; height: 63px; object-fit: contain; object-position: left center; }
.tn-site-footer__brand > p { max-width: 330px; margin: 24px 0; font-size: 15px; line-height: 1.8; }
.tn-site-footer__social { margin-bottom: 24px; color: #d7d8ff; font-size: 12px; }
.tn-site-footer small { display: block; padding-top: 24px; border-top: 1px solid rgba(228,228,239,.5); font-size: 11px; line-height: 1.8; letter-spacing: .5px; }
.tn-site-footer h3 { margin: 0 0 20px; color: #fff; font-size: 14px; line-height: 1.4; }
.tn-site-footer h3:not(:first-child) { margin-top: 36px; }
.tn-site-footer h3 span { display: block; color: var(--tn-light); font: 500 12px/1.6 var(--tn-display); letter-spacing: 1px; }
.tn-site-footer p,
.tn-site-footer li { margin: 0 0 10px; color: #c8c8e0; font-size: 12px; line-height: 1.6; letter-spacing: .5px; }
.tn-site-footer ul { margin: 0; padding: 0; list-style: none; }

.tn-float-sidebar__item { display: flex; min-height: 68px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; color: var(--tn-muted); font-size: 11px; letter-spacing: 1px; }
.tn-float-sidebar__item:hover { background: rgba(117,122,250,.08); }
.tn-float-sidebar__item img { width: 24px; height: 24px; object-fit: contain; }
.tn-float-sidebar__top { color: var(--tn-dark); font-size: 14px; font-weight: 600; }
