/*
Theme Name: SpolecneVM
Version: 1.0
Description: A child theme of Twenty Seventeen
Author: martin.kaman@spolecnevm.cz
Template: twentyseventeen
*/

@import url("../twentyseventeen/style.css");

/* === Fonts — headings: Roc Grotesk (Adobe Fonts kit lzz1hoc), body: Montserrat (hostovaný v theme,
   assets/fonts/montserrat.css — kit ho posílá bez českých znaků) === */
body,
button,
input,
select,
optgroup,
textarea {
	font-family: "montserrat", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.page-title,
.widget-title,
.main-navigation {
	font-family: "roc-grotesk", sans-serif;
}

/* === Brand gradients (recreated from the 2026 mockups, logo palette) ===
   The mockup PNGs carried no vector source, so the two header bands were
   colour-sampled across their width and rebuilt as horizontal CSS gradients
   (resolution-independent and full-bleed at any viewport — no raster/SVG
   needed since the sampled transition is a pure left→right linear blend).
     --grad-brand : top band on the front page — navy → cyan → green
     --grad-nav   : the menu band — the mirror, green → cyan → navy          */
:root {
	--grad-brand: linear-gradient(90deg,
		#2c3361 0%, #3a4b77 15%, #537b9f 25%, #6aa6cb 35%,
		#77bedc 47%, #74bbd9 66%, #82bcb0 80%,
		#9bbe64 90%, #a4bf3c 95%, #abc022 100%);
	--grad-nav: linear-gradient(90deg,
		#a7c026 0%, #a4bf3c 5%, #9bbe64 10%, #90bc8b 15%,
		#74bbd9 30%, #75bedc 50%, #6aa6cb 66%, #537b9f 75%,
		#3a4b77 86%, #2c3361 100%);
}

div#page #primary {
	max-width: 100%;
}

body.category-akce div#page #primary {
	max-width: 740px;
}

/* === Rubrika Akce: dvousloupcová mřížka pozvánek na širokých monitorech ===
   Do 1200px zůstává vše jako dosud (jeden sloupec, 740px). Nad tímto prahem se
   obsahový pruh rozšíří a pozvánky se skládají do mřížky 2 × N — grid plní
   buňky po řádcích, takže pořadí příspěvků (nejnovější první) zůstává zleva
   doprava. Jednotlivý box se tím zúží ze 740 na ~630px. */
@media screen and (min-width: 1200px) {
	body.category-akce div#content div.wrap {
		max-width: 1400px;
	}

	/* Stejná specificita jako pravidlo výše, jen později v souboru → přebije ho */
	body.category-akce div#page #primary,
	body.category-akce div#content .page-header {
		max-width: 100%;
	}

	body.category-akce #main {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		/* Mezera mezi boxy je výrazně větší než mezera mezi plakátem a textem
		   uvnitř boxu (2em), aby bylo jasné, co k čemu patří. */
		column-gap: 4em;
		row-gap: 0;
		align-items: start;
	}

	/* min-width:0 = grid buňka se smí zúžit pod šířku svého obsahu (plakátu) */
	body.category-akce #main > article {
		min-width: 0;
	}

	/* Stránkování patří pod celou mřížku, ne do jedné buňky */
	body.category-akce #main > .navigation {
		grid-column: 1 / -1;
	}
}

h1.entry-title {
	font-size: 1.6em !important;
}

/* Menu sizing lives in the header block below (px-based so it stays consistent
   across Twenty Seventeen's per-breakpoint em base — see .navigation-top #top-menu). */

/* === Front-page top band: two-tone logo (white "Společně" + navy VM mark)
   on the navy→cyan→green gradient (matches mockup 02a) === */
.brand-bar {
	background: var(--grad-brand);
	text-align: center;
	padding: 18px 16px;
	line-height: 0;
}

.brand-bar-logo {
	display: inline-block;
	line-height: 0;
}

.brand-bar-logo img {
	display: block;
	width: clamp(200px, 20vw, 280px);
	height: auto;
}

/* === Menu band: green→cyan→navy gradient, white bold menu === */
.navigation-top {
	background: var(--grad-nav);
	border-top: 0;
	border-bottom: 0;
	/* Twenty Seventeen pins the bar to the bottom of the custom header with
	   position:absolute;bottom:0 (desktop). Our bands flow normally instead — we
	   pin it ourselves via .nav-stuck — so reset it back into the flow. */
	position: static;
	bottom: auto;
}

.navigation-top .wrap {
	position: relative;
	padding-top: 0;
	padding-bottom: 0;
}

/* Top-level links white & bold; sub-menus keep the parent theme's light panel.
   Size is fixed in px (not em) so desktop and mobile match the mockup's bold
   grotesk instead of drifting with Twenty Seventeen's per-breakpoint font base. */
.navigation-top #top-menu > li > a {
	color: #fff;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
	padding: 0.95em 0.6em;
}

.navigation-top #top-menu > li > a:hover {
	opacity: 0.82;
}

.navigation-top #top-menu > li.current-menu-item > a,
.navigation-top #top-menu > li.current_page_item > a,
.navigation-top #top-menu > li.current-menu-ancestor > a {
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.navigation-top #top-menu > li > .dropdown-toggle .icon {
	color: #fff;
}

/* The parent theme's front-page "scroll to content" arrow clashes with the band */
.navigation-top .menu-scroll-down {
	display: none;
}

/* === Navy VM mark in the menu band, left (matches mockup 02b) === */
.nav-mark {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	line-height: 0;
}

.nav-mark img {
	height: 44px;
	width: auto;
	display: block;
}

