/**
 * Vzhled webu HUMPOLECGO! — hlavička, patička, blog, detail článku a pomocné třídy
 * pro prvky v Elementoru (ručně kreslený kroužek, poznámka Huga, číslo kandidáta, odrážky).
 *
 * Barvy a písma přebírají hodnoty z globálního kitu Elementoru; výchozí hodnoty
 * odpovídají značce, kdyby kit nebyl na stránce načtený.
 *
 * @author Roman Hlaváček
 * @created 2026-09-14
 */

/* ==========================================================================
   Tokeny
   ========================================================================== */

:root {
	--hugo-blue: var(--e-global-color-primary, #464fa2);
	--hugo-green: var(--e-global-color-secondary, #00a890);
	--hugo-ink: var(--e-global-color-text, #1e2344);
	--hugo-muted: var(--e-global-color-hugo_muted, #5b6180);
	--hugo-mint: var(--e-global-color-hugo_mint, #eef7f4);
	--hugo-line: var(--e-global-color-hugo_line, #d7e5e0);
	--hugo-white: #ffffff;

	--hugo-font-display: "Red Hat Display", "Segoe UI", system-ui, -apple-system, sans-serif;
	--hugo-font-text: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;
	--hugo-font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

	--hugo-wrap: 1200px;
	--hugo-wrap-narrow: 720px;
	--hugo-gutter: clamp(16px, 4vw, 40px);
	--hugo-header-height: 72px;

	--hugo-space-1: 8px;
	--hugo-space-2: 16px;
	--hugo-space-3: 24px;
	--hugo-space-4: 40px;
	--hugo-space-5: 64px;
	--hugo-space-6: 96px;

	--hugo-radius: 18px;
	--hugo-radius-pill: 999px;
	--hugo-shadow: 0 1px 2px rgb(30 35 68 / 6%), 0 10px 30px rgb(30 35 68 / 8%);
	--hugo-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--hugo-focus: 3px solid var(--hugo-green);
}

html {
	scroll-padding-top: calc(var(--hugo-header-height) + var(--hugo-space-2));
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	background: var(--hugo-white);
	color: var(--hugo-ink);
	font-family: var(--hugo-font-text);
	-webkit-font-smoothing: antialiased;
}

:where(a, button):focus-visible {
	outline: var(--hugo-focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link.screen-reader-text:focus {
	z-index: 1000;
	top: var(--hugo-space-1);
	left: var(--hugo-space-1);
	width: auto;
	height: auto;
	padding: var(--hugo-space-1) var(--hugo-space-2);
	clip-path: none;
	background: var(--hugo-ink);
	color: var(--hugo-white);
}

.hugo-wrap {
	width: 100%;
	max-width: calc(var(--hugo-wrap) + 2 * var(--hugo-gutter));
	margin-inline: auto;
	padding-inline: var(--hugo-gutter);
}

.hugo-wrap--narrow {
	max-width: calc(var(--hugo-wrap-narrow) + 2 * var(--hugo-gutter));
}

.hugo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: var(--hugo-radius-pill);
	font-family: var(--hugo-font-display);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s var(--hugo-ease), transform 0.2s var(--hugo-ease);
}

.hugo-button:hover {
	transform: translateY(-1px);
}

.hugo-button--green {
	background: var(--hugo-green);
	color: var(--hugo-ink);
}

.hugo-button--green:hover {
	background: color-mix(in srgb, var(--hugo-green) 82%, var(--hugo-white));
	color: var(--hugo-ink);
}

/* ==========================================================================
   Hlavička
   ========================================================================== */

.hugo-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(255 255 255 / 94%);
	border-bottom: 1px solid transparent;
	backdrop-filter: saturate(1.4) blur(10px);
	transition: border-color 0.2s var(--hugo-ease), box-shadow 0.2s var(--hugo-ease);
}

.admin-bar .hugo-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.hugo-header.is-scrolled,
.hugo-header.is-menu-open {
	border-color: var(--hugo-line);
	box-shadow: 0 8px 24px rgb(30 35 68 / 6%);
}

.hugo-header__inner {
	display: flex;
	align-items: center;
	gap: var(--hugo-space-3);
	max-width: calc(var(--hugo-wrap) + 2 * var(--hugo-gutter));
	min-height: var(--hugo-header-height);
	margin-inline: auto;
	padding-inline: var(--hugo-gutter);
}

.hugo-header__brand {
	margin-right: auto;
	line-height: 0;
}

.hugo-header__brand .custom-logo {
	display: block;
	width: auto;
	max-width: min(62vw, 260px);
	height: auto;
	max-height: 30px;
}

.hugo-header__title {
	font-family: var(--hugo-font-display);
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
	color: var(--hugo-blue);
	text-decoration: none;
}

.hugo-header__toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--hugo-blue);
	cursor: pointer;
}

/* Kit Elementoru stylizuje všechna <button> jako tlačítka značky — přepínač menu je vrací do původní podoby. */
.hugo-header button.hugo-header__toggle,
.hugo-header button.hugo-header__toggle:hover,
.hugo-header button.hugo-header__toggle:focus {
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--hugo-blue);
	box-shadow: none;
}

.hugo-burger,
.hugo-burger::before,
.hugo-burger::after {
	display: block;
	width: 24px;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
	transition: transform 0.25s var(--hugo-ease), opacity 0.2s;
}

.hugo-burger {
	position: relative;
}

.hugo-burger::before,
.hugo-burger::after {
	position: absolute;
	left: 0;
	content: "";
}

.hugo-burger::before {
	transform: translateY(-8px);
}

.hugo-burger::after {
	transform: translateY(8px);
}

.is-menu-open .hugo-burger {
	background: transparent;
}

.is-menu-open .hugo-burger::before {
	background: currentColor;
	transform: rotate(45deg);
}

.is-menu-open .hugo-burger::after {
	background: currentColor;
	transform: rotate(-45deg);
}

.hugo-nav {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	display: none;
	flex-direction: column;
	gap: var(--hugo-space-3);
	padding: var(--hugo-space-1) var(--hugo-gutter) var(--hugo-space-4);
	border-bottom: 1px solid var(--hugo-line);
	background: var(--hugo-white);
}

.is-menu-open .hugo-nav {
	display: flex;
}

.hugo-nav__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hugo-nav__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--hugo-line);
	font-family: var(--hugo-font-display);
	font-size: 24px;
	font-weight: 800;
	color: var(--hugo-blue);
	text-decoration: none;
}

.hugo-nav__list .current-menu-item > a,
.hugo-nav__list .current_page_parent > a {
	color: var(--hugo-ink);
}

.hugo-nav__cta {
	align-self: flex-start;
}

@media (min-width: 900px) {
	.hugo-header__brand .custom-logo {
		max-height: 38px;
	}

	.hugo-header__toggle {
		display: none;
	}

	.hugo-nav {
		position: static;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: var(--hugo-space-4);
		padding: 0;
		border: 0;
		background: none;
	}

	.hugo-nav__list {
		flex-direction: row;
		gap: 28px;
	}

	.hugo-nav__list a {
		position: relative;
		padding: 8px 0;
		border: 0;
		font-size: 17px;
		font-weight: 700;
		color: var(--hugo-ink);
	}

	.hugo-nav__list a::after {
		position: absolute;
		right: 0;
		bottom: 2px;
		left: 0;
		height: 3px;
		border-radius: 3px;
		background: var(--hugo-green);
		content: "";
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s var(--hugo-ease);
	}

	.hugo-nav__list a:hover::after,
	.hugo-nav__list .current-menu-item > a::after,
	.hugo-nav__list .current_page_parent > a::after {
		transform: scaleX(1);
	}

	.hugo-nav__cta {
		align-self: auto;
	}
}

/* ==========================================================================
   Patička
   ========================================================================== */

.hugo-footer {
	background: var(--hugo-mint);
	color: var(--hugo-ink);
}

.hugo-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hugo-space-4);
	max-width: calc(var(--hugo-wrap) + 2 * var(--hugo-gutter));
	margin-inline: auto;
	padding: var(--hugo-space-5) var(--hugo-gutter) var(--hugo-space-4);
}

