/* =============================================================================================
   Borboly – fejléc: felső sáv, logó, főmenü, kereső, mobil fejléc, lábmorzsa, mobil oldalpanel
   Töréspontok: 767px (felső sáv eltűnik, base.css .hidden-xs), 960px (mobil fejléc, v2; a borbolyban 700px), 992px (szűkebb menü)
   ============================================================================================= */

/* --- Felső sáv (dátum + RO/EN menü) ----------------------------------------------------------- */
.topbar {
	height: 35px;
	overflow: hidden;
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
}
.topbar .topbar-inner { padding: 4px 0; }
.topbar .section-menu { height: 26px; max-width: 100%; }

/* Közös menülista-alap (felső, fő és lábléc menü is ezt használja) */
ul.menu { padding: 0; margin: 0; list-style: none; }
ul.menu ul { list-style: none; padding: 0; margin: 0; }
ul.menu a { text-decoration: none; }
ul.menu > li { float: left; position: relative; }
ul.menu li > a { position: relative; }

.top-menu > li {
	margin-right: 15px;
	line-height: 25px;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 400;
	text-transform: capitalize;
}
.top-menu > li > a { color: #707070; }
.top-menu > li:hover > a { color: var(--b-accent); }

/* Zöld dátumcímke */
.topbar .topbar-date {
	display: inline-block;
	position: relative;
	top: -1px;
	padding: 3px 10px;
	line-height: 18px;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff;
	background: var(--b-accent);
}

/* --- Fejléc keret ---------------------------------------------------------------------------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid #dedede;
}
.site-header .content-wrap { overflow: visible; }
.site-header .header-inner { padding: 0; position: relative; }
.site-header > .header-inner > .content-wrap > .container { position: relative; }

/* --- Szöveges logó ---------------------------------------------------------------------------- */
.site-header .site-branding {
	float: left;
	width: 23.333%;
	margin: 0;
	line-height: 90px;
}
.site-header .site-branding .logo {
	display: table;
	width: 100%;
	height: 86px;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 86px;
	color: #2d2d2d;
}
.site-header .site-branding .logo a {
	vertical-align: middle;
	padding: 5px 10px 5px 0;
	color: #444;
}

/* --- Főmenü ----------------------------------------------------------------------------------- */
.site-header .main-menu-container {
	position: relative;
	float: right;
	width: 76.666%;
	padding-right: 40px; /* a kereső gombnak hely */
}
.site-header .main-menu.menu {
	float: right;
	height: 91px;
	margin-bottom: -1px;
}
.site-header .main-menu.menu > li {
	display: inline-block;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
}
.site-header .main-menu.menu > li > a {
	display: inline-block;
	padding: 0 15px;
	line-height: 90px;
	color: #444;
}
/* Hover/aktív: finom háttér, színes alsó csík, kiemelt szöveg */
.site-header .main-menu.menu > li:hover > a,
.site-header .main-menu.menu > li.current-menu-item > a,
.site-header .main-menu.menu > li.current-menu-parent > a { background: rgba(0, 0, 0, .05); }
.site-header .main-menu.menu > li:hover > a { color: var(--b-accent); }
.site-header .main-menu.menu > li > a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: -1px;
	left: 50%;
	width: 20%;
	height: 2px;
	background: var(--b-accent);
	visibility: hidden;
	transform: translateX(-50%);
	transition: all .3s ease;
}
.site-header .main-menu.menu > li:hover > a::before,
.site-header .main-menu.menu > li.current-menu-item > a::before,
.site-header .main-menu.menu > li.current-menu-parent > a::before { width: 100%; visibility: visible; }

/* AgoraEU menüpont saját kék színe */
.site-header .main-menu.menu #menu-item-34280 > a { color: #1e73be; }
.site-header .main-menu.menu > #menu-item-34280 > a::before { background: #1e73be; }