/* Inner pages show the mark permanently; on the front page the logo already
   lives in the top band, so the mark only fades in once the bar pins on scroll.
   When the mark is present the menu is pushed right so the two never overlap. */
.navigation-top.nav-on-front .nav-mark {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.navigation-top.nav-on-front.nav-stuck .nav-mark {
	opacity: 1;
	pointer-events: auto;
}

.navigation-top:not(.nav-on-front) .main-navigation,
.navigation-top.nav-stuck .main-navigation {
	padding-left: 88px;
}

/* === Sticky menu band — handled uniformly at every width by
   assets/sticky-mobile-nav.js (toggles .nav-stuck). Neutralise Twenty
   Seventeen's own desktop sticky class so the two don't fight. === */
.site-navigation-fixed.navigation-top {
	position: static;
	top: auto;
	width: auto;
}

.navigation-top.nav-stuck {
	position: fixed;
	top: 0;
	bottom: auto;
	left: 0;
	right: 0;
	z-index: 900;
	background: var(--grad-nav);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.admin-bar .navigation-top.nav-stuck {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .navigation-top.nav-stuck {
		top: 46px;
	}
}

/* === Social icons in the menu band (variant D — "Sledujte nás" pillbox) ===
   Sits absolute-right in .navigation-top .wrap, over the navy end of the band.
   White glyphs in one translucent pill with a label; each icon highlights on hover.
   Markup comes from Twenty Seventeen's social menu (footer mechanism reused). */
.header-social {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 6px 8px 6px 16px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.30);
	border-radius: 999px;
}

.header-social-label {
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	white-space: nowrap;
	margin-right: 6px;
}

/* Reset the parent theme's social menu list to a tight inline row */
.header-social .social-links-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-social .social-links-menu li {
	margin: 0;
}

.header-social .social-links-menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #fff;
	transition: background 0.18s ease, color 0.18s ease;
}

.header-social .social-links-menu a:hover,
.header-social .social-links-menu a:focus {
	background: rgba(255, 255, 255, 0.92);
	color: var(--navy, #2c3361);
}

.header-social .social-links-menu .icon {
	width: 20px;
	height: 20px;
	display: block;
	fill: currentColor;
}

/* The pill sits over the navy end of the menu band, which keeps its gradient on
   the front page too — so show it there as well (it never floats over the hero). */
.navigation-top.nav-on-front .header-social {
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.25s ease;
}

/* Reserve room on the right so the menu never grows under the pill (desktop). */
@media screen and (min-width: 48em) {
	.navigation-top .main-navigation {
		padding-right: 215px;
	}
}

/* On a phone the hamburger and the icons group together at the RIGHT edge of the
   single-row band (hamburger first, then icons at the very edge); the VM mark keeps
   the left. No pill wrapper, no label. Each icon keeps its own translucent navy
   disc so the white glyphs stay legible over the band. */
@media screen and (max-width: 47.9375em) {
	.header-social {
		position: absolute;
		right: 0.75em;
		left: auto;
		top: 28px;
		transform: translateY(-50%);
		margin: 0;
		padding: 0;
		background: none;
		border: 0;
	}

	.header-social-label {
		display: none;
	}

	.header-social .social-links-menu a {
		background: rgba(44, 51, 97, 0.45);
	}
}

/* === Front-page hero (team photo) === */
.front-hero {
	position: relative;
	/* Responsive height in vw keeps the crop consistent at every width (so the
	   team's feet stay in frame) while the element always stays full-width.
	   NB: do NOT use aspect-ratio + max-height here — when max-height clamps,
	   the browser shrinks the WIDTH to preserve the ratio, which breaks full-bleed
	   and left-aligns the photo on wide screens. */
	height: clamp(380px, 36vw, 760px);
	background-image: url("assets/hero.jpg");
	background-size: cover;
	background-position: center 50%;
	/* Cancel the inline margin-bottom Twenty Seventeen's global.js sets on the
	   custom header (we reserve sticky space ourselves via a JS spacer). */
	margin-bottom: 0 !important;
}

@media screen and (max-width: 600px) {
	/* On a phone the photo spans the full width (so nobody gets cropped off the
	   sides); a tall band would show too much river, so use a short, wide band
	   cropped tight around the people and their feet. */
	.front-hero {
		height: 40vw;
		min-height: 160px;
		background-position: center 40%;
	}
}

/* === Mobile menu band: VM mark left, hamburger right === */
@media screen and (max-width: 47.9375em) {
	.brand-bar {
		padding: 14px 16px;
	}

	/* Single-row band: mark left, social icons after it, hamburger right — all
	   absolutely positioned and vertically centred in this 56px row. */
	.navigation-top .wrap {
		min-height: 56px;
	}

	.nav-mark {
		left: 1em;
		top: 28px;
	}

	.nav-mark img {
		height: 38px;
	}

	/* Hamburger sits just left of the social icons (which hug the right edge at
	   ~0.75em + 3×34px). Vertically centred in the 56px row. */
	.navigation-top .menu-toggle {
		display: block;
		position: absolute;
		right: 130px;
		top: 28px;
		transform: translateY(-50%);
		margin: 0;
		color: #fff;
	}

	/* Don't reserve menu space for the mark on mobile — the opened menu is a
	   full-width dropdown panel, not an inline row */
	.navigation-top:not(.nav-on-front) .main-navigation,
	.navigation-top.nav-stuck .main-navigation {
		padding-left: 0;
	}

	/* The opened menu drops below the bar as a full-width panel, so the bar keeps
	   a fixed height and the mark/hamburger stay centred when the menu opens */
	.navigation-top .main-navigation {
		position: static;
	}

	.navigation-top #top-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		background: #fff;
		border-top: 1px solid #eee;
		box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
		z-index: 950;
	}

	/* Mobile dropdown links sit on a white panel — dark text, but keep the same
	   bold grotesk as desktop (just a touch smaller for the stacked list) */
	.navigation-top #top-menu > li > a {
		color: inherit;
		font-weight: 500;
		font-size: 20px;
		padding: 0.55em 1em;
	}
}