.hugo-footer__hugo {
	display: flex;
	align-items: flex-end;
	gap: var(--hugo-space-2);
}

.hugo-footer__image {
	width: 96px;
	height: auto;
}

.hugo-footer__note {
	margin: 0 0 var(--hugo-space-4);
}

.hugo-hand {
	font-family: var(--hugo-font-hand);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: var(--hugo-blue);
	transform: rotate(-4deg);
}

.hugo-footer__brand {
	margin: 0 0 var(--hugo-space-1);
	font-family: var(--hugo-font-display);
	font-size: 22px;
	font-weight: 900;
	color: var(--hugo-blue);
}

.hugo-footer__text {
	max-width: 42ch;
	margin: 0;
	color: var(--hugo-muted);
	line-height: 1.6;
}

.hugo-footer__title {
	margin: 0 0 var(--hugo-space-2);
	font-family: var(--hugo-font-display);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hugo-muted);
}

.hugo-election {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hugo-election__item {
	display: grid;
	gap: 2px;
}

.hugo-election__date {
	font-family: var(--hugo-font-display);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--hugo-blue);
}

.hugo-election__time {
	color: var(--hugo-muted);
	font-variant-numeric: tabular-nums;
}

.hugo-footer__mail {
	font-family: var(--hugo-font-display);
	font-size: 20px;
	font-weight: 800;
	color: var(--hugo-blue);
	text-decoration: underline;
	text-decoration-color: var(--hugo-green);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
	overflow-wrap: anywhere;
}

