/* ==========================================================
   Tipy pro firemní weby – moderní redakční vzhled
   Barvy a písma dodávají proměnné --brand-* (nedefinují se zde)
   ========================================================== */

:root {
  /* Mezery – jedna stupnice */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;

  /* Odvozené odstíny */
  --c-surface-2: color-mix(in srgb, var(--brand-bg) 60%, var(--brand-border));
  --c-border-strong: color-mix(in srgb, var(--brand-border) 70%, var(--brand-text));
  --c-primary-hover: color-mix(in srgb, var(--brand-primary) 82%, var(--brand-text));
  --c-primary-soft: color-mix(in srgb, var(--brand-primary) 10%, var(--brand-surface));
  --c-accent-hover: color-mix(in srgb, var(--brand-accent) 85%, var(--brand-text));
  --c-header-line: color-mix(in srgb, var(--brand-header-text) 16%, transparent);
  --c-header-soft: color-mix(in srgb, var(--brand-header-text) 10%, transparent);
  --c-header-muted: color-mix(in srgb, var(--brand-header-text) 72%, var(--brand-header-bg));
  --c-footer-line: color-mix(in srgb, var(--brand-footer-text) 18%, transparent);
  --c-footer-muted: color-mix(in srgb, var(--brand-footer-text) 76%, var(--brand-footer-bg));
  --c-tray-bg: var(--brand-surface);
  --c-quote-bg: color-mix(in srgb, var(--brand-primary) 6%, var(--brand-surface));
  --c-shade: rgba(8, 16, 20, 0.78);
  --c-shade-soft: rgba(8, 16, 20, 0);

  /* Stíny (vždy s rozostřením) */
  --shadow-card: 0 6px 20px rgba(23, 34, 38, 0.1);
  --shadow-header: 0 6px 18px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 2px 8px rgba(23, 34, 38, 0.06);

  /* Velikosti písma */
  --fs-h1: clamp(1.875rem, 1.45rem + 2vw, 3rem);
  --fs-h2: clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.1875rem);
  --fs-small: 0.875rem;
  --fs-card: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-lead: clamp(1.5rem, 1.1rem + 1.9vw, 2.375rem);

  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.2s;
}

/* ---------- Základ ---------- */

html {
  color-scheme: light;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: var(--c-border-strong) var(--brand-bg);
}

body {
  margin: 0;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: var(--brand-font-body);
  font-size: var(--fs-body);
  font-size-adjust: from-font;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
}

input, textarea, select, button {
  caret-color: var(--brand-accent);
  accent-color: var(--brand-accent);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
  font-size-adjust: from-font;
  color: var(--brand-text);
  line-height: 1.22;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }

a {
  color: var(--brand-primary);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

a:hover { color: var(--c-primary-hover); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

/* ---------- Hlavička (přilepená, tmavá) ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  container-type: scroll-state;
  container-name: site-header;
  background: var(--brand-header-bg);
  color: var(--brand-header-text);
  border-bottom: 1px solid var(--c-header-line);
}

.header__inner {
  min-height: var(--header-h);
  padding-block: var(--space-2xs);
  transition: padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

@supports (container-type: scroll-state) {
  @container site-header scroll-state(stuck: top) {
    .header__inner {
      box-shadow: var(--shadow-header);
    }
  }
}

/* Logo */
.header__logo,
.logo {
  color: var(--brand-header-text);
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
  font-size: 1.375rem;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .header__logo,
  .logo {
    font-size: 1.625rem;
  }
}

.header__logo:hover,
.logo:hover { color: var(--brand-header-text); }

.logo__mark {
  background: var(--brand-accent);
  color: var(--brand-on-accent);
  border-radius: var(--brand-radius);
}

.logo__name {
  color: var(--brand-header-text);
}

.logo__tld {
  font-size: 0.7em;
  white-space: nowrap;
  color: var(--c-header-muted);
}

/* Tlačítko menu */
.header__toggle {
  background: transparent;
  color: var(--brand-header-text);
  border: 1px solid var(--c-header-line);
  border-radius: var(--brand-radius);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.header__toggle svg { stroke: currentColor; }

.header__toggle:hover {
  background: var(--c-header-soft);
  border-color: var(--c-header-muted);
}

/* Navigace v hlavičce (varianta s menu v logu) */
.header .nav a {
  color: var(--brand-header-text);
  text-decoration: none;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--brand-radius);
  min-height: 24px;
}

.header .nav a:hover {
  background: var(--c-header-soft);
  color: var(--brand-header-text);
}

/* Lišta rubrik pod hlavičkou */
.tray {
  background: var(--c-tray-bg);
  border-bottom: 1px solid var(--brand-border);
}

.tray__inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tray__inner a {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--brand-text);
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--brand-radius);
  min-height: 24px;
}

