/*! Zdeněk Hejl. Brutalistický vzhled: systémová písma, černé linky a dvě signální barvy, žádné stíny ani webové fonty. */
:root {
    --ink: #000;
    --paper: #fff;
    --red: #bf1722;
    --marker: #ffe600;
    --line: 4px solid var(--ink);
    --thin: 2px solid var(--ink);
    --sans: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
    --head-h: 56px;
    --gut: 16px;
}

/* Základ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.42;
}
main { flex: 1 0 auto; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
strong, b { font-weight: 800; }
::selection { color: var(--ink); background: var(--marker); }
a { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--paper); background: var(--ink); text-decoration: none; }
:focus-visible { outline: 4px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.skip-link { position: absolute; z-index: 30; top: -80px; left: var(--gut); padding: 8px 16px; color: var(--paper); background: var(--ink); font-family: var(--mono); }
.skip-link:focus { top: 8px; color: var(--paper); }

/* Hlavička a menu */
.site-head {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    height: var(--head-h);
    padding: 0 var(--gut);
    border-bottom: var(--line);
    background: var(--paper);
    font-family: var(--mono);
    font-size: 14px;
    text-transform: uppercase;
}
.site-head a { color: var(--ink); text-decoration: none; }
.brand { font-weight: 800; }
.menu-toggle { display: none; padding: 5px 10px; border: var(--thin); color: var(--ink); background: var(--paper); font: inherit; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.site-nav > ul { display: flex; gap: 28px; }
.site-nav > ul > li { position: relative; display: flex; align-items: center; height: calc(var(--head-h) - 4px); }
.site-nav a:hover, .site-nav a.active { color: var(--red); background: none; }
.site-nav a[aria-current="page"] { color: var(--red); font-weight: 800; }
.has-sub > a::after { content: " ↓"; }
.has-sub ul { position: absolute; z-index: 1; top: 100%; left: -16px; display: none; width: max-content; min-width: 280px; border: var(--line); background: var(--paper); }
.has-sub:last-child ul { right: -16px; left: auto; }
.has-sub:hover ul, .has-sub:focus-within ul { display: block; }
.has-sub li + li { border-top: var(--thin); }
.has-sub ul a { display: block; padding: 10px 14px; }
.has-sub ul a:hover { color: var(--paper); background: var(--ink); }

/* Velký nadpis stránky */
.page-title { padding: .06em var(--gut) .12em; border-bottom: var(--line); font-size: max(calc((100vw - 2 * var(--gut)) * var(--k, .098)), 40px); }
.page-title h1 { font-size: 1em; font-weight: 900; line-height: .95; letter-spacing: -.05em; text-transform: uppercase; hyphens: manual; }

/* Stavební bloky obsahu */
.band { padding: 8px var(--gut); color: var(--paper); background: var(--ink); font-size: clamp(22px, 2.6vw, 38px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.lead { padding: 20px var(--gut); border-bottom: var(--line); font-size: clamp(22px, 2.8vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.lead a { text-decoration-thickness: 4px; }
.prose { padding: 20px var(--gut); border-bottom: var(--line); }
.prose p { max-width: 72ch; }
.prose p + p { margin-top: .8em; }

.ledger > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 24px; padding: 12px var(--gut); border-bottom: var(--thin); }
.ledger > li > strong { font-weight: 900; line-height: 1.2; }
.ledger > li > span { max-width: 72ch; }
.ledger > li > span:only-child { grid-column: 1 / -1; }
.ledger > li:last-child { border-bottom: 0; }

.years > li { grid-template-columns: 72px minmax(0, 1fr); }
.years > li > .y { font-family: var(--mono); font-size: 15px; font-weight: 700; line-height: 1.7; }

.numbered { counter-reset: n; border-bottom: var(--line); }
.numbered > li { display: grid; grid-template-columns: clamp(56px, 8vw, 120px) minmax(0, 1fr); gap: 0 24px; align-items: center; padding: 10px var(--gut); border-bottom: var(--thin); counter-increment: n; font-size: clamp(19px, 2vw, 28px); font-weight: 700; line-height: 1.2; }
.numbered > li:last-child { border-bottom: 0; }
.numbered > li::before { content: counter(n); font-size: clamp(44px, 7vw, 104px); font-weight: 900; line-height: 1; letter-spacing: -.04em; }

.cta-bar { padding: 14px var(--gut); border-top: var(--line); border-bottom: var(--line); background: var(--marker); font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; }
.cta-bar a { color: var(--ink); font-weight: 900; text-decoration-thickness: 3px; }

.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 2px; padding-bottom: 2px; border-bottom: var(--line); }
.wall > li { outline: var(--thin); }
.wall a { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; height: 100%; min-height: 96px; padding: 12px var(--gut); color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1.12; letter-spacing: -.01em; text-decoration: none; }
.wall a:hover { color: var(--paper); background: var(--ink); }
.wall .m { font-family: var(--mono); font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.wall-big { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.wall-big a { min-height: 200px; font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -.03em; }

/* Moje služby */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-bottom: var(--line); }
.hero-text { display: flex; flex-direction: column; justify-content: space-between; padding: 0; border-right: var(--line); }
.hero h1 { padding: .05em var(--gut) 0; font-size: 12.8vw; font-weight: 900; line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.hero h1 .role { display: block; padding: 8px 0 14px; font-size: clamp(20px, 3.3vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.hero h2 { padding: 14px var(--gut); border-top: var(--line); font-size: clamp(22px, 2.8vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.tools { border-bottom: var(--line); }
.tools > li > span { font-family: var(--mono); font-size: 15px; line-height: 1.6; }
.statement { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-bottom: var(--line); }
.statement p { padding: 20px var(--gut); }
.statement p:first-child { border-right: var(--line); font-size: clamp(22px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.statement p:first-child strong { font-weight: 800; }
.story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-bottom: var(--line); }
.story > div { border-right: var(--line); }
.story-text { padding: 20px var(--gut); }
.story-text p { max-width: 72ch; }
.story-text p + p { margin-top: .8em; }

.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.service-head { padding: 14px var(--gut); border-right: var(--line); }
.service-sticky { position: sticky; top: calc(var(--head-h) + 14px); }
.service-num { display: block; font-size: clamp(64px, 11vw, 180px); font-weight: 900; line-height: .85; letter-spacing: -.05em; }
.service-head h2 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.service-years { display: inline-block; margin-top: 10px; padding: 2px 8px; color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.service-intro { padding: 14px var(--gut); border-bottom: var(--thin); font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; }
.service-intro em { font-style: normal; }
.service .ledger > li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.service + .cta-bar { margin-top: 0; }

/* Pracovní zkušenosti a vzdělání */
.job { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-bottom: var(--line); }
.job-head { padding: 14px var(--gut); border-right: var(--line); }
.job-period { font-family: var(--mono); font-size: 15px; font-weight: 700; text-transform: uppercase; }
.job-head h2 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.job-head h2 span { display: block; margin-top: 8px; color: var(--red); font-size: .72em; }
.job .ledger > li > span:only-child { font-weight: 700; }

.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding-bottom: 2px; border-bottom: var(--line); }
.certs a { display: flex; align-items: center; justify-content: center; padding: 16px; outline: var(--thin); }
.certs a:hover { background: var(--marker); }
.certs img { width: auto; max-height: 240px; }

/* Kontakty */
.contact > li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: 10px var(--gut); border-bottom: var(--thin); }
.contact > li:last-child { border-bottom: var(--line); }
.contact strong { font-family: var(--mono); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.contact a { overflow-wrap: anywhere; font-size: clamp(20px, 4.4vw, 70px); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; }
.contact li:nth-child(n + 3) a { font-size: clamp(18px, 1.9vw, 28px); letter-spacing: -.01em; }
.billing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: var(--line); font-family: var(--mono); font-size: 16px; }
.billing p { padding: 16px var(--gut); }
.billing p + p { border-left: var(--line); }

/* Reference */
.r-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: var(--line); }
.r-head h1 { grid-column: 1 / -1; padding: .06em var(--gut) .1em; border-bottom: var(--line); font-size: calc((100vw - 2 * var(--gut)) * .184); font-weight: 900; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.r-lead { padding: 20px var(--gut); border-right: var(--line); font-size: clamp(22px, 2.8vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.r-themes { padding: 20px var(--gut); }
.r-themes h2 { margin-bottom: 12px; font-family: var(--mono); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.r-themes dl div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 12px; align-items: center; padding: 4px 0; border-top: var(--thin); }
.r-themes dt { font-size: 15px; font-weight: 700; }
.r-themes dd { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.r-themes dd b { margin-left: auto; font-size: 18px; }
.bar { flex: 1; height: 18px; background: linear-gradient(90deg, var(--ink) calc(var(--v) * 100%), transparent 0); }

.t { display: block; }
.filters { position: sticky; z-index: 1; top: var(--head-h); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; border-bottom: var(--line); background: var(--ink); }
.filters a { display: flex; gap: 8px; justify-content: space-between; padding: 9px 12px; color: var(--ink); background: var(--paper); font-family: var(--mono); font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.filters a:hover { color: var(--paper); background: var(--ink); }
.filters .f-all { grid-row: span 2; align-items: flex-start; }
.t:not(:target) ~ .filters .f-all { color: var(--paper); background: var(--ink); }
.t:target ~ .filters .f-all { color: var(--ink); background: var(--paper); }
.t:target ~ .filters .f-all:hover { color: var(--paper); background: var(--ink); }

.query { padding: 8px var(--gut); border-bottom: var(--line); overflow-wrap: anywhere; background: var(--marker); font-family: var(--mono); font-size: 13px; }
.query code { display: none; font: inherit; }
.query .q-all { display: inline; }
.t:target ~ .query .q-all { display: none; }
#vse:target ~ .query .q-all { display: inline; }
.query i { font-style: normal; font-weight: 700; }
.now { display: none; }

.row { display: grid; grid-template-columns: 48px 68px 280px minmax(0, 1fr); gap: 0 24px; padding: 18px var(--gut); border-bottom: var(--line); }
.row-head { padding-top: 6px; padding-bottom: 6px; border-bottom: 0; color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
@media (hover: hover) {
    .row:not(.row-head):hover { color: var(--paper); background: var(--ink); }
    .row:hover .row-who a { border-color: var(--paper); }
}
.row-id, .row-date { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.row-who h3 { font-size: 19px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.row-who p { margin-top: 3px; font-family: var(--mono); font-size: 13px; line-height: 1.3; }
.row-who a { display: inline-block; margin-top: 8px; padding: 1px 6px; border: var(--thin); color: inherit; font-family: var(--mono); font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.row-who a:hover { border-color: var(--red); color: var(--paper); background: var(--red); }
.row blockquote { max-width: 72ch; }
.row blockquote p + p { margin-top: .7em; }
mark { padding: 0 .12em; color: var(--ink); background: var(--marker); font-weight: 800; }

.r-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; padding: 32px var(--gut); color: var(--paper); background: var(--red); font-weight: 900; line-height: .92; letter-spacing: -.04em; text-decoration: none; text-transform: uppercase; }
.r-cta span { font-size: clamp(40px, 10.4vw, 170px); }
.r-cta b { padding: 12px 16px; border: 4px solid var(--paper); font-family: var(--mono); font-size: clamp(16px, 2vw, 26px); font-weight: 700; line-height: 1; letter-spacing: 0; }
.r-cta:hover { color: var(--paper); background: var(--ink); }

/* Cookies */
.cookie-report { min-height: 200px; overflow-x: auto; }
.cookie-report table { width: 100%; border-collapse: collapse; }
.cookie-report th, .cookie-report td { padding: 8px; border: var(--thin); text-align: left; }
.cookie-report th { color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 13px; text-transform: uppercase; }

/* Stránky služeb a rozcestník na homepage */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-bottom: var(--line); background: var(--ink); }
.cards a { display: flex; flex-direction: column; gap: 10px; padding: 14px var(--gut) 16px; color: var(--ink); background: var(--paper); text-decoration: none; }
.cards a:hover { color: var(--paper); background: var(--ink); }
.card-num { font-size: clamp(56px, 7vw, 110px); font-weight: 900; line-height: .85; letter-spacing: -.05em; }
.card-title { font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.card-text { max-width: 60ch; }
.card-meta { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--ink); }
.quotes li { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px var(--gut); background: var(--paper); }
.quotes blockquote { font-size: clamp(20px, 2vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.quotes p { font-family: var(--mono); font-size: 13px; line-height: 1.3; }
.home-more { padding: 14px var(--gut); }
.row-compact { grid-template-columns: 280px minmax(0, 1fr); }
.row-compact .row-when { font-weight: 700; }
.lead mark { font-weight: inherit; }

/* Patička */
.site-foot { flex: none; padding: 20px var(--gut); color: var(--paper); background: var(--ink); font-family: var(--mono); font-size: 13px; line-height: 1.5; }

@media (max-width: 840px) {
    .cards, .quotes { grid-template-columns: minmax(0, 1fr); }
    .row-compact { grid-template-columns: minmax(0, 1fr); }
    .row-compact .row-who, .row-compact blockquote { grid-column: auto; }
    body { font-size: 17px; }
    .menu-toggle { display: block; }
    .site-nav { position: fixed; inset: var(--head-h) 0 0; display: none; overflow-y: auto; background: var(--paper); }
    .site-nav.open { display: block; }
    .menu-open { overflow: hidden; }
    .site-nav > ul { display: block; }
    .site-nav > ul > li { display: block; height: auto; border-bottom: var(--line); }
    .site-nav > ul > li > a { display: block; padding: 12px var(--gut); font-family: var(--sans); font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
    .has-sub > a::after { content: none; }
    .has-sub ul, .has-sub:last-child ul { position: static; display: block; width: auto; border: 0; border-top: var(--thin); }
    .has-sub ul a { padding: 10px var(--gut); }

    .lead, .prose { padding-top: 16px; padding-bottom: 16px; }
    .ledger > li, .service .ledger > li { grid-template-columns: minmax(0, 1fr); }
    .years > li { grid-template-columns: 64px minmax(0, 1fr); }

    .hero, .statement, .story, .service, .job, .billing { grid-template-columns: minmax(0, 1fr); }
    .story > div { border-right: 0; }
    .hero h1 { font-size: 21vw; }
    .hero h1 .role { font-size: 7vw; }
    .hero-text, .statement p:first-child { border-right: 0; }
    .hero-photo { height: auto; border-top: var(--line); }
    .statement p:first-child { border-bottom: var(--line); }
    .service-head, .job-head { border-right: 0; border-bottom: var(--line); }
    .service-sticky { position: static; }
    .billing p + p { border-top: var(--line); border-left: 0; }
    .certs { grid-template-columns: minmax(0, 1fr); }
    .contact > li { grid-template-columns: minmax(0, 1fr); }
    .contact a { font-size: clamp(22px, 7vw, 54px); }
    .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wall a { min-height: 72px; padding: 10px 12px; font-size: 18px; }
    .wall-big { grid-template-columns: minmax(0, 1fr); }
    .wall-big a { min-height: 110px; padding: 12px var(--gut); font-size: 30px; }

    .r-head { grid-template-columns: minmax(0, 1fr); }
    .r-lead { border-right: 0; border-bottom: var(--line); }
    .r-themes dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 6px 0; }
    .filters { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filters a { align-items: center; min-height: 44px; padding: 8px 10px; font-size: 12px; line-height: 1.2; }
    .filters .f-all { grid-column: 1 / -1; grid-row: auto; align-items: center; }
    .query { display: none; }
    .now { position: sticky; z-index: 1; top: var(--head-h); display: block; border-bottom: var(--line); background: var(--marker); font-family: var(--mono); font-size: 13px; }
    .now a { display: none; gap: 12px; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px var(--gut); color: var(--ink); font-weight: 700; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
    .now .n-all { display: flex; }
    .t:target ~ .now .n-all { display: none; }
    #vse:target ~ .now .n-all { display: flex; }
    .now b { flex: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
    .row-head { display: none; }
    .row { grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; padding: 14px var(--gut); }
    .row-who, .row blockquote { grid-column: 1 / -1; }
    .row-date { text-align: right; }
    .row blockquote { margin-top: 6px; }
}

/* Filtr referencí bez JavaScriptu: aktivní je kotva z adresy, takže /reference#shopify dál funguje */
#kompletni:target ~ .rows .row:not([data-c="kompletni"]) { display: none; }
#kompletni:target ~ .filters a[href="#kompletni"] { color: var(--paper); background: var(--red); }
#kompletni:target ~ .query .q-kompletni { display: inline; }
#kompletni:target ~ .now .n-kompletni { display: flex; }
#server-side:target ~ .rows .row:not([data-c="server-side"]) { display: none; }
#server-side:target ~ .filters a[href="#server-side"] { color: var(--paper); background: var(--red); }
#server-side:target ~ .query .q-server-side { display: inline; }
#server-side:target ~ .now .n-server-side { display: flex; }
#pokrocile:target ~ .rows .row:not([data-c="pokrocile"]) { display: none; }
#pokrocile:target ~ .filters a[href="#pokrocile"] { color: var(--paper); background: var(--red); }
#pokrocile:target ~ .query .q-pokrocile { display: inline; }
#pokrocile:target ~ .now .n-pokrocile { display: flex; }
#automatizace-integrace:target ~ .rows .row:not([data-c="automatizace-integrace"]) { display: none; }
#automatizace-integrace:target ~ .filters a[href="#automatizace-integrace"] { color: var(--paper); background: var(--red); }
#automatizace-integrace:target ~ .query .q-automatizace-integrace { display: inline; }
#automatizace-integrace:target ~ .now .n-automatizace-integrace { display: flex; }
#reporting:target ~ .rows .row:not([data-c="reporting"]) { display: none; }
#reporting:target ~ .filters a[href="#reporting"] { color: var(--paper); background: var(--red); }
#reporting:target ~ .query .q-reporting { display: inline; }
#reporting:target ~ .now .n-reporting { display: flex; }
#shopify:target ~ .rows .row:not([data-c="shopify"]) { display: none; }
#shopify:target ~ .filters a[href="#shopify"] { color: var(--paper); background: var(--red); }
#shopify:target ~ .query .q-shopify { display: inline; }
#shopify:target ~ .now .n-shopify { display: flex; }
#gtm-ga:target ~ .rows .row:not([data-c="gtm-ga"]) { display: none; }
#gtm-ga:target ~ .filters a[href="#gtm-ga"] { color: var(--paper); background: var(--red); }
#gtm-ga:target ~ .query .q-gtm-ga { display: inline; }
#gtm-ga:target ~ .now .n-gtm-ga { display: flex; }
#konzultace:target ~ .rows .row:not([data-c="konzultace"]) { display: none; }
#konzultace:target ~ .filters a[href="#konzultace"] { color: var(--paper); background: var(--red); }
#konzultace:target ~ .query .q-konzultace { display: inline; }
#konzultace:target ~ .now .n-konzultace { display: flex; }
#skoleni:target ~ .rows .row:not([data-c="skoleni"]) { display: none; }
#skoleni:target ~ .filters a[href="#skoleni"] { color: var(--paper); background: var(--red); }
#skoleni:target ~ .query .q-skoleni { display: inline; }
#skoleni:target ~ .now .n-skoleni { display: flex; }
#agentury:target ~ .rows .row:not([data-c="agentury"]) { display: none; }
#agentury:target ~ .filters a[href="#agentury"] { color: var(--paper); background: var(--red); }
#agentury:target ~ .query .q-agentury { display: inline; }
#agentury:target ~ .now .n-agentury { display: flex; }