.hugo-social {
	display: flex;
	gap: 10px;
	margin: var(--hugo-space-3) 0 0;
	padding: 0;
	list-style: none;
}

.hugo-social__link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--hugo-white);
	color: var(--hugo-blue);
	box-shadow: inset 0 0 0 1.5px var(--hugo-line);
	transition: background-color 0.2s var(--hugo-ease), color 0.2s var(--hugo-ease);
}

.hugo-social__link:hover {
	background: var(--hugo-blue);
	color: var(--hugo-white);
}

.hugo-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.hugo-footer__bar {
	border-top: 1px solid var(--hugo-line);
}

.hugo-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hugo-space-1) var(--hugo-space-3);
	max-width: calc(var(--hugo-wrap) + 2 * var(--hugo-gutter));
	margin-inline: auto;
	padding: 18px var(--hugo-gutter);
	font-size: 14px;
	color: var(--hugo-muted);
}

.hugo-footer__copy {
	margin: 0;
}

.hugo-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hugo-space-1) var(--hugo-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hugo-footer__menu a {
	color: var(--hugo-muted);
	text-decoration: none;
}

.hugo-footer__menu a:hover {
	color: var(--hugo-blue);
	text-decoration: underline;
}

@media (min-width: 700px) {
	.hugo-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.hugo-footer__inner {
		grid-template-columns: 190px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	.hugo-footer__hugo {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.hugo-footer__image {
		width: 118px;
	}

	.hugo-footer__note {
		order: -1;
		margin: 0 0 var(--hugo-space-1);
	}
}

/* ==========================================================================
   Záhlaví podstránek (blog)
   ========================================================================== */

.hugo-page-head {
	padding-block: var(--hugo-space-5) var(--hugo-space-4);
	background: var(--hugo-mint);
}

.hugo-eyebrow {
	margin: 0;
	font-family: var(--hugo-font-display);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hugo-blue);
}

.hugo-page-head__title {
	max-width: 18ch;
	margin: var(--hugo-space-1) 0 var(--hugo-space-2);
	font-family: var(--hugo-font-display);
	font-size: clamp(38px, 6vw, 68px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--hugo-blue);
	text-wrap: balance;
}

.hugo-page-head__lead {
	max-width: 58ch;
	margin: 0;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
	color: var(--hugo-muted);
}

/* ==========================================================================
   Karty článků
   ========================================================================== */

.hugo-blog__list {
	display: grid;
	gap: var(--hugo-space-5);
	padding-block: var(--hugo-space-5) var(--hugo-space-6);
}

.hugo-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hugo-space-4) var(--hugo-space-3);
}

.hugo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--hugo-space-2);
}

