/*
 * Layout for a page whose content is plain text rather than ACF blocks.
 *
 * Every page the theme was built for is assembled from acf/* blocks, and each
 * of those brings its own .container-fluid and its own vertical rhythm.
 * page.php therefore printed the_content() bare, which was invisible until
 * 2026-10-14, when the first text-only pages were published - the price list
 * and the legal documents. Without a wrapper they start under the absolutely
 * positioned header and run the full width of the window.
 *
 * page.php wraps that case in .tk-plain. Pages built from blocks are untouched.
 * This file can go once those pages are rebuilt as blocks.
 */

.tk-plain {
	padding: 11rem 0 6rem;
}

.tk-plain .text-content {
	max-width: 56rem;
	margin-inline: auto;
}

.tk-plain .text-content > * + * {
	margin-top: 1em;
}

.tk-plain .text-content h1,
.tk-plain .text-content h2,
.tk-plain .text-content h3 {
	margin-top: 1.6em;
}

.tk-plain .text-content ul,
.tk-plain .text-content ol {
	padding-left: 1.4em;
	list-style: initial;
}

@media (max-width: 767px) {
	.tk-plain { padding: 8rem 0 4rem; }
}

/* The header is built for a dark hero: white menu, white logo, white language
   switch. On a text-only page there is nothing behind it, so it is invisible. */
.tk-plain-page header .menu nav ul li a,
.tk-plain-page header .actions .languages .active,
.tk-plain-page header .actions a {
	color: #1c1c1c;
}

.tk-plain-page header .actions .languages .active {
	filter: invert(1) brightness(0.3);
}

.tk-plain-page header .actions .btn.white {
	border-color: rgba(28, 28, 28, 0.5);
	color: #1c1c1c;
}

/* The burger is a white circle with white bars; on white it is not there. */
.tk-plain-page header .actions .burger {
	border-color: rgba(28, 28, 28, 0.5);
}

.tk-plain-page header .actions .burger:not(.active) span {
	background: #1c1c1c;
}

/* The part headings of the terms ("ČÁST PRVNÍ / SPOLEČNÁ USTANOVENÍ"). They
   divide a 20-page document into five, so they are set apart from the article
   headings rather than looking like one more h2. */
.tk-plain .text-content h2.tk-part {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(28, 28, 28, 0.15);
	text-align: center;
	letter-spacing: 0.12em;
}

.tk-plain .text-content h2.tk-part small {
	display: block;
	margin-top: 0.4em;
	font-size: 0.55em;
	font-weight: 400;
	letter-spacing: 0.18em;
	opacity: 0.6;
}

/* An ordered legal text reads better with air between the lettered points. */
.tk-plain .text-content ul li {
	margin-bottom: 0.5em;
}