/* Lefelé mutató nyíl az almenüs pontok alatt (FontAwesome) */
.site-header .main-menu.menu li.menu-item-has-children > a::after,
.site-header .main-menu.menu .sub-menu > li.menu-item-has-children > a::after {
	display: inline-block;
	font: normal 400 13px/26px FontAwesome;
	content: '\f107';
	-webkit-font-smoothing: antialiased;
}
.site-header .main-menu.menu > li.menu-item-has-children > a::after {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	margin: 0;
	text-align: center;
	color: rgba(0, 0, 0, .21);
}

/* --- Legördülő almenü ------------------------------------------------------------------------- */
.site-header .main-menu.menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 100;
	width: 210px;
	text-align: left;
	background: #fff;
	box-shadow: 0 7px 7px rgba(0, 0, 0, .15);
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s ease;
}
/* Láthatatlan híd az almenü és a menüpont között, hogy a hover ne szakadjon meg */
.site-header .main-menu.menu .sub-menu::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -6px;
	height: 6px;
}
.site-header .main-menu.menu li:hover > .sub-menu { visibility: visible; opacity: 1; z-index: 9999; }
.site-header .main-menu.menu .sub-menu > li { position: relative; color: #434343; }
.site-header .main-menu.menu .sub-menu > li > a {
	display: block;
	padding: 8px 16px;
	line-height: 1.7;
	color: #434343;
	border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.site-header .main-menu.menu .sub-menu > li:last-child > a { border-bottom: 0; }
.site-header .main-menu.menu .sub-menu > li:hover > a { color: #fff; background: var(--b-accent); }
.site-header .main-menu.menu .sub-menu > li.current-menu-item > a { color: var(--b-accent); }
.site-header .main-menu.menu .sub-menu > li.current-menu-item:hover > a { color: #fff; }
/* Harmadik szint: jobbra nyílik */
.site-header .main-menu.menu .sub-menu .sub-menu { top: 0; left: 99.4%; }
.site-header .main-menu.menu .sub-menu > li.menu-item-has-children > a::after {
	position: absolute;
	top: 7px;
	right: 10px;
	content: '\f105';
}

/* --- Kereső gomb és kereső panel -------------------------------------------------------------- */
.site-header .menu-action-buttons {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	width: 40px;
}
.site-header .menu-action-buttons > div {
	position: relative;
	float: right;
	display: inline-block;
	min-width: 24px;
	height: 100%;
	line-height: 90px;
	text-align: right;
}
.site-header .search-container { position: relative; z-index: 1; min-width: 37px; }
.site-header .search-container .search-handler {
	position: absolute;
	top: 50%;
	right: 3px;
	z-index: 100;
	display: inline-block;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	font-size: 15px;
	line-height: 26px;
	text-align: center;
	color: #444;
	cursor: pointer;
	transition: color .3s ease;
}
.site-header .search-container:hover .search-handler,
.site-header .search-container.open .search-handler { color: var(--b-accent); }

.site-header .search-container .search-box {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 99;
	width: 100%;
	height: 100%;
	padding: 0 36px 0 0;
	text-align: center;
}
.site-header .search-container.open .search-box { display: block; }
.site-header .search-container .search-box .search-form .search-field {
	width: 100%;
	height: 90px;
	line-height: 45px;
	font-size: 14px;
	color: #444;
	background: transparent;
	border: 0;
	outline: 0;
}
.site-header .search-container .search-box .search-form input[type=submit] { display: none; }
.search-form input[type=search] { float: left; box-shadow: none; }

/* Nyitott kereső: a menü elhalványul, a kereső a menü helyére nyúlik */
.site-header .main-menu-container.search-open .menu-action-buttons,
.site-header .search-container.open { width: 100%; }
.site-header .main-menu-container.search-open .search-container { width: 66.66%; right: 0; left: auto; line-height: 90px; }
.site-header .main-menu-container.search-open .main-menu { opacity: 0; pointer-events: none; }

/* --- Mobil fejléc (<= 700px) ------------------------------------------------------------------ */
.rh-header {
	display: none;
	min-width: 300px;
	user-select: none;
}
.rh-header .rh-container {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}
.rh-header .menu-container { float: right; }
.rh-header .menu-container .menu-handler {
	position: relative;
	display: inline-block;
	width: 54px;
	height: 54px;
	font-size: 18px;
	text-align: center;
	color: #fff;
	background: rgba(255, 255, 255, .05);
	border-left: 1px solid rgba(0, 0, 0, .07);
	cursor: pointer;
}
/* Hamburger ikon három vonalból */
.rh-header .menu-container .menu-handler .lines,
.rh-header .menu-container .menu-handler .lines::before,
.rh-header .menu-container .menu-handler .lines::after {
	display: inline-block;
	width: 22px;
	height: 2px;
	background: #2c2c2c;
}
.rh-header .menu-container .menu-handler .lines { position: relative; margin-top: 25.5px; }
.rh-header .menu-container .menu-handler .lines::before,
.rh-header .menu-container .menu-handler .lines::after { content: ''; position: absolute; left: 0; }
.rh-header .menu-container .menu-handler .lines::before { top: 8px; }
.rh-header .menu-container .menu-handler .lines::after { top: -8px; }
.rh-header .logo-container { height: 54px; padding: 0 0 0 15px; line-height: 54px; }
.rh-header .logo-container a { color: #2c2c2c; }

@media (max-width: 992px) {
	.site-header .main-menu.menu > li > a { padding: 0 7px; }
}
/* v2: a teljes főmenü 930 px alatt nem fér el a logó mellett (két sorba törne), ezért már 960 px-től a mobil fejléc látszik */
@media (max-width: 960px) {
	.site-header { display: none; }
	.rh-header { display: block; }
}

/* --- Lábmorzsa --------------------------------------------------------------------------------- */
.bf-breadcrumb.bc-top-style { padding: 7px 0 0; }
body.boxed .bf-breadcrumb > .bf-breadcrumb-container { margin-left: 5px !important; margin-right: 5px !important; }
.bf-breadcrumb .bf-breadcrumb-items { padding: 0; margin: 0; list-style: none; font-size: 0; }
.bf-breadcrumb .bf-breadcrumb-item { display: inline-block; font-size: 12px; line-height: 22px; }
.bf-breadcrumb .bf-breadcrumb-item::after {
	display: inline-block;
	margin: 0 9px;
	font: normal 400 12px/22px FontAwesome;
	content: '\f105';
	color: #929292;
	vertical-align: top;
	-webkit-font-smoothing: antialiased;
}
.bf-breadcrumb .bf-breadcrumb-item:last-child::after,
.bf-breadcrumb .bf-breadcrumb-item.bf-breadcrumb-end::after { display: none; }
.bf-breadcrumb .bf-breadcrumb-item a,
.bf-breadcrumb .bf-breadcrumb-item span { display: inline-block; color: #9e9e9e; }
.bf-breadcrumb .bf-breadcrumb-item span { vertical-align: top; transition: all .4s ease; }
.bf-breadcrumb .bf-breadcrumb-item a:hover span { color: var(--b-accent); }
@media (max-width: 980px) {
	body.boxed .bf-breadcrumb > .bf-breadcrumb-container { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 680px) {
	body.single .bf-breadcrumb .bf-breadcrumb-item:last-child { display: none; }
}

/* --- Mobil oldalpanel (rh-cover): alapból rejtett, body.open-rh nyitja ------------------------- */
.rh-cover {
	position: fixed;
	top: 0;
	left: -99%;
	z-index: 9999;
	width: 100%;
	height: 101%;
	overflow: auto;
	background: #191919 linear-gradient(85deg, #0a58c0 0, #00ade1 100%);
	visibility: hidden;
	transition: .54s cubic-bezier(.65, .33, .35, .84);
}
body.open-rh .rh-cover { left: 0; visibility: visible; }
body.noscroll { overflow: hidden; }
/* Felső, világosabb sáv a panel tetején */
.rh-cover::before {
	content: '';
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 60px;
	background: #fff;
	opacity: .08;
	box-shadow: 0 0 32px 0 #000;
}
.rh-cover .rh-close {
	position: absolute;
	top: 21px;
	right: 25px;
	z-index: 10;
	width: 20px;
	height: 20px;
	cursor: pointer;
}
.rh-cover .rh-close::before,
.rh-cover .rh-close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px;
	height: 18px;
	margin: -10px 0 0 -1px;
	background: #fff;
	border-radius: 5px;
	opacity: .65;
	transform: rotate(45deg);
}
.rh-cover .rh-close::after { transform: rotate(-45deg); }
.rh-cover .rh-panel { position: absolute; top: 0; left: 0; width: 100%; padding: 27px; }
.rh-cover .rh-p-h {
	position: relative;
	height: 60px;
	margin: -27px -27px 20px;
	padding: 0 23px;
	font-size: 14px;
	line-height: 60px;
	color: #fff;
}
.rh-cover .rh-p-h a { color: #fff; }

/* Panelmenü (a JS ide másolja a főmenüt .resp-menu osztállyal) */
.rh-cover .rh-c-m .resp-menu li { position: relative; display: block; float: none; line-height: 46px; }
.rh-cover .rh-c-m .resp-menu li > a {
	position: relative;
	display: block;
	padding: 0 0 0 3px;
	font-size: 14px;
	color: #fff;
	transition: none;
}
.rh-cover .rh-c-m .resp-menu > li > a { border-bottom: 2px solid rgba(255, 255, 255, .05); }
.rh-cover .rh-c-m .resp-menu li:hover > a { color: var(--b-accent); }
.rh-cover .rh-c-m .resp-menu li li { line-height: 28px; }
.rh-cover .rh-c-m .resp-menu .sub-menu > li > a { font-size: 13px; }
.rh-cover .rh-c-m .resp-menu .sub-menu {
	position: relative;
	display: none;
	visibility: visible;
	opacity: 1;
	background: transparent;
	box-shadow: none;
}
.rh-cover .rh-c-m .resp-menu li.open-sub > .sub-menu { display: block; }
.rh-cover .rh-c-m .resp-menu li.menu-item-has-children > a::after { display: none; }
/* Lenyitó +/– gomb */
.rh-cover .rh-c-m .resp-menu .children-button {
	position: absolute;
	top: 11px;
	right: 0;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	color: silver;
	cursor: pointer;
	border-radius: 50%;
	transition: .55s cubic-bezier(.37, -.04, .2, .99);
}
.rh-cover .rh-c-m .resp-menu li li .children-button { top: 1px; }
.rh-cover .rh-c-m .resp-menu li.open-sub > .children-button { background: rgba(0, 0, 0, .13); opacity: .75; }
.rh-cover .rh-c-m .resp-menu .children-button::before,
.rh-cover .rh-c-m .resp-menu .children-button::after {
	content: '';
	position: absolute;
	top: 11px;
	right: 6px;
	display: inline-block;
	width: 11px;
	height: 2px;
	background: #fff;
	transition: .55s cubic-bezier(.37, -.04, .2, .99);
}
.rh-cover .rh-c-m .resp-menu .children-button::after { transform: rotate(90deg); }
.rh-cover .rh-c-m .resp-menu .open-sub > .children-button::after { transform: none; }
/* Panel kereső */
.rh-cover .search-form { position: relative; margin-top: 35px; }
.rh-cover .search-form input[type=search] {
	margin: 0;
	float: none;
	color: #fff;
	background: rgba(255, 255, 255, .2);
	border: 0;
	border-radius: 3px;
	box-shadow: none;
}
.rh-cover .search-form input[type=submit] { display: none; }
.rh-cover .search-form::before {
	content: '\f002';
	position: absolute;
	top: 10px;
	right: 12px;
	display: inline-block;
	font: 16px/1 FontAwesome;
	color: #fff;
}
.rh-cover .search-form ::placeholder { color: #fff; }

/* --- v2: letisztultabb főmenü és mobil logó ------------------------------------------------------ */
/* Hover/aktív: háttér nélkül, csak a zöld alsó vonal (a szöveg szélességében) */
.site-header .main-menu.menu > li:hover > a,
.site-header .main-menu.menu > li.current-menu-item > a,
.site-header .main-menu.menu > li.current-menu-parent > a { background: none; }
.site-header .main-menu.menu > li.current-menu-item > a,
.site-header .main-menu.menu > li.current-menu-parent > a { color: #222; }
.site-header .main-menu.menu > li > a::before { bottom: 0; height: 3px; }
.site-header .main-menu.menu > li:hover > a::before,
.site-header .main-menu.menu > li.current-menu-item > a::before,
.site-header .main-menu.menu > li.current-menu-parent > a::before { width: calc(100% - 2 * var(--b-menu-pad, 5px)); } /* a Publisher egyéni CSS-e: #main-navigation > li > a { padding: 5px } */
/* Az almenü-nyíl a felirat mellé kerül, nem alá */
.site-header .main-menu.menu > li.menu-item-has-children > a::after {
	position: static;
	width: auto;
	margin-left: 5px;
	line-height: inherit;
	vertical-align: top;
	color: rgba(0, 0, 0, .35);
}
.site-header .main-menu.menu > li.menu-item-has-children:hover > a::after { color: var(--b-accent); }
/* Mobil fejléc: hangsúlyosabb név */
.rh-header .logo-container a { font-family: 'Roboto', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #222; }
/* 961–1010 px: az inline nyilacskák miatt kisebb betű, hogy a menü egy sorban maradjon */
@media (min-width: 961px) and (max-width: 1010px) {
	.site-header #main-navigation > li > a { font-size: 13px !important; } /* a régi globális stílus !important-tal 14px */
	.site-header .main-menu.menu > li.menu-item-has-children > a::after { margin-left: 3px; }
}
/* Mobilon a bejegyzés lábmorzsájának utolsó eleme rejtett: az előtte álló elválasztójel se maradjon árván */
@media (max-width: 680px) {
	body.single .bf-breadcrumb .bf-breadcrumb-item:nth-last-child(2)::after { display: none; }
}

/* --- v2: arcképes logó -------------------------------------------------------------------------- */
.bcs-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.bcs-brand__photo {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--b-accent), 0 4px 12px rgba(0, 0, 0, .12);
	object-fit: cover;
	transition: box-shadow .25s ease, transform .25s ease;
}
.bcs-brand:hover .bcs-brand__photo,
.bcs-brand:focus-visible .bcs-brand__photo { box-shadow: 0 0 0 3px var(--b-accent), 0 6px 16px rgba(0, 0, 0, .16); transform: scale(1.03); }
.bcs-brand__name { display: flex; flex-direction: column; font-family: 'Roboto', sans-serif; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: #2d2d2d; }

/* Asztali fejléc: a név két sorban */
.site-header .site-branding .logo { display: flex; align-items: center; height: 90px; line-height: 1; }
.site-header .site-branding .logo a.bcs-brand { padding: 0; color: inherit; }
.site-header .bcs-brand__name { gap: 3px; font-size: 25px; }
.site-header .bcs-brand__first { font-size: 25px; }
.site-header .bcs-brand__last { font-size: 25px; }
@media (max-width: 1100px) {
	.site-header .bcs-brand { gap: 10px; }
	.site-header .bcs-brand__photo { width: 52px; height: 52px; }
	.site-header .bcs-brand__name, .site-header .bcs-brand__first, .site-header .bcs-brand__last { font-size: 21px; }
}

/* Mobil fejléc: kisebb arckép, a név egy sorban */
.rh-header .logo-container { display: flex; align-items: center; line-height: 1; }
.rh-header .logo-container a.bcs-brand { gap: 10px; }
.rh-header .bcs-brand__photo { width: 38px; height: 38px; border-width: 2px; box-shadow: 0 0 0 2px var(--b-accent); }
.rh-header .bcs-brand__name { flex-direction: row; gap: .28em; font-size: 19px; }
