/*
Theme Name: Agentura
Description: Block theme for the ogar agency website. Built and run locally by wp-harness (wph). Design tokens live in theme.json, three block styles in functions.php; this file holds only what those can't express.
Version: 0.5.0
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agentura
*/

/* header, main and footer sit flush; sections bring their own spacing */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* anchor links from the sticky header shouldn't hide the section heading */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/*
 * Sticky header. The class sits on the template-part block in the templates, i.e. on the
 * <header> wrapper itself: a sticky element only sticks inside its parent, and the wrapper is
 * exactly as tall as the header, so a sticky element *inside* the part never moves
 * (wp-harness themes/README.md).
 * Opaque, and no backdrop-filter: a filter on the header makes it the containing block of the
 * Navigation block's position: fixed mobile overlay, which then shrinks to the header's 62 px
 * and hides the menu items and the close button.
 */
.site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 10;
	background: var(--wp--preset--color--base);
}

/* the language switch in the navigation: set apart from the section links */
.site-header .lang-link { margin-left: 0.75rem; padding-left: 0.75rem; border-left: 1px solid var(--wp--preset--color--line); }
.site-header .lang-link a { font-weight: 700; letter-spacing: 0.04em; }

/* visible placeholder for anything the owner still has to decide or fill in */
.is-todo { background: var(--wp--preset--color--todo); color: var(--wp--preset--color--contrast); border-radius: 4px; padding: 0 0.35em; font-weight: 600; }
.is-todo-box { background: var(--wp--preset--color--todo); color: var(--wp--preset--color--contrast); border-radius: 12px; padding: var(--wp--preset--spacing--40); }

/* owner's portrait placeholder: keeps the column's shape until the photo exists */
.portrait { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; border-radius: 12px; }

/* numbered steps (since 2026-11-03 only the "Dnes" example on /navrhy-postupu/) */
.steps { counter-reset: step; }
.steps .step::before {
	counter-increment: step; content: counter(step);
	display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 0.75rem;
	border-radius: 50%; background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
}

/* price cards (12 px corners, like every other rounded surface since 2026-11-03) */
.price-card {
	border: 1px solid var(--wp--preset--color--line); border-radius: 12px;
	padding: var(--wp--preset--spacing--40); background: var(--wp--preset--color--base);
}
.price-card h4 { font-size: var(--wp--preset--font-size--large); margin: 0; }
/* A price never breaks inside a number or its currency. Core's .wp-block-column sets overflow-wrap
 * and word-break to break-word, and word-break: break-word alone allows a break mid-word, so both
 * are reset. */
.price-card .price {
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; letter-spacing: -0.02em;
	font-size: var(--wp--preset--font-size--x-large); line-height: 1.1; margin: 0.5rem 0 1rem;
	overflow-wrap: normal; word-break: normal;
}
/* Three cards side by side from 782 px leave about 180 px of text per card at 782 px. The longest
 * price, "24,500 CZK", is 5.51em wide (Schibsted Grotesk 700, measured), so the size follows the
 * card width: 29.4 px at 782 px (162 px wide), x-large from about 890 px. Stacked cards keep x-large. */
@media (min-width: 782px) {
	.price-card .price { font-size: clamp(1.25rem, 5.4vw - 0.8rem, var(--wp--preset--font-size--x-large)); }
}
.price-card .price .per { font-family: var(--wp--preset--font-family--body); font-weight: 400; letter-spacing: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); white-space: nowrap; }
.price-card ul { padding-left: 1.1rem; margin: 0; }
.price-card li + li { margin-top: 0.4rem; }
.price-row { margin-top: var(--wp--preset--spacing--40); }
@media (max-width: 781px) { .price-row .price-card + .price-card { margin-top: var(--wp--preset--spacing--30); } }

/* ------------------------------------------------------------------------------------------
 * Design of 2026-11-03 (design/notes.md → "Design 2026-11-03: hybrid"). Typography, hairlines
 * and numerals carry the four pages; the only images are captures of one real job. The <main>
 * of /, /sluzby/, /en/ and /en/services/ carries .landing (templates/), every section with a
 * running head carries .sec. The paragraph styles display and figure and the Group style
 * panel-ink are registered in functions.php; the rest below hooks on class names, and the
 * patterns stay core blocks.
 * ---------------------------------------------------------------------------------------- */

