
.tbl {
	--tbl-primary: #dd0770;
	--tbl-primary-hover: #c10661;
	--tbl-primary-soft: #fff0f7;
	--tbl-heading: #102a43;
	--tbl-text: #344054;
	--tbl-muted: #667085;
	--tbl-line: #e4e7ec;
	--tbl-indent: 48px;
	font-family: "Inter", sans-serif;
	color: var(--tbl-text);
}

.tbl-wrap {
	max-width: calc(var(--tb-sirka) + 2 * var(--tb-okraj));
	margin: 0 auto;
	padding: var(--tb-zacatek) var(--tb-okraj) 0;
}

.tbl-crumbs ol {
	display: flex;
	flex-wrap: nowrap;
	min-width: 0;
	margin: 0 0 var(--tb-nadpis);
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	color: var(--tbl-text);
}
.tbl-crumbs li + li { padding-left: 8px; }
.tbl-crumbs li + li::before {
	content: "\e912";
	float: left;
	padding-right: 8px;
	font-family: houzez-iconfont;
	font-size: 10px;
	color: rgba(33, 37, 41, .75);
}
.tbl-crumbs .houzez-icon { margin-right: 10px; font-size: 15px; }
.tbl-crumbs li { flex: none; white-space: nowrap; }
.tbl-crumbs li:last-child { display: flex; flex: 1 1 auto; min-width: 0; }
.tbl-crumbs li:last-child::before { flex: none; }
.tbl-crumbs li:last-child span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tbl-crumbs a { color: var(--tbl-primary); text-decoration: none; }
.tbl-crumbs a:hover,
.tbl-crumbs a:focus-visible { color: var(--tbl-primary-hover); text-decoration: underline; }

.tbl-title {
	margin: 0 0 var(--tb-nadpis);
	font-family: inherit;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--tbl-heading);
	text-wrap: balance;
}

.tbl-content {
	font-size: 16px;
	line-height: 1.7;
	overflow-wrap: break-word;
}
.tbl-content p { margin: 0 0 12px; text-wrap: pretty; }
.tbl-content > :last-child,
.tbl-content > :last-child > :last-child,
.tbl-content > :last-child > :last-child p:last-child { margin-bottom: 0; }
.tbl-content strong { font-weight: 600; color: var(--tbl-heading); }
.tbl-content a {
	color: var(--tbl-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.tbl-content a:hover { color: var(--tbl-primary-hover); text-decoration-color: transparent; }
.tbl-content a:focus-visible { outline: 2px solid var(--tbl-primary-hover); outline-offset: 2px; border-radius: 2px; }

.tbl-toc {
	margin: 0 0 8px;
	padding: 24px 28px;
	background: #fff;
	border: 1px solid var(--tbl-line);
	border-radius: 16px;
}
.tbl-content .tbl-toc__title {
	margin: 0 0 12px;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--tbl-heading);
}
.tbl-toc ol {
	margin: 0;
	padding-left: 1.75em;
	columns: 2 300px;
	column-gap: 48px;
}
.tbl-toc li {
	break-inside: avoid;
	padding: 3px 0;
	font-size: 15px;
	line-height: 1.5;
}
.tbl-toc li::marker { color: var(--tbl-muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.tbl-content .tbl-toc a { color: var(--tbl-heading); text-decoration: none; }
.tbl-content .tbl-toc a:hover,
.tbl-content .tbl-toc a:focus-visible { color: var(--tbl-primary); text-decoration: underline; text-decoration-color: currentColor; }

.tbl-sec {
	margin-top: calc(var(--tb-sekce) / 2);
	padding-top: calc(var(--tb-sekce) / 2);
	border-top: 1px solid var(--tbl-line);
	scroll-margin-top: 100px;
}
.tbl-sec h2 {
	margin: 0 0 var(--tb-nadpis);
	font-family: inherit;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--tbl-heading);
}
.tbl-sec__n { color: var(--tbl-primary); }

.tbl-bod {
	position: relative;
	padding-left: var(--tbl-indent);
	scroll-margin-top: 100px;
}
.tbl-n {
	position: absolute;
	top: 0;
	left: 0;
	font-weight: 600;
	color: var(--tbl-heading);
	font-variant-numeric: tabular-nums;
}
.tbl-bod:target {
	background: var(--tbl-primary-soft);
	border-radius: 8px;
	box-shadow: 0 0 0 8px var(--tbl-primary-soft);
}

.tbl-content .tbl-sec ul {
	margin: -4px 0 16px var(--tbl-indent);
	padding-left: 1.25em;
}
.tbl-content .tbl-sec li { margin: 4px 0; }
.tbl-content .tbl-sec li::marker { color: var(--tbl-primary); }

.tbl-ucinnost {
	margin: var(--tb-sekce) 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--tbl-line);
	text-align: right;
	font-size: 14px;
	color: var(--tbl-muted);
}

@media (max-width: 767px) {
	.tbl { --tbl-indent: 40px; }
	.tbl-title { font-size: 24px; }
	.tbl-content { font-size: 15px; }
	.tbl-toc { padding: 20px; }
	.tbl-sec h2 { font-size: 19px; }
}

@media print {
	.tbl-wrap { max-width: none; padding: 0; }
	.tbl-crumbs,
	.tbl-toc { display: none; }
	.tbl-sec { break-inside: auto; }
	.tbl-sec h2 { break-after: avoid; }
	.tbl-content a { color: inherit; }
}
