/* Cloudflare news: stránky z functions/_lib/cf-news.js, sekce na homepage z tools/render_cf_news.py.
   Barvy podle brand/BRAND.md (navy #0e0e53, teal #24baff, ice #eff4f6). */
.cf-news-home[hidden] { display: none !important; }

.cf-news-source { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.25rem;
  margin-top: 1.5rem; color: #0e0e53b3; font-size: .95rem; }
.cf-news-source a, .cf-news-guide a, .cf-news-note a, .cf-news-body p a {
  color: #0e0e53; font-weight: 600; text-decoration: underline; text-decoration-color: #24baff;
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cf-news-source a:hover, .cf-news-guide a:hover, .cf-news-note a:hover, .cf-news-body p a:hover { text-decoration-color: #0e0e53; }

.cf-news-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em;
  padding: .1em .4em; border-radius: .35rem; background: #eff4f6; overflow-wrap: anywhere; }
.cf-news-body h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-size: 1.15rem; line-height: 1.35; }
.cf-news-guide { margin-top: 2rem; padding: 1rem 1.25rem; border-radius: 1rem; background: #eff4f6; font-weight: 600; }
.cf-news-note { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #0e0e531a; color: #0e0e5399; font-size: .9rem; }

.cf-news-meta { color: #0e0e5399; font-size: .9rem; }
.cf-news-intro { max-width: 40rem; margin: 0 auto; text-align: center; }
.cf-news-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; }
.cf-news-pager > span { color: #0e0e5399; }
.cf-news-all { margin-bottom: 0; }

/* Changelog 1:1: položky, kód a tabulky v originále */
.cf-news-entry { margin-bottom: 2rem; }
.cf-news-entry-meta { margin-top: -.25rem; color: #0e0e5399; font-size: .9rem; }
.cf-news-entry-meta a { color: #0e0e53; font-weight: 600; text-decoration: underline; text-decoration-color: #24baff;
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cf-news-body h4 { margin-top: 1.25rem; margin-bottom: .5rem; font-size: 1.05rem; }
.cf-news-body ul { margin-bottom: 1rem; padding-left: 1.25rem; }
.cf-news-body li { margin-bottom: .35rem; }
.cf-news-body li a { color: #0e0e53; text-decoration: underline; text-decoration-color: #24baff; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cf-news-body pre { margin: 1rem 0 1.25rem; padding: 1rem 1.25rem; overflow-x: auto; border-radius: 1rem; background: #0e0e53;
  color: #eff4f6; font-size: .85rem; line-height: 1.55; tab-size: 2; }
.cf-news-body pre code { padding: 0; background: none; color: inherit; overflow-wrap: normal; white-space: pre; }
.cf-news-table { margin: 1rem 0 1.5rem; overflow-x: auto; border: 1px solid #0e0e5329; border-radius: 1rem; background: #fff; }
.cf-news-table table { width: 100%; border-collapse: collapse; font-size: .85rem; line-height: 1.45; }
.cf-news-table th, .cf-news-table td { padding: .55rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid #0e0e531a; }
.cf-news-table th { background: #eff4f6; font-weight: 600; white-space: nowrap; }
.cf-news-table tbody tr:last-child td { border-bottom: 0; }
