/* Kategorie — jednotný vzhled popisu pro všechny kategorie (admin TinyMCE) */

.category-richtext {
	max-width: 100%;
	margin: 0 auto 0.5rem;
	overflow-x: clip;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	/* Stejný „admin TinyMCE“ vzhled jako u ostatních kategorií */
	font-size: 1rem;
	line-height: 1.55;
	color: #3d4648;
}

.category-richtext > *:first-child {
	margin-top: 0;
}

.category-richtext > *:last-child {
	margin-bottom: 0;
}

.category-richtext p {
	margin: 0 0 0.85rem;
}

.category-richtext p:last-child {
	margin-bottom: 0;
}

.category-richtext strong {
	font-weight: 700;
}

.category-richtext h2,
.category-richtext h3 {
	color: #0c1148;
	font-weight: 700;
	line-height: 1.3;
	margin: 1rem 0 0.5rem;
}

.category-richtext ul,
.category-richtext ol {
	margin: 0 0 0.85rem;
	padding-left: 1.25rem;
	text-align: left;
}

.category-richtext li {
	margin-bottom: 0.35rem;
}

.category-richtext img,
.category-richtext video,
.category-richtext iframe,
.category-richtext embed,
.category-richtext object {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.category-richtext table {
	width: 100% !important;
	max-width: 100%;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 0.85rem;
}

.category-richtext td,
.category-richtext th {
	word-break: break-word;
}

/* Blok popisu nad kartami — méně „díry“ */
.category-intro-row {
	margin-bottom: 1rem !important;
}

.category-page-title {
	color: #0c1148;
}

/* Dokumenty ke stažení — kompaktní pás (všechny kategorie) */
.category-docs {
	--cd-navy: #0c1148;
	--cd-gold: #b8891a;
	--cd-line: rgba(12, 17, 72, 0.1);
	margin: 0 0 1.5rem;
	padding: 0.75rem 0.9rem 0.85rem;
	text-align: left;
	border: 1px solid var(--cd-line);
	border-radius: 0.75rem;
	background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}

.category-docs--below-products {
	margin: 1.5rem 0 2rem;
}

.category-docs__tabs {
	border-bottom-color: var(--cd-line);
	gap: 0.15rem;
	flex-wrap: wrap;
	margin-bottom: 0.65rem;
}

.category-docs__tabs .nav-link {
	border: 1px solid transparent;
	border-radius: 0.5rem 0.5rem 0 0;
	color: #4b5563;
	font-size: 0.86rem;
	font-weight: 600;
	padding: 0.4rem 0.75rem;
}

.category-docs__tabs .nav-link:hover {
	border-color: #daa520;
	color: #daa520;
}

.category-docs__tabs .nav-link.active {
	color: var(--cd-navy);
	background: #fff;
	border-color: var(--cd-line) var(--cd-line) #fff;
}

.category-docs__tab-count {
	display: inline-block;
	margin-left: 0.3rem;
	padding: 0.05rem 0.4rem;
	border-radius: 999px;
	background: rgba(12, 17, 72, 0.08);
	font-size: 0.72rem;
	font-weight: 700;
}

.category-docs__panes {
	padding-top: 0.15rem;
}

.category-docs__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.category-docs__title {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cd-navy);
}

.category-docs__count {
	font-size: 0.78rem;
	color: #6b7280;
	white-space: nowrap;
}

.category-docs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.category-docs__item {
	margin: 0;
	max-width: 100%;
}

.category-docs__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
	padding: 0.35rem 0.65rem 0.35rem 0.45rem;
	border-radius: 999px;
	border: 1px solid var(--cd-line);
	background: #fff;
	color: var(--cd-navy) !important;
	text-decoration: none !important;
	font-size: 0.82rem;
	line-height: 1.25;
	font-weight: 600;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.category-docs__link:hover {
	border-color: rgba(184, 137, 26, 0.55);
	background: rgba(184, 137, 26, 0.08);
	color: var(--cd-navy) !important;
}

.category-docs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	color: #c0392b;
	font-size: 1rem;
}

.category-docs__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 16rem;
}

@media (max-width: 575.98px) {
	.category-docs {
		padding: 0.65rem 0.7rem 0.75rem;
	}

	.category-docs__name {
		max-width: 12rem;
	}
}

/* Podkategorie — prodejní karty (značky / řady) */
.category-children {
	margin-top: 0.25rem;
}

.category-children__head {
	margin-bottom: 1rem;
	text-align: left;
}

