/* Soft passages between the pages of the site (browsers that know cross-document view transitions; the others load
   pages as before). The header stays in place, the page underneath fades and rises; a picture that was clicked
   (a card of the home page, an episode of the podcast) grows into the picture of the page it opens. */
@view-transition { navigation: auto; }
.infinite-header-wrap, .infinite-mobile-header-wrap, .tsh-head { view-transition-name: ts-head; }
::view-transition-group(ts-head) { animation: none; }
::view-transition-old(root) { animation: ts-vt-out .28s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: ts-vt-in .5s cubic-bezier(.2,.7,.3,1) .05s both; }
@keyframes ts-vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes ts-vt-in { from { opacity: 0; transform: translateY(18px); } }
::view-transition-group(ts-pic) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
::view-transition-old(ts-pic), ::view-transition-new(ts-pic) { height: 100%; object-fit: cover; }
.st-ep-cover { view-transition-name: ts-pic; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