/* hero: the kicker, the H1, the lead, the buttons and the byline stack on the left (60 %); the
 * right column (40 %) holds only the screenshot, top-aligned, as the counterweight to that stack.
 * The lead keeps a narrower measure than the column so it reads as a lead, not a paragraph. */
.hero h1 { margin-block-start: 0.75rem; text-wrap: balance; }
.hero .hero-lead { max-width: 34rem; }
/* the byline under the buttons: a hairline above, like a signature line */
.hero-byline { border-top: 1px solid var(--wp--preset--color--line); padding-top: 0.75rem; }
/* the screenshot (assets/img/zastavarna-home-390-po.webp, 390 × 780 px): untinted, 14 px corners
 * and a 1 px line as the ring, no shadow. The aspect ratio is the file's, so nothing jumps while
 * it loads; its caption sits left under it, not centred as core has it. */
.hero .hero-shot { max-width: 320px; margin: 0; }
.hero .hero-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; border-radius: 14px; box-shadow: 0 0 0 1px var(--wp--preset--color--line); }
.hero .hero-shot figcaption { margin: 0.75rem 0 0; text-align: left; }
@media (max-width: 781px) {
	/* phone: full width under the text, cropped to the top 300 px of the page */
	.hero .hero-shot { max-width: none; margin-top: var(--wp--preset--spacing--40); }
	.hero .hero-shot img { max-height: 300px; object-fit: cover; object-position: top; }
}

/* running heads: a hairline, a two-digit number in bronze, then the heading. CSS counters on the
 * sections, so no number is in the copy and the sections renumber themselves when one is added
 * or removed: 01–05 on the landing pages, 01–07 on Služby (the intro sections carry no .sec).
 * The number is decorative: the second `content` hides it from assistive tech where the
 * alt-text syntax is supported; older browsers keep the first declaration. */
.landing { counter-reset: sec; }
.landing .sec { counter-increment: sec; }
.landing .sec h2::before {
	content: counter(sec, decimal-leading-zero);
	content: counter(sec, decimal-leading-zero) / "";
	display: block; padding-top: 0.8rem; margin-bottom: 1.1rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: 0.1em; line-height: 1;
	color: var(--wp--preset--color--accent); font-variant-numeric: tabular-nums;
}
/* a section whose heading has a kicker above it (the case study): the number joins the kicker's
 * line and the hairline moves up with it */
.landing .sec .kicker { border-top: 1px solid var(--wp--preset--color--line); padding-top: 0.8rem; }
.landing .sec .kicker::before {
	content: counter(sec, decimal-leading-zero) "\2003";
	content: counter(sec, decimal-leading-zero) "\2003" / "";
	font-variant-numeric: tabular-nums;
}
.landing .sec .kicker + h2::before { content: none; }

/* display line (paragraph style "Zvýrazněná věta"): one sentence of the copy set large, in the
 * heading face */
.is-style-display {
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: var(--wp--preset--font-size--x-large); line-height: 1.15; letter-spacing: -0.02em;
	text-wrap: balance;
}
/* a small bronze label above a display line, same as the hero kicker */
.label + .is-style-display { margin-block-start: 0.5rem; }
/* figure (paragraph style "Číslo"): a starting price pulled out of the copy, the number alone.
 * Its caption is the next paragraph (small, muted), which sits tight under it. A price never
 * breaks inside a number or its currency (see .price-card .price). */
.is-style-figure {
	font-family: var(--wp--preset--font-family--heading); font-weight: 800;
	font-size: var(--wp--preset--font-size--xx-large); line-height: 1; letter-spacing: -0.03em;
	overflow-wrap: normal; word-break: normal;
}
.wp-site-blocks .is-style-figure + p { margin-block-start: 0.4rem; }
/* figure-s: the same figure a size down, for four in a row (the regional counts, "15 z 24"):
 * between the H2 size and the full figure, so "15 of 24" fits a quarter of the wide width */
.is-style-figure.figure-s { font-size: clamp(2rem, 1.25rem + 2.2vw, 3rem); }

