@font-face {
  font-family: Research Sans;
  src: url("/assets/rodina-mat/TildaSans-VF.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
.rl-body { margin: 0; }
.rl-page {
  --rl-ink: #161f35;
  --rl-muted: #475670;
  --rl-accent: #254bd8;
  --rl-strong: #1737ad;
  --rl-line: #d8e1f0;
  --rl-tint: #eff3fd;
  --rl-paper: #fff;
  color: var(--rl-ink);
  background: var(--rl-paper);
  font: 500 1rem/1.55 "Research Sans", Arial, sans-serif;
}
.rl-page *, .rl-page *::before, .rl-page *::after { box-sizing: border-box; }
.rl-page ::selection { background: #cfdaff; color: var(--rl-ink); }
.rl-page a:focus-visible { outline: 3px solid var(--rl-accent); outline-offset: 4px; }
.rl-page a { touch-action: manipulation; }
.rl-page [id] { scroll-margin-top: calc(var(--shl-shell-height, 76px) + 24px); }
.rl-wrap { width: min(100% - 64px, 1280px); margin-inline: auto; min-width: 0; }
.rl-skip { position: absolute; z-index: 11000; inset-inline-start: 16px; top: 16px; transform: translateY(-180%); }
.rl-skip:focus { transform: none; }
.rl-hero { background: var(--rl-tint); padding-block: 22px clamp(36px, 5.2vw, 78px); border-bottom: 1px solid var(--rl-line); }
.rl-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .94rem; color: var(--rl-muted); }
.rl-crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rl-muted); text-underline-offset: 4px; }
.rl-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 6vw, 100px); align-items: center; margin-top: 20px; }
.rl-hero-grid > *, .rl-catalog-grid > * { min-width: 0; }
.rl-page h1, .rl-page h2, .rl-page h3 { color: var(--rl-ink); margin: 0; line-height: 1.08; letter-spacing: -.032em; overflow-wrap: anywhere; text-wrap: balance; }
.rl-page h1 { font-size: clamp(2.75rem, 6vw, 5.65rem); font-weight: 770; }
.rl-page h2 { font-size: clamp(1.85rem, 3vw, 3rem); font-weight: 740; }
.rl-page h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 720; }
.rl-page p { margin: 0; overflow-wrap: anywhere; }
.rl-lead { margin-top: 20px !important; max-width: 58ch; color: var(--rl-muted); font-size: clamp(1.1rem, 1.6vw, 1.34rem); }
.rl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 25px; }
.rl-button, .rl-text-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; font-weight: 720; text-underline-offset: 4px; }
.rl-button { padding: 9px 16px; border: 1px solid transparent; border-radius: 11px; background: var(--rl-accent); color: #fff; text-decoration: none; }
.rl-button:hover { background: var(--rl-strong); }
.rl-button--outline { color: var(--rl-accent); background: var(--rl-paper); border-color: var(--rl-line); }
.rl-button--outline:hover { background: var(--rl-tint); color: var(--rl-strong); border-color: var(--rl-accent); }
.rl-text-link { color: var(--rl-accent); text-decoration: underline; }
.rl-text-link:hover, .rl-crumb a:hover { color: var(--rl-strong); text-decoration-thickness: 2px; }
.rl-icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rl-cover { margin: 0; min-width: 0; }
.rl-cover img { width: 100%; height: auto; display: block; }
.rl-catalog { padding-block: clamp(42px, 6vw, 84px); }
.rl-catalog-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, .85fr); gap: clamp(24px, 6vw, 86px); }
.rl-catalog h2 + p { margin-top: 12px; color: var(--rl-muted); }
.rl-empty { display: flex; align-items: flex-start; gap: 16px; margin-top: 23px; padding: 23px; border-radius: 14px; border: 1px solid var(--rl-line); }
.rl-empty .rl-icon { color: var(--rl-accent); margin-top: 3px; }
.rl-empty p { color: var(--rl-muted); margin-top: 8px; }
.rl-sidebar { padding-inline-start: 24px; border-inline-start: 1px solid var(--rl-line); }
.rl-sidebar h2 { font-size: 1.45rem; }
.rl-sidebar dl { margin: 16px 0 0; }
.rl-sidebar dt { font-weight: 750; }
.rl-sidebar dd { margin: 3px 0 15px; color: var(--rl-muted); }
.rl-reading { background: #f7f9fd; border-block: 1px solid var(--rl-line); padding-block: clamp(40px, 5vw, 66px); }
.rl-reading h2 + p { color: var(--rl-muted); margin-top: 10px; }
.rl-list { padding: 0; margin: 24px 0 0; list-style: none; border-top: 1px solid var(--rl-line); }
.rl-row { display: grid; grid-template-columns: minmax(110px, .25fr) minmax(0, 1fr) auto; gap: 14px 22px; align-items: start; padding-block: 20px; border-bottom: 1px solid var(--rl-line); }
.rl-row > * { min-width: 0; }
.rl-row .rl-meta { margin: 4px 0 0; }
.rl-meta { color: var(--rl-muted); font-size: .91rem; font-variant-numeric: tabular-nums; }
.rl-row p:not(.rl-meta) { color: var(--rl-muted); margin-top: 8px; }
.rl-row h3 a { color: inherit; text-decoration-color: #899edc; text-underline-offset: 4px; }
.rl-row h3 a:hover { color: var(--rl-accent); }
.rl-article .rl-hero h1 { font-size: clamp(2.15rem, 4.3vw, 3.85rem); max-width: 32ch; margin-top: 13px; }
.rl-article .rl-hero .rl-meta { margin-top: 24px; }
.rl-document { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr); gap: 28px clamp(28px, 6vw, 90px); padding-block: clamp(38px, 6vw, 80px); }
.rl-document section + section { margin-top: 29px; }
.rl-document h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.rl-document h2 + p, .rl-document h2 + ul { margin-top: 10px; max-width: 70ch; }
.rl-document ul { padding-inline-start: 1.25em; }
.rl-document li + li { margin-top: 6px; }
.rl-document a { overflow-wrap: anywhere; }
.rl-cta { padding-block: 35px; }
.rl-cta .rl-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.rl-cta p { color: var(--rl-muted); }
@media (max-width: 860px) {
  .rl-wrap { width: min(100% - 40px, 1280px); }
  .rl-hero-grid { gap: 20px; }
  .rl-catalog-grid { grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr); gap: 24px; }
  .rl-row { grid-template-columns: minmax(100px,.3fr) minmax(0,1fr); }
  .rl-row > .rl-text-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 620px) {
  .rl-wrap { width: calc(100% - 32px); }
  .rl-hero { padding-top: 10px; }
  .rl-hero-grid, .rl-catalog-grid, .rl-document { grid-template-columns: minmax(0,1fr); }
  .rl-hero-grid { gap: 23px; margin-top: 12px; }
  .rl-cover { width: min(100%, 370px); margin-inline: auto; }
  .rl-cover img { max-height: 184px; object-fit: contain; }
  .rl-sidebar { padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid var(--rl-line); }
  .rl-empty { padding: 17px; gap: 12px; }
  .rl-row { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .rl-row > .rl-text-link { grid-column: 1; }
}
