/*
Theme Name: Rádce
Description: Samostatná šablona webu Kasino Rádce. Světlá lila plocha, lilkový inkoust, petrolejový akcent, jeden sloupec a otazník před perexem.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: radce
License: GPLv2 or later
*/

/* Písma: Public Sans pro text, Spectral 700 pro titulky, obě z vlastního serveru, latin a latin-ext */
@font-face { font-family: "Rd Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/pismo/rd-text-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rd Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/pismo/rd-text-400-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rd Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/pismo/rd-text-400i.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rd Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/pismo/rd-text-400i-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rd Text"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/pismo/rd-text-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rd Text"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/pismo/rd-text-700-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rd Titul"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/pismo/rd-titul-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rd Titul"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/pismo/rd-titul-700-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Náhradní písma s upravenou velikostí, aby výměna písma neposouvala řádky */
@font-face { font-family: "Rd Text Nahrada"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 107.5%; ascent-override: 88%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: "Rd Titul Nahrada"; src: local("Georgia"), local("Times New Roman"), local("Liberation Serif"); size-adjust: 104%; ascent-override: 102%; descent-override: 44%; line-gap-override: 0%; }

:root {
	--rd-zem: #f0ebf7;
	--rd-plocha: #e7e0f1;
	--rd-svetla: #f8f5fc;
	--rd-linka: #8a7ca6;
	--rd-inkoust: #231a3f;
	--rd-tlumeny: #4a4063;
	--rd-akcent: #0a7c78;
	--rd-akcent-text: #086b67;
	--rd-akcent-hlubsi: #075e5b;
	--rd-akcent-tint: #d5ece9;
	--rd-fialova: #6a4fa3;
	--rd-pata-zem: #231a3f;
	--rd-pata-text: #e9e3f3;
	--rd-pata-tlumeny: #c9bfdc;
	--rd-pata-akcent: #5fd0c6;
	--rd-text: "Rd Text", "Rd Text Nahrada", Arial, sans-serif;
	--rd-titul: "Rd Titul", "Rd Titul Nahrada", Georgia, serif;
	--rd-sloupec: 60rem;
	--rd-okraj: 16px;
	--rd-hlava-vyska: 72px;
	--rd-zaobleni: 12px;
}
@media (min-width: 600px) { :root { --rd-okraj: 24px; } }
@media (min-width: 960px) { :root { --rd-hlava-vyska: 92px; } }
@media (min-width: 1024px) { :root { --rd-okraj: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--rd-zem); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--rd-zem); color: var(--rd-inkoust); font-family: var(--rd-text); font-size: 17px; line-height: 1.62; overflow-wrap: break-word; hyphens: manual; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--rd-akcent-text); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color 150ms ease, text-decoration-thickness 150ms ease; }
a:hover { color: var(--rd-inkoust); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rd-inkoust); outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid var(--rd-inkoust); outline-offset: 3px; }
p, ul, ol, table, figure, dl { margin-block: 0 16px; }
ul, ol { padding-inline-start: 1.35em; }
li { margin-block-end: 6px; }
li::marker { color: var(--rd-akcent-text); }
strong { font-weight: 700; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 0.2em; }
h1, h2, h3 { font-family: var(--rd-titul); font-weight: 700; color: var(--rd-inkoust); text-align: start; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); letter-spacing: -0.005em; margin-block: 6px 14px; }
h2 { font-size: 1.55rem; padding-block-end: 9px; border-block-end: 2px solid var(--rd-inkoust); margin-block: 0 18px; }
h3 { font-size: 1.2rem; margin-block: 24px 10px; }