.post-thumbnail img:hover {
    opacity: 0.7;
}
.post-thumbnail img {
    -webkit-backface-visibility: hidden;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}


article.lide div.entry-content hr {
	margin-right: 2em;
	clear: both;
}

article.lide div.post-thumbnail {
	/*float: right;
	margin-left: 20px;*/
}

article.lide div.vzdelani, article.lide div.kontakt {
	float: right;
	margin-left: 20px;
	width: 50%;
	min-width: 200px;
	clear: both;
}

article.lide div.kontakt {
	margin-bottom: 1em;
}

article.lide div.vzdelani ul {
	font-size: 90%;
}

@media screen and (max-width: 30em) {
	article.lide div.kontakt, article.lide div.vzdelani {
	    float: none;
	    margin-left: 0px;
	    width: auto;
	}
	
	body.home div.entry-content figure.alignleft {
		display: block;
		float: none;
	} 
}

article ul li{
	margin-left: 1.5em;
	margin-bottom: 0.4em;
}

div.wp-block-column:first {
	margin-right: 1em;
}
div.wp-block-column + div.wp-block-column {
	margin-left: 1em;
}
                           	
@media only screen and (min-width: 600px) {
	div#pod-zahlavim {
		margin-left: 3.5em;
		margin-right: 3.5em;
	}
}

@media only screen and (max-width: 600px) {
	#id-320 .owl-prev, #id-320 .owl-next, #id-320 .carousel-slider-nav-icon {
		width: 40px !important;
		height: 40px !important;	
	}
}

.carousel-slider-hero__cell__description, .carousel-slider-hero__cell__heading, .cs-hero-button { 
	text-shadow: 0px 0px 5px black;
}

a.cs-hero-button:hover {
	text-shadow: none;
}

body.page-id-269 h3 {
	color: var(--teal);
	font-weight: 400;
}

article.post-27 div.wrap {
	max-width: 1000px !important;
}

/* === Lightbox plakátů (assets/lightbox.js) === */

.sv-zoomable {
	cursor: zoom-in;
}

.sv-lightbox {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	/* nad přišpendlenou lištou menu (z-index 900) */
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3vmin;
	background: rgba(0, 0, 0, 0.88);
	cursor: zoom-out;
}

/* display:flex výše by jinak přebil atribut hidden */
.sv-lightbox[hidden] {
	display: none;
}

