:root {
	--ks-bg: #130d25;
	--ks-bg-soft: #21143b;
	--ks-panel: rgba(255, 255, 255, 0.08);
	--ks-panel-strong: rgba(255, 255, 255, 0.14);
	--ks-text: #fff7f2;
	--ks-text-muted: rgba(255, 247, 242, 0.76);
	--ks-primary: #e91e63;
	--ks-primary-dark: #b9144b;
	--ks-secondary: #f7b731;
	--ks-light: #fff8f3;
	--ks-dark-text: #231829;
	--ks-radius: 28px;
	--ks-radius-sm: 18px;
	--ks-shadow: 0 26px 80px rgba(31, 11, 55, 0.35);
	--ks-width: min(1180px, calc(100vw - 48px));
	--ks-content-width: min(1180px, calc(100vw - 48px));
	--ks-plugin-width: min(1180px, calc(100vw - 48px));
}

html {
	scroll-behavior: smooth;
}

body.ks-landing {
	background: var(--ks-bg);
	color: var(--ks-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 18px;
	line-height: 1.65;
}

body.ks-landing * {
	box-sizing: border-box;
}

body.ks-landing a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

body.ks-landing h1,
body.ks-landing h2,
body.ks-landing h3,
body.ks-landing p,
body.ks-landing ul {
	margin-top: 0;
}

body.ks-landing h1,
body.ks-landing h2,
body.ks-landing h3 {
	font-family: inherit;
	font-weight: 850;
	letter-spacing: -0.04em;
	line-height: 1.03;
}

body.ks-landing h1 {
	font-size: clamp(3.2rem, 5vw, 7.4rem);
}

body.ks-landing h2 {
	font-size: clamp(2.8rem, 4.1vw, 5.8rem);
}

body.ks-landing h3 {
	font-size: clamp(2.1rem, 2.2vw, 3rem);
}

body.ks-landing .wp-site-blocks,
body.ks-landing #site-content {
	overflow: hidden;
}

body.ks-landing .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

.ks-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 80;
	background: rgba(19, 13, 37, 0.74);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.ks-header.is-scrolled {
	background: rgba(19, 13, 37, 0.94);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.ks-header__inner {
	width: var(--ks-width);
	min-height: 78px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 22px;
}

.ks-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 850;
	letter-spacing: -0.03em;
	text-decoration: none;
	white-space: nowrap;
}

.ks-brand__logo {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ks-primary), #ff7aa8);
	box-shadow: 0 12px 30px rgba(233, 30, 99, 0.35);
	overflow: hidden;
	flex: 0 0 auto;
}

.ks-brand__logo img {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ks-brand__heart {
	font-size: 23px;
	line-height: 1;
}

.ks-brand__text {
	font-size: 1.8rem;
}

.ks-nav {
	margin-left: auto;
}

.ks-nav__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	margin: 0;
}

.ks-nav__list a {
	display: inline-flex;
	padding: 10px 13px;
	border-radius: 999px;
	font-size: 1.45rem;
	font-weight: 740;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.78);
	transition: color 0.18s ease, background 0.18s ease;
}

.ks-nav__list a:hover,
.ks-nav__list a:focus {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.ks-header-cta,
.ks-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 0;
	font-size: 1.55rem;
	font-weight: 850;
	text-decoration: none;
	letter-spacing: -0.02em;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ks-header-cta,
.ks-button--primary {
	background: linear-gradient(135deg, var(--ks-primary), #ff6c9d);
	color: #fff;
	box-shadow: 0 16px 36px rgba(233, 30, 99, 0.32);
}

.ks-button--ghost {
	background: rgba(255, 255, 255, 0.11);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.ks-header-cta:hover,
.ks-button:hover,
.ks-header-cta:focus,
.ks-button:focus {
	transform: translateY(-2px);
	box-shadow: 0 22px 48px rgba(233, 30, 99, 0.35);
}

.ks-nav-toggle {
	display: none;
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font: inherit;
	font-size: 1.45rem;
	font-weight: 800;
	padding: 10px 16px;
}

.ks-main {
	padding-top: 78px;
}

.ks-section-inner {
	width: var(--ks-width);
	margin: 0 auto;
}

.ks-section {
	position: relative;
	padding: clamp(70px, 8vw, 120px) 0;
}

.ks-section--plugin {
	background:
		radial-gradient(circle at 0% 0%, rgba(233, 30, 99, 0.28), transparent 35%),
		linear-gradient(180deg, #1b1131 0%, #130d25 100%);
	padding-top: clamp(80px, 9vw, 130px);
}

.ks-section--light {
	background: var(--ks-light);
	color: var(--ks-dark-text);
}

.ks-section--split {
	background:
		linear-gradient(135deg, rgba(247, 183, 49, 0.15), transparent 50%),
		#1a1030;
}

.ks-section--content {
	background: #fff;
	color: var(--ks-dark-text);
}

.ks-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--ks-secondary);
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ks-kicker::before {
	content: "";
	display: inline-block;
	width: 36px;
	height: 3px;
	border-radius: 999px;
	background: currentColor;
}

.ks-section-heading {
	max-width: 760px;
	margin-bottom: 42px;
}

.ks-section-heading--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ks-section-heading--center .ks-kicker::before {
	display: none;
}

.ks-section-heading p {
	color: var(--ks-text-muted);
	font-size: clamp(1.7rem, 2vw, 2.1rem);
}

.ks-section--light .ks-section-heading p {
	color: rgba(35, 24, 41, 0.72);
}

.ks-plugin-output {
	position: relative;
	z-index: 2;
}

.ks-plugin-output > *:first-child {
	margin-top: 0;
}

.ks-plugin-output > *:last-child {
	margin-bottom: 0;
}

.ks-admin-note {
	max-width: 760px;
	margin: 24px auto 0;
	padding: 20px 24px;
	border-radius: var(--ks-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	border: 1px dashed rgba(255, 255, 255, 0.32);
	color: #fff;
	text-align: center;
}

.ks-hero {
	position: relative;
	min-height: min(820px, calc(100vh - 82px));
	display: flex;
	align-items: center;
	padding: clamp(70px, 9vw, 150px) 0;
	background: #160d2b;
	overflow: hidden;
}

.ks-hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 80% 25%, rgba(247, 183, 49, 0.28), transparent 25%),
		radial-gradient(circle at 13% 18%, rgba(233, 30, 99, 0.30), transparent 28%),
		linear-gradient(135deg, rgba(19, 13, 37, 0.92), rgba(29, 15, 49, 0.72)),
		linear-gradient(135deg, #2c174a, #120b21);
}

.ks-hero__bg::before,
.ks-hero__bg::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(4px);
	opacity: 0.9;
}

.ks-hero__bg::before {
	width: 520px;
	height: 520px;
	right: -130px;
	bottom: -170px;
	background: rgba(233, 30, 99, 0.16);
}

.ks-hero__bg::after {
	width: 290px;
	height: 290px;
	left: -70px;
	top: 30%;
	background: rgba(247, 183, 49, 0.15);
}

.ks-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.55fr);
	align-items: center;
	gap: clamp(32px, 6vw, 90px);
}

.ks-hero__content {
	max-width: 820px;
}