.tray__inner a:hover {
  background: var(--c-primary-soft);
  color: var(--brand-primary);
}

/* Mobilní menu */
.smallnav {
  background: var(--brand-surface);
  color: var(--brand-text);
}

.smallnav ul {
  margin: 0;
  padding: var(--space-sm);
  list-style: none;
}

.smallnav a {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--brand-text);
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
  font-size: 1.125rem;
  text-decoration: none;
  border-bottom: 1px solid var(--brand-border);
}

.smallnav a:hover {
  color: var(--brand-primary);
  background: var(--c-primary-soft);
}

.smallnav__close {
  background: transparent;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  color: var(--brand-text);
}

.smallnav__close:hover { background: var(--c-surface-2); }

/* ---------- Vyhledávání ---------- */

.search-form form {
  display: flex;
  gap: var(--space-2xs);
}

.search-form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 var(--space-sm);
  background: var(--brand-surface);
  color: var(--brand-text);
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--brand-radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.search-form input[type="text"]:hover { border-color: var(--brand-muted); }

.search-form input[type="text"]:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 22%, transparent);
  outline: none;
}

.search-form input[type="submit"] {
  min-height: 44px;
  padding: 0 var(--space-md);
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
  font-size: 1rem;
  border: 0;
  border-radius: var(--brand-radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}

.search-form input[type="submit"]:hover { background: var(--c-primary-hover); }

/* ---------- Karty článků ---------- */

.article {
  container-type: inline-size;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.article:hover {
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-card);
}

.article__image {
  margin: 0;
  background: var(--c-surface-2);
}

.article__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__title {
  margin: 0;
  padding: var(--space-sm) var(--space-sm) 0;
  font-size: var(--fs-card);
  line-height: 1.25;
}

.article__title a {
  color: var(--brand-text);
  text-decoration: none;
}

.article__title a:hover,
.article:hover .article__title a {
  color: var(--brand-primary);
}

.article__perex {
  margin: var(--space-2xs) 0 0;
  padding: 0 var(--space-sm);
  color: var(--brand-muted);
  font-size: 0.9688rem;
  line-height: 1.55;
}

.article__category {
  margin: var(--space-xs) 0 0;
  padding: 0 var(--space-sm);
  font-size: var(--fs-small);
  color: var(--brand-muted);
}

.article__category a {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--brand-accent);
  color: var(--brand-on-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--brand-radius);
  transition: background-color var(--dur) var(--ease);
}

.article__category a:hover {
  background: var(--c-accent-hover);
  color: var(--brand-on-accent);
}

.article__date {
  margin: var(--space-xs) 0 0;
  padding: 0 var(--space-sm) var(--space-sm);
  color: var(--brand-muted);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}

.article > :last-child { padding-bottom: var(--space-sm); }
.article > .article__date:last-child { padding-bottom: var(--space-sm); }

/* ---------- Horní blok (Titulní) ---------- */

.top {
  background: transparent;
}

.top__inner .article:first-child {
  position: relative;
  border: 0;
  color: #fff;
  background: var(--brand-header-bg);
}

.top__inner .article:first-child .article__image img {
  filter: none;
}

.top__inner .article:first-child .article__title,
.top__inner .article:first-child .article__perex,
.top__inner .article:first-child .article__category {
  position: relative;
  z-index: 1;
}

.top__inner .article:first-child .article__title {
  font-size: var(--fs-lead);
  letter-spacing: -0.02em;
  padding: var(--space-md) var(--space-md) 0;
}

.top__inner .article:first-child .article__title a {
  color: var(--brand-header-text);
}