.sv-lightbox img {
	max-width: 94vw;
	max-height: 94vh;
	width: auto;
	height: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.sv-lightbox-close {
	position: absolute;
	top: 12px;
	right: 16px;
	padding: 0 0.35em 0.15em;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
}

.sv-lightbox-close:hover,
.sv-lightbox-close:focus {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

/* Stránka pod otevřeným lightboxem se nemá rolovat */
body.sv-lightbox-open {
	overflow: hidden;
}

/* === Události (events) === */

.udalost-meta {
	background: #f7f7f7;
	border-left: 4px solid var(--lime);
	padding: 1em 1.5em;
	margin-bottom: 1.5em;
	line-height: 1.8;
}

.udalost-meta-item {
	margin-bottom: 0.2em;
}

.udalost-fb-link {
	display: inline-block;
	background: var(--navy);
	color: #fff;
	padding: 0.3em 1em;
	border-radius: 3px;
	text-decoration: none;
	font-size: 0.9em;
	margin-top: 0.3em;
}

.udalost-fb-link:hover {
	background: var(--teal);
	color: #fff;
}

.udalost-poster {
	margin-bottom: 1.5em;
}

.udalost-poster img {
	max-width: 100%;
	height: auto;
}

/* Archive — event cards */

.udalosti-section {
	margin-bottom: 2em;
}

.udalosti-list {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.udalost-card {
	display: flex;
	gap: 1.5em;
	padding: 1em;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
}

.udalost-card-past {
	opacity: 0.7;
}

.udalost-card-thumb {
	flex-shrink: 0;
	width: 200px;
}

.udalost-card-thumb img {
	width: 100%;
	height: auto;
	border-radius: 3px;
}

.udalost-card-body {
	flex: 1;
	min-width: 0;
}

.udalost-card-date {
	color: var(--teal);
	font-weight: 600;
	margin-bottom: 0.3em;
}

.udalost-card-title {
	margin: 0 0 0.3em;
	font-size: 1.2em;
}

.udalost-card-title a {
	text-decoration: none;
}

.udalost-card-misto {
	color: #666;
	font-size: 0.9em;
}

.udalost-card-excerpt {
	font-size: 0.9em;
	margin-top: 0.5em;
	color: #444;
}

@media screen and (max-width: 600px) {
	.udalost-card {
		flex-direction: column;
		gap: 0.5em;
	}

	.udalost-card-thumb {
		width: 100%;
	}
}


/* =====================================================================
   === 2026 — designový systém pro volební web ===
   Proměnné vycházejí z palety loga a hlavičky (navy → cyan → green).
   Hlavička zůstává, tělo stránek staví na těchto stavebních prvcích:
   tlačítka .btn, pásy .fp-band, karty .kand-card / .akce-card, profil .osoba.
   ===================================================================== */
/* Paleta = logomanuál Společně VM, str. 12 (hodnoty HEX pro web).
   Základní: tmavě modrá, světle modrá, gradient (60 % světle modrá / 20 % tmavě
   modrá / 20 % limetková — tmavě modrá a limetková se nikdy nedotýkají).
   Doplňkové (detaily, zvýraznění, bannery): sytě tyrkysová, šalvějová,
   limetková, korálová. Hlavičkové gradienty výš v souboru jsou vzorkované
   z mockupů grafičky a zůstávají. */
:root {
	--navy: #2c325e;      /* tmavě modrá */
	--navy-2: #3d4577;    /* světlejší odstín tmavě modré pro přechody */
	--navy-3: #22284c;    /* tmavší odstín pro hloubku pásů */
	--blue-light: #91b9d5; /* světle modrá */
	--teal: #007989;      /* sytě tyrkysová — odkazy, data, akcenty */
	--sage: #68b393;      /* šalvějová — štítky, drobné akcenty */
	--lime: #b4d344;      /* limetková — tlačítka, čísla, zvýraznění */
	--coral: #f27370;     /* korálová — jen pro výjimečné upozornění */
	/* aliasy, aby starší pravidla níž dál fungovala */
	--blue: var(--teal);
	--cyan: var(--blue-light);
	--green: var(--lime);
	--green-2: #9dbf2c;
	--ink: #1f2330;
	--muted: #5f6577;
	--paper: #fff;
	--paper-2: #f3f6fa;
	--line: #e3e8ef;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(44, 50, 94, 0.10);
	--shadow-hover: 0 16px 40px rgba(44, 50, 94, 0.18);
}

/* Odkazy uvnitř karet a tlačítek: Twenty Seventeen podtrhává přes box-shadow,
   to u karet nechceme. */
.btn,
.kand-card,
.akce-card a,
.akce-filtr a,
.fp-more,
.osoba-nav a,
.fp-post-card a {
	box-shadow: none !important;
	text-decoration: none !important;
}

/* --- Tlačítka --- */
.btn {
	display: inline-block;
	padding: 0.8em 1.6em;
	border-radius: 999px;
	font-family: "roc-grotesk", sans-serif;
	font-weight: 600;
	font-size: 1.05em;
	line-height: 1.2;
	color: #fff;
	background: var(--navy);
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
	color: #fff;
}

.btn-green {
	background: var(--green);
	color: var(--navy-3);
}

.btn-green:hover,
.btn-green:focus {
	background: #b6cf4a;
	color: var(--navy-3);
}

.btn-outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.btn-outline:hover,
.btn-outline:focus {
	background: rgba(255, 255, 255, 0.12);
}

.btn-outline-navy {
	background: transparent;
	border-color: var(--navy);
	color: var(--navy);
}

.btn-outline-navy:hover,
.btn-outline-navy:focus {
	background: var(--navy);
	color: #fff;
}

.btn-sm {
	font-size: 0.9em;
	padding: 0.55em 1.2em;
}

/* --- Širší obsahový pruh pro mřížky (kandidátka, akce, profil, úvodka) --- */
body.home #content .wrap,
body.blog #content .wrap,
body.single-kandidatka #content .wrap,
body.single-lide #content .wrap,
body.post-type-archive-udalost #content .wrap,
body.tax-typ_udalosti #content .wrap {
	max-width: 1200px;
}

body.single-kandidatka #content .page-header,
body.post-type-archive-udalost #content .page-header,
body.tax-typ_udalosti #content .page-header,
body.single-lide #content .entry-header,
body.single-kandidatka #content .entry-header,
body.single-lide #content .entry-content,
body.single-kandidatka #content .entry-content {
	float: none;
	width: auto;
	max-width: none;
}

/* Úvodka: pásy se lepí rovnou pod menu, bez horní mezery Twenty Seventeen */
body.home .site-content,
body.blog .site-content {
	padding-top: 0;
}

/* =====================================================================
   Úvodní stránka — pásy
   ===================================================================== */
.fp-band {
	padding: clamp(2.5em, 6vw, 4.5em) 0;
}

.fp-band--paper {
	background: var(--paper-2);
}

.fp-band--navy {
	background: var(--navy);
	color: #fff;
}

.fp-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1em 2em;
	flex-wrap: wrap;
	margin-bottom: 1.6em;
}

.fp-title {
	font-size: clamp(1.7em, 3vw, 2.3em);
	line-height: 1.15;
	margin: 0;
	color: var(--navy);
	font-weight: 700;
}

.fp-band--navy .fp-title {
	color: #fff;
}

.fp-sub {
	margin: 0.4em 0 0;
	color: var(--muted);
	font-size: 1.05em;
}

.fp-band--navy .fp-sub {
	color: rgba(255, 255, 255, 0.8);
}

.fp-more {
	font-family: "roc-grotesk", sans-serif;
	font-weight: 600;
	color: var(--navy);
	white-space: nowrap;
}

.fp-more:hover {
	color: var(--blue);
}

.fp-band--navy .fp-more {
	color: var(--green);
}

.fp-eyebrow {
	margin: 0 0 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82em;
	font-weight: 700;
	color: var(--green);
}

/* --- Hero: volby --- */
.fp-volby {
	background: radial-gradient(120% 140% at 0% 0%, var(--navy-2) 0%, var(--navy) 55%, var(--navy-3) 100%);
	position: relative;
	overflow: hidden;
	color: #fff;
}

.fp-volby-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
	gap: 3em;
	align-items: center;
}

.fp-h1 {
	margin: 0 0 0.3em;
	font-size: clamp(2.6em, 6.5vw, 4.6em);
	line-height: 0.98;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
}

.fp-lead {
	margin: 0;
	max-width: 34em;
	font-size: clamp(1.05em, 1.6vw, 1.25em);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.fp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin-top: 1.6em;
}