.ks-hero__lead {
	max-width: 690px;
	color: var(--ks-text-muted);
	font-size: clamp(1.85rem, 2.4vw, 2.35rem);
	line-height: 1.55;
}

.ks-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.ks-hero__card {
	position: relative;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--ks-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
	box-shadow: var(--ks-shadow);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(18px);
}

.ks-hero__badge {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ks-primary), #ff7ca9);
	font-size: 38px;
	box-shadow: 0 22px 55px rgba(233, 30, 99, 0.36);
}

.ks-hero__meta {
	font-size: clamp(2.2rem, 2.5vw, 3.2rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.04em;
}

.ks-hero__card ul {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
}

.ks-hero__card li {
	position: relative;
	padding: 12px 0 12px 34px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.84);
	font-weight: 720;
}

.ks-hero__card li::before {
	content: "♥";
	position: absolute;
	left: 0;
	color: var(--ks-secondary);
}

.ks-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ks-info-card {
	position: relative;
	padding: 34px;
	border-radius: var(--ks-radius);
	background: #fff;
	box-shadow: 0 20px 58px rgba(35, 24, 41, 0.1);
	border: 1px solid rgba(35, 24, 41, 0.08);
}

.ks-info-card__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: rgba(233, 30, 99, 0.1);
	color: var(--ks-primary);
	font-size: 1.35rem;
	font-weight: 950;
}

.ks-info-card p {
	color: rgba(35, 24, 41, 0.72);
}

.ks-split {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(30px, 6vw, 86px);
	align-items: start;
}

.ks-split p {
	color: var(--ks-text-muted);
	font-size: clamp(1.75rem, 2vw, 2.1rem);
}

.ks-entry-content {
	max-width: 920px;
}

.ks-entry-content > *:first-child {
	margin-top: 0;
}

.ks-footer {
	background: #0d0719;
	color: var(--ks-text);
	padding: clamp(64px, 8vw, 96px) 0 0;
}

.ks-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
	gap: 40px;
	align-items: start;
}

.ks-footer__grid p {
	color: var(--ks-text-muted);
}

.ks-footer__contact {
	padding: 26px;
	border-radius: var(--ks-radius-sm);
	background: rgba(255, 255, 255, 0.08);
}

.ks-footer__contact p:last-child {
	margin-bottom: 0;
}

.ks-footer__bottom {
	width: var(--ks-width);
	margin: 64px auto 0;
	padding: 24px 0;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 1.45rem;
	color: rgba(255, 255, 255, 0.62);
}

.ks-footer__bottom p {
	margin: 0;
}

/* Základní sjednocení možných boxů z pluginu bez závislosti na přesných třídách. */
.ks-plugin-output .ks-grid,
.ks-plugin-output .kskm-grid,
.ks-plugin-output .kskm-boxes,
.ks-plugin-output .ks-boxes,
.ks-plugin-output .cards,
.ks-plugin-output .team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ks-plugin-output .ks-card,
.ks-plugin-output .kskm-card,
.ks-plugin-output .kskm-box,
.ks-plugin-output .ks-box,
.ks-plugin-output .card,
.ks-plugin-output .team-card {
	border-radius: var(--ks-radius);
	box-shadow: var(--ks-shadow);
}

@media (max-width: 1100px) {
	.ks-nav__list a {
		font-size: 1.34rem;
		padding-inline: 9px;
	}

	.ks-header-cta {
		display: none;
	}
}