.top__inner .article:first-child .article__title a:hover {
  color: var(--brand-header-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.top__inner .article:first-child .article__perex {
  padding-inline: var(--space-md);
  color: var(--c-header-muted);
}

.top__inner .article:first-child .article__category {
  padding-inline: var(--space-md);
  padding-bottom: var(--space-md);
}

.top__inner .article:first-child:hover {
  box-shadow: var(--shadow-card);
}

/* ---------- Obsah a mřížka ---------- */

.content > h1,
.content > h2 {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.content > h2 {
  padding-bottom: var(--space-2xs);
  border-bottom: 2px solid var(--brand-text);
}

.bottom__title {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-2xs);
  border-bottom: 2px solid var(--brand-text);
}

.bottom__title a {
  color: var(--brand-text);
  text-decoration: none;
}

.bottom__title a:hover { color: var(--brand-primary); }

/* ---------- Stránkování ---------- */

.pagination ul {
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  justify-content: center;
}

.pagination li,
.pagination a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pagination li {
  padding: 0 var(--space-xs);
  color: var(--brand-muted);
  font-variant-numeric: tabular-nums;
}

.pagination a {
  padding: 0 var(--space-sm);
  background: var(--brand-surface);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  text-decoration: none;
  font-weight: 600;
}

.pagination a:hover {
  background: var(--c-primary-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.pagination__active {
  background: var(--brand-primary);
  color: var(--brand-on-primary) !important;
  border: 1px solid var(--brand-primary);
  border-radius: var(--brand-radius);
  font-weight: 700;
}

/* ---------- Stránka článku ---------- */

.text {
  background: transparent;
}

.text__title {
  margin: 0 0 var(--space-md);
  font-size: var(--fs-h1);
  line-height: 1.15;
}

.text__cover {
  margin: 0 0 var(--space-lg);
}

.text__cover img {
  display: block;
  width: 100%;
  border-radius: var(--brand-radius);
}

.text__body {
  max-width: 68ch;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--brand-text);
}

.text__body p {
  margin: 0 0 1.15em;
}

.text__body h2 {
  margin: 2em 0 0.6em;
  font-size: var(--fs-h2);
}

.text__body h3 {
  margin: 1.8em 0 0.5em;
  font-size: var(--fs-h3);
}

.text__body a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.text__body a:hover {
  color: var(--c-primary-hover);
  text-decoration-thickness: 2px;
}

.text__body ul,
.text__body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.text__body li { margin-bottom: 0.4em; }

.text__body img {
  border-radius: var(--brand-radius);
}

.text__body blockquote {
  margin: 1.6em 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--c-quote-bg);
  border-left: 3px solid var(--brand-primary);
  border-radius: 0;
  color: var(--brand-text);
  font-style: italic;
}

.text__body blockquote p:last-child { margin-bottom: 0; }

/* Tabulky v článku */
.text table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.9688rem;
  font-variant-numeric: tabular-nums;
}

.text table th,
.text table td {
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--brand-border);
  text-align: left;
  vertical-align: top;
}

.text table tr:first-child th,
.text table tr:first-child td {
  background: var(--c-primary-soft);
  color: var(--brand-text);
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
}

.text table thead th {
  text-align: left;
  background: var(--c-primary-soft);
}

/* Obsah článku */
.table-of-content {
  margin: 0 0 var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  font-size: 0.9688rem;
}

.table-of-content > span {
  display: block;
  margin-bottom: var(--space-2xs);
  font-family: var(--brand-font-heading);
  font-weight: var(--brand-heading-weight);
  font-size: 1.0625rem;
}

.table-of-content a {
  color: var(--brand-text);
  text-decoration: none;
}

.table-of-content a:hover { color: var(--brand-primary); }

/* Informace pod článkem */
.text__info {
  max-width: 68ch;
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--brand-border);
  color: var(--brand-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.text__info p { margin: 0 0 var(--space-2xs); }

.text__info a {
  color: var(--brand-primary);
  text-underline-offset: 0.2em;
}

img.author {
  float: left;
  width: 140px;
  height: 140px;
  margin: 0 var(--space-md) var(--space-sm) 0;
  object-fit: cover;
  border-radius: var(--brand-radius);
}

/* ---------- Ukazatel čtení (jen CSS) ---------- */

.reading-progress { display: none; }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .reading-progress {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 60;
      height: 4px;
      background: var(--brand-accent);
      transform-origin: left center;
      transform: scaleX(0);
      animation: reading-progress-grow linear both;
      animation-timeline: scroll(root);
    }

    @keyframes reading-progress-grow {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
  }
}