.fp-volby-box {
	padding: 1.6em 1.7em;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(4px);
}

.fp-countdown {
	display: flex;
	align-items: baseline;
	gap: 0.4em;
	margin-bottom: 0.8em;
	line-height: 1;
}

.fp-countdown-num {
	font-family: "roc-grotesk", sans-serif;
	font-size: 4.6em;
	font-weight: 700;
	color: var(--green);
	line-height: 0.9;
}

.fp-countdown-label {
	font-size: 1.15em;
	font-weight: 600;
}

.fp-volby-box dl {
	margin: 0 0 1em;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3em 1em;
}

.fp-volby-box dt {
	font-weight: 700;
	color: var(--green);
	white-space: nowrap;
}

.fp-volby-box dd {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}

.fp-volby-box .fp-more {
	color: #fff;
	text-decoration: underline !important;
	text-underline-offset: 4px;
}

.fp-volby-box .fp-more:hover {
	color: var(--green);
}

.fp-volby--po .fp-h1 {
	font-size: clamp(2.2em, 5vw, 3.6em);
}

/* --- Kandidáti na úvodce: jedna řada 8 karet --- */
.kand-grid--fp {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media screen and (min-width: 900px) {
	.kand-grid--fp {
		grid-template-columns: repeat(8, minmax(0, 1fr));
		gap: 1em;
	}

	.kand-grid--fp .kand-card-body {
		padding: 0.7em 0.7em 0.8em;
	}

	.kand-grid--fp .kand-name {
		font-size: 0.92em;
	}

	.kand-grid--fp .kand-tit,
	.kand-grid--fp .kand-pov {
		display: none;
	}
}

/* --- Program v kostce: dlaždice --- */
.fp-program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.4em;
}

.fp-program-tile {
	padding: 1.5em 1.6em 1.4em;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	border-top: 5px solid var(--green);
}

.fp-program-tile:nth-child(2n) {
	border-top-color: var(--cyan);
}

.fp-program-tile:nth-child(3n) {
	border-top-color: var(--navy);
}

.fp-program-tile h3 {
	margin: 0 0 0.6em;
	font-size: 1.15em;
	line-height: 1.25;
	color: var(--navy);
}

.fp-program-tile ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-program-tile li {
	margin: 0 0 0.45em;
	padding-left: 1.2em;
	position: relative;
	color: var(--ink);
	line-height: 1.45;
}

.fp-program-tile li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--green);
}

/* --- Čísla (povedlo se) --- */
.fp-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5em 2em;
	text-align: center;
}

.fp-stat-num {
	display: block;
	font-family: "roc-grotesk", sans-serif;
	font-size: clamp(2.4em, 5vw, 3.6em);
	font-weight: 700;
	line-height: 1;
	color: var(--green);
}

.fp-stat-label {
	display: block;
	margin-top: 0.5em;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1em;
	line-height: 1.4;
}

/* --- Podpořte nás --- */
.fp-podpora {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
	gap: 2.5em;
	align-items: center;
}

.fp-ucet {
	padding: 1.4em 1.6em;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	text-align: center;
}

.fp-ucet-label {
	display: block;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	font-weight: 700;
}

.fp-ucet-num {
	display: block;
	margin: 0.2em 0 0.6em;
	font-family: "roc-grotesk", sans-serif;
	font-size: clamp(1.4em, 3vw, 1.9em);
	font-weight: 700;
	color: var(--navy);
	white-space: nowrap;
}

/* --- Aktuálně: poslední články --- */
.fp-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.4em;
}

.fp-post-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
}

.fp-post-card-img {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--paper-2);
	overflow: hidden;
}

.fp-post-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fp-post-card-body {
	padding: 1em 1.2em 1.2em;
}

.fp-post-card time {
	font-size: 0.82em;
	font-weight: 700;
	color: var(--blue);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.fp-post-card h3 {
	margin: 0.25em 0 0.4em;
	font-size: 1.1em;
	line-height: 1.3;
}

.fp-post-card h3 a {
	color: var(--navy);
}

.fp-post-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.93em;
}

@media screen and (max-width: 782px) {
	.fp-volby-grid,
	.fp-podpora {
		grid-template-columns: 1fr;
		gap: 1.8em;
	}

	.fp-countdown-num {
		font-size: 3.6em;
	}
}

/* =====================================================================
   Kandidátka — mřížka karet
   ===================================================================== */
.kand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 1.4em;
	margin: 0 0 2em;
}

.kand-card {
	position: relative;
	display: block;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow) !important;
	color: var(--ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kand-card:hover,
.kand-card:focus {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover) !important;
}

.kand-card-foto {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--paper-2);
}

.kand-card-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.kand-card:hover .kand-card-foto img {
	transform: scale(1.04);
}

.kand-num {
	position: absolute;
	top: 0.7em;
	left: 0.7em;
	width: 2.3em;
	height: 2.3em;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-family: "roc-grotesk", sans-serif;
	font-weight: 700;
	font-size: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.kand-card-body {
	display: block;
	padding: 0.9em 1em 1.1em;
}

.kand-name {
	display: block;
	font-family: "roc-grotesk", sans-serif;
	font-weight: 600;
	font-size: 1.08em;
	line-height: 1.25;
	color: var(--navy);
}

.kand-tit {
	display: block;
	font-size: 0.78em;
	color: var(--muted);
	margin-top: 0.15em;
}

.kand-pov {
	display: block;
	font-size: 0.9em;
	color: var(--muted);
	margin-top: 0.35em;
}

.kand-uvod {
	max-width: 46em;
	font-size: 1.08em;
	margin-bottom: 2em;
}

.kand-cta {
	margin-top: 1em;
	padding: 1.8em 2em;
	border-radius: var(--radius);
	background: var(--paper-2);
	display: flex;
	flex-wrap: wrap;
	gap: 1em 1.5em;
	align-items: center;
	justify-content: space-between;
}

.kand-cta p {
	margin: 0;
	font-size: 1.05em;
	color: var(--navy);
	font-weight: 600;
}

/* =====================================================================
   Profil kandidáta / osoby
   ===================================================================== */
.osoba-hlava {
	display: grid;
	grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
	gap: 2.5em;
	align-items: start;
	margin-bottom: 2.2em;
}

.osoba-foto img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: block;
}

