/* Prepínač jazyka v hlavičke a upozornenie o čiastočnom preklade. */
.ryb-lang {
	position: relative;
	flex: none;
}
.ryb-lang > summary {
	list-style: none;
}
.ryb-lang > summary::-webkit-details-marker {
	display: none;
}
.ryb-lang__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 42px;
	padding: 0 10px;
	border-radius: 10px;
	cursor: pointer;
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--wp--preset--color--ink-2, currentColor);
	transition: background-color .2s, color .2s;
	user-select: none;
}
.ryb-lang__btn:hover,
.ryb-lang[open] > .ryb-lang__btn {
	background: var(--wp--preset--color--shallow, rgba(127, 127, 127, .14));
}
.ryb-lang__btn:focus-visible,
.ryb-lang__list a:focus-visible {
	outline: 2px solid var(--wp--preset--color--river, currentColor);
	outline-offset: 2px;
}
.ryb-lang__list {
	position: absolute;
	z-index: 60;
	top: calc(100% + 6px);
	right: 0;
	min-width: 168px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border-radius: 14px;
	background: var(--wp--preset--color--paper, #fff);
	color: var(--wp--preset--color--ink, #111);
	box-shadow: 0 0 0 1px rgba(127, 127, 127, .28), 0 14px 34px rgba(0, 0, 0, .22);
}
.ryb-lang__list li {
	margin: 0;
	padding: 0;
}
.ryb-lang__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 9px;
	font-size: .9375rem;
	text-decoration: none;
	color: inherit;
}
.ryb-lang__list a:hover {
	background: var(--wp--preset--color--shallow, rgba(127, 127, 127, .14));
}
.ryb-lang__list a[aria-current] {
	font-weight: 700;
}
.ryb-lang__list a[aria-current]::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--blaze, currentColor);
}
.ryb-lang__list a[data-preview]::after {
	content: 'náhľad';
	font-size: .7rem;
	opacity: .65;
}
@media (max-width: 781px) {
	.ryb-lang__btn {
		min-height: 40px;
		padding: 0 8px;
	}
	.ryb-lang__cur {
		display: none;
	}
	.ryb-lang__list {
		position: fixed;
		top: 66px;
		right: 12px;
	}
}
.ryb-lang-note {
	margin: 0;
	padding: 10px clamp(1rem, 4vw, 2rem);
	font-size: .875rem;
	line-height: 1.45;
	background: rgba(255, 176, 32, .16);
	color: inherit;
	border-bottom: 1px solid rgba(255, 176, 32, .4);
}
.ryb-lang-note a {
	font-weight: 650;
	text-underline-offset: 3px;
}
.ryb-lang-note--preview {
	background: rgba(95, 208, 220, .14);
	border-bottom-color: rgba(95, 208, 220, .4);
}

/* Kompaktná hlavička: hamburger namiesto riadka s menu, keď sa položky (podľa jazyka a prihlásenia) nezmestia. Zapína rybar-lang.js. */
@media (min-width: 782px) {
	header.rybar-header.ryb-compact .wp-block-navigation.rybar-nav-main .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	header.rybar-header.ryb-compact .wp-block-navigation.rybar-nav-main .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	header.rybar-header.ryb-compact .wp-block-navigation.rybar-nav-main {
		flex: 0 0 auto;
		margin-left: auto;
	}
}

/* Úzke displeje (okolo 320 px) alebo zväčšené písmo: nástroje v hlavičke sa musia zmestiť na displej. Triedy zapína rybar-lang.js. */
header.rybar-header.ryb-tight .rybar-brand .wp-block-site-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
header.rybar-header.ryb-tight .rybar-header__bar,
header.rybar-header.ryb-tight .rybar-header__tools {
	gap: 4px;
}
header.rybar-header.ryb-tight2 .rybar-header__bar,
header.rybar-header.ryb-tight2 .rybar-header__tools {
	gap: 2px;
}
header.rybar-header.ryb-tight2 .ryb-lang__btn,
header.rybar-header.ryb-tight2 .ryb-theme-toggle {
	min-width: 36px;
	padding-inline: 6px;
}

/* 1.141.53: slovenský originál názvu v nadpise (uk) */
.ryb-h1-orig{font-size:.6em;font-weight:500;opacity:.72;white-space:nowrap;letter-spacing:0}

/* 1.141.120: prepínač krajiny vedľa prepínača jazyka (vypíše sa, až keď je spustená viac ako jedna krajina) */
.ryb-country {
	position: relative;
	flex: none;
}
.ryb-country > summary {
	list-style: none;
}
.ryb-country > summary::-webkit-details-marker {
	display: none;
}
.ryb-country__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 8px;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color .2s;
	user-select: none;
}
.ryb-country__btn:hover,
.ryb-country[open] > .ryb-country__btn {
	background: var(--wp--preset--color--shallow, rgba(127, 127, 127, .14));
}
.ryb-country__btn:focus-visible,
.ryb-country__list a:focus-visible {
	outline: 2px solid var(--wp--preset--color--river, currentColor);
	outline-offset: 2px;
}
.ryb-flag {
	display: block;
	flex: none;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .14);
}
.ryb-country__list {
	position: absolute;
	z-index: 60;
	top: calc(100% + 6px);
	right: 0;
	min-width: 180px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border-radius: 14px;
	background: var(--wp--preset--color--paper, #fff);
	color: var(--wp--preset--color--ink, #111);
	box-shadow: 0 0 0 1px rgba(127, 127, 127, .28), 0 14px 34px rgba(0, 0, 0, .22);
}
.ryb-country__list li {
	margin: 0;
	padding: 0;
}
.ryb-country__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 9px;
	font-size: .9375rem;
	text-decoration: none;
	color: inherit;
}
.ryb-country__list a:hover {
	background: var(--wp--preset--color--shallow, rgba(127, 127, 127, .14));
}
.ryb-country__list a[aria-current] {
	font-weight: 700;
}
@media (max-width: 781px) {
	.ryb-country__btn {
		min-width: 40px;
		min-height: 40px;
	}
	.ryb-country__list {
		position: fixed;
		top: 66px;
		right: 12px;
	}
}
