/* SVUMSP – veřejný web */
:root {
	--paper: #f6f1e9;
	--paper-2: #ece5d9;
	--ink: #1c1a17;
	--ink-soft: #5b564d;
	--line: #d9d0c1;
	--accent: #c2410c;
	--accent-ink: #fff;
	--card: #fffdf9;
	--shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 12px 32px -12px rgba(28, 26, 23, .18);
	--serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
	--sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 14px;
	--wrap: 1180px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #16140f;
		--paper-2: #201d17;
		--ink: #f2ece0;
		--ink-soft: #a9a293;
		--line: #363127;
		--accent: #f08a4b;
		--accent-ink: #1c1a17;
		--card: #1d1a14;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.125rem/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.prose { max-width: 65ch; }
.prose p:last-child, .article-body p:last-child { margin-bottom: 0; }
.muted { color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.75rem; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.brand-text small { font: 500 .64rem/1.25 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 420px) { .brand-text small { font-size: .56rem; letter-spacing: .06em; } }
.brand-text strong { font: 700 1.55rem/1 var(--serif); letter-spacing: .07em; }
.nav { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { white-space: nowrap; display: block; padding: .5rem .9rem; border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); transition: .2s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--accent-ink); background: var(--ink); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 2.6rem; height: 2.6rem; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 1.1rem; height: 2px; background: currentColor; margin: .28rem auto; transition: .2s; }

@media (max-width: 1000px) {
	.burger { display: block; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: .75rem var(--gutter) 1.25rem; display: none; }
	.nav.open { display: flex; }
	.nav a { padding: .8rem 1rem; }
}

/* ---------- Hero ---------- */
.hero-band { position: relative; isolation: isolate; color: #fff; background: #2a2320 center / cover no-repeat; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(6rem, 13vw, 11rem); }
.hero-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 10, .55), rgba(20, 16, 10, .85)); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0; font-weight: 500; }
.hero-side p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, .88); }
.hero-side .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.hero .eyebrow { color: #ffb489; }
.hero-photo { margin: calc(-1 * clamp(4rem, 9vw, 7.5rem)) 0 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -20px rgba(20, 16, 10, .55); position: relative; }
.hero-photo a { display: block; cursor: zoom-in; }
.hero-photo img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hero-photo:hover img { transform: scale(1.02); }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: .9rem; border: 0; cursor: pointer; transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.alt { background: var(--paper-2); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.split .prose { font-size: 1.1rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

.page-head { padding-block: clamp(1.25rem, 2.5vw, 2rem) 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.page-head .eyebrow { margin-bottom: .6rem; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0; }
.page-head p { margin: .75rem 0 0; color: var(--ink-soft); max-width: 60ch; }
.page-head .back { margin-bottom: .75rem; }

/* ---------- Gallery / masonry ---------- */
.masonry { columns: 3 260px; column-gap: 1rem; }
.masonry figure { margin: 0 0 1rem; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.masonry a { display: block; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform .5s ease; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { padding: .8rem 1rem 1rem; background: var(--card); }
.masonry figcaption strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.masonry figcaption span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Dlaždicová galerie (úvod) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 22vw, 280px); gap: 1rem; }
.gallery .tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); display: block; cursor: zoom-in; box-shadow: var(--shadow); }
.gallery .tile:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 12, 8, .75)); opacity: 0; transition: opacity .35s; }
.gallery .tile span { position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1rem; color: #fff; font: 600 1.1rem/1.25 var(--serif); transform: translateY(10px); opacity: 0; transition: .35s; }
.gallery .tile:hover img, .gallery .tile:focus-visible img { transform: scale(1.07); }
.gallery .tile:hover::after, .gallery .tile:focus-visible::after, .gallery .tile:hover span, .gallery .tile:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gallery .tile::after, .gallery .tile span { opacity: 1; transform: none; } }
.gallery .tile.reveal.from-left { transform: translateX(-60px); }
.gallery .tile.reveal.from-right { transform: translateX(60px); }
.gallery .tile.reveal.in { transform: none; }
@media (max-width: 700px) {
	.gallery { grid-template-columns: 1fr 1fr; }
	.gallery .tile:first-child, .gallery .tile:last-child:nth-child(even) { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Umělci ---------- */
.artist-filter { margin-bottom: 1.75rem; max-width: 34rem; }
.artist-filter label { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.filter-box { position: relative; }
.filter-box input { width: 100%; font: inherit; font-size: 1.05rem; padding: .8rem 2.8rem .8rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.filter-box input::-webkit-search-cancel-button { display: none; }
.filter-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.filter-clear { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.filter-clear:hover { background: var(--line); }
.filter-count { margin: .6rem 0 0; font-size: .85rem; min-height: 1.3em; }
.filter-empty { padding: 2rem 0; color: var(--ink-soft); }
.artist[hidden], .filter-empty[hidden], .filter-clear[hidden] { display: none; }
.artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.artist { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: block; text-decoration: none; color: #fff; box-shadow: var(--shadow); background: var(--paper-2); }
.artist img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.artist::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15, 12, 8, .82)); }
.artist span { position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1rem; font: 600 1.2rem/1.25 var(--serif); }
.artist:hover img { transform: scale(1.06); }

.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
.socials { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.socials a { display: inline-flex; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .85rem; transition: .2s; }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.back { display: inline-flex; gap: .4rem; text-decoration: none; font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.back:hover { color: var(--accent); }

/* ---------- Články ---------- */
.feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.25rem, 4vw, 3rem); text-decoration: none; align-items: center; margin-bottom: 3.5rem; }
.feature .img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature img, .post img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s ease; }
.feature:hover img, .post:hover img { transform: scale(1.04); }
.feature h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.feature p { color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.5rem; }
.post { text-decoration: none; display: block; }
.post .img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; background: var(--paper-2); }
.post h3 { font-size: 1.25rem; margin-bottom: .3em; transition: color .2s; }
.post:hover h3 { color: var(--accent); }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }

