/*
 * Cookie lišta – tlačítka a písmo přebírá z tématu (Impreza .w-btn), tady jen rozložení.
 * „Přijmout“ a „Odmítnout“ mají záměrně stejný styl (stejně výrazné volby).
 */
.rr-cl {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 99999;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.rr-cl[hidden] {
	display: none;
}

.rr-cl__box {
	pointer-events: auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	padding: 1.25rem 1.5rem;
	background: #fff;
	color: #25282b;
	border-top: 4px solid var(--color-content-primary, #00a8a6);
	border-radius: 4px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.rr-cl__nadpis {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.rr-cl__text {
	margin: 0 0 1rem;
}

.rr-cl__nastaveni fieldset {
	border: 0;
	margin: 0 0 1rem;
	padding: 0;
}

.rr-cl__nastaveni p {
	margin: 0 0 0.5rem;
}

.rr-cl__nastaveni input {
	margin-right: 0.4em;
}

.rr-cl__tlacitka {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 0.8rem;
}

.rr-cl__tlacitka [hidden] {
	display: none !important;
}

.rr-cl__odkaz {
	background: none;
	border: 0;
	padding: 0.5rem 0.25rem;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.rr-cl button:focus-visible,
.rr-cl a:focus-visible,
.rr-cl input:focus-visible {
	outline: 3px solid var(--color-content-primary, #00a8a6);
	outline-offset: 2px;
}

/* Zástupný blok místo videa z YouTube */
.rr-cl-video {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 1rem;
	background: #1d2327;
	color: #fff;
	text-align: center;
}

.w-video-h .rr-cl-video {
	position: absolute;
	inset: 0;
	z-index: 2;
	aspect-ratio: auto;
}

.rr-cl-video p {
	margin: 0;
}

.rr-cl-video__link {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.rr-cl {
		right: 0;
		bottom: 0;
		left: 0;
	}

	.rr-cl__box {
		border-radius: 0;
		padding: 1rem;
	}

	.rr-cl__tlacitka .rr-cl__btn {
		flex: 1 1 100%;
	}
}