.hugo-card__media {
	overflow: hidden;
	max-width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: var(--hugo-radius);
	background: var(--hugo-mint);
}

.hugo-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--hugo-ease);
}

.hugo-card:hover .hugo-card__media img {
	transform: scale(1.04);
}

.hugo-card__body {
	display: grid;
	gap: var(--hugo-space-1);
}

.hugo-meta {
	margin: 0;
	font-size: 14px;
	color: var(--hugo-muted);
	font-variant-numeric: tabular-nums;
}

.hugo-card .hugo-card__title {
	margin: 0;
	font-family: var(--hugo-font-display);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--hugo-ink);
	text-wrap: balance;
}

.hugo-card__link {
	color: inherit;
	text-decoration: none;
}

.hugo-card__link::after {
	position: absolute;
	inset: 0;
	content: "";
}

.hugo-card__link:focus-visible {
	outline: none;
}

.hugo-card:has(.hugo-card__link:focus-visible) {
	outline: var(--hugo-focus);
	outline-offset: 6px;
	border-radius: var(--hugo-radius);
}

.hugo-card:hover .hugo-card__title {
	color: var(--hugo-blue);
}

.hugo-card__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--hugo-muted);
}

@media (min-width: 640px) {
	.hugo-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.hugo-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hugo-card--featured {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		align-items: center;
		gap: var(--hugo-space-5);
	}

	.hugo-card--featured .hugo-card__title {
		font-size: clamp(28px, 3vw, 40px);
		line-height: 1.08;
	}

	.hugo-card--featured .hugo-card__excerpt {
		font-size: 18px;
	}
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--hugo-space-1);
}

.navigation.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 14px;
	border-radius: var(--hugo-radius-pill);
	font-family: var(--hugo-font-display);
	font-weight: 800;
	color: var(--hugo-blue);
	text-decoration: none;
	box-shadow: inset 0 0 0 1.5px var(--hugo-line);
}

.navigation.pagination .page-numbers.current {
	background: var(--hugo-blue);
	color: var(--hugo-white);
	box-shadow: none;
}

/* ==========================================================================
   Detail článku
   ========================================================================== */

.hugo-article__head {
	display: grid;
	gap: var(--hugo-space-1);
	padding-block: var(--hugo-space-4) var(--hugo-space-3);
}

.hugo-back {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--hugo-font-display);
	font-weight: 800;
	color: var(--hugo-blue);
	text-decoration: none;
}

.hugo-back:hover {
	text-decoration: underline;
	text-decoration-color: var(--hugo-green);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

.hugo-article__title {
	margin: 0;
	font-family: var(--hugo-font-display);
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 900;
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--hugo-blue);
	text-wrap: balance;
}

.hugo-article__media {
	margin-block: 0 var(--hugo-space-4);
}

.hugo-article__media img {
	display: block;
	width: 100%;
	max-height: 620px;
	border-radius: var(--hugo-radius);
	object-fit: cover;
}

.hugo-prose {
	padding-bottom: var(--hugo-space-5);
	font-size: 18px;
	line-height: 1.7;
	color: var(--hugo-ink);
}

.hugo-prose > * {
	margin-block: 0;
}

.hugo-prose > * + * {
	margin-top: 1.1em;
}

.hugo-prose h2,
.hugo-prose h3 {
	margin-top: 1.8em;
	font-family: var(--hugo-font-display);
	font-weight: 800;
	line-height: 1.15;
	color: var(--hugo-blue);
	text-wrap: balance;
}

.hugo-prose h2 {
	font-size: 28px;
}

.hugo-prose h3 {
	font-size: 22px;
}