/* ---------- Pravý panel ---------- */

.sidebar h3:not(.article__title) {
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-2xs);
  border-bottom: 2px solid var(--brand-text);
  font-size: 1.125rem;
}

.sidebar .article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  padding: var(--space-xs);
}

.sidebar .article .article__image img {
  width: 96px;
  height: 72px;
  border-radius: var(--brand-radius);
}

.sidebar .article .article__title {
  padding: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.sidebar .nav ul,
.sidebar .tags,
.sidebar .promo,
.sidebar .authors {
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
}

.sidebar .nav a,
.sidebar .authors a {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-2xs) 0;
  min-height: 24px;
  color: var(--brand-text);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-border);
}

.sidebar .nav a:hover,
.sidebar .authors a:hover { color: var(--brand-primary); }

.sidebar .tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}

.sidebar .tags a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  min-height: 24px;
  padding: 0.25rem 0.75rem;
  background: var(--brand-surface);
  color: var(--brand-text);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
}

.sidebar .tags a:hover {
  background: var(--c-primary-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.sidebar .promo li {
  display: flex;
  gap: var(--space-2xs);
  padding: var(--space-2xs) 0;
  border-bottom: 1px solid var(--brand-border);
}

.sidebar svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ---------- Spodní panel nad patičkou ---------- */

.prefooter {
  background: var(--brand-surface);
  border-top: 1px solid var(--brand-border);
}

.prefooter h3:not(.article__title) {
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-2xs);
  border-bottom: 2px solid var(--brand-text);
  font-size: 1.125rem;
}

.prefooter .nav ul,
.prefooter .tags,
.prefooter .promo,
.prefooter .authors {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prefooter .nav a,
.prefooter .authors a {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-2xs) 0;
  min-height: 24px;
  color: var(--brand-text);
  text-decoration: none;
}

.prefooter .nav a:hover,
.prefooter .authors a:hover { color: var(--brand-primary); }

.prefooter .tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}

.prefooter .tags a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  min-height: 24px;
  padding: 0.25rem 0.75rem;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
}

.prefooter .tags a:hover {
  background: var(--c-primary-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.prefooter .promo li {
  display: flex;
  gap: var(--space-2xs);
  padding: var(--space-2xs) 0;
}

.prefooter svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.prefooter .article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  padding: var(--space-xs);
}

.prefooter .article .article__image img {
  width: 96px;
  height: 72px;
  border-radius: var(--brand-radius);
}

.prefooter .article .article__title {
  padding: 0;
  font-size: 1rem;
  line-height: 1.3;
}

/* ---------- Patička (tmavá) ---------- */

.footer {
  background: var(--brand-footer-bg);
  color: var(--brand-footer-text);
  border-top: 1px solid var(--c-footer-line);
  font-size: 0.9375rem;
}

.footer__inner p {
  margin: 0 0 var(--space-2xs);
  color: var(--c-footer-muted);
}

.footer a {
  color: var(--brand-footer-text);
  text-underline-offset: 0.2em;
}

.footer a:hover { color: var(--brand-footer-text); text-decoration-thickness: 2px; }

/* ---------- Popup ---------- */

.popup {
  background: var(--brand-surface);
  color: var(--brand-text);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  box-shadow: var(--shadow-card);
}

.popup #close {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  color: var(--brand-text);
  font-size: 1.5rem;
  line-height: 1;
  border: 0;
  border-radius: var(--brand-radius);
  cursor: pointer;
}

.popup #close:hover { background: var(--c-surface-2); }

/* ---------- Komponenty podle šířky kontejneru ---------- */

@container (max-width: 260px) {
  .article__title { font-size: 1rem; padding: var(--space-xs) var(--space-xs) 0; }
  .article__perex,
  .article__category,
  .article__date { padding-inline: var(--space-xs); }
}

/* ---------- Pohyb ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Template::addOverflowGuard: dlouhé slovo nebo doména v titulku nepřeteče úzký sloupec ani kartu */
:where(body) { overflow-wrap: break-word; }
:where(h1, h2, h3, h4, h5, h6, .article__title, .sidebar a) { overflow-wrap: anywhere; }