.rd-skok { position: absolute; inset-inline-start: 16px; inset-block-start: 8px; z-index: 30; padding: 10px 14px; background: var(--rd-inkoust); color: #fbfafd; border-radius: 8px; font-weight: 700; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.rd-skok:focus { clip-path: none; width: auto; height: auto; overflow: visible; color: #fbfafd; }
.rd-skryte { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Sloupec: jediný systém hran pro hlavičku, obsah i patičku */
.rd-sloupec { width: min(var(--rd-sloupec), calc(100% - 2 * var(--rd-okraj))); margin-inline: auto; }

/* Hlavička */
.rd-hlava { position: relative; background: transparent; z-index: 20; }
.rd-hlava__pas { position: relative; max-width: var(--rd-sloupec); width: min(var(--rd-sloupec), calc(100% - 2 * var(--rd-okraj))); margin-inline: auto; min-height: var(--rd-hlava-vyska); display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
@media (min-width: 960px) { .rd-hlava__pas { flex-wrap: wrap; gap: 16px; } }
.rd-hlava__pas::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 72px; height: 6px; background: var(--rd-akcent); }
.rd-znacka { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; color: var(--rd-inkoust); margin-inline-end: auto; padding-block: 8px; }
.rd-znacka:hover { color: var(--rd-inkoust); }
.rd-znacka__jmeno { display: flex; align-items: center; gap: 10px; font-family: var(--rd-titul); font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.rd-znacka__ctverec { flex: none; width: 13px; height: 13px; background: var(--rd-akcent); }
.rd-znacka__heslo { display: block; font-size: 12.5px; line-height: 1.35; color: var(--rd-tlumeny); margin-block-start: 4px; padding-inline-start: 23px; max-width: 24rem; }
.rd-vek-kruh { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--rd-akcent); border-radius: 50%; color: var(--rd-akcent-text); font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: 0.01em; }

.rd-menu-spinac { flex: none; display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px; border: 2px solid var(--rd-inkoust); border-radius: 10px; background: var(--rd-svetla); color: var(--rd-inkoust); font: 700 15px/1 var(--rd-text); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.rd-menu-spinac:hover { background: var(--rd-plocha); }
.rd-menu-spinac__carky { flex: none; position: relative; width: 18px; height: 12px; border-block: 2px solid currentColor; }
.rd-menu-spinac__carky::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 3px; border-block-start: 2px solid currentColor; }

.rd-menu { display: flex; align-items: center; }
.rd-menu__seznam { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.rd-menu__polozka { position: relative; margin: 0; }
.rd-menu__spoustec, .rd-menu__odkaz { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--rd-inkoust); font: 700 16px/1.2 var(--rd-text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease; }
.rd-menu__spoustec:hover, .rd-menu__odkaz:hover, .rd-menu__polozka.rd-je-otevreno > .rd-menu__spoustec { background: var(--rd-plocha); color: var(--rd-inkoust); }
.rd-menu__sipka { width: 0; height: 0; border-inline: 5px solid transparent; border-block-start: 6px solid var(--rd-akcent-text); transition: transform 150ms ease; }
.rd-menu__polozka.rd-je-otevreno .rd-menu__sipka { transform: rotate(180deg); }
.rd-panel { position: absolute; inset-block-start: 100%; inset-inline-start: 0; padding-block-start: 8px; min-width: 18rem; display: none; z-index: 25; }
.rd-menu__polozka:nth-last-child(-n+2) > .rd-panel { inset-inline-start: auto; inset-inline-end: 0; }
.rd-panel__vnitrek { list-style: none; margin: 0; padding: 10px; background: var(--rd-svetla); border: 1px solid var(--rd-linka); border-radius: 10px; box-shadow: 0 14px 28px rgba(35, 26, 63, 0.14); }
.rd-panel__vnitrek li { margin: 0; }
.rd-panel__odkaz { display: block; padding: 8px 10px; border-radius: 8px; color: var(--rd-inkoust); text-decoration: none; font-size: 15.5px; line-height: 1.35; }
.rd-panel__odkaz:hover { background: var(--rd-plocha); color: var(--rd-inkoust); text-decoration: underline; }
.rd-panel__odkaz--rozcestnik { font-weight: 700; }
.rd-panel__odkaz--podstranka { padding-inline-start: 26px; position: relative; }
.rd-panel__odkaz--podstranka::before { content: ""; position: absolute; inset-inline-start: 12px; inset-block-start: 50%; width: 6px; height: 6px; margin-block-start: -3px; border-radius: 50%; background: var(--rd-akcent); }
.rd-panel__odkaz[aria-current="page"] { background: var(--rd-akcent-tint); }
html:not(.rd-js) .rd-menu__polozka:hover > .rd-panel, html:not(.rd-js) .rd-menu__polozka:focus-within > .rd-panel, .rd-menu__polozka.rd-je-otevreno > .rd-panel { display: block; }
.rd-menu--nahradni .rd-menu__odkaz { font-weight: 700; }

@media (max-width: 959px) {
	.rd-menu-spinac { display: inline-flex; }
	.rd-menu { display: none; position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 25; padding: 10px; background: var(--rd-svetla); border: 1px solid var(--rd-linka); border-radius: 12px; box-shadow: 0 14px 28px rgba(35, 26, 63, 0.14); max-height: calc(100vh - var(--rd-hlava-vyska) - 16px); overflow-y: auto; }
	.rd-hlava.rd-je-otevreno .rd-menu { display: block; }
	.rd-menu__seznam { flex-direction: column; align-items: stretch; gap: 4px; }
	.rd-menu__spoustec, .rd-menu__odkaz { width: 100%; justify-content: space-between; }
	.rd-panel { position: static; min-width: 0; padding: 0 0 6px; }
	.rd-menu__polozka:nth-last-child(-n+2) > .rd-panel { inset-inline-end: auto; }
	.rd-panel__vnitrek { border: 0; box-shadow: none; padding: 0 0 0 8px; background: transparent; }
	.rd-znacka__jmeno { font-size: 1.25rem; }
	.rd-vek-kruh { width: 36px; height: 36px; font-size: 12px; }
}

/* Hlavní sloupec stránky */
.rd-obsah { flex: 1 0 auto; padding-block: 22px 56px; }
.rd-obsah > * { margin-inline: 0; }
.rd-drobky { font-size: 14px; color: var(--rd-tlumeny); margin-block: 0 4px; }
.rd-drobky ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.rd-drobky li { margin: 0; }
.rd-drobky li + li::before { content: "/"; padding-inline: 8px; color: var(--rd-linka); }
.rd-drobky a { color: var(--rd-tlumeny); }
.rd-drobky a:hover { color: var(--rd-inkoust); }
.rd-perex { display: flex; align-items: flex-start; gap: 14px; font-size: 1.2rem; line-height: 1.5; margin-block: 0 14px; }
.rd-perex__otaznik { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-block-start: 0.12em; border-radius: 50%; background: var(--rd-akcent); color: #ffffff; font-family: var(--rd-titul); font-weight: 700; font-size: 19px; line-height: 1; }
.rd-perex__text { flex: 1 1 auto; min-width: 0; }
.rd-odhaleni { font-size: 14px; line-height: 1.5; color: var(--rd-tlumeny); margin-block: 0 8px; }
.rd-uvod-desky { font-size: 16px; line-height: 1.5; margin-block: 0 12px; }
.rd-pravni { display: block; margin-block: 14px 26px; padding-block: 10px; border-block: 1px solid var(--rd-linka); font-size: 14.5px; line-height: 1.5; color: var(--rd-inkoust); }
.rd-pravni__varovani { display: block; font-weight: 700; }
.rd-pravni__vek { display: block; color: var(--rd-tlumeny); }
.rd-zastupce-desky { display: block; padding: 16px 20px; border: 1px dashed var(--rd-linka); border-radius: 12px; color: var(--rd-tlumeny); font-size: 15px; }

/* Obsahová lišta */
.rd-mapa { margin-block: 0 36px; padding: 16px 20px 10px; border: 1px solid var(--rd-linka); border-radius: 14px; background: var(--rd-svetla); }
.rd-mapa__titul { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rd-akcent-text); margin-block-end: 8px; }
.rd-mapa ol { list-style: none; margin: 0; padding: 0; columns: 2 18rem; column-gap: 32px; column-rule: 1px solid var(--rd-plocha); counter-reset: rdmapa; }
.rd-mapa li { counter-increment: rdmapa; break-inside: avoid; margin: 0 0 6px; display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.rd-mapa li::before { content: counter(rdmapa); flex: none; min-width: 1.4em; font-family: var(--rd-titul); font-weight: 700; color: var(--rd-akcent-text); }

/* Sekce textu */
.rd-sekce { margin-block: 44px 0; scroll-margin-top: 16px; }
.rd-sekce:first-of-type { margin-block-start: 0; }
.rd-sekce > :last-child { margin-block-end: 0; }
.rd-sekce h3 { scroll-margin-top: 16px; }

/* Okrajová poznámka */
.rd-poznamka { margin-block: 26px; padding: 14px 20px 2px; border-block-start: 3px solid var(--rd-akcent); }
.rd-poznamka__stitek { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rd-akcent-text); margin-block-end: 6px; }
.rd-poznamka p { font-size: 16.5px; margin-block-end: 12px; }

/* Tabulky */
.rd-tabulka { margin-block: 22px 26px; overflow-x: auto; }
.rd-tabulka table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.rd-tabulka caption { caption-side: top; text-align: start; padding-block-end: 8px; font-size: 14.5px; color: var(--rd-tlumeny); }
.rd-tabulka th, .rd-tabulka td { padding: 10px 12px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--rd-linka); white-space: normal; }
.rd-tabulka thead th { font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; border-block-end: 1px solid var(--rd-akcent); vertical-align: bottom; }
.rd-tabulka tbody th { font-weight: 700; }
.rd-tabulka tbody tr { background: transparent; }

/* Grafy */
.rd-graf { margin: 26px 0; }
.rd-graf__plocha { display: block; }
.rd-graf__plocha svg { display: block; width: 100%; height: auto; }
.rd-graf__uzky { display: none; }
.rd-graf figcaption { font-size: 15px; line-height: 1.45; color: var(--rd-tlumeny); margin-block-start: 10px; }
@media (max-width: 719px) { .rd-graf__siroky { display: none; } .rd-graf__uzky { display: block; } }

/* Kalkulačka */
.rd-pocitadlo { margin-block: 26px 16px; padding: 20px; background: var(--rd-plocha); border-radius: 14px; border: 1px solid var(--rd-linka); }
.rd-pocitadlo__titul { display: block; font-family: var(--rd-titul); font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin-block-end: 4px; }
.rd-pocitadlo__navod { display: block; font-size: 15px; color: var(--rd-tlumeny); margin-block-end: 14px; }
.rd-pocitadlo__pole { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 0 0 16px; padding: 0; border: 0; }
.rd-pocitadlo__vstup { flex: 1 1 15rem; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rd-pocitadlo__vstup label, .rd-pocitadlo__legenda { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.rd-pocitadlo__vstup input[type="text"] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--rd-tlumeny); border-radius: 8px; background: var(--rd-svetla); color: var(--rd-inkoust); font: 400 17px/1.3 var(--rd-text); font-variant-numeric: tabular-nums; transition: border-color 150ms ease, box-shadow 150ms ease; }
.rd-pocitadlo__vstup input[type="text"]:hover { border-color: var(--rd-inkoust); }
.rd-pocitadlo__vstup input[type="text"]:focus-visible { outline: 3px solid var(--rd-inkoust); outline-offset: 2px; }
.rd-pocitadlo__volba { flex: 1 1 15rem; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.rd-pocitadlo__volba legend { padding: 0; margin-block-end: 6px; }
.rd-pocitadlo__moznosti { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rd-pocitadlo__moznosti label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15.5px; cursor: pointer; }
.rd-pocitadlo__moznosti input { width: 20px; height: 20px; accent-color: var(--rd-akcent); margin: 0; }
.rd-vysledky { margin: 0; padding: 14px 18px; background: var(--rd-svetla); border-radius: 10px; border-inline-start: 4px solid var(--rd-akcent); }
.rd-vysledky__radky { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.rd-vysledky__radek { flex: 1 1 15rem; margin: 0; }
.rd-vysledky dt { font-size: 14px; color: var(--rd-tlumeny); line-height: 1.35; }
.rd-vysledky dd { margin: 2px 0 0; font-family: var(--rd-titul); font-weight: 700; font-size: 1.45rem; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; }
.rd-vysledky__vyhrada { display: block; margin-block-start: 12px; font-size: 14px; line-height: 1.45; color: var(--rd-tlumeny); }

/* Otázky a odpovědi */
.rd-dotazy__otazka { margin-block: 26px 8px; padding-block-start: 16px; border-block-start: 1px solid var(--rd-linka); }
.rd-dotazy__otazka:first-of-type { margin-block-start: 6px; }
.rd-dotazy__odpoved { margin-block-end: 0; }

/* Péče o hráče */
.rd-pece { margin-block: 52px 0; padding: 22px 22px 8px; background: var(--rd-plocha); border-radius: 14px; }
.rd-pece__titul { display: block; font-family: var(--rd-titul); font-weight: 700; font-size: 1.25rem; margin-block-end: 12px; }
.rd-pece__linky { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; padding: 0; }
.rd-pece__linka { margin: 0; padding: 12px 14px; background: var(--rd-svetla); border-radius: 10px; font-size: 15px; line-height: 1.45; }
.rd-pece__jmeno { display: block; font-weight: 700; }
.rd-pece__telefon { display: block; font-family: var(--rd-titul); font-weight: 700; font-size: 1.3rem; color: var(--rd-inkoust); text-decoration: none; margin-block: 4px 2px; }
.rd-pece__telefon:hover { text-decoration: underline; color: var(--rd-inkoust); }
.rd-pece__vety { margin: 0 0 14px; padding-inline-start: 1.2em; font-size: 15.5px; }
@media (max-width: 899px) { .rd-pece__linky { grid-template-columns: minmax(0, 1fr); } }

/* Kam dál a tiráž */
.rd-dale { margin-block: 36px 0; }
.rd-dale__titul { display: block; font-family: var(--rd-titul); font-weight: 700; font-size: 1.25rem; margin-block-end: 10px; }
.rd-dale ul { list-style: none; margin: 0; padding: 0; columns: 3 15rem; column-gap: 28px; }
.rd-dale li { break-inside: avoid; margin: 0 0 8px; padding-inline-start: 18px; position: relative; font-size: 15.5px; line-height: 1.4; }
.rd-dale li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.5em; width: 7px; height: 7px; background: var(--rd-akcent); }
.rd-tiraz { margin-block: 30px 0; padding-block-start: 14px; border-block-start: 1px solid var(--rd-linka); font-size: 14px; color: var(--rd-tlumeny); }
.rd-tiraz__radek { display: block; }
.rd-tiraz a { color: var(--rd-akcent-text); }

/* Formulář kontaktu */
.rd-formular { margin-block: 22px; padding: 22px; background: var(--rd-plocha); border: 1px solid var(--rd-linka); border-radius: 14px; }
.rd-formular__pole { display: flex; flex-direction: column; gap: 6px; margin-block-end: 16px; }
.rd-formular__pole label { font-weight: 700; font-size: 15px; }
.rd-formular__pole input, .rd-formular__pole textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--rd-tlumeny); border-radius: 8px; background: var(--rd-svetla); color: var(--rd-inkoust); font: 400 17px/1.45 var(--rd-text); }
.rd-formular__pole textarea { min-height: 170px; resize: vertical; }
.rd-formular__pole input:hover, .rd-formular__pole textarea:hover { border-color: var(--rd-inkoust); }
.rd-formular__napoveda { font-size: 14px; color: var(--rd-tlumeny); }
.rd-formular__chyba { font-size: 14.5px; font-weight: 700; color: var(--rd-inkoust); }
.rd-formular__pole--chyba input, .rd-formular__pole--chyba textarea { border: 2px dashed var(--rd-inkoust); }
.rd-formular__past { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rd-formular__ucel { display: block; font-size: 14px; color: var(--rd-tlumeny); margin-block: 0 16px; }
.rd-hlaseni { display: block; margin-block: 18px; padding: 14px 18px; border-radius: 10px; border-inline-start: 4px solid var(--rd-akcent); background: var(--rd-akcent-tint); font-weight: 700; }
.rd-hlaseni--chyba { border-inline-start: 4px dashed var(--rd-inkoust); background: var(--rd-svetla); }
.rd-tlacitko-druhe { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 160px; padding: 10px 18px; border: 2px solid var(--rd-inkoust); border-radius: var(--rd-zaobleni); background: var(--rd-svetla); color: var(--rd-inkoust); font: 700 17px/1.2 var(--rd-text); cursor: pointer; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease; }
.rd-tlacitko-druhe:hover { background: var(--rd-plocha); color: var(--rd-inkoust); text-decoration: underline; }
.rd-tlacitko-druhe:active { transform: translateY(1px); }
.rd-tlacitko-druhe:disabled { opacity: 1; background: var(--rd-plocha); border-style: dashed; color: var(--rd-tlumeny); cursor: not-allowed; }

/* Šablony bez průvodce: příspěvky, archivy, hledání, chyba 404 */
.rd-prispevek__datum { display: block; font-size: 14px; color: var(--rd-tlumeny); margin-block: 0 18px; }
.rd-prispevek__text > * { max-width: 100%; }
.rd-seznam-clanku { list-style: none; margin: 0 0 24px; padding: 0; }
.rd-seznam-clanku li { margin: 0; padding-block: 16px; border-block-end: 1px solid var(--rd-linka); }
.rd-seznam-clanku a { font-family: var(--rd-titul); font-weight: 700; font-size: 1.25rem; }
.rd-seznam-clanku p { margin: 6px 0 0; color: var(--rd-tlumeny); font-size: 15.5px; }
.rd-hledani { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 8px 24px; }
.rd-hledani input[type="search"] { flex: 1 1 16rem; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--rd-tlumeny); border-radius: 8px; background: var(--rd-svetla); color: var(--rd-inkoust); font: 400 17px/1.3 var(--rd-text); }
.rd-strankovani { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 700; }

/* Patička */
.rd-pata { background: var(--rd-pata-zem); color: var(--rd-pata-text); margin-block-start: 24px; }
.rd-pata a { color: var(--rd-pata-text); text-decoration-color: var(--rd-pata-akcent); }
.rd-pata a:hover { color: #ffffff; }
.rd-pata a:focus-visible { outline-color: var(--rd-pata-akcent); }
.rd-pata__sloupce { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px 56px; padding-block: 44px 34px; }
.rd-pata__titul { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-pata-akcent); margin-block-end: 12px; }
.rd-pata__sloupec { font-size: 15.5px; line-height: 1.55; }
.rd-pata__sloupec p { margin-block: 0 12px; }
.rd-pata__odkazy { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.rd-pata__odkazy li { margin: 0; }
.rd-pata__pomoc { list-style: none; margin: 0 0 12px; padding: 0; }
.rd-pata__pomoc li { margin: 0 0 10px; }
.rd-pata__pomoc strong { color: #ffffff; }
.rd-pata__tlumeny { color: var(--rd-pata-tlumeny); }
.rd-pata__lista { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 18px 26px; border-block-start: 1px solid #4a4063; font-size: 14px; color: var(--rd-pata-tlumeny); }
.rd-vek-pilulka { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 58px; padding: 0 14px; border: 2px solid var(--rd-pata-akcent); border-radius: 999px; color: var(--rd-pata-akcent); font-weight: 700; font-size: 15px; line-height: 1; }
.rd-pata__veta { flex: 1 1 20rem; margin: 0; }
@media (max-width: 799px) { .rd-pata__sloupce { grid-template-columns: minmax(0, 1fr); } }

/* Deska nabídek (plugin Rádce Karty) */
.rdb-deska { --rdb-plocha: #f8f5fc; --rdb-ramecek: #8a7ca6; --rdb-akcent: #0a7c78; --rdb-akcent-text: #086b67; --rdb-tint: #c6e5e1; --rdb-inkoust: #231a3f; --rdb-tlumeny: #4a4063; margin-block: 4px 0; }
.rdb-deska__titul { display: block; font-family: var(--rd-titul); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin-block-end: 10px; color: var(--rdb-inkoust); }
.rdb-deska__seznam { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; }
.rdb-karta { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "logo hlava" "logo cisla" "nabidka nabidka" "stitky stitky" "akce akce"; column-gap: 12px; row-gap: 6px; align-items: center; margin: 0; padding: 10px 12px; background: var(--rdb-plocha); border: 1.5px solid var(--rdb-ramecek); border-radius: 14px; transition: box-shadow 150ms ease, border-color 150ms ease; }
.rdb-karta:hover { border-color: var(--rdb-inkoust); box-shadow: 0 6px 16px rgba(35, 26, 63, 0.10); }
.rdb-karta--prvni { border-color: var(--rdb-akcent); box-shadow: 0 0 0 3px var(--rdb-tint); }
.rdb-karta--prvni:hover { box-shadow: 0 0 0 3px var(--rdb-tint), 0 6px 16px rgba(35, 26, 63, 0.10); }
.rdb-karta__logo { grid-area: logo; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px; background: var(--rdb-inkoust); border-radius: 10px; }
.rdb-karta__logo img, .rdb-karta__logo svg { display: block; width: 100%; height: auto; max-height: 36px; object-fit: contain; }
.rdb-karta__hlava { grid-area: hlava; display: flex; align-items: baseline; gap: 10px; margin: 0; min-width: 0; }
.rdb-karta__poradi { font-family: var(--rd-titul); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--rdb-akcent-text); font-variant-numeric: lining-nums; }
.rdb-karta__znacka { font-family: var(--rd-titul); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--rdb-inkoust); }
.rdb-karta--prvni .rdb-karta__znacka { color: var(--rdb-akcent-text); }
.rdb-karta__cisla { grid-area: cisla; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.rdb-cislo { display: flex; flex-direction: column; margin: 0; }
.rdb-cislo__popis { font-size: 12.5px; line-height: 1.2; color: var(--rdb-tlumeny); letter-spacing: 0.03em; }
.rdb-cislo__hodnota { margin: 0; font-family: var(--rd-titul); font-weight: 700; font-size: 1.4rem; line-height: 1.15; color: var(--rdb-inkoust); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.rdb-karta__nabidka { grid-area: nabidka; display: block; font-size: 14px; line-height: 1.35; color: var(--rdb-inkoust); }
.rdb-karta__stitky { grid-area: stitky; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.rdb-stitek { display: inline-flex; align-items: center; margin: 0; padding: 2px 10px; border: 1.5px solid var(--rdb-akcent); border-radius: 999px; font-size: 12.5px; line-height: 1.3; color: var(--rdb-inkoust); background: transparent; }
.rdb-stitek--licence { border-color: var(--rdb-inkoust); font-weight: 700; }
.rdb-karta__akce { grid-area: akce; display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.rdb-tlacitko { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-width: 160px; min-height: 48px; padding: 10px 14px; border: 2px solid var(--rdb-inkoust); border-radius: 12px; background: var(--rdb-akcent); color: #ffffff; font: 700 17px/1.25 var(--rd-text); text-align: center; text-decoration: none; transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; box-shadow: 0 3px 0 var(--rdb-inkoust); }
.rdb-tlacitko:hover { background: #075e5b; color: #ffffff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.rdb-tlacitko:focus-visible { outline: 3px solid var(--rdb-inkoust); outline-offset: 3px; background: #075e5b; color: #ffffff; }
.rdb-tlacitko:active { transform: translateY(3px); box-shadow: 0 0 0 var(--rdb-inkoust); }
.rdb-tlacitko__sipka { flex: none; width: 18px; height: 18px; }
.rdb-karta__drobne { display: block; font-size: 12px; line-height: 1.3; color: var(--rdb-tlumeny); text-align: center; }
.rdb-monogram { font-family: var(--rd-titul); }
@media (min-width: 620px) {
	.rdb-karta { column-gap: 14px; row-gap: 8px; padding: 12px 14px; grid-template-columns: 124px minmax(0, 1fr) 216px; grid-template-areas: "logo hlava akce" "logo cisla akce" "nabidka nabidka akce" "stitky stitky stitky"; }
	.rdb-cislo__hodnota { font-size: 1.6rem; }
}
@media (min-width: 1100px) {
	.rdb-karta { grid-template-columns: 132px minmax(0, 1fr) auto 206px; grid-template-areas: "logo hlava cisla akce" "logo nabidka cisla akce" "stitky stitky stitky akce"; column-gap: 16px; row-gap: 6px; padding: 10px 14px; }
	.rdb-karta__cisla { flex-wrap: nowrap; gap: 20px; }
	.rdb-cislo__hodnota { font-size: 1.75rem; }
	.rdb-karta__nabidka { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.rdb-tlacitko, .rd-tlacitko-druhe { transition-property: background-color, box-shadow, border-color; }
	.rdb-tlacitko:active, .rd-tlacitko-druhe:active { transform: none; }
	.rd-menu__sipka { transition: none; }
	.rd-menu__polozka.rd-je-otevreno .rd-menu__sipka { transform: none; }
}
[dir="rtl"] .rdb-tlacitko__sipka { transform: scaleX(-1); }

/* Text stránek bez pluginu průvodce zůstává čitelný */
.rd-prispevek__text table { width: 100%; border-collapse: collapse; margin-block: 18px 22px; font-size: 15.5px; }
.rd-prispevek__text caption { text-align: start; padding-block-end: 8px; color: var(--rd-tlumeny); font-size: 14.5px; }
.rd-prispevek__text th, .rd-prispevek__text td { padding: 10px 12px; text-align: start; border-block-end: 1px solid var(--rd-linka); }
.rd-prispevek__text aside { margin-block: 22px; padding: 12px 20px 2px; border-block-start: 3px solid var(--rd-akcent); }
.rd-prispevek__text figure { margin: 22px 0; }
.rd-prispevek__text figcaption { color: var(--rd-tlumeny); font-size: 15px; }