.hugo-prose a {
	color: var(--hugo-blue);
	text-decoration-color: var(--hugo-green);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.hugo-prose img {
	height: auto;
	border-radius: 12px;
}

.hugo-prose ul,
.hugo-prose ol {
	padding-left: 1.2em;
}

.hugo-prose li + li {
	margin-top: 0.4em;
}

.hugo-prose blockquote {
	margin-inline: 0;
	padding: var(--hugo-space-2) var(--hugo-space-3);
	border-radius: 12px;
	background: var(--hugo-mint);
	font-family: var(--hugo-font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.4;
}

.hugo-related {
	padding-block: var(--hugo-space-5) var(--hugo-space-6);
	border-top: 1px solid var(--hugo-line);
}

.hugo-related__title {
	margin: 0 0 var(--hugo-space-4);
	font-family: var(--hugo-font-display);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 900;
	color: var(--hugo-blue);
}

/* ==========================================================================
   Pomocné třídy pro Elementor (pole „CSS třídy" u prvku)
   ========================================================================== */

/* Ručně zakroužkovaný text — např. termín voleb. */
.hugo-circled {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	isolation: isolate;
}

.hugo-circled::after {
	position: absolute;
	inset: -22% -9% -26% -7%;
	z-index: -1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 90' preserveAspectRatio='none'%3E%3Cpath d='M26 52C14 26 78 8 132 9c54 1 98 17 94 41-5 27-72 36-126 33C48 80 8 66 16 40 22 21 62 9 106 8' fill='none' stroke='%2300A890' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
	content: "";
}

/* Ručně psaná poznámka (Hugo). */
.hugo-note .elementor-heading-title,
.hugo-note p {
	font-family: var(--hugo-font-hand);
	font-weight: 600;
	line-height: 1;
	transform: rotate(-3deg);
}

/* Portrét kandidáta — jednotný výřez fotografie. */
.hugo-portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--hugo-radius);
	object-fit: cover;
	object-position: 50% 20%;
}

/* Pořadí na kandidátní listině. */
.hugo-number {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	margin-right: 10px;
	padding-inline: 8px;
	border-radius: var(--hugo-radius-pill);
	background: var(--hugo-green);
	font-family: var(--hugo-font-display);
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	color: var(--hugo-ink);
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
}

/* Odrážky programu. */
.hugo-bullets ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hugo-bullets li {
	position: relative;
	padding-left: 28px;
}

.hugo-bullets li::before {
	position: absolute;
	top: 0.5em;
	left: 2px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--hugo-green);
	content: "";
}

/* Ilustrace, která se nesmí roztáhnout přes celou šířku mobilu. */
.hugo-illustration img {
	width: 100%;
	max-width: 420px;
	height: auto;
}

/* Zvýraznění slov podtržením ve značkové zelené (hodnoty na úvodní stránce). */
.hugo-mark {
	background-image: linear-gradient(var(--hugo-green), var(--hugo-green));
	background-position: 0 92%;
	background-repeat: no-repeat;
	background-size: 100% 0.14em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Rychlá navigace po oblastech programu. */
.hugo-chips p {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.hugo-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: var(--hugo-radius-pill);
	background: var(--hugo-mint);
	box-shadow: inset 0 0 0 1.5px var(--hugo-line);
	font-family: var(--hugo-font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--hugo-blue);
	text-decoration: none;
	transition: background-color 0.2s var(--hugo-ease), box-shadow 0.2s var(--hugo-ease);
}

.hugo-chips a:hover {
	background: var(--hugo-white);
	box-shadow: inset 0 0 0 2px var(--hugo-green);
}

/* Karta oblasti programu (celá karta je odkaz). */
.hugo-program-card {
	text-decoration: none;
	transition: transform 0.25s var(--hugo-ease), box-shadow 0.25s var(--hugo-ease);
}

.hugo-program-card:hover {
	box-shadow: var(--hugo-shadow);
	transform: translateY(-3px);
}

/* Jméno a údaje kandidáta. */
.hugo-cand-name {
	display: flex;
	align-items: center;
	margin: 0;
	font-family: var(--hugo-font-display);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--hugo-ink);
}

.hugo-cand-meta {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--hugo-muted);
}

/* Odkaz na e-mail v kontaktu. */
.elementor-widget.hugo-mail .elementor-heading-title a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--hugo-green);
	text-decoration-thickness: 4px;
	text-underline-offset: 6px;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.hugo-cand-name {
		align-items: flex-start;
		font-size: 16px;
	}

	.hugo-cand-meta {
		font-size: 14px;
	}

	.hugo-number {
		min-width: 28px;
		height: 28px;
		margin-right: 8px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