.osoba-hlava .entry-header {
	margin: 0;
}

.osoba-hlava h1.entry-title {
	font-size: clamp(1.9em, 4vw, 2.7em) !important;
	line-height: 1.1;
	margin: 0.1em 0 0.35em;
	color: var(--navy);
}

.osoba-meta {
	margin: 0;
	color: var(--muted);
	font-size: 1.08em;
}

.osoba-meta strong {
	color: var(--ink);
}

.osoba-motto {
	margin: 1.3em 0 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--green);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--paper-2);
	font-style: italic;
	font-size: 1.08em;
	line-height: 1.6;
	color: var(--ink);
	quotes: "\201E" "\201C";
}

.osoba-motto p {
	margin: 0;
}

.osoba-motto p::before {
	content: open-quote;
}

.osoba-motto p::after {
	content: close-quote;
}

.osoba-text {
	max-width: 44em;
	font-size: 1.03em;
}

.osoba-historie {
	margin-top: 2.2em;
	padding-top: 1.2em;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.95em;
}

.osoba-historie a {
	color: var(--navy);
}

.osoba-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.8em;
	margin-top: 2.4em;
	padding-top: 1.5em;
	border-top: 1px solid var(--line);
}

.osoba-nav a {
	display: inline-block;
	padding: 0.55em 1.1em;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--navy);
	font-weight: 600;
	font-size: 0.95em;
}

.osoba-nav a:hover {
	background: var(--navy);
	color: #fff;
}

@media screen and (max-width: 640px) {
	.osoba-hlava {
		grid-template-columns: 1fr;
		gap: 1.4em;
	}

	.osoba-foto {
		max-width: 320px;
	}
}

/* =====================================================================
   Akce — karty s plakátem, archiv po letech, filtr podle typu
   ===================================================================== */
.akce-uvod {
	max-width: 46em;
	color: var(--muted);
	font-size: 1.05em;
	margin: 0 0 1.4em;
}

.akce-filtr {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0 0 2em;
}

.akce-filtr a {
	display: inline-block;
	padding: 0.45em 1.05em;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--navy);
	font-weight: 600;
	font-size: 0.92em;
	transition: background 0.15s ease, color 0.15s ease;
}

.akce-filtr a.is-active,
.akce-filtr a:hover {
	background: var(--navy);
	color: #fff;
}

.akce-sekce {
	margin-bottom: 2.5em;
}

.akce-sekce-nadpis {
	margin: 0 0 1em;
	font-size: 1.6em;
	color: var(--navy);
}

.akce-rok {
	display: inline-block;
	margin: 1.6em 0 1em;
	padding-bottom: 0.1em;
	font-size: 1.9em;
	color: var(--navy);
	border-bottom: 4px solid var(--green);
}

.akce-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1.4em;
}

.akce-grid--hlavni {
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 1.8em;
}

.akce-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.akce-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.akce-card-plakat {
	display: block;
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: linear-gradient(160deg, var(--navy) 0%, var(--blue-light) 45%, var(--blue-light) 70%, var(--lime) 100%);
}

.akce-card-plakat img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.akce-card:hover .akce-card-plakat img {
	transform: scale(1.03);
}

.akce-card--minula .akce-card-plakat img {
	filter: saturate(0.9);
}

/* Bez plakátu: název typu na gradientu, ať karta nezeje prázdnotou */
.akce-card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 1em 1.1em;
	color: rgba(255, 255, 255, 0.85);
	font-family: "roc-grotesk", sans-serif;
	font-weight: 700;
	font-size: 1.1em;
	line-height: 1.2;
}

.akce-card-body {
	padding: 0.9em 1.05em 1.1em;
}

.akce-date {
	display: block;
	color: var(--blue);
	font-weight: 700;
	font-size: 0.82em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.akce-card h3 {
	margin: 0.25em 0 0.3em;
	font-size: 1.08em;
	line-height: 1.3;
}

.akce-card h3 a {
	color: var(--navy);
}

.akce-misto {
	margin: 0;
	color: var(--muted);
	font-size: 0.88em;
}

.akce-perex {
	margin: 0.5em 0 0;
	color: var(--ink);
	font-size: 0.92em;
	line-height: 1.5;
}

.akce-typ {
	display: inline-block;
	margin-top: 0.6em;
	padding: 0.15em 0.7em;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--muted);
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.akce-prazdno {
	padding: 1.4em 1.6em;
	border-radius: var(--radius);
	background: var(--paper-2);
	color: var(--muted);
}

/* Detail události: plakát vedle metadat */
.udalost-hlava {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
	gap: 2em;
	align-items: start;
	margin-bottom: 1.5em;
}

.udalost-hlava .udalost-poster img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.udalost-meta {
	border-left-color: var(--green);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--paper-2);
}

@media screen and (max-width: 640px) {
	.udalost-hlava {
		grid-template-columns: 1fr;
	}
}

/* =====================================================================
   Stránky s textem (program, o nás, financování)
   ===================================================================== */