.category-children__eyebrow {
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #daa520;
	margin-bottom: 0.2rem;
}

.category-children__hint {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(12, 17, 72, 0.62);
	line-height: 1.35;
}

.category-child-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none !important;
	color: #0c1148 !important;
	background:
		linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
	border: 1px solid rgba(12, 17, 72, 0.08);
	border-radius: 0.85rem;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(12, 17, 72, 0.05);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.category-child-card:hover,
.category-child-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(218, 165, 32, 0.55);
	box-shadow: 0 10px 24px rgba(12, 17, 72, 0.1);
	outline: none;
}

.category-child-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1.35 / 1;
	padding: 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 30%, rgba(218, 165, 32, 0.1) 0%, transparent 55%),
		linear-gradient(160deg, #eef0f8 0%, #f5f6fa 55%, #eef0f4 100%);
	border-bottom: 1px solid rgba(12, 17, 72, 0.06);
}

.category-child-card__img {
	position: absolute;
	inset: 0.55rem;
	width: calc(100% - 1.1rem);
	height: calc(100% - 1.1rem);
	max-height: none;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 6px 12px rgba(12, 17, 72, 0.12));
	transition: transform 0.25s ease;
}

.category-child-card:hover .category-child-card__img,
.category-child-card:focus-visible .category-child-card__img {
	transform: scale(1.04);
}

.category-child-card__img--empty {
	opacity: 0.45;
	filter: none;
	object-fit: contain;
	padding: 0.7rem;
	box-sizing: border-box;
}

.category-child-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.65rem 0.8rem 0;
	flex: 1;
}

.category-child-card__title {
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.25;
	color: #0c1148;
	padding-bottom: 0.15rem;
}

.category-child-card__tier {
	display: inline-block;
	align-self: flex-start;
	margin: 0.1rem 0 0.25rem;
	padding: 0.12rem 0.45rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #0c1148;
	background: rgba(218, 165, 32, 0.22);
	border-radius: 0.2rem;
}

.category-child-card__teaser {
	display: block;
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.35;
	color: #3a4060;
}

.category-child-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	margin-top: auto;
	margin-left: -0.8rem;
	margin-right: -0.8rem;
	padding: 0.48rem 0.8rem;
	font-size: 0.76rem;
	font-weight: 700;
	color: #fff;
	background: #0c1148;
	opacity: 1;
	transition: background 0.15s ease, color 0.15s ease;
}

.category-child-card:hover .category-child-card__cta,
.category-child-card:focus-visible .category-child-card__cta {
	background: #daa520;
	color: #0c1148;
	opacity: 1;
}

@media (max-width: 575.98px) {
	.category-richtext {
		font-size: 0.95rem;
		line-height: 1.45;
	}

	/* Dlouhé centrované texty z editoru — na mobilu čitelněji zleva */
	.category-richtext p[style*="text-align: center"],
	.category-richtext p[style*="text-align:center"] {
		text-align: left !important;
	}

	.category-richtext p[style*="text-align: center"] > span[style*="font-size: 14pt"] strong,
	.category-richtext p[style*="text-align:center"] > span[style*="font-size: 14pt"] strong {
		display: block;
		text-align: center;
		font-size: 1.05rem !important;
	}

	.category-page-title {
		font-size: 1.55rem;
		line-height: 1.25;
		padding: 0 0.25rem;
	}

	.category-child-card__media {
		padding: 0;
		aspect-ratio: 1.15 / 1;
	}

	.category-child-card__img {
		max-height: none;
	}

	.category-child-card__title {
		font-size: 0.9rem;
	}

	.category-child-card__cta {
		font-size: 0.72rem;
	}
}

/* -------------------------------------------------------------------------
   Úvodní stránka výrobce (Desatero 63) — kompaktní, jedna stupnice písma.
   ------------------------------------------------------------------------- */

.mfr-landing {
	--mfr-navy: #0c1148;
	--mfr-gold: #daa520;
	--mfr-check: #c0392b;
	--mfr-ink: #3d4648;
	--mfr-muted: rgba(12, 17, 72, 0.62);
	--mfr-line: rgba(12, 17, 72, 0.1);
	--mfr-fs: 0.875rem;
	--mfr-fs-sm: 0.8125rem;
	--mfr-fs-h: 1.05rem;
	--mfr-gap: 0.7rem;
	text-align: left;
	color: var(--mfr-ink);
	font-size: var(--mfr-fs);
	line-height: 1.45;
	max-width: 72rem;
	margin: 0 auto;
}

