@media (max-width: 1180px) {
  .tn-journal-paper,
  .tn-related__inner { width: calc(100% - 64px); }
  .tn-float-sidebar { right: 10px; }
}

@media (max-width: 1320px) {
  .tn-site-header { height: 76px; padding-block: 14px; }
  .tn-site-header__logo { width: 102px; flex-basis: 102px; }
  .tn-site-header__toggle { display: flex; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: rgba(117,122,250,.1); }
  .tn-site-header__toggle span { width: 18px; height: 2px; background: var(--tn-dark); }
  .tn-site-header__nav { position: absolute; top: 76px; right: 24px; display: none; width: min(320px, calc(100vw - 48px)); flex-direction: column; align-items: stretch; padding: 16px; border: 1px solid var(--tn-line); border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: 0 15px 35px rgba(26,26,46,.12); }
  .tn-site-header__nav.is-open { display: flex; }
  .tn-site-header__nav a { justify-content: space-between; padding: 9px 12px; font-size: 14px; }
  .tn-search-pill { display: none; }
}

@media (max-width: 980px) {
  .tn-journal-hero { min-height: 480px; }
  .tn-journal-paper { margin-top: -40px; }
  .tn-journal-article { width: min(calc(100% - 56px), var(--tn-content)); }
  .tn-related__grid { grid-template-columns: repeat(2, 1fr); }
  .tn-related-card,
  .tn-related-card:nth-child(2) { min-height: 469px; }
  .tn-related-card:last-child { display: none; }
  .tn-site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tn-float-sidebar { top: auto; right: 16px; bottom: 16px; width: auto; flex-direction: row; }
  .tn-float-sidebar__item { width: 62px; min-height: 58px; }
  .tn-float-sidebar__item:not(.tn-float-sidebar__top) { display: none; }
}

@media (max-width: 680px) {
  .tn-site-header { padding-inline: 20px; }
  .tn-journal-hero { min-height: 430px; }
  .tn-journal-hero__content { width: calc(100% - 40px); }
  .tn-breadcrumb { overflow: hidden; justify-content: flex-start; white-space: nowrap; mask-image: linear-gradient(to right,#000 80%,transparent); }
  .tn-journal-hero h1 { font-size: 32px; text-align: left; }
  .tn-journal-paper,
  .tn-related__inner { width: calc(100% - 32px); }
  .tn-journal-paper { min-height: 0; margin-top: -28px; }
  .tn-journal-article { width: auto; padding: 36px 20px 48px; }
  .tn-journal-meta { align-items: flex-start; flex-direction: column; margin-inline: 0; }
  .tn-journal-tags { gap: 8px; }
  .tn-journal-content h2 { font-size: 28px; }
  .tn-journal-gallery { grid-template-columns: 1fr; gap: 12px; }
  .tn-journal-gallery__item { height: 230px; }
  .tn-author-card__content > span:last-child { line-height: 1.7; }
  .tn-related { min-height: 0; padding: 48px 0; }
  .tn-related__header { align-items: flex-end; }
  .tn-related__header > a { font-size: 12px; }
  .tn-related__grid { grid-template-columns: 1fr; }
  .tn-related-card,
  .tn-related-card:nth-child(2) { min-height: 0; }
  .tn-related-card:nth-child(n+2) { display: none; }
  .tn-site-footer { padding: 48px 24px 90px; }
  .tn-site-footer__grid { grid-template-columns: 1fr; }
  .tn-site-footer__grid > div:not(:first-child) { padding-top: 24px; border-top: 1px solid rgba(228,228,239,.25); }
}

@media (prefers-reduced-motion: reduce) {
  .tn-site-header,
  .tn-site-header__nav a { transition: none; }
}