/* ledger (what I do): one hairline row per service, title left (34 %), text right, the starting
 * price as a figure with its caption. The wrapper group has blockGap 0; the first rule makes
 * sure of it under any layout CSS. */
.wp-site-blocks .ledger > * + * { margin-block-start: 0; }
.ledger-row { border-top: 1px solid var(--wp--preset--color--line); padding: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--50); }
.ledger-row:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.ledger-row h3 { margin: 0; }
.ledger-row .wp-block-column > * + * { margin-block-start: var(--wp--preset--spacing--30); }
.ledger-row .is-style-figure { margin-top: var(--wp--preset--spacing--40); }

/* checks (how to check your site): three ruled columns with a big bronze numeral each, like a
 * newspaper's column rules. Stacked on a phone, each with its own hairline. */
.checks { counter-reset: check; border-top: 1px solid var(--wp--preset--color--line); padding-top: var(--wp--preset--spacing--40); }
.checks .check { counter-increment: check; }
.checks .check::before {
	content: counter(check); display: block; margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
	font-size: var(--wp--preset--font-size--xx-large); color: var(--wp--preset--color--accent); font-variant-numeric: tabular-nums;
}
.checks .check h3 { margin-top: 0; }
@media (min-width: 782px) {
	.checks .check + .check { border-left: 1px solid var(--wp--preset--color--line); padding-left: var(--wp--preset--spacing--40); }
}
@media (max-width: 781px) {
	.checks .check + .check { border-top: 1px solid var(--wp--preset--color--line); padding-top: var(--wp--preset--spacing--40); }
}

/* the ink panel (Group style "Tmavý panel", functions.php; the PHP 8.2 note): links readable on
 * ink, base and the soft bronze on hover, a visible focus ring; the TODO marker keeps its dark text */
.wp-block-group.is-style-panel-ink a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--base); }
.wp-block-group.is-style-panel-ink a:where(:not(.wp-element-button)):hover { color: var(--wp--preset--color--accent-soft); }
.wp-block-group.is-style-panel-ink a:focus-visible { outline: 2px solid var(--wp--preset--color--base); outline-offset: 2px; }
.wp-block-group.is-style-panel-ink .is-todo { color: var(--wp--preset--color--contrast); }
.php-panel h3 { margin-top: 0; }
@media (max-width: 781px) {
	/* the panel's padding comes down with the screen: 12 px corners inside the 16 px gutters */
	.wp-block-group.is-style-panel-ink { padding: var(--wp--preset--spacing--40); }
}

/* PHP share bar inside the panel: three core columns whose widths are the shares in the text
 * (23 % PHP 8.2, 33 % older versions, 44 % PHP 8.3 and newer, i.e. 100 − 23 − 33), on one row at
 * every width; the legend is the paragraph under it. No SVG, no script: the owner changes a share
 * in the column's width control, and the text next to the bar with it. The faint ring keeps the
 * bronze segment's edge visible on the ink. */
.php-bar { gap: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(252, 250, 246, 0.3); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--base) 30%, transparent); }
.php-bar .wp-block-column { box-sizing: border-box; min-height: 2.25rem; padding: 0.45rem 0.6rem; }
.php-bar p { margin: 0; font-weight: 600; white-space: nowrap; }
/* the regional platform bar has a 12 % segment (Wix and Webnode): about 35 px wide inside the
 * panel at 390, which is less than its label with the padding above. The column carries
 * php-bar-narrow, and on a phone its label loses the side padding and a size, centred. */
@media (max-width: 599px) {
	.php-bar .php-bar-narrow { padding-left: 0; padding-right: 0; }
	.php-bar .php-bar-narrow p { font-size: 0.75rem; text-align: center; }
}

/* case study: the three phone captures of the job (before, after, the compare script's red diff)
 * in a row under the table, each a core image block with its label as the caption, then the
 * one-line caption and the consent TODO across the full row. On a phone, before and after side
 * by side and the diff full width beneath: an own grid, because core columns can't do
 * two-plus-one (their stacking rules are !important). */