.mfr-landing,
.mfr-landing h2,
.mfr-landing h3,
.mfr-landing p,
.mfr-landing li {
	font-family: inherit;
}

.mfr-landing > *:last-child {
	margin-bottom: 0;
}

.container:has(.mfr-landing) .category-page-title {
	font-size: 1.75rem;
	line-height: 1.25;
	margin-top: 0.5rem;
	margin-bottom: 0.65rem;
	font-weight: 700;
}

.container:has(.mfr-landing) .col-md-12.text-center.mb-3 {
	margin-bottom: 0.9rem !important;
}

.category-richtext ul.mfr-pills {
	padding-left: 0;
	padding-right: 0;
	margin: 0 auto 1.15rem;
}

.category-richtext ul.mfr-series,
.category-richtext ul.mfr-checks {
	padding-left: 0;
	margin-bottom: var(--mfr-gap);
	text-align: left;
}

.category-richtext .mfr-point p,
.category-richtext .mfr-who p,
.category-richtext .mfr-series__item p,
.category-richtext .mfr-key__photo {
	margin-bottom: 0;
}

.category-richtext .mfr-lead,
.mfr-lead {
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 auto 1.2rem;
	max-width: 44rem;
	text-align: center;
	color: var(--mfr-navy);
}

.mfr-pills {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem 1.25rem;
	margin: 0 auto 1.15rem;
	max-width: 52rem;
	padding: 0.95rem 0.5rem;
	border-top: 1px solid var(--mfr-line);
	border-bottom: 1px solid var(--mfr-line);
	justify-items: center;
}

.mfr-pill {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-weight: 700;
	font-size: var(--mfr-fs);
	color: var(--mfr-navy);
	line-height: 1.25;
}

.mfr-pill::before {
	content: "";
	flex: 0 0 1.35rem;
	width: 1.35rem;
	height: 1.35rem;
	background-color: #9a3b3b;
	-webkit-mask: center / 1.2rem no-repeat;
	mask: center / 1.2rem no-repeat;
}

.mfr-pill--recycle::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239a3b3b' stroke-width='1.7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7.5 7.5 4.5 12l3 4.5m9-9 3 4.5-3 4.5M9 19.5h6M8 4.5h8'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.5 7.5A6 6 0 0 0 8 8.2M7.5 16.5A6 6 0 0 0 16 15.8'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239a3b3b' stroke-width='1.7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7.5 7.5 4.5 12l3 4.5m9-9 3 4.5-3 4.5M9 19.5h6M8 4.5h8'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.5 7.5A6 6 0 0 0 8 8.2M7.5 16.5A6 6 0 0 0 16 15.8'/%3E%3C/svg%3E");
}

.mfr-pill--shield::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239a3b3b' stroke-width='1.7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 3.5 5.5 6.2v5.3c0 4 2.7 7.1 6.5 8.5 3.8-1.4 6.5-4.5 6.5-8.5V6.2L12 3.5z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m9.2 12.2 1.9 1.9 3.7-4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239a3b3b' stroke-width='1.7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 3.5 5.5 6.2v5.3c0 4 2.7 7.1 6.5 8.5 3.8-1.4 6.5-4.5 6.5-8.5V6.2L12 3.5z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m9.2 12.2 1.9 1.9 3.7-4'/%3E%3C/svg%3E");
}

.mfr-pill--clock::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239a3b3b' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8.2V12l2.8 1.7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239a3b3b' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 8.2V12l2.8 1.7'/%3E%3C/svg%3E");
}

.mfr-series {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 0.5rem;
	margin: 0 0 var(--mfr-gap);
	padding: 0;
	list-style: none;
}

.mfr-series__item {
	margin: 0;
	padding: 0.5rem 0.65rem 0.55rem;
	border: 1px solid var(--mfr-line);
	border-radius: 0.5rem;
	background: #f8f9fc;
}

.mfr-series__name {
	display: block;
	font-weight: 700;
	color: var(--mfr-navy);
	font-size: var(--mfr-fs);
	margin-bottom: 0.1rem;
	line-height: 1.25;
}

.mfr-series__item p,
.mfr-series p {
	margin: 0;
	font-size: var(--mfr-fs-sm);
	line-height: 1.35;
	color: var(--mfr-muted);
}

#mfr-products {
	scroll-margin-top: 5.5rem;
}

.category-richtext ul.km-surfaces {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0 auto 1rem;
	padding: 0;
	max-width: 56rem;
	text-align: center;
}