body.page .entry-content h2 {
	color: var(--navy);
	margin-top: 1.8em;
}

body.page .entry-content h3 {
	color: var(--navy);
	font-weight: 600;
	margin-top: 1.6em;
}

body.page .entry-content p.perex {
	font-size: 1.15em;
	line-height: 1.6;
	color: var(--navy);
}

body.page .entry-content hr {
	border: 0;
	height: 4px;
	width: 4em;
	margin: 2.5em 0;
	background: var(--green);
}

body.page .entry-content table {
	border-collapse: collapse;
	margin: 1em 0 1.5em;
}

body.page .entry-content table td {
	padding: 0.6em 0.9em;
	border: 0;
	border-bottom: 1px solid var(--line);
}

body.page .entry-content table tr:nth-child(odd) td {
	background: var(--paper-2);
}

body.page .entry-content table td:last-child {
	text-align: right;
	white-space: nowrap;
	font-weight: 700;
	color: var(--navy);
}

body.page .entry-content .volby-cta {
	padding: 1.2em 1.5em;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	font-size: 1.1em;
}

.udalost-hlava--bez-plakatu {
	grid-template-columns: 1fr;
}

.udalost-zpet {
	margin-top: 0.6em;
	font-size: 0.9em;
}

.udalost-poster {
	margin: 0;
}

/* --- Doladění po prvním náhledu --- */

/* Kandidáti na úvodce: čtyři velké karty v řadě (na mobilu dvě), s profesí */
.kand-grid.kand-grid--fp {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.4em;
}

.kand-grid.kand-grid--fp .kand-card-body {
	padding: 0.9em 1em 1.1em;
}

.kand-grid.kand-grid--fp .kand-name {
	font-size: 1.05em;
}

.kand-grid.kand-grid--fp .kand-tit,
.kand-grid.kand-grid--fp .kand-pov {
	display: block;
}

@media screen and (max-width: 640px) {
	.kand-grid,
	.kand-grid.kand-grid--fp {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1em;
	}
}

/* Nadpisy archivů akcí a kandidátky — Twenty Seventeen je dělá drobné a šedé */
body.post-type-archive-udalost .page-header .page-title,
body.tax-typ_udalosti .page-header .page-title,
body.single-kandidatka h1.entry-title {
	font-size: clamp(2em, 4vw, 2.8em) !important;
	text-transform: none;
	letter-spacing: 0;
	color: var(--navy);
	font-weight: 700;
	margin: 0 0 0.3em;
}

body.post-type-archive-udalost .page-header,
body.tax-typ_udalosti .page-header {
	padding-bottom: 0.5em;
}

/* Plakáty v kartách: celý plakát (contain) nad rozmazanou kopií, aby se z něj nic neořízlo */
.akce-card-plakat img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.akce-card-plakat img.akce-card-blur {
	object-fit: cover;
	filter: blur(14px) saturate(1.15);
	transform: scale(1.12);
	opacity: 0.85;
}

.akce-card:hover .akce-card-plakat img {
	transform: scale(1.02);
}

.akce-card:hover .akce-card-plakat img.akce-card-blur {
	transform: scale(1.12);
}

/* --- Přebití starších pravidel z Přizpůsobit → Vlastní CSS (žijí v databázi, ne v theme) ---
   Tam je mj. `body.post-type-archive-udalost header.page-header { display: none }`
   (z doby, kdy archiv měl jen holý nadpis „Události"), `article#post-27 header.entry-header
   { display: none }` (stránka O nás se tehdy jmenovala „Úvod") a `div#content div.wrap
   { padding-top: 3em }`. Nová hlavička archivu i nadpis O nás mají být vidět a pásy na
   úvodce si odsazení řeší samy, proto tady vyšší specificita. Po nasazení je nejčistší
   ta pravidla z Vlastního CSS smazat. */
body.post-type-archive-udalost div#content header.page-header,
body.tax-typ_udalosti div#content header.page-header {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 1em;
}

body.page-id-27 article#post-27 header.entry-header {
	display: block;
}

body.home div#content .fp-band .wrap,
body.blog div#content .fp-band .wrap {
	padding-top: 0;
	padding-bottom: 0;
}

/* Nadpisy detailů událostí a stránek — stejná váha jako jinde v novém designu */
body.single-udalost h1.entry-title,
body.page:not(.home) h1.entry-title {
	font-size: clamp(1.8em, 3.6vw, 2.5em) !important;
	line-height: 1.15;
	color: var(--navy);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

body.single-udalost .entry-header {
	margin-bottom: 1.2em;
}

/* Vylosované číslo v boxu hero */
.fp-cislo {
	margin: 0 0 1em;
	padding: 0.7em 0.9em;
	border-radius: 10px;
	background: rgba(164, 191, 60, 0.16);
	font-size: 0.95em;
	line-height: 1.45;
}

.fp-cislo strong {
	color: var(--green);
	font-size: 1.15em;
	white-space: nowrap;
}

/* =====================================================================
   Typografie podle logomanuálu (str. 13): základní písmo Roc Grotesk
   v řezu Medium, doplňkové Montserrat v řezech Regular / Bold (+ kurzívy).
   Žádný SemiBold — kde bylo 600, je teď 500 (Roc Grotesk) nebo 700 (Montserrat).
   ===================================================================== */
h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.page-title,
.widget-title,
.main-navigation,
.fp-h1,
.fp-title,
.fp-countdown-num,
.fp-stat-num,
.fp-ucet-num,
.fp-more,
.btn,
.kand-name,
.kand-num,
.akce-card-placeholder,
body.page .entry-content h3,
body.single-kandidatka h1.entry-title,
body.post-type-archive-udalost .page-header .page-title,
body.tax-typ_udalosti .page-header .page-title,
body.single-udalost h1.entry-title,
body.page:not(.home) h1.entry-title,
.osoba-hlava h1.entry-title {
	font-weight: 500;
}

.navigation-top #top-menu > li > a {
	font-weight: 500;
}