.wp-block-group.case-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
.wp-block-group.case-shots > * { margin: 0; }
.wp-block-group.case-shots > p { grid-column: 1 / -1; }
.case-shots img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: var(--wp--preset--color--surface); }
.case-shots figcaption { margin: 0.5rem 0 0; text-align: center; font-weight: 600; }
@media (max-width: 781px) {
	.wp-block-group.case-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30); }
	.wp-block-group.case-shots > .wp-block-image:nth-child(3) { grid-column: 1 / -1; }
	/* the diff is a pixel map, its scale carries nothing: cropped to about the height of the pair
	 * above it (the same device as the hero crop) instead of a full-width 342 × 684 */
	.wp-block-group.case-shots > .wp-block-image:nth-child(3) img { max-height: 360px; object-fit: cover; object-position: top; aspect-ratio: auto; }
}

/* ledger list (about): no bullets, a hairline per item, the bold lead on its own line */
.ledger-list { list-style: none; padding: 0; }
.ledger-list li { border-top: 1px solid var(--wp--preset--color--line); padding: 0.9rem 0; }
.ledger-list li:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.ledger-list li + li { margin-top: 0; }
.ledger-list li > strong { display: block; margin-bottom: 0.25rem; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); letter-spacing: -0.01em; }

/* the small print under the contact text (e-mail, IČO) sits on its own hairline */
.contact-meta { border-top: 1px solid var(--wp--preset--color--line); padding-top: 0.75rem; }

/* symptoms list (modernization section) */
.symptoms { padding-left: 1.1rem; }
.symptoms li + li { margin-top: 0.3rem; }

/* FAQ: native <details>, no script */
.faq-item { border-bottom: 1px solid var(--wp--preset--color--line); padding: 0.9rem 0; }
.faq-item + .faq-item { margin-top: 0; }
/* hanging indent: a wrapped question lines up under its text, not under the ▶ marker
 * (marker plus its space: 1.06em in Chromium, measured) */
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); padding-left: 1.06em; text-indent: -1.06em; }
.faq-item summary:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.faq-item p { margin: 0.6rem 0 0; color: var(--wp--preset--color--muted); }

/* before/after table in the case study. The cells never break a word ("neměřeno") in two: the
 * table is auto-layout (hasFixedLayout false), and should it ever sit inside a column, whose
 * core CSS sets word-break: break-word, the cells reset it. */
.case-table table { border-collapse: collapse; width: 100%; }
.case-table th, .case-table td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: 0.6rem 0.5rem; text-align: left; overflow-wrap: normal; word-break: normal; }
.case-table thead th { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); font-weight: 600; }

/* Contact Form 7: plain, accessible fields (the plugin ships almost no styling).
 * Field border: muted 60 % + line 40 % = #8b8e90, which is 3.30:1 against the white field and
 * 3.16:1 against the base page (#fcfaf6); WCAG 1.4.11 asks for 3:1. The line colour alone is 1.42:1.
 * The hex is the fallback for browsers without color-mix(). */
.wpcf7-form p { margin: 0 0 1.1rem; }
.wpcf7-form label { display: block; font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"], .wpcf7-form textarea {
	display: block; width: 100%; box-sizing: border-box; margin-top: 0.35rem; padding: 0.7rem 0.8rem;
	font: inherit; font-weight: 400; color: inherit; background: #fff;
	border: 1px solid #8b8e90; border-radius: 6px;
	border-color: color-mix(in srgb, var(--wp--preset--color--muted) 60%, var(--wp--preset--color--line));
}
.wpcf7-form textarea { min-height: 9rem; }
.wpcf7-form input:focus-visible, .wpcf7-form textarea:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; }
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.wpcf7-form .wpcf7-list-item input { margin-top: 0.3rem; }
.wpcf7-form .form-note { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.wpcf7-form .wpcf7-submit {
	font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 6px; padding: 0.75rem 1.5rem;
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--wp--preset--color--accent); }

/* CF7 states in the palette instead of the plugin's blue/green/yellow/orange/red. The selectors match
 * the plugin's own, so this file (loaded after it) wins. The message is a note with an accent rule on the left. */