.article-body { max-width: 68ch; margin-inline: auto; font-size: 1.15rem; }
.article-body p { text-align: left; }

/* ---------- Almanach ---------- */
.almanachs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.75rem; }
.alm { text-decoration: none; display: block; }
.alm .cover { aspect-ratio: 3 / 4; border-radius: 6px 12px 12px 6px; overflow: hidden; box-shadow: var(--shadow), inset 6px 0 0 rgba(0, 0, 0, .12); transition: transform .3s; background: var(--paper-2); }
.alm .cover img { width: 100%; height: 100%; object-fit: cover; }
.alm:hover .cover { transform: translateY(-6px) rotate(-.6deg); }
.alm h3 { margin: 1rem 0 .1em; font-size: 1.15rem; }
.alm-detail { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.alm-detail .cover { border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 700px) { .alm-detail { grid-template-columns: 1fr; } .alm-detail .cover { max-width: 280px; } }

/* ---------- Kontakty ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 760px; }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 600 1.6rem var(--serif); margin-bottom: 1.25rem; }
.contact h3 { margin-bottom: .1em; }
.contact a { color: var(--accent); text-decoration: none; word-break: break-all; }
.contact a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { flex-shrink: 0; border-top: 1px solid var(--line); margin-top: 4rem; background: var(--paper-2); }
/* na úvodní stránce navazuje zápatí přímo na tmavou sekci Historie, bez mezery */
main:has(> .history:last-child) + .site-footer { margin-top: 0; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2rem clamp(1.5rem, 4vw, 3.5rem); padding-block: 3rem 2.5rem; align-items: start; }
.footer-brand { font: 700 1.5rem/1 var(--serif); letter-spacing: .07em; display: block; margin-bottom: .75rem; }
.footer-about p { font-size: .95rem; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 34ch; }
.footer-title { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.footer-links, .footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer-links a, .footer-contacts a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--accent); }
.footer-contacts strong { display: block; font-weight: 600; color: var(--ink); }
.footer-contacts small { display: block; color: var(--ink-soft); font-size: .8rem; margin-bottom: .1rem; }
.footer-contacts a { word-break: break-all; }
.sponsor { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; font-size: .9rem; color: var(--ink-soft); }
.sponsor img { width: 90px; background: #fff; padding: 6px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.1rem; font-size: .82rem; color: var(--ink-soft); }
.footer-bottom a { text-decoration: none; }
.footer-bottom .credit strong { font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; padding-block: 2.25rem 1.75rem; } }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 1rem; }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(10, 8, 5, .88); backdrop-filter: blur(6px); }
.lightbox .stage { width: 100%; height: 100%; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
/* originální rozlišení fotky, nikdy zvětšené nad svou velikost; strop, aby nezabrala celou obrazovku */
.lightbox img { display: block; width: auto; height: auto; max-width: min(86vw, 1500px); max-height: 78vh; object-fit: contain; border-radius: 6px; background: #111; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .25s; }
.lightbox img.ready { opacity: 1; }
.lightbox .cap { max-width: min(86vw, 900px); text-align: center; color: #eee; font-size: .95rem; line-height: 1.45; min-height: 1.4em; }
.lightbox .cap small { display: block; margin-top: .25rem; color: rgba(255, 255, 255, .55); font-size: .78rem; letter-spacing: .08em; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .close { top: 1rem; right: 1rem; }
.lightbox .prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
	.lightbox img { max-width: 94vw; max-height: 72vh; }
	.lightbox .prev, .lightbox .next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Animace ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	* { transition: none !important; animation: none !important; }
}

.flash { padding: .8rem var(--gutter); background: var(--accent); color: var(--accent-ink); text-align: center; font-size: .9rem; }
.flash.error { background: #b91c1c; color: #fff; }

/* ---------- Přihlášení ---------- */
.login { min-height: 70vh; display: grid; place-items: center; }
.login form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); width: min(100%, 380px); display: grid; gap: 1rem; text-align: center; }
.login input { font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }

/* ---------- O nás: perex a čísla ---------- */
.prose.lead p:first-child { font: 500 clamp(1.25rem, 2vw, 1.55rem)/1.55 var(--serif); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(3rem, 7vw, 5.5rem); }
.stat { border-top: 2px solid var(--ink); padding-top: 1rem; }
.stat b { display: block; font: 600 clamp(2.6rem, 6vw, 4.6rem)/1 var(--serif); color: var(--accent); }
.stat span { display: block; margin-top: .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 1.5rem; } .stat { display: flex; align-items: baseline; gap: 1rem; } .stat span { margin: 0; } }

/* ---------- Naše práce ---------- */
.underlined::after { content: ""; display: block; width: 3.5rem; height: 4px; margin-top: .6rem; background: var(--accent); border-radius: 2px; }
.gallery .tile .zoom { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #1c1a17; font: 400 1.6rem/1 var(--sans); opacity: 0; transform: scale(.7); transition: .3s; }
.gallery .tile:hover .zoom, .gallery .tile:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery .tile .zoom { opacity: 1; transform: none; } }
.more { text-align: center; margin: 2.5rem 0 0; }

/* ---------- Historie ---------- */
.history { position: relative; overflow: hidden; background: #211c18; color: #f2ece0; padding-block: clamp(4rem, 9vw, 7.5rem); }
.history .year { position: absolute; right: -.05em; top: -.18em; font: 700 clamp(7rem, 26vw, 22rem)/1 var(--serif); color: rgba(255, 255, 255, .04); pointer-events: none; user-select: none; }
.history .wrap { position: relative; }
.history-head { max-width: 60ch; margin-bottom: 2.5rem; }
.history-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.history .eyebrow { color: #ffb489; }
.history .since { margin: 0; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 236, 224, .6); }
.history-text { columns: 2 24rem; column-gap: clamp(2rem, 5vw, 4rem); color: rgba(242, 236, 224, .88); }
.history-text p { margin: 0 0 1em; text-align: left; hyphens: auto; }
.history-text p:first-child::first-letter { float: left; font: 700 4.4rem/.8 var(--serif); padding: .08em .12em 0 0; color: #ffb489; }

/* ---------- Souhlas s cookies ---------- */
.consent { position: fixed; z-index: 90; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(100% - 2rem, 62rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.1rem 1.4rem; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .35); }
.consent-text { flex: 1 1 24rem; font-size: .92rem; line-height: 1.55; }
.consent-text strong { display: block; font: 600 1.05rem/1.3 var(--serif); margin-bottom: .2rem; }
.consent-text p { margin: 0; color: var(--ink-soft); }
.consent-text a { color: var(--accent); }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent-actions .btn { padding: .7rem 1.4rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.linklike:hover, .footer-legal a:hover { color: var(--accent); }
.footer-legal a { text-decoration: none; }
.cookies-page h2 { font-size: 1.4rem; margin-top: 2rem; }
.cookies-page table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: .95rem; }
.cookies-page th, .cookies-page td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookies-page th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 560px) { .cookies-page table, .cookies-page tbody, .cookies-page tr, .cookies-page td { display: block; } .cookies-page thead { display: none; } .cookies-page tr { padding: .5rem 0; border-bottom: 1px solid var(--line); } .cookies-page td { border: 0; padding: .15rem 0; } }