@media (max-width: 900px) {
	body.ks-landing {
		font-size: 17px;
	}

	.ks-header__inner {
		min-height: 74px;
	}

	.ks-main {
		padding-top: 74px;
	}

	.ks-nav-toggle {
		display: inline-flex;
	}

	.ks-nav {
		position: absolute;
		top: calc(100% + 10px);
		left: 20px;
		right: 20px;
		display: none;
		padding: 16px;
		border-radius: 24px;
		background: rgba(19, 13, 37, 0.98);
		box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
		border: 1px solid rgba(255, 255, 255, 0.12);
	}

	.ks-nav.is-open {
		display: block;
	}

	.ks-nav__list {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.ks-nav__list a {
		width: 100%;
		padding: 13px 14px;
	}

	.ks-brand__text {
		font-size: 1.55rem;
	}

	.ks-hero__inner,
	.ks-split,
	.ks-footer__grid {
		grid-template-columns: 1fr;
	}

	.ks-hero {
		min-height: auto;
	}

	.ks-card-grid,
	.ks-plugin-output .ks-grid,
	.ks-plugin-output .kskm-grid,
	.ks-plugin-output .kskm-boxes,
	.ks-plugin-output .ks-boxes,
	.ks-plugin-output .cards,
	.ks-plugin-output .team-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	:root {
		--ks-width: min(100% - 28px, 1180px);
	}

	body.ks-landing h1 {
		font-size: clamp(3rem, 13vw, 4.7rem);
	}

	body.ks-landing h2 {
		font-size: clamp(2.7rem, 10vw, 4.2rem);
	}

	.ks-section {
		padding: 62px 0;
	}

	.ks-section--plugin {
		padding-top: 70px;
	}

	.ks-header__inner {
		gap: 12px;
	}

	.ks-brand__logo {
		width: 40px;
		height: 40px;
	}

	.ks-brand__text {
		max-width: 160px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ks-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ks-button {
		width: 100%;
	}

	.ks-info-card,
	.ks-hero__card {
		padding: 26px;
	}

	.ks-footer__bottom {
		flex-direction: column;
		gap: 10px;
	}
}

/* Gutenbergová homepage --------------------------------------------------- */
body.ks-landing .ks-main--blocks {
	padding-top: 78px;
}

body.ks-landing .ks-front-content {
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ks-landing .ks-front-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

body.ks-landing .ks-front-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

body.ks-landing .ks-front-content .wp-block-group,
body.ks-landing .ks-front-content .wp-block-columns,
body.ks-landing .ks-front-content .wp-block-column {
	box-sizing: border-box;
}

body.ks-landing .ks-front-content .wp-block-group > .wp-block-group__inner-container,
body.ks-landing .ks-front-content .wp-block-cover__inner-container,
body.ks-landing .ks-front-content .wp-block-columns {
	width: var(--ks-width);
	max-width: var(--ks-width);
	margin-left: auto;
	margin-right: auto;
}

body.ks-landing .ks-front-content .wp-block-group.alignfull > .wp-block-group__inner-container {
	width: var(--ks-width);
	max-width: var(--ks-width);
}

body.ks-landing .ks-front-content .wp-block-button__link {
	min-height: 52px;
	padding: 15px 26px;
	border-radius: 999px;
	font-size: 1.6rem;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.ks-landing .ks-front-content .ks-button-primary .wp-block-button__link,
body.ks-landing .ks-front-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: linear-gradient(135deg, var(--ks-primary), #ff6c9d);
	color: #fff;
	box-shadow: 0 16px 36px rgba(233, 30, 99, 0.32);
}

body.ks-landing .ks-front-content .ks-button-ghost .wp-block-button__link,
body.ks-landing .ks-front-content .is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.11);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

body.ks-landing .ks-front-content .wp-block-button__link:hover,
body.ks-landing .ks-front-content .wp-block-button__link:focus {
	transform: translateY(-2px);
	box-shadow: 0 22px 48px rgba(233, 30, 99, 0.35);
}

body.ks-landing .ks-gb-hero {
	position: relative;
	min-height: calc(100vh - 82px);
	padding: clamp(72px, 9vw, 128px) 0;
	color: var(--ks-text);
	background:
		radial-gradient(circle at 82% 18%, rgba(247, 183, 49, 0.28), transparent 32%),
		radial-gradient(circle at 12% 78%, rgba(233, 30, 99, 0.34), transparent 34%),
		linear-gradient(135deg, #160c2a 0%, #311a55 48%, #7f1443 100%);
	overflow: hidden;
}

body.ks-landing .ks-gb-hero::before,
body.ks-landing .ks-gb-hero::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
}

body.ks-landing .ks-gb-hero::before {
	inset: auto -140px -190px auto;
	width: 460px;
	height: 460px;
	background: rgba(255, 255, 255, 0.09);
}

body.ks-landing .ks-gb-hero::after {
	inset: 18% auto auto -110px;
	width: 270px;
	height: 270px;
	background: rgba(247, 183, 49, 0.16);
}

body.ks-landing .ks-gb-hero > .wp-block-group__inner-container,
body.ks-landing .ks-gb-hero__grid {
	position: relative;
	z-index: 2;
}

body.ks-landing .ks-gb-hero__grid {
	gap: clamp(32px, 7vw, 92px);
	align-items: center;
}

body.ks-landing .ks-gb-kicker {
	margin-bottom: 18px;
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ks-secondary);
}

body.ks-landing .ks-gb-hero h1 {
	max-width: 820px;
	margin-bottom: 24px;
	color: #fff;
	font-size: clamp(3.5rem, 6.6vw, 8rem);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.96;
}

body.ks-landing .ks-gb-lead,
body.ks-landing .ks-gb-section-lead {
	font-size: clamp(1.8rem, 1.55vw, 2.25rem);
	line-height: 1.55;
}

body.ks-landing .ks-gb-lead {
	max-width: 720px;
	margin-bottom: 34px;
	color: rgba(255, 247, 242, 0.82);
}

body.ks-landing .ks-gb-actions {
	gap: 14px;
}

body.ks-landing .ks-gb-stat-card {
	position: relative;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--ks-radius);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: var(--ks-shadow);
	backdrop-filter: blur(16px);
}

body.ks-landing .ks-gb-stat-card h3 {
	margin-bottom: 18px;
	color: #fff;
}

body.ks-landing .ks-gb-stat-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ks-landing .ks-gb-stat-card li {
	position: relative;
	padding: 12px 0 12px 30px;
	color: rgba(255, 247, 242, 0.82);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

body.ks-landing .ks-gb-stat-card li::before {
	content: "♥";
	position: absolute;
	left: 0;
	color: var(--ks-secondary);
}

body.ks-landing .ks-gb-heart {
	width: 68px;
	height: 68px;
	margin: 0 0 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ks-primary), #ff7aa8);
	font-size: 34px;
	line-height: 1;
	box-shadow: 0 20px 44px rgba(233, 30, 99, 0.36);
}

body.ks-landing .ks-gb-section {
	padding: clamp(72px, 9vw, 120px) 0;
	background: var(--ks-bg);
	color: var(--ks-text);
}

body.ks-landing .ks-gb-section h2 {
	max-width: 900px;
	margin-bottom: 28px;
	color: #fff;
	font-size: clamp(3rem, 4.5vw, 6rem);
}

body.ks-landing .ks-gb-section p {
	color: var(--ks-text-muted);
}

body.ks-landing .ks-gb-section-light {
	background: var(--ks-light);
	color: var(--ks-dark-text);
}

body.ks-landing .ks-gb-section-light h2,
body.ks-landing .ks-gb-section-light h3,
body.ks-landing .ks-gb-about h2,
body.ks-landing .ks-gb-about h3 {
	color: var(--ks-dark-text);
}

body.ks-landing .ks-gb-section-light p,
body.ks-landing .ks-gb-about p {
	color: rgba(35, 24, 41, 0.72);
}

body.ks-landing .ks-gb-card-grid {
	gap: 24px;
	margin-top: 36px;
}

body.ks-landing .ks-gb-info-card {
	height: 100%;
	padding: 34px;
	border-radius: var(--ks-radius);
	background: #fff;
	box-shadow: 0 18px 60px rgba(48, 22, 70, 0.13);
}

body.ks-landing .ks-gb-info-card h3 {
	margin-bottom: 14px;
	font-size: clamp(2rem, 2vw, 2.8rem);
}

body.ks-landing .ks-gb-number {
	margin-bottom: 20px;
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	color: var(--ks-primary) !important;
}

body.ks-landing .ks-gb-plugin {
	background:
		linear-gradient(rgba(19, 13, 37, 0.9), rgba(19, 13, 37, 0.92)),
		radial-gradient(circle at 50% 0, rgba(233, 30, 99, 0.22), transparent 38%);
}

body.ks-landing .ks-gb-plugin .wp-block-shortcode {
	margin-top: 38px;
}

body.ks-landing .ks-gb-about {
	background: #fff;
	color: var(--ks-dark-text);
}

body.ks-landing .ks-gb-about .wp-block-columns {
	gap: clamp(32px, 6vw, 76px);
}

body.ks-landing .ks-gb-about code {
	padding: 0.12em 0.35em;
	border-radius: 8px;
	background: #fff0f6;
	color: var(--ks-primary-dark);
}

body.ks-landing .ks-gb-cta {
	background:
		radial-gradient(circle at 50% 0, rgba(247, 183, 49, 0.22), transparent 34%),
		linear-gradient(135deg, #241040, #681246);
	text-align: center;
}

body.ks-landing .ks-gb-cta h2 {
	margin-left: auto;
	margin-right: auto;
}

body.ks-landing .ks-gb-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 32px;
}

body.ks-landing .ks-admin-note,
body.ks-landing .ks-empty-homepage .ks-section-inner {
	padding: 28px;
	border-radius: var(--ks-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: var(--ks-shadow);
}

@media (max-width: 900px) {
	body.ks-landing .ks-main--blocks {
		padding-top: 74px;
	}

	body.ks-landing .ks-gb-hero {
		min-height: auto;
	}

	body.ks-landing .ks-front-content .wp-block-columns {
		width: var(--ks-width);
	}
}

@media (max-width: 620px) {
	body.ks-landing .ks-gb-hero,
	body.ks-landing .ks-gb-section {
		padding: 62px 0;
	}

	body.ks-landing .ks-gb-actions .wp-block-button,
	body.ks-landing .ks-gb-actions .wp-block-button__link {
		width: 100%;
	}

	body.ks-landing .ks-gb-info-card,
	body.ks-landing .ks-gb-stat-card {
		padding: 26px;
	}
}

/* Oprava Gutenberg layoutu v0.4.0 -----------------------------------------
 * Původní verze dávala pevnou šířku var(--ks-width) všem vnitřním
 * .wp-block-group__inner-container a všem .wp-block-columns. U vnořených
 * skupin/karet to způsobilo přetékání obsahu a rozpad sloupců.
 */
body.ks-landing .ks-header {
	background: rgba(19, 13, 37, 0.94) !important;
	color: #fff !important;
}

body.ks-landing .ks-header .ks-brand,
body.ks-landing .ks-header .ks-brand:visited,
body.ks-landing .ks-header .ks-nav__list a,
body.ks-landing .ks-header .ks-nav__list a:visited {
	color: rgba(255, 247, 242, 0.88) !important;
}

body.ks-landing .ks-header .ks-nav__list a:hover,
body.ks-landing .ks-header .ks-nav__list a:focus {
	color: #fff !important;
}

body.ks-landing .ks-front-content > .wp-block-group.alignfull > .wp-block-group__inner-container,
body.ks-landing .ks-front-content > section.wp-block-group.alignfull > .wp-block-group__inner-container {
	width: var(--ks-width);
	max-width: var(--ks-width);
	margin-left: auto;
	margin-right: auto;
}

body.ks-landing .ks-front-content .wp-block-group .wp-block-group__inner-container .wp-block-group > .wp-block-group__inner-container,
body.ks-landing .ks-front-content .ks-gb-info-card > .wp-block-group__inner-container,
body.ks-landing .ks-front-content .ks-gb-stat-card > .wp-block-group__inner-container {
	width: auto !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.ks-landing .ks-front-content .wp-block-group__inner-container > .wp-block-columns,
body.ks-landing .ks-front-content .wp-block-column > .wp-block-columns {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.ks-landing .ks-front-content .wp-block-column {
	min-width: 0;
}

body.ks-landing .ks-gb-hero__grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
	width: 100% !important;
	max-width: 100% !important;
}

body.ks-landing .ks-gb-hero__grid > .wp-block-column,
body.ks-landing .ks-gb-card-grid > .wp-block-column,
body.ks-landing .ks-gb-about .wp-block-columns > .wp-block-column {
	width: auto !important;
	flex-basis: auto !important;
	min-width: 0;
}

body.ks-landing .ks-gb-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	width: 100% !important;
	max-width: 100% !important;
}

body.ks-landing .ks-gb-info-card p:last-child,
body.ks-landing .ks-gb-stat-card p:last-child,
body.ks-landing .ks-gb-info-card ul:last-child,
body.ks-landing .ks-gb-stat-card ul:last-child {
	margin-bottom: 0;
}

body.ks-landing .ks-plugin-output {
	width: 100%;
	max-width: 1100px;
	margin: 38px auto 0;
}

body.ks-landing .ks-plugin-output .kskm {
	color: #231829;
}

body.ks-landing .ks-plugin-output .kskm h2,
body.ks-landing .ks-plugin-output .kskm h3 {
	color: #231829;
	letter-spacing: -0.035em;
}

body.ks-landing .ks-plugin-output .kskm-purple-card,
body.ks-landing .ks-plugin-output .kskm-purple-card strong,
body.ks-landing .ks-plugin-output .kskm-purple-card span {
	color: #fff;
}

body.ks-landing .ks-plugin-output .kskm-message,
body.ks-landing .ks-plugin-output .kskm-message-error {
	color: inherit;
}

@media (max-width: 900px) {
	body.ks-landing .ks-gb-hero__grid,
	body.ks-landing .ks-gb-card-grid {
		grid-template-columns: 1fr;
	}

	body.ks-landing .ks-front-content .wp-block-group__inner-container > .wp-block-columns,
	body.ks-landing .ks-front-content .wp-block-column > .wp-block-columns {
		width: 100% !important;
	}
}


/* v0.5.0 – doladění proporcí a vzhledu podle původního designu */
body.ks-landing {
	font-size: 17px;
}

body.ks-landing .ks-main--blocks {
	padding-top: 78px;
}

body.ks-landing .ks-header__inner {
	padding: 0 4px;
}

body.ks-landing .ks-brand__text {
	font-size: 1.45rem;
}

body.ks-landing .ks-nav__list {
	gap: 2px;
}

body.ks-landing .ks-nav__list a {
	padding: 9px 11px;
	font-size: 1.02rem;
	font-weight: 700;
}

body.ks-landing .ks-header-cta {
	min-height: 42px;
	padding: 0 18px;
	font-size: 1rem;
}

body.ks-landing .ks-front-content > .wp-block-group.alignfull > .wp-block-group__inner-container,
body.ks-landing .ks-front-content > section.wp-block-group.alignfull > .wp-block-group__inner-container {
	width: var(--ks-content-width);
	max-width: var(--ks-content-width);
}

body.ks-landing .ks-gb-hero {
	min-height: 0;
	padding: clamp(72px, 8vw, 110px) 0;
}

body.ks-landing .ks-gb-hero__grid {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: clamp(34px, 6vw, 88px);
}

body.ks-landing .ks-gb-kicker {
	font-size: 1rem;
	letter-spacing: 0.18em;
	margin-bottom: 14px;
}

body.ks-landing .ks-gb-hero h1 {
	max-width: 560px;
	font-size: clamp(3rem, 5.2vw, 5.2rem);
	line-height: 0.95;
	margin-bottom: 20px;
}

body.ks-landing .ks-gb-lead {
	max-width: 520px;
	font-size: clamp(1.35rem, 1.6vw, 1.7rem);
	line-height: 1.55;
	margin-bottom: 28px;
}

body.ks-landing .ks-gb-section,
body.ks-landing .ks-gb-section-light,
body.ks-landing .ks-gb-about,
body.ks-landing .ks-gb-cta {
	padding: clamp(64px, 8vw, 96px) 0;
}

body.ks-landing .ks-gb-section h2,
body.ks-landing .ks-gb-section-light h2,
body.ks-landing .ks-gb-about h2,
body.ks-landing .ks-gb-cta h2 {
	max-width: 680px;
	font-size: clamp(2.3rem, 4.3vw, 4.2rem);
	line-height: 0.98;
	margin-bottom: 22px;
}

body.ks-landing .ks-gb-section-lead {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1.15rem, 1.45vw, 1.45rem);
	line-height: 1.6;
}

body.ks-landing .ks-gb-plugin .wp-block-shortcode {
	margin-top: 26px;
}

body.ks-landing .ks-plugin-output {
	max-width: var(--ks-plugin-width);
	margin-top: 24px;
}

body.ks-landing .ks-plugin-output .kskm {
	max-width: none;
	margin: 0 auto 18px;
}

body.ks-landing .ks-plugin-output .kskm-dashboard,
body.ks-landing .ks-plugin-output .kskm-summary-blocks,
body.ks-landing .ks-plugin-output .kskm-chart-box,
body.ks-landing .ks-plugin-output .kskm-standalone-ranking,
body.ks-landing .ks-plugin-output .kskm-leaderboard,
body.ks-landing .ks-plugin-output .kskm-rankings-grid {
	max-width: var(--ks-plugin-width);
	margin-left: auto;
	margin-right: auto;
}

body.ks-landing .ks-plugin-output .kskm-box,
body.ks-landing .ks-plugin-output .kskm-hero {
	padding: 20px;
}

body.ks-landing .ks-plugin-output .kskm-purple-grid {
	gap: 14px;
}

body.ks-landing .ks-plugin-output .kskm-purple-card {
	min-height: 118px;
	padding: 18px;
	border-radius: 18px;
}

body.ks-landing .ks-plugin-output .kskm-purple-card strong {
	font-size: clamp(1.2rem, 2.1vw, 2rem);
}

body.ks-landing .ks-plugin-output .kskm-chart {
	min-height: 220px;
}

body.ks-landing .ks-plugin-output .kskm-rankings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

body.ks-landing .ks-gb-card-grid {
	max-width: 960px;
	margin: 32px auto 0;
	gap: 18px;
}

body.ks-landing .ks-gb-info-card {
	padding: 26px;
	border-radius: 22px;
}

body.ks-landing .ks-gb-info-card h3 {
	font-size: clamp(1.65rem, 2vw, 2.2rem);
	line-height: 1.05;
}

body.ks-landing .ks-gb-info-card p {
	font-size: 1rem;
	line-height: 1.55;
}

body.ks-landing .ks-gb-number {
	width: 28px;
	height: 28px;
	display: inline-grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(233, 30, 99, 0.12);
	font-size: 0.9rem;
	letter-spacing: 0;
	margin-bottom: 16px;
}

body.ks-landing .ks-gb-about .wp-block-columns {
	display: grid !important;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: start;
	max-width: 940px;
	margin: 0 auto;
	gap: 54px;
}

body.ks-landing .ks-gb-about p {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 1.7;
}

body.ks-landing .ks-gb-cta {
	text-align: center;
}

body.ks-landing .ks-gb-cta .wp-block-buttons {
	margin-top: 22px;
}

@media (max-width: 1024px) {
	body.ks-landing .ks-front-content > .wp-block-group.alignfull > .wp-block-group__inner-container,
	body.ks-landing .ks-front-content > section.wp-block-group.alignfull > .wp-block-group__inner-container {
		width: var(--ks-width);
		max-width: var(--ks-width);
	}
}

@media (max-width: 900px) {
	body.ks-landing .ks-brand__text {
		font-size: 1.2rem;
	}

	body.ks-landing .ks-gb-about .wp-block-columns,
	body.ks-landing .ks-plugin-output .kskm-rankings-grid {
		grid-template-columns: 1fr;
	}

	body.ks-landing .ks-gb-hero__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	body.ks-landing {
		font-size: 16px;
	}

	body.ks-landing .ks-header__inner {
		min-height: 70px;
	}

	body.ks-landing .ks-main--blocks {
		padding-top: 70px;
	}

	body.ks-landing .ks-gb-hero,
	body.ks-landing .ks-gb-section,
	body.ks-landing .ks-gb-section-light,
	body.ks-landing .ks-gb-about,
	body.ks-landing .ks-gb-cta {
		padding: 52px 0;
	}

	body.ks-landing .ks-gb-section h2,
	body.ks-landing .ks-gb-section-light h2,
	body.ks-landing .ks-gb-about h2,
	body.ks-landing .ks-gb-cta h2 {
		font-size: 2.2rem;
	}

	body.ks-landing .ks-plugin-output {
		margin-top: 18px;
	}

	body.ks-landing .ks-plugin-output .kskm-purple-grid,
	body.ks-landing .ks-plugin-output .kskm-rankings-grid,
	body.ks-landing .ks-gb-card-grid {
		grid-template-columns: 1fr;
	}
}


/* v0.6.0 – návrat hlavního sloupce na šířku původního návrhu */
body.ks-landing .ks-front-content > .wp-block-group.alignfull > .wp-block-group__inner-container,
body.ks-landing .ks-front-content > section.wp-block-group.alignfull > .wp-block-group__inner-container {
	width: var(--ks-content-width) !important;
	max-width: var(--ks-content-width) !important;
}

body.ks-landing .ks-gb-hero__grid {
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.55fr) !important;
	gap: clamp(42px, 7vw, 104px) !important;
}