.fp-countdown-label,
.akce-filtr a,
.osoba-nav a,
.kand-cta p,
.header-social-label {
	font-weight: 700;
}

/* Tlačítka a menu: Roc Grotesk Medium je lehčí než Bold, doladit velikost */
.btn {
	font-size: 1.08em;
	letter-spacing: 0.01em;
}

/* =====================================================================
   Značkové motivy z logomanuálu (návrh): jemné bílé „vlnky" jako na
   banneru (str. 14) v pozadí volebního hero a symbol VM jako vodoznak
   v pásu s čísly. Obojí je jen dekorace — nízká průhlednost, bez vlivu
   na čitelnost; jde vypnout smazáním těchto pravidel.
   ===================================================================== */
.fp-volby::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("assets/vlnky.svg") center / cover no-repeat;
	opacity: 0.16;
	pointer-events: none;
}

.fp-volby .wrap {
	position: relative;
}

.fp-band--navy {
	position: relative;
	overflow: hidden;
}

.fp-band--navy::after {
	content: "";
	position: absolute;
	right: -3%;
	bottom: -28%;
	width: 34%;
	aspect-ratio: 684 / 369;
	background: url("assets/mark-white.svg") center / contain no-repeat;
	opacity: 0.07;
	pointer-events: none;
}

.fp-band--navy .wrap {
	position: relative;
}

/* =====================================================================
   Podpora / fundraising — podle kampaňové grafiky (feed + stories, srpen 2026):
   seznam „na co přispíváte" se čtvercovými odrážkami, QR kód na účet.
   ===================================================================== */
.podpora {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
	gap: 2em 3em;
	align-items: start;
	margin: 0.5em 0 1.5em;
}

.podpora-seznam {
	list-style: none;
	margin: 0.6em 0 1.2em;
	padding: 0;
	columns: 2;
	column-gap: 2em;
}

.podpora-seznam li {
	margin: 0 0 0.45em;
	padding-left: 1.5em;
	position: relative;
	font-family: "roc-grotesk", sans-serif;
	font-weight: 500;
	font-size: 1.15em;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--navy);
	break-inside: avoid;
}

.podpora-seznam li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 0.75em;
	height: 0.75em;
	background: var(--lime);
}

.podpora-qr {
	margin: 0;
	padding: 1.2em;
	border-radius: var(--radius);
	background: var(--paper-2);
	text-align: center;
}

.podpora-qr img {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	margin: 0 auto 0.8em;
	border-radius: 8px;
	background: #fff;
}

.podpora-qr figcaption {
	font-size: 0.92em;
	line-height: 1.5;
	color: var(--muted);
}

.podpora-qr figcaption strong {
	color: var(--navy);
	white-space: nowrap;
}

.podpora-diky {
	font-family: "roc-grotesk", sans-serif;
	font-weight: 500;
	font-size: 1.25em;
	color: var(--navy);
	margin: 0 0 2em;
}

@media screen and (max-width: 640px) {
	.podpora {
		grid-template-columns: 1fr;
	}

	.podpora-seznam {
		columns: 1;
	}
}

/* QR na úvodce v boxu s účtem */
.fp-ucet-qr {
	display: block;
	width: 150px;
	height: auto;
	margin: 0 auto 0.8em;
	border-radius: 8px;
}

/* Patička 2026 — jeden kompaktní řádek: sociální sítě vlevo, copyright + povinné odkazy vpravo.
   Šířka .wrap kopíruje obsahový pruh (1 200 px na širokých stránkách, jinak 1 000 px z Twenty Seventeen). */
.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em 2em;
	padding-top: 1.25em;
	padding-bottom: 1.25em;
}

body.home .site-footer .wrap,
body.blog .site-footer .wrap,
body.single-kandidatka .site-footer .wrap,
body.single-lide .site-footer .wrap,
body.post-type-archive-udalost .site-footer .wrap,
body.tax-typ_udalosti .site-footer .wrap {
	max-width: 1200px;
}

.site-footer .social-navigation,
.site-footer .site-info {
	float: none;
	clear: none;
	width: auto;
	margin: 0;
}

.site-footer .social-navigation {
	flex: 0 0 auto;
}

.site-footer .site-info {
	flex: 1 1 0;         /* basis 0: nikdy nevytlačí ikony na další řádek, zalomí se uvnitř (odkazy pod copyright) */
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: baseline;
	gap: 0.2em 1.25em;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--muted);
	text-align: right;
}

.site-footer .site-info-links {
	white-space: nowrap;
}

.site-footer .site-info a {
	color: inherit;
	box-shadow: none;
	text-decoration: underline;
	text-decoration-color: rgba(95, 101, 119, 0.4);
	text-underline-offset: 0.15em;
}

.site-footer .site-info a:hover,
.site-footer .site-info a:focus {
	color: var(--navy);
	box-shadow: none;
	text-decoration-color: currentColor;
}

.site-footer .site-info-sep::before {
	content: "·";
	margin: 0 0.6em;
}

.site-footer .site-info-links .site-info-sep:first-child {
	display: none;
}

@media screen and (max-width: 640px) {
	.site-footer .wrap {
		justify-content: center;
	}

	.site-footer .site-info {
		flex-basis: 100%;
		justify-content: center;
		text-align: center;
	}

	.site-footer .site-info-copy {
		width: 100%;
	}
}