.km-surfaces li {
	margin: 0;
	padding: 0 0 0.65rem;
	border: 1px solid rgba(12, 17, 72, 0.12);
	border-radius: 0.65rem;
	background: #f7f8fc;
	overflow: hidden;
}

.category-richtext .km-surfaces img {
	width: 100% !important;
	height: 7.5rem;
	object-fit: contain;
	background: #fff;
	margin: 0 !important;
}

.km-surfaces strong {
	display: block;
	margin-top: 0.45rem;
	color: #0c1148;
	font-size: 0.95rem;
}

.km-surfaces span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.78rem;
	color: rgba(12, 17, 72, 0.72);
}

@media (max-width: 767.98px) {
	.category-richtext ul.km-surfaces {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.mfr-products-host--awaiting {
	display: none;
}

#mfr-products.mfr-products--awaiting {
	display: none !important;
}

.col.d-flex.is-mfr-hidden,
[data-mfr-name].is-mfr-hidden {
	display: none !important;
}

.mfr-series__item--shop {
	padding: 0;
	overflow: hidden;
	background: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	text-align: left;
	box-shadow: 0 4px 14px rgba(12, 17, 72, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mfr-series__item--shop:hover,
.mfr-series__item--shop:focus-visible,
.mfr-series__item--shop.is-active {
	transform: translateY(-2px);
	border-color: rgba(12, 17, 72, 0.22);
	box-shadow: 0 12px 28px rgba(12, 17, 72, 0.12);
	outline: none;
}

.mfr-series__item--shop.is-active {
	border-color: var(--mfr-navy);
	box-shadow: 0 0 0 2px rgba(12, 17, 72, 0.18), 0 12px 28px rgba(12, 17, 72, 0.12);
}

.mfr-series__media {
	display: block;
	background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
	aspect-ratio: 1 / 1;
	max-height: 9.5rem;
	overflow: hidden;
}

.category-richtext .mfr-series__item--shop img,
.mfr-series__item--shop img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 0 !important;
	padding: 0.45rem;
}

.mfr-series__body {
	display: block;
	padding: 0.55rem 0.7rem 0.35rem;
	flex: 1;
}

.mfr-series__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0.42rem 0.65rem 0.48rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #fff;
	background: var(--mfr-navy);
	text-align: center;
	transition: background 0.15s ease, color 0.15s ease;
}

.mfr-series__item--shop:hover .mfr-series__cta,
.mfr-series__item--shop:focus-visible .mfr-series__cta,
.mfr-series__item--shop.is-active .mfr-series__cta {
	background: #daa520;
	color: #0c1148;
}

.mfr-series__cta::after {
	content: " ›";
	font-weight: 700;
}

.mfr-series-shop {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.55rem;
	margin: -0.35rem 0 var(--mfr-gap);
}

.mfr-series-hint,
.mfr-series-status,
.mfr-series-empty {
	margin: 0;
	font-size: var(--mfr-fs-sm);
	line-height: 1.4;
	color: var(--mfr-muted);
	text-align: left;
}

.mfr-series-status:empty {
	display: none;
}

.mfr-series-all {
	appearance: none;
	border: 1px solid #0c1148;
	background: #0c1148;
	color: #fff;
	font-weight: 800;
	font-size: 0.9rem;
	line-height: 1.25;
	padding: 0.7rem 1rem;
	border-radius: 0.55rem;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mfr-series-all:hover,
.mfr-series-all:focus-visible {
	background: #daa520;
	border-color: #daa520;
	color: #0c1148;
	outline: none;
}

.mfr-key {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(13rem, 0.65fr);
	gap: 0.65rem 1rem;
	align-items: stretch;
	margin: 0 0 var(--mfr-gap);
}

.category-richtext .mfr-key__copy h2,
.category-richtext .mfr-who h2,
.category-richtext .mfr-faq h2,
.mfr-key__copy h2,
.mfr-who h2,
.mfr-faq h2 {
	margin: 0 0 0.5rem;
	text-align: left;
	color: var(--mfr-navy);
	font-size: var(--mfr-fs-h);
	font-weight: 700;
	line-height: 1.25;
}

.mfr-key__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem 1rem;
}

.mfr-point {
	padding-left: 1.5rem;
	position: relative;
}

.category-richtext .mfr-point h3,
.mfr-point h3 {
	margin: 0 0 0.08rem;
	font-size: var(--mfr-fs);
	font-weight: 700;
	color: var(--mfr-navy);
	line-height: 1.25;
}

.mfr-point p {
	margin: 0;
	font-size: var(--mfr-fs-sm);
	line-height: 1.4;
	color: var(--mfr-ink);
}

.mfr-point::before,
.mfr-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12rem;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 50%;
	background: var(--mfr-check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='m3.6 8.2 2.7 2.7 6.1-6.2'/%3E%3C/svg%3E") center / 0.62rem no-repeat;
}

.mfr-key__photo {
	margin: 0;
	min-height: 0;
	height: 100%;
	border-radius: 0.55rem;
	overflow: hidden;
	background: #eef0f4;
}

.category-richtext .mfr-key__photo img,
.mfr-key__photo img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0 !important;
	border-radius: 0.55rem;
}