body.ks-landing .ks-gb-hero h1 {
	max-width: 760px !important;
	font-size: clamp(3.4rem, 5.8vw, 6.7rem) !important;
}

body.ks-landing .ks-gb-lead {
	max-width: 690px !important;
	font-size: clamp(1.55rem, 1.9vw, 2.05rem) !important;
}

body.ks-landing .ks-gb-section h2,
body.ks-landing .ks-gb-section-light h2,
body.ks-landing .ks-gb-about h2,
body.ks-landing .ks-gb-cta h2 {
	max-width: 840px !important;
	font-size: clamp(2.7rem, 4.6vw, 5.25rem) !important;
}

body.ks-landing .ks-gb-card-grid,
body.ks-landing .ks-gb-about .wp-block-columns,
body.ks-landing .ks-plugin-output,
body.ks-landing .ks-plugin-output .kskm-dashboard,
body.ks-landing .ks-plugin-output .kskm-summary-blocks,
body.ks-landing .ks-plugin-output .kskm-chart-box,
body.ks-landing .ks-plugin-output .kskm-standalone-ranking,
body.ks-landing .ks-plugin-output .kskm-leaderboard,
body.ks-landing .ks-plugin-output .kskm-rankings-grid {
	max-width: var(--ks-plugin-width) !important;
}

