/* Nyolcadik – cikkfordítások: nyelvválasztó és figyelmeztetés.
   A lap tipográfiai snippetjei erős szabályokkal formázzák a cikk szövegét,
   ezért a kulcsfontosságú tulajdonságok !important-tal érkeznek. */

.nyf-switch {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	padding: 10px 0 !important;
	border-top: 1px solid #E5E5E5;
	border-bottom: 1px solid #E5E5E5;
	font-size: 14px !important;
	line-height: 1.3 !important;
}
.nyf-switch__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6B6B6B !important;
	font-weight: 600;
}
.nyf-switch__icon { flex: none; color: #02964A; }
.nyf-switch .nyf-switch__list {
	display: flex !important;
	flex-wrap: wrap;
	gap: 4px 4px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.nyf-switch .nyf-switch__list li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	line-height: inherit !important;
}
.nyf-switch .nyf-switch__list li::before,
.nyf-switch .nyf-switch__list li::marker { content: none !important; display: none !important; }
.nyf-switch .nyf-switch__list a,
.nyf-switch .nyf-switch__cur {
	display: inline-block;
	padding: 3px 8px !important;
	color: #111111 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	border: 1px solid #DDDDDD;
	background: #FFFFFF !important;
}
.nyf-switch .nyf-switch__list a:hover,
.nyf-switch .nyf-switch__list a:focus-visible {
	border-color: #02964A;
	color: #016B35 !important;
	text-decoration: underline !important;
}
.nyf-switch .nyf-switch__cur {
	background: #02964A !important;
	border-color: #02964A;
	color: #FFFFFF !important;
}

.nyf-notice {
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	padding: 10px 14px !important;
	background: #FFF8DC !important;
	border-left: 4px solid #FDC412;
	color: #323232 !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	font-weight: 400 !important;
}
.nyf-notice[dir="rtl"] { border-left: 0; border-right: 4px solid #FDC412; }
.nyf-notice a { color: #016B35 !important; text-decoration: underline !important; font-weight: 600 !important; }
.nyf-notice a:hover { color: #C30F12 !important; }

/* Arab: a cikk szövege, címe és leadje jobbról balra. */
.nyf-body[dir="rtl"],
.nyf-body[dir="rtl"] p,
.nyf-body[dir="rtl"] h2,
.nyf-body[dir="rtl"] h3,
.nyf-body[dir="rtl"] h4,
.nyf-body[dir="rtl"] li,
.nyf-body[dir="rtl"] blockquote,
.nyf-tr-el[dir="rtl"] {
	direction: rtl !important;
	text-align: right !important;
}
.nyf-body[dir="rtl"] ul,
.nyf-body[dir="rtl"] ol { padding-right: 1.5em; padding-left: 0; }

/* ---------- Fejléc: nyelvválasztó a Feliratkozás gomb mellett ----------
   A fejléc snippetjei (67, 111, 112) nagyon erős, !important szabályokkal
   dolgoznak, ezért itt is ugyanilyen erős szelektor kell. */

html body .nyf-hsw { position: relative !important; display: flex !important; align-items: center; flex: none; }
html body .nyf-hsw .nyf-hsw__btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 10px !important;
	background: #FFFFFF !important;
	color: #111111 !important;
	border: 2px solid #111111 !important;
	border-radius: 0 !important;
	box-shadow: 3px 3px 0 0 #111111 !important;
	font: 800 12.5px/1 "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: transform .08s, box-shadow .08s;
}
html body .nyf-hsw .nyf-hsw__btn svg { flex: none; display: block; color: #02964A; }
html body .nyf-hsw .nyf-hsw__btn .nyf-hsw__caret { color: #111111; transition: transform .15s; }
html body .nyf-hsw.is-open .nyf-hsw__caret { transform: rotate(180deg); }
html body .nyf-hsw .nyf-hsw__btn:hover,
html body .nyf-hsw.is-open .nyf-hsw__btn { transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 #111111 !important; }
html body .nyf-hsw .nyf-hsw__btn:focus-visible { outline: 3px solid #FDC412 !important; outline-offset: 2px; }

html body .nyf-hsw__menu {
	position: fixed !important;
	left: auto !important;
	z-index: 2147483000 !important;
	min-width: 190px;
	margin: 0 !important;
	padding: 6px 0 !important;
	list-style: none !important;
	background: #FFFFFF !important;
	border: 2px solid #111111 !important;
	box-shadow: 4px 4px 0 0 #111111 !important;
}
html body .nyf-hsw__menu[hidden] { display: none !important; }
html body .nyf-hsw__menu li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body .nyf-hsw__menu li::before { content: none !important; }
html body .nyf-hsw__menu .nyf-hsw__item {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 8px 14px !important;
	color: #111111 !important;
	background: transparent !important;
	text-decoration: none !important;
	font: 600 15px/1.25 "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	white-space: nowrap;
}
html body .nyf-hsw__menu .nyf-hsw__item b {
	flex: none;
	width: 26px;
	font: 800 11px/1 "Open Sans", system-ui, sans-serif !important;
	letter-spacing: .04em !important;
	color: #6B6B6B !important;
}
html body .nyf-hsw__menu a.nyf-hsw__item:hover,
html body .nyf-hsw__menu a.nyf-hsw__item:focus-visible { background: #F1F8F4 !important; color: #016B35 !important; outline: none; }
html body .nyf-hsw__menu .nyf-hsw__item.is-current { background: #02964A !important; color: #FFFFFF !important; }
html body .nyf-hsw__menu .nyf-hsw__item.is-current b { color: #FFFFFF !important; }
html body .nyf-hsw__menu .nyf-hsw__item span[dir="rtl"] { font-size: 16px; }

/* Ha a fejléc nem található: lebegő gomb a jobb felső sarokban. */
html body .nyf-hsw.nyf-hsw--float { position: fixed !important; top: 12px; right: 12px; z-index: 100000; }

/* 760 px alatt a logó sorában, jobbra, csak a földgömb. */
html body header.tyuha-header .tyuha-h-mast .nyf-hsw.nyf-hsw--mast {
	position: absolute !important;
	top: 13px !important;
	right: 10px !important;
	z-index: 5 !important;
	margin: 0 !important;
	grid-row: auto !important;
}
html body .nyf-hsw.nyf-hsw--mast .nyf-hsw__btn { padding: 0 7px !important; gap: 3px !important; }
html body .nyf-hsw.nyf-hsw--mast .nyf-hsw__code,
html body .nyf-hsw.nyf-hsw--mast .nyf-hsw__caret { display: none !important; }

/* ---------- Nyelvi gyűjtőoldalak (/en/ …) ---------- */

body.nyf-rtl .nyf-hub .nyf-hub-head::before,
body.nyf-rtl .nyf-hub .nyf-hub-head::after { direction: ltr !important; }
body.nyf-rtl .nyf-hub h1,
body.nyf-rtl .nyf-hub h2,
body.nyf-rtl .nyf-hub h3,
body.nyf-rtl .nyf-hub p,
body.nyf-rtl .nyf-hub [class*="title"],
body.nyf-rtl .nyf-hub [class*="lead"] {
	direction: rtl !important;
	text-align: right !important;
	unicode-bidi: plaintext;
}
.nyf-hub .nyf-hub-list { list-style: none; margin: 24px 0; padding: 0; }
.nyf-hub .nyf-hub-list li { padding: 16px 0; border-bottom: 1px solid #E5E5E5; }
.nyf-hub .nyf-hub-list a { font-weight: 800; font-size: 20px; color: #111111; text-decoration: none; }