.mfr-checks {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.28rem 1.25rem;
	margin: 0 0 var(--mfr-gap);
	padding: 0;
}

.mfr-checks li {
	position: relative;
	margin: 0;
	padding: 0.05rem 0 0.05rem 1.5rem;
	font-size: var(--mfr-fs);
	line-height: 1.35;
	color: var(--mfr-navy);
}

.mfr-who {
	margin: 0;
	padding: 0.65rem 0.85rem 0.7rem;
	border-radius: 0.5rem;
	border: 1px solid var(--mfr-line);
	background:
		linear-gradient(90deg, rgba(201, 162, 39, 0.16) 0, rgba(201, 162, 39, 0.16) 3px, #fbfaf6 3px);
}

.mfr-who p {
	margin: 0;
	text-align: left;
	font-size: var(--mfr-fs);
	line-height: 1.45;
}

.mfr-source {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	line-height: 1.35;
	color: var(--mfr-muted);
}

.category-intro-row:has(.mfr-landing) {
	margin-bottom: 1.1rem !important;
}

@media (max-width: 991.98px) {
	.mfr-series {
		grid-template-columns: 1fr 1fr;
	}

	.mfr-key {
		grid-template-columns: 1fr;
	}

	.mfr-key__photo {
		height: 11rem;
		order: -1;
	}
}

@media (max-width: 575.98px) {
	.mfr-pills,
	.mfr-key__grid,
	.mfr-checks,
	.mfr-series {
		grid-template-columns: 1fr;
	}

	.mfr-pills {
		padding: 0.75rem 0;
		gap: 0.55rem;
		justify-items: start;
	}

	.category-richtext .mfr-lead,
	.mfr-lead {
		max-width: 40rem;
		text-align: center;
		margin-bottom: 1rem;
	}

	.mfr-who {
		padding: 0.6rem 0.7rem;
	}

	.category-richtext .mfr-who p,
	.category-richtext .mfr-point p {
		text-align: left;
	}
}

/* Rozcestník Zelená střecha — stejná stupnice mfr-*, širší fotky a hero */
.mfr-landing--hub {
	max-width: 76rem;
}

.category-richtext .mfr-hero,
.mfr-hero {
	position: relative;
	margin: 0 0 1.15rem;
	border-radius: 0.75rem;
	overflow: hidden;
	background: #1a2a22;
	min-height: 12rem;
}

.category-richtext .mfr-hero img,
.mfr-hero img {
	width: 100% !important;
	height: 22rem !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center 42%;
	display: block;
	margin: 0 !important;
	border-radius: 0.75rem;
}

.mfr-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 16, 14, 0.08) 28%, rgba(10, 16, 14, 0.62) 100%);
	pointer-events: none;
	border-radius: 0.75rem;
}