body.ks-landing .ks-gb-card-grid {
	gap: 24px !important;
}

body.ks-landing .ks-gb-info-card {
	padding: 34px !important;
}

body.ks-landing .ks-plugin-output .kskm-purple-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.ks-landing .ks-plugin-output .kskm-rankings-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ks-landing .ks-plugin-output .kskm-box,
body.ks-landing .ks-plugin-output .kskm-hero {
	padding: 24px;
}

body.ks-landing .ks-plugin-output .kskm-ranking-list li {
	align-items: center;
}

@media (max-width: 900px) {
	body.ks-landing .ks-gb-hero__grid,
	body.ks-landing .ks-plugin-output .kskm-rankings-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 700px) {
	body.ks-landing .ks-plugin-output .kskm-purple-grid,
	body.ks-landing .ks-gb-card-grid {
		grid-template-columns: 1fr !important;
	}
}


/* v0.7.0 – homepage používá stejný header jako podstránky */
body.ks-landing .ks-main--blocks {
	padding-top: 0 !important;
}

body.ks-landing #site-header {
	position: fixed !important;
	top: var(--ks-header-top-offset, 0px);
	left: 0;
	right: 0;
	z-index: 10000;
	background: rgba(19, 13, 37, 0.96) !important;
	color: #fff !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 16px 48px rgba(19, 13, 37, 0.24);
	backdrop-filter: blur(18px);
}

body.ks-landing #site-header .header-inner {
	min-height: var(--ks-fixed-header-height, 8.8rem);
	max-width: min(1180px, calc(100vw - 48px));
	padding: 0;
	align-items: center;
}

body.ks-landing #site-header .site-logo img,
body.ks-landing #site-header .custom-logo,
body.ks-landing #site-header .custom-logo-link img {
	max-height: 7rem !important;
	width: auto !important;
	object-fit: contain;
}

body.ks-landing #site-header .site-title,
body.ks-landing #site-header .site-title a,
body.ks-landing #site-header .primary-menu > li > a,
body.ks-landing #site-header .primary-menu > li > .icon,
body.ks-landing #site-header .toggle-inner .toggle-text {
	color: rgba(255, 247, 242, 0.88) !important;
}

body.ks-landing #site-header .primary-menu > li > a:hover,
body.ks-landing #site-header .primary-menu > li > a:focus,
body.ks-landing #site-header .primary-menu > li.current-menu-item > a,
body.ks-landing #site-header .primary-menu > li.current_page_item > a {
	background: rgba(255, 255, 255, 0.10);
	color: #fff !important;
	text-decoration: none;
}