.wpcf7-form .wpcf7-not-valid-tip { margin-top: 0.35rem; color: var(--wp--preset--color--error); font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.wpcf7-form .wpcf7-form-control.wpcf7-not-valid { border-color: var(--wp--preset--color--error); box-shadow: inset 0 0 0 1px var(--wp--preset--color--error); }
.wpcf7 form .wpcf7-response-output { margin: var(--wp--preset--spacing--40) 0 0; padding: 0.15rem 0 0.15rem 0.9rem; border: 0; border-left: 3px solid var(--wp--preset--color--contrast); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--wp--preset--color--accent); }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { border-color: var(--wp--preset--color--error); }

/* ------------------------------------------------------------------------------------------
 * The modernization process (templates/page-navrhy-postupu.html shows all three variants).
 * A was adopted on 2026-11-03: patterns/proces-koleje.php and en-proces-koleje.php replace the
 * .steps columns in modernizace.php / en-modernization.php. B and C stay on the review page.
 * ---------------------------------------------------------------------------------------- */
.navrh-pozn { max-width: 70ch; color: var(--wp--preset--color--muted); }
.navrh-pozn strong { color: var(--wp--preset--color--contrast); }

/* A: two tracks. The live site is the ink line, the copy is the bronze line; they meet at deploy. */
.proces-koleje { --kolej: 3px; --mez: var(--wp--preset--spacing--40); --znacka: 1.75rem; margin-top: var(--wp--preset--spacing--50); }
.koleje-legenda { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0 0 var(--wp--preset--spacing--40); }
.koleje-legenda span::before { content: ""; display: inline-block; width: 2.25rem; height: var(--kolej); margin-right: 0.6rem; vertical-align: middle; }
.koleje-legenda .kolej-ostra::before { background: var(--wp--preset--color--contrast); }
.koleje-legenda .kolej-kopie::before { background: var(--wp--preset--color--accent); }
.zastavky { list-style: none; margin: 0; position: relative; isolation: isolate; counter-reset: zastavka; }
.zastavky li { counter-increment: zastavka; position: relative; }
.zastavky li strong { display: block; margin-bottom: 0.35rem; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); letter-spacing: -0.01em; }
/* z-index: the tracks (.zastavky::before/::after) come later in paint order and would cross the numbers */
.zastavky li::before {
	content: counter(zastavka); position: absolute; z-index: 1; display: grid; place-items: center;
	width: var(--znacka); height: var(--znacka); border-radius: 4px;
	background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base);
	font: 700 0.8rem/1 var(--wp--preset--font-family--heading);
}
.zastavky li:last-child::before { background: var(--wp--preset--color--contrast); }
.zastavky::before, .zastavky::after { content: ""; position: absolute; }
/* phone and tablet: the tracks run downwards. The copy track is drawn per stop (li::after), so its
 * curve into the live track always ends at the top of the last stop, whatever the length of the
 * texts above it. The live track sits 0.75rem in, the copy track 1.5rem to its right, the badges
 * are centred on the tracks and the text starts a clear 1rem right of the badge. */
.zastavky { padding: 0 0 0 4.25rem; }
.zastavky li { padding-bottom: var(--wp--preset--spacing--40); }
.zastavky li:last-child { padding-bottom: 0; }
.zastavky::before { left: 0.75rem; top: 0; bottom: 0; width: var(--kolej); background: var(--wp--preset--color--contrast); }
.zastavky::after { display: none; }
.zastavky li:not(:last-child)::after {
	content: ""; position: absolute; left: -3.5rem; top: 0; bottom: 0; width: 1.5rem;
	border-right: var(--kolej) solid var(--wp--preset--color--accent);
}
.zastavky li:nth-last-child(2)::after { border-bottom: var(--kolej) solid var(--wp--preset--color--accent); border-bottom-right-radius: 1rem; }
.zastavky li::before { left: calc(-2rem + var(--kolej) / 2 - var(--znacka) / 2); top: 0.1rem; }
.zastavky li:last-child::before { left: calc(-3.5rem + var(--kolej) / 2 - var(--znacka) / 2); }
@media (min-width: 1024px) {
	/* desktop: five columns; the live track runs along the top, the copy track below it. From
	 * 1024 px, not core's 782: five 128 px columns gave 8–12 lines of ragged text per step. */
	.zastavky { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--mez); padding: 5.5rem 0 0; }
	.zastavky li { padding-bottom: 0; }
	.zastavky li::after { display: none; }
	.zastavky::before { left: 0; right: 0; top: 1rem; bottom: auto; width: auto; height: var(--kolej); }
	.zastavky::after {
		display: block; left: 0; top: 1rem; bottom: auto; height: 2.5rem;
		width: calc(80% + 0.8 * var(--mez) + var(--znacka) / 2);
		border-right: var(--kolej) solid var(--wp--preset--color--accent); border-bottom: var(--kolej) solid var(--wp--preset--color--accent);
		border-bottom-right-radius: 1.25rem;
	}
	.zastavky li::before { left: 0; top: calc(3.5rem + var(--kolej) / 2 - var(--znacka) / 2 - 5.5rem); }
	.zastavky li:last-child::before { left: 0; top: calc(1rem + var(--kolej) / 2 - var(--znacka) / 2 - 5.5rem); }
}