.category-richtext .mfr-hero__caption,
.mfr-hero__caption {
	position: absolute;
	left: 1.15rem;
	right: 1.15rem;
	bottom: 1.05rem;
	z-index: 1;
	display: block;
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.mfr-landing--hub .mfr-series {
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.mfr-series__item--photo {
	padding: 0;
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mfr-series__item--photo:hover,
.mfr-series__item--photo:focus-within {
	transform: translateY(-2px);
	border-color: #daa520;
	box-shadow: 0 12px 28px rgba(12, 17, 72, 0.1);
}

.mfr-series__item--photo a {
	display: block;
	color: inherit;
	text-decoration: none !important;
}

.mfr-series__item--photo a:hover .mfr-series__name,
.mfr-series__item--photo a:focus-visible .mfr-series__name {
	color: #daa520;
}

.category-richtext .mfr-series__item--photo img,
.mfr-series__item--photo img {
	width: 100% !important;
	height: 12.5rem !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0 !important;
	border-radius: 0;
}

.mfr-series__copy {
	display: block;
	padding: 0.7rem 0.85rem 0.85rem;
}

.category-richtext .mfr-faq h2,
.mfr-faq h2 {
	margin: 0 0 0.55rem;
	text-align: left;
	color: var(--mfr-navy);
	font-size: var(--mfr-fs-h);
	font-weight: 700;
	line-height: 1.25;
}

.mfr-faq {
	margin: 0.85rem 0 0;
}

.mfr-faq dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem 1rem;
	margin: 0;
}

.mfr-faq dt {
	margin: 0;
	font-weight: 700;
	font-size: var(--mfr-fs);
	color: var(--mfr-navy);
	line-height: 1.3;
}

.mfr-faq dd {
	margin: 0.2rem 0 0;
	font-size: var(--mfr-fs-sm);
	line-height: 1.4;
	color: var(--mfr-ink);
}

@media (max-width: 575.98px) {
	.category-richtext .mfr-hero img,
	.mfr-hero img {
		height: 14rem !important;
	}

	.mfr-hero__caption {
		font-size: 1.02rem;
		left: 0.85rem;
		right: 0.85rem;
		bottom: 0.8rem;
	}

	.mfr-landing--hub .mfr-series {
		grid-template-columns: 1fr;
	}

	.category-richtext .mfr-series__item--photo img,
	.mfr-series__item--photo img {
		height: 8.5rem !important;
	}

	.mfr-series__media {
		max-height: 8rem;
	}

	.mfr-faq dl {
		grid-template-columns: 1fr;
	}
}

.mfr-landing--material .mfr-lead {
	margin-bottom: 0.55rem;
}

.mfr-landing--material .mfr-pills {
	margin-bottom: 0.55rem;
	padding: 0.4rem 0.2rem;
}

.mfr-landing--material .mfr-key {
	grid-template-columns: 1fr;
	margin-bottom: 0.55rem;
}

.mfr-landing--material .mfr-key__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.35rem 0.75rem;
}

.mfr-landing--material .mfr-who {
	padding: 0.45rem 0.7rem;
}

.mfr-videos {
	margin: 0.55rem 0 0;
	padding: 0.4rem 0.55rem 0.5rem 0.7rem;
	border: 1px solid var(--mfr-line);
	border-radius: 0.5rem;
	background:
		linear-gradient(90deg, rgba(201, 162, 39, 0.2) 0, rgba(201, 162, 39, 0.2) 3px, #fbfaf6 3px);
}

.mfr-videos__head {
	display: flex;
	align-items: baseline;
	gap: 0.55rem 0.8rem;
	margin: 0 0 0.35rem;
	flex-wrap: wrap;
}

.category-richtext .mfr-videos h2,
.mfr-videos h2 {
	margin: 0;
	text-align: left;
	font-size: 0.92rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--mfr-navy);
}

.category-richtext .mfr-videos__head p,
.mfr-videos__head p {
	margin: 0;
	text-align: left;
	font-size: 0.78rem;
	line-height: 1.3;
	color: var(--mfr-muted);
}

.mfr-videos__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.4rem;
}

.mfr-video {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 0.35rem;
	color: #fff;
	text-decoration: none;
	background: #0c1148;
}

.mfr-video::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0.4rem;
	top: 0.35rem;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background: rgba(12, 17, 72, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.2 4.4v7.2L12 8z'/%3E%3C/svg%3E") center / 0.55rem no-repeat;
}

.category-richtext .mfr-video img,
.mfr-video img {
	width: 100% !important;
	height: 4.15rem !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center 22%;
	display: block;
	margin: 0 !important;
	border-radius: 0;
}

.mfr-video span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 0.7rem 0.35rem 0.2rem;
	font-size: 0.68rem;
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(transparent, rgba(12, 17, 72, 0.88));
}

@media (max-width: 991.98px) {
	.mfr-landing--material .mfr-key__grid {
		grid-template-columns: 1fr 1fr;
	}

	.mfr-videos__row {
		display: flex;
		overflow-x: auto;
		gap: 0.4rem;
		padding-bottom: 0.15rem;
	}

	.mfr-video {
		flex: 0 0 8.6rem;
	}
}

@media (max-width: 575.98px) {
	.mfr-landing--material .mfr-key__grid {
		grid-template-columns: 1fr;
	}

	.mfr-videos__head {
		display: block;
	}

	.mfr-videos__head p {
		margin-top: 0.12rem;
	}
}