body.ks-landing #site-header .primary-menu > li:last-child > a {
	background: linear-gradient(135deg, var(--ks-primary), #ff6c9d);
	color: #fff !important;
	box-shadow: 0 13px 32px rgba(233, 30, 99, 0.32);
}

body.ks-landing .ks-front-content > .wp-block-group.alignfull > .wp-block-group__inner-container,
body.ks-landing .ks-front-content > section.wp-block-group.alignfull > .wp-block-group__inner-container {
	width: min(1180px, calc(100vw - 48px)) !important;
	max-width: min(1180px, calc(100vw - 48px)) !important;
}

body.ks-landing .ks-gb-hero__grid {
	grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.62fr) !important;
}

body.ks-landing .ks-gb-card-grid,
body.ks-landing .ks-gb-about .wp-block-columns,
body.ks-landing .ks-plugin-output,
body.ks-landing .ks-plugin-output .kskm-dashboard,
body.ks-landing .ks-plugin-output .kskm-summary-blocks,
body.ks-landing .ks-plugin-output .kskm-chart-box,
body.ks-landing .ks-plugin-output .kskm-standalone-ranking,
body.ks-landing .ks-plugin-output .kskm-leaderboard,
body.ks-landing .ks-plugin-output .kskm-rankings-grid {
	max-width: min(1180px, calc(100vw - 48px)) !important;
}

@media (max-width: 900px) {
	body.ks-landing .ks-gb-hero__grid {
		grid-template-columns: 1fr !important;
	}
}


