/* Shared by /blogs, the imported posts and the packaged article: the reader's language, the publication cards, the
   list at an article's end, and a soft cross-fade between pages (browsers without it just open the next page). */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
html[data-lang="pl"] .l-en, html[data-lang="en"] .l-pl { display: none !important; }

.series { width: min(880px, calc(100% - 32px)); margin: 96px auto 72px; }
.series h2 { margin: 0 0 14px; color: var(--text, #e8e9ea); font: 500 21px/1.3 'IBM Plex Sans', system-ui, sans-serif; }
.series .post-card + .post-card { margin-top: 10px; }

.post-card { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 12px; border-radius: 16px; background: #0a0b0c; color: #c9ccd1; text-decoration: none;
  transition: background 200ms cubic-bezier(.2,.7,.2,1), transform 200ms cubic-bezier(.2,.7,.2,1); }
.post-card:hover { background: #131416; }
.post-card:active { transform: scale(.995); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px;
  background: #131416; }
.post-words { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-right: 8px; }
.post-when { color: #9b9fa5; font-size: 13px; line-height: 1.4; }
.post-when .tag { margin-left: 10px; padding: 1px 9px; border-radius: 999px; background: rgba(255,255,255,.055); }
.post-title { color: #e8e9ea; font-size: 20px; font-weight: 500; line-height: 1.28; letter-spacing: -.01em; text-wrap: balance; }
.post-sub { font-size: 14.5px; line-height: 1.55; color: #9b9fa5; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px; }
  .post-title { font-size: 18px; }
  .post-words { padding: 0 4px 4px; }
}

/* "Blog" beside the logo, the same on the list, the older posts and the article; it and the logo lead to the list */
.blog-name { display: inline-flex; align-items: center; min-height: 36px; color: #9b9fa5;
  font: 14px/1 'IBM Plex Sans', system-ui, sans-serif; text-decoration: none; }
.blog-name:hover { color: #e8e9ea; }
header.bar .blog-name { margin: 0 auto 0 14px; }
@media (max-width: 420px) { header.bar .blog-name { margin-left: 8px; } header.bar .mark svg { height: 28px; } }
@media (max-width: 349px) { .blog-name { display: none; } }
/* the packaged article's header still fits one line on a 360 px phone */
.bar-tools .lang-seg { flex-wrap: nowrap; }
.bar-tools .cta { white-space: nowrap; }
@media (max-width: 480px) {
  header.bar { padding: 0 12px; }
  header.bar .bar-tools { gap: 6px; }
  header.bar .bar-tools .cta.small { padding: 0 12px; }
  header.bar .bar-tools .lang-seg button { padding: 0 10px; }
}