/* B: the log. The one bold element: an ink panel with the real record of a job. */
.proces-protokol { margin-top: var(--wp--preset--spacing--50); align-items: flex-start; }
.protokol-kroky { list-style: none; margin: 0; padding: 0; counter-reset: krok; }
.protokol-kroky li { counter-increment: krok; position: relative; padding: 0.55rem 0 0.55rem 1.75rem; }
.protokol-kroky li::before { content: counter(krok); position: absolute; left: 0; top: 0.55rem; font: 600 var(--wp--preset--font-size--small)/1.75 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--wp--preset--color--accent); }
.protokol-kroky li strong { font-family: var(--wp--preset--font-family--heading); }
pre.protokol {
	margin: 0; padding: 1.5rem 1.75rem; border: 0; border-radius: 10px; overflow-x: auto;
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
	font: 0.875rem/1.85 ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}
pre.protokol code { font: inherit; color: inherit; background: none; padding: 0; white-space: pre; overflow-wrap: normal; }   /* core sets pre-wrap; the log's columns must stay aligned */
.protokol-popisek { margin-top: 0.6rem; }
@media (max-width: 781px) { pre.protokol { font-size: 0.75rem; padding: 1.25rem; } }

/* C: what I do / what you notice. The client's column is the tinted one. */
.proces-tabulka { margin-top: var(--wp--preset--spacing--50); counter-reset: radek; }
.proces-tabulka table { border-collapse: separate; border-spacing: 0 0.5rem; width: 100%; }
.proces-tabulka thead { border: 0; }
.proces-tabulka th { border: 0; padding: 0 1.1rem 0.15rem; text-align: left; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--muted); }
.proces-tabulka th:last-child { color: var(--wp--preset--color--accent); }
.proces-tabulka td { border: 0; padding: 1rem 1.1rem; vertical-align: top; background: var(--wp--preset--color--base); }
.proces-tabulka tbody tr { counter-increment: radek; }
.proces-tabulka td:first-child { width: 22%; border-radius: 8px 0 0 8px; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: var(--wp--preset--font-size--large); }
.proces-tabulka td:first-child::before { content: counter(radek) " "; color: var(--wp--preset--color--accent); }
.proces-tabulka td:last-child { width: 36%; border-radius: 0 8px 8px 0; background: var(--wp--preset--color--accent-soft); }
@media (max-width: 781px) {
	.proces-tabulka table, .proces-tabulka tbody, .proces-tabulka tr, .proces-tabulka td { display: block; width: auto; }
	.proces-tabulka thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.proces-tabulka tr { margin-bottom: 0.75rem; }
	.proces-tabulka td:first-child { width: auto; border-radius: 8px 8px 0 0; padding-bottom: 0.25rem; }
	.proces-tabulka td:last-child { width: auto; border-radius: 0 0 8px 8px; }
	.proces-tabulka td:nth-child(2)::before, .proces-tabulka td:nth-child(3)::before { display: block; margin-bottom: 0.2rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--muted); }
	.proces-tabulka td:nth-child(2)::before { content: "Co dělám"; }
	.proces-tabulka td:nth-child(3)::before { content: "Co poznáte vy"; color: var(--wp--preset--color--accent); }
}