/* v0.8.0 – doladění podle screenshotu: ikony, menu, karty, mezery */
:root {
	--ks-heart-url: url('../img/ks-heart.png');
	--ks-team-url: url('../img/ks-team-placeholder.svg');
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li.current-menu-item > a,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li.current_page_item > a,
body.ks-landing #site-header .primary-menu > li.current-menu-item > a,
body.ks-landing #site-header .primary-menu > li.current_page_item > a,
body:not(.ks-landing) .primary-menu > li.current-menu-item > a,
body:not(.ks-landing) .primary-menu > li.current_page_item > a {
	background: transparent !important;
	box-shadow: none !important;
	color: rgba(255, 247, 242, 0.86) !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li > a:hover,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li > a:focus,
body:not(.ks-landing) .primary-menu > li > a:hover,
body:not(.ks-landing) .primary-menu > li > a:focus,
body.ks-landing #site-header .primary-menu > li > a:hover,
body.ks-landing #site-header .primary-menu > li > a:focus {
	background: rgba(255, 255, 255, 0.10) !important;
	color: #fff !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li:last-child > a,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li:last-child.current-menu-item > a,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .primary-menu > li:last-child.current_page_item > a,
body.ks-landing #site-header .primary-menu > li:last-child > a,
body.ks-landing #site-header .primary-menu > li:last-child.current-menu-item > a,
body.ks-landing #site-header .primary-menu > li:last-child.current_page_item > a {
	background: linear-gradient(135deg, #e94171, #ff78a4) !important;
	color: #fff !important;
	box-shadow: 0 13px 32px rgba(233, 30, 99, 0.32) !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .site-logo img,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .custom-logo,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .custom-logo-link img {
	max-height: 7rem !important;
}

body.ks-landing .ks-gb-heart {
	display: inline-block !important;
	width: 6.2rem !important;
	height: 6.2rem !important;
	margin: 0 0 2.4rem !important;
	padding: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	border-radius: 0 !important;
	background: var(--ks-heart-url) center/contain no-repeat !important;
	box-shadow: none !important;
}

body.ks-landing .ks-gb-stat-card li::before {
	content: '' !important;
	width: 1.15rem;
	height: 1.15rem;
	top: 1.75rem;
	background: var(--ks-heart-url) center/contain no-repeat;
}

body.ks-landing .ks-plugin-output .kskm-team-icon,
body:not(.ks-landing) .entry-content .kskm-team-icon {
	display: inline-block !important;
	background: #ece8ee var(--ks-team-url) center/78% no-repeat !important;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	flex: 0 0 auto;
	overflow: hidden;
}

body.ks-landing .ks-gb-number {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 3.2rem !important;
	height: 3.2rem !important;
	min-width: 3.2rem !important;
	max-width: 3.2rem !important;
	padding: 0 !important;
	margin: 0 0 2rem !important;
	border-radius: 999px !important;
	background: rgba(233, 30, 99, 0.13) !important;
	font-size: 1.15rem !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	color: #e94171 !important;
}

body.ks-landing .ks-gb-info-card > .wp-block-group__inner-container,
body.ks-landing .ks-gb-stat-card > .wp-block-group__inner-container {
	display: block !important;
}

body.ks-landing .ks-gb-info-card p:not(.ks-gb-number),
body.ks-landing .ks-gb-about p,
body.ks-landing .ks-gb-lead,
body.ks-landing .ks-gb-section-lead {
	font-size: clamp(1.5rem, 1.45vw, 1.9rem) !important;
	line-height: 1.66 !important;
}

body.ks-landing .ks-gb-info-card h3 {
	font-size: clamp(2.15rem, 2.2vw, 3rem) !important;
}

body.ks-landing .ks-plugin-output .kskm,
body.ks-landing .ks-plugin-output .kskm p,
body.ks-landing .ks-plugin-output .kskm li,
body.ks-landing .ks-plugin-output .kskm small,
body:not(.ks-landing) .entry-content .kskm,
body:not(.ks-landing) .entry-content .kskm p,
body:not(.ks-landing) .entry-content .kskm li,
body:not(.ks-landing) .entry-content .kskm small {
	font-size: 1.35rem;
	line-height: 1.55;
}

body.ks-landing .ks-plugin-output .kskm-hero h2,
body.ks-landing .ks-plugin-output .kskm-box h3,
body.ks-landing .ks-plugin-output .kskm-leaderboard h3,
body:not(.ks-landing) .entry-content .kskm-hero h2,
body:not(.ks-landing) .entry-content .kskm-box h3,
body:not(.ks-landing) .entry-content .kskm-leaderboard h3 {
	font-size: clamp(2.2rem, 2.8vw, 3.4rem) !important;
	line-height: 1.08 !important;
}

body.ks-landing .ks-gb-hero {
	padding-top: clamp(8rem, 9vw, 12rem) !important;
	padding-bottom: clamp(7rem, 8vw, 11rem) !important;
}

body.ks-landing .ks-gb-plugin {
	padding-top: clamp(7rem, 8vw, 10rem) !important;
	padding-bottom: clamp(8rem, 9vw, 12rem) !important;
}

body.ks-landing .ks-gb-section-light,
body.ks-landing .ks-gb-about {
	padding-top: clamp(7rem, 8vw, 10rem) !important;
	padding-bottom: clamp(7rem, 8vw, 10rem) !important;
}

body.ks-landing .ks-gb-cta {
	padding-top: clamp(7rem, 8vw, 10rem) !important;
	padding-bottom: clamp(7rem, 8vw, 10rem) !important;
}

body.ks-landing .ks-gb-about {
	border-top: 1.8rem solid #130d25;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .footer-nav-widgets-wrapper {
	background: #0d0719 !important;
	color: rgba(255, 247, 242, 0.82) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer {
	padding: 3.2rem 0 !important;
	font-size: 1.35rem;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .section-inner {
	max-width: min(1180px, calc(100vw - 48px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer a,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .to-the-top {
	color: #fff !important;
	text-decoration: none !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .powered-by-wordpress {
	display: none !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .footer-credits,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .footer-top-visible .footer-credits {
	margin: 0 !important;
}

@media (max-width: 700px) {
	body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .section-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	body.ks-landing .ks-gb-info-card p:not(.ks-gb-number),
	body.ks-landing .ks-gb-about p,
	body.ks-landing .ks-gb-lead,
	body.ks-landing .ks-gb-section-lead {
		font-size: 1.55rem !important;
	}
}


/* v0.8.1 - sjednocená patička a zástupný avatar týmu */
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .footer-nav-widgets-wrapper {
	background: #0d0719 !important;
	color: rgba(255,247,242,0.82) !important;
	border-color: rgba(255,255,255,0.08) !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .footer-nav-widgets-wrapper {
	display: none !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer {
	margin-top: 0 !important;
	padding: 3.2rem 0 !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .section-inner {
	max-width: min(1180px, calc(100vw - 48px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .footer-credits,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .to-the-top {
	font-size: 1.35rem;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .section-inner > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

@media (max-width: 700px) {
	body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .section-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* v0.8.2 – sociální ikony v patičce a vylepšený box Charitativní výzva */
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .section-inner {
	align-items: center;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .footer-credits {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem 2rem;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .privacy-policy,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .privacy-policy a {
	color: rgba(255,247,242,0.72) !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-footer .to-the-top {
	display: none !important;
}

.ks-footer-socials {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

.ks-social-link {
	width: 4.2rem;
	height: 4.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(135deg, rgba(233, 65, 113, 0.18), rgba(255, 96, 155, 0.28));
	border: 1px solid rgba(255,255,255,0.12);
	box-shadow: 0 10px 25px rgba(0,0,0,0.18);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ks-social-link svg {
	width: 1.85rem;
	height: 1.85rem;
	display: block;
}

.ks-social-link:hover,
.ks-social-link:focus {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(233,65,113,0.26);
	background: linear-gradient(135deg, #ff4f8a, #ff71aa);
}

@media (max-width: 700px) {
	.ks-footer-socials {
		margin-left: 0;
	}
}


body.ks-landing .ks-gb-stat-card {
	padding: 3.2rem 3rem 2.8rem !important;
	border-radius: 2.4rem !important;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08)),
		linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
	border: 1px solid rgba(255,255,255,0.16) !important;
	box-shadow: 0 26px 55px rgba(4, 3, 12, 0.28) !important;
}

body.ks-landing .ks-gb-stat-card > .wp-block-group__inner-container {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
}

body.ks-landing .ks-gb-heart {
	width: 17rem !important;
	height: 3.8rem !important;
	margin: 0 0 2.2rem !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #ff3f88, #ff69a6) !important;
	font-size: 1.35rem !important;
	box-shadow: 0 18px 36px rgba(233, 30, 99, 0.28) !important;
}

body.ks-landing .ks-gb-stat-card h3 {
	font-size: clamp(2.8rem, 2.3vw, 3.6rem) !important;
	line-height: 1.02 !important;
	margin-bottom: 1.6rem !important;
}

body.ks-landing .ks-gb-stat-card ul {
	width: 100%;
}

body.ks-landing .ks-gb-stat-card li {
	width: 100%;
	padding: 1.3rem 0 1.3rem 2.8rem !important;
	font-size: 1.55rem !important;
	line-height: 1.5 !important;
}

body.ks-landing .ks-gb-stat-card li::before {
	width: 1.2rem;
	height: 1.2rem;
	top: 1.7rem;
}

body.ks-landing .ks-gb-stat-card li:last-child {
	border-bottom: 0;
	padding-bottom: 0 !important;
}

@media (max-width: 700px) {
	body.ks-landing .ks-gb-heart {
		width: 13.5rem !important;
		height: 3.4rem !important;
	}
	body.ks-landing .ks-gb-stat-card h3 {
		font-size: 2.8rem !important;
	}
}


/* v0.8.3 – výraznější přepracování boxu Charitativní výzva */
body.ks-landing .ks-gb-hero__grid > .wp-block-column:last-child {
	display: flex;
	justify-content: center;
}

body.ks-landing .ks-gb-stat-card {
	position: relative !important;
	isolation: isolate;
	overflow: visible !important;
	max-width: 34rem;
	width: 100%;
	padding: 6.4rem 3.1rem 2.9rem !important;
	border-radius: 2.6rem !important;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08) 38%, rgba(255,255,255,0.05) 100%),
		linear-gradient(140deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
	border: 1px solid rgba(255,255,255,0.14) !important;
	box-shadow:
		0 28px 60px rgba(3, 2, 10, 0.28),
		inset 0 1px 0 rgba(255,255,255,0.08) !important;
	backdrop-filter: blur(12px);
}

body.ks-landing .ks-gb-stat-card::before {
	content: '';
	position: absolute;
	inset: 1.2rem;
	border-radius: 2rem;
	border: 1px solid rgba(255,255,255,0.06);
	pointer-events: none;
	z-index: -1;
}

body.ks-landing .ks-gb-stat-card::after {
	content: '';
	position: absolute;
	left: 50%;
	top: -1.4rem;
	transform: translateX(-50%);
	width: 21rem;
	height: 4rem;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff3c86, #ff66a7);
	box-shadow: 0 16px 32px rgba(233, 30, 99, 0.30);
	z-index: 0;
}

body.ks-landing .ks-gb-stat-card > .wp-block-group__inner-container {
	position: relative;
	z-index: 1;
}

body.ks-landing .ks-gb-heart {
	position: absolute !important;
	left: 50%;
	top: -0.8rem;
	transform: translateX(-50%);
	width: 21rem !important;
	height: 4rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 0 !important;
	color: transparent !important;
	z-index: 2;
}

body.ks-landing .ks-gb-heart::before {
	content: '';
	display: block;
	width: 1.2rem;
	height: 1.2rem;
	margin: 1.35rem auto 0;
	background: var(--ks-heart-url) center/contain no-repeat;
	filter: brightness(0) invert(1);
}

body.ks-landing .ks-gb-stat-card h3 {
	max-width: 18rem;
	margin: 0 0 1.9rem !important;
	font-size: clamp(2.9rem, 2.45vw, 3.9rem) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.03em;
	color: #fff !important;
}

body.ks-landing .ks-gb-stat-card ul {
	width: 100%;
	margin-top: .8rem !important;
}

body.ks-landing .ks-gb-stat-card li {
	width: 100%;
	padding: 1.5rem 0 1.4rem 2.8rem !important;
	font-size: 1.62rem !important;
	line-height: 1.48 !important;
	color: rgba(255,247,242,0.92) !important;
	border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

body.ks-landing .ks-gb-stat-card li::before {
	content: '' !important;
	position: absolute;
	left: 0;
	top: 1.8rem;
	width: 1.15rem;
	height: 1.15rem;
	background: var(--ks-heart-url) center/contain no-repeat;
}

body.ks-landing .ks-gb-stat-card li:last-child {
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

@media (max-width: 700px) {
	body.ks-landing .ks-gb-stat-card {
		max-width: 30rem;
		padding: 5.8rem 2.3rem 2.5rem !important;
	}

	body.ks-landing .ks-gb-stat-card::after,
	body.ks-landing .ks-gb-heart {
		width: 16.5rem !important;
		height: 3.6rem !important;
	}

	body.ks-landing .ks-gb-heart::before {
		margin-top: 1.2rem;
	}

	body.ks-landing .ks-gb-stat-card h3 {
		max-width: 16rem;
		font-size: 2.8rem !important;
	}
}


/* v0.8.4 – pravý hero panel jako dynamický mini dashboard výzvy */
body.ks-landing .ks-hero-dashboard {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: min(100%, 39rem);
	margin: 0 auto;
	padding: 3rem;
	border-radius: 2.8rem;
	background:
		radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .22), transparent 24%),
		linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.07) 48%, rgba(255,255,255,.045));
	border: 1px solid rgba(255,255,255,.16);
	box-shadow:
		0 30px 70px rgba(4, 3, 13, .34),
		inset 0 1px 0 rgba(255,255,255,.10);
	backdrop-filter: blur(16px);
	color: #fff;
}

body.ks-landing .ks-hero-dashboard::before {
	content: '';
	position: absolute;
	right: -7.5rem;
	bottom: -9rem;
	width: 21rem;
	height: 21rem;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	z-index: -1;
}

body.ks-landing .ks-hero-dashboard::after {
	content: '';
	position: absolute;
	left: 2rem;
	right: 2rem;
	top: 2rem;
	height: .1rem;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
	z-index: -1;
}

body.ks-landing .ks-hero-dashboard__top {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 2.1rem;
}

body.ks-landing .ks-hero-dashboard__icon {
	width: 4.6rem;
	height: 4.6rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff3f88, #ff6ea9);
	box-shadow: 0 16px 36px rgba(233, 30, 99, .35);
	position: relative;
	flex: 0 0 auto;
}

body.ks-landing .ks-hero-dashboard__icon::before {
	content: '';
	position: absolute;
	inset: 1.35rem;
	background: var(--ks-heart-url) center/contain no-repeat;
	filter: brightness(0) invert(1);
}

body.ks-landing .ks-hero-dashboard__label {
	display: inline-flex;
	align-items: center;
	min-height: 3.4rem;
	padding: 0 1.4rem;
	border-radius: 999px;
	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.12);
	color: rgba(255,247,242,.88);
	font-size: 1.25rem;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.ks-landing .ks-hero-dashboard__main {
	margin-bottom: 2.3rem;
}

body.ks-landing .ks-hero-dashboard__main strong {
	display: block;
	font-size: clamp(4.2rem, 4.8vw, 6.4rem);
	line-height: .88;
	font-weight: 950;
	letter-spacing: -.07em;
	color: #fff;
}

body.ks-landing .ks-hero-dashboard__main span {
	display: block;
	margin-top: 1rem;
	font-size: 1.65rem;
	font-weight: 750;
	color: rgba(255,247,242,.80);
}

body.ks-landing .ks-hero-dashboard__progress {
	height: 1.4rem;
	border-radius: 999px;
	background: rgba(255,255,255,.14);
	overflow: hidden;
	box-shadow: inset 0 1px 3px rgba(0,0,0,.18);
}

body.ks-landing .ks-hero-dashboard__progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #f7b731, #ff5a9b 72%, #ff3f88);
	box-shadow: 0 0 22px rgba(255, 96, 155, .42);
}

body.ks-landing .ks-hero-dashboard__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.4rem;
	margin-top: 1.15rem;
	color: rgba(255,247,242,.76);
	font-size: 1.35rem;
	font-weight: 720;
}

body.ks-landing .ks-hero-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2.4rem;
}

body.ks-landing .ks-hero-dashboard__grid div {
	min-height: 8.8rem;
	padding: 1.35rem 1rem;
	border-radius: 1.8rem;
	background: rgba(255,255,255,.095);
	border: 1px solid rgba(255,255,255,.10);
}

body.ks-landing .ks-hero-dashboard__grid strong {
	display: block;
	font-size: clamp(1.75rem, 2.1vw, 2.55rem);
	line-height: 1;
	font-weight: 940;
	letter-spacing: -.04em;
	color: #fff;
}

body.ks-landing .ks-hero-dashboard__grid span {
	display: block;
	margin-top: .75rem;
	font-size: 1.15rem;
	font-weight: 720;
	line-height: 1.25;
	color: rgba(255,247,242,.72);
}

@media (max-width: 700px) {
	body.ks-landing .ks-hero-dashboard {
		width: 100%;
		padding: 2.4rem;
		border-radius: 2.2rem;
	}

	body.ks-landing .ks-hero-dashboard__main strong {
		font-size: 4rem;
	}

	body.ks-landing .ks-hero-dashboard__grid {
		grid-template-columns: 1fr;
	}

	body.ks-landing .ks-hero-dashboard__grid div {
		min-height: auto;
	}

	body.ks-landing .ks-hero-dashboard__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: .4rem;
	}
}


/* v0.8.5 – drobné úpravy podle připomínek */
body.ks-landing .ks-hero-dashboard::after {
	display: none !important;
	content: none !important;
}

body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .site-logo,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty #site-header .custom-logo-link {
	padding-top: 10px !important;
}

body.ks-landing .ks-gb-number {
	width: 6.4rem !important;
	height: 6.4rem !important;
	min-width: 6.4rem !important;
	max-width: 6.4rem !important;
	font-size: 2.3rem !important;
	margin-bottom: 2.4rem !important;
}

@media (max-width: 700px) {
	body.ks-landing .ks-gb-number {
		width: 5.4rem !important;
		height: 5.4rem !important;
		min-width: 5.4rem !important;
		max-width: 5.4rem !important;
		font-size: 2rem !important;
	}
}


/* v0.8.6 – reset marginů z parent Twenty Twenty pro landing alignfull/alignwide bloky.
 * Parent šablona přidává .entry-content > .alignfull/.alignwide margin-top/bottom 8rem,
 * což vytvářelo nežádoucí mezery mezi našimi barevnými sekcemi.
 */
body.ks-landing .entry-content > .alignwide:not(.wp-block-group.has-background),
body.ks-landing .entry-content > .alignfull:not(.wp-block-group.has-background),
body.ks-landing .ks-front-content > .alignwide,
body.ks-landing .ks-front-content > .alignfull,
body.ks-landing .ks-front-content > section.alignwide,
body.ks-landing .ks-front-content > section.alignfull {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.ks-landing .ks-front-content > .wp-block-group.alignfull + .wp-block-group.alignfull,
body.ks-landing .ks-front-content > section.alignfull + section.alignfull {
	margin-top: 0 !important;
}


/* v0.8.7 – jednotná výška řádku nadpisů v obsahu */
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .entry-content h1,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .entry-content h2,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .entry-content h3,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .entry-content h4,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .entry-content h5,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .entry-content h6,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .ks-front-content h1,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .ks-front-content h2,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .ks-front-content h3,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .ks-front-content h4,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .ks-front-content h5,
body.wp-theme-twentytwenty.wp-child-theme-ks-twentytwenty .ks-front-content h6 {
	line-height: 1.3 !important;
}
