/* News page — a reading page, like /soukromi/. Borrows the shell (header,
   footer, tokens) from /styles.css and adds only the article layout. */

.news-head { padding-block: clamp(56px, 8vw, 104px) 0; }

.news-title {
  margin: 6px 0 0;
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.02em;
}

.news-body { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }

.news-item {
  padding: 26px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card);
}

.news-item + .news-item { margin-top: 24px; }

.news-date {
  display: block;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}

.news-item h2 {
  margin: 10px 0 14px;
  font-size: clamp(21px, 2.4vw, 27px); line-height: 1.25; letter-spacing: -0.01em;
}

.news-item p {
  margin: 0 0 14px;
  font-size: 16.5px; line-height: 1.68; color: var(--muted);
}
.news-item p:last-child { margin-bottom: 0; }

.news-list { margin: 0 0 14px; padding-left: 1.2em; }
.news-list li {
  margin: 0 0 10px;
  font-size: 16.5px; line-height: 1.68; color: var(--muted);
}
.news-list strong { color: var(--ink); font-weight: 600; }

/* The Czech page carries a "say the commands in English" note; en/de leave
   that string empty, so collapse the paragraph instead of leaving a gap. */
.news-item p:empty { display: none; }

/* Screenshots inside an item: rounded cards, never wider than the item. */
.news-figs {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px;
  margin: 4px 0 18px;
}
.news-fig { margin: 0; flex: 0 1 280px; min-width: 0; }
.news-fig-widget { flex-basis: 340px; }
/* 85% of the card's full width (text field + its 26px side padding), centred. */
.news-fig-binder { flex: 0 0 calc((100% + 52px) * 0.85); margin: 14px auto 0; }
.news-fig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 18px;
}
/* Transparent MacBook mockup: no frame, no rounded card. */
.news-fig-binder img { border: 0; border-radius: 0; }
/* The widget screenshot has Czech UI text and no EN/DE version yet. */
html:not([lang="cs"]) .news-fig-widget { display: none; }
