/* =============================================================================================
   Borboly v2 – modern vizuális réteg
   Utolsóként töltődik be (a téma és a bcs-legacy-content CSS-e után), csak felülír.
   Irány: intézményi–szerkesztőségi; teljes szélesség, egységes Roboto, az eredeti zöld (#6cc24a) a fő szín.
   ============================================================================================= */

:root {
	--b-accent: #6cc24a;        /* márkazöld: vonalak, felületek, kiemelés */
	--b-accent-ink: #347020;    /* zöld szöveghez világos alapon: fehéren 6.0:1, a hero törtfehérjén 5.4:1 */
	--b-on-accent: #14240f;     /* szöveg a zöld felületeken (7.3:1) */
	--b-accent-2: #5eb33d;      /* a zöld kicsit sötétebb árnyalata (lábléc alsó sávja) */
	--b-ink: #1b2430;           /* címek */
	--b-text: #3d4652;          /* szövegtörzs */
	--b-muted: #6b7480;         /* meta (4.7:1) */
	--b-line: #e5e7eb;
	--b-surface: #f4f6f5;
	--b-radius: 10px;
	--b-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .07);
	--b-font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--b-font-heading: var(--b-font);
	--b-heading: var(--b-ink);
	--b-link: var(--b-ink);
	--b-content: #1f2933;
	--b-max: none;              /* teljes szélesség: nincs doboz */
}

/* --- Alap: teljes szélesség, fehér oldal, egységes betű ------------------------------------ */
body,
body.boxed { background: #fff; font-family: var(--b-font); color: var(--b-text); -webkit-font-smoothing: antialiased; }
body.active-top-line { border-top: 0; }
.main-wrap { max-width: none; box-shadow: none; }
@media (min-width: 981px) { .container { width: 100%; max-width: 1240px; } }
h1, h2, h3, h4, h5, h6, .heading-typo { font-family: var(--b-font); font-weight: 700; color: var(--b-ink); letter-spacing: -.01em; }
.post-meta, .post-summary, .site-footer, .topbar, .btn-bs-pagination,
.single-post-share, .comments-wrap, .bcs-contact-grid .bcs-contact { font-family: var(--b-font) !important; }

/* --- Felső sáv: keskeny zöld csík a nyelvváltóval (a dátum nélkül) --------------------------- */
.topbar { background: var(--b-accent); border: 0; }
.topbar .topbar-inner { padding: 0; }
.topbar .section-menu { height: 34px; }
.topbar .top-menu { display: flex; justify-content: flex-end; align-items: center; height: 34px; }
.topbar .topbar-date { display: none !important; }
.topbar .top-menu > li { font-size: 12px; font-weight: 500; letter-spacing: .08em; line-height: 34px; }
.topbar .top-menu > li > a { padding: 0 8px; color: var(--b-on-accent); opacity: .8; }
.topbar .top-menu > li:hover > a,
.topbar .top-menu > li.current-menu-item > a { color: var(--b-on-accent); opacity: 1; }

/* --- Fejléc --------------------------------------------------------------------------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--b-line); }
.site-header .main-menu.menu { --b-menu-pad: 11px; }
.site-header .main-menu.menu > li { text-transform: none; font-weight: 500; letter-spacing: 0; }
.site-header #main-navigation > li > a {
	padding-left: var(--b-menu-pad) !important;
	padding-right: var(--b-menu-pad) !important;
	font-size: 15.5px !important;
	color: var(--b-ink);
}
.site-header .main-menu.menu > li.current-menu-item > a,
.site-header .main-menu.menu > li.current-menu-parent > a { color: var(--b-ink); }
.site-header .main-menu.menu > li > a::before { height: 3px; border-radius: 3px 3px 0 0; }
/* Almenü: lekerekített, árnyékolt lenyíló */
.site-header .main-menu.menu .sub-menu {
	padding: 8px 0;
	border: 1px solid var(--b-line);
	border-radius: var(--b-radius);
	box-shadow: var(--b-shadow);
	background: #fff;
}
.site-header .main-menu.menu .sub-menu > li > a { padding: 9px 18px; font-size: 14.5px; font-weight: 400; text-transform: none; color: var(--b-text); }
.site-header .main-menu.menu .sub-menu > li:hover > a { color: var(--b-accent-ink); background: var(--b-surface); }
/* Közepes szélességen szűkebb menü, hogy egy sorban maradjon */
@media (min-width: 961px) and (max-width: 1180px) {
	.site-header .main-menu.menu { --b-menu-pad: 7px; }
	.site-header #main-navigation > li > a { font-size: 14px !important; }
}
/* Ragadós fejléc */
.bs-pinning-block.pinned { max-width: none; box-shadow: 0 4px 18px rgba(16, 24, 40, .08); border-bottom: 1px solid var(--b-line); }
.rh-header { border-bottom: 1px solid var(--b-line); }

/* --- Lábmorzsa ------------------------------------------------------------------------------- */
.bf-breadcrumb .bf-breadcrumb-item a,
.bf-breadcrumb .bf-breadcrumb-item span { color: var(--b-muted); }
.bf-breadcrumb .bf-breadcrumb-item { font-size: 13px; }

/* --- Szakaszcímek: nagy, félkövér cím, alatta hajszálvonal zöld szakasszal ------------------- */
.section-heading { margin-bottom: 24px; line-height: 1.2; }
.section-heading::after,
.section-heading.sh-t4.sh-s1::after,
.section-heading.sh-t4.sh-s4::after { top: auto; bottom: 0; height: 1px; background: var(--b-line); }
.section-heading .h-text,
.section-heading.sh-t4 .h-text,
.section-heading.sh-t4.sh-s4 .h-text,
.section-heading.sh-t4 > a > .h-text,
.section-heading.sh-t4 a .h-text {
	height: auto;
	padding: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--b-ink) !important;
	background: none !important;
}
.section-heading.sh-t4 .h-text::after,
.section-heading.sh-t4.sh-s1 .h-text::after,
.section-heading.sh-t4.sh-s4 .h-text::after {
	content: '';
	position: absolute;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: block;
	width: auto;
	height: 3px;
	background: var(--b-accent);
	transform: none;
}
.section-heading.sh-t4.sh-s4 .h-text::before { content: none; }
.section-heading .h-text .bf-icon { margin-right: 8px; color: var(--b-accent-ink); }
.section-heading .bf-custom-icon img { height: 28px; margin-right: 8px; border-radius: 6px; vertical-align: middle; }
.section-heading .other-link .h-text { font-size: 14px !important; font-weight: 500; color: var(--b-muted) !important; }
.section-heading .other-link .h-text::after { content: none !important; }

/* --- Listakártyák ------------------------------------------------------------------------------ */
.listing-item .featured { border-radius: var(--b-radius); overflow: hidden; isolation: isolate; }
.listing-item-tb-3 .img-holder,
.listing-item-tb-1 .img-holder { border-radius: 8px; overflow: hidden; }
.listing-item .title { font-weight: 700; letter-spacing: -.01em; color: var(--b-ink); }
.listing-item-grid-1 .title { font-size: 18px; line-height: 1.35; }
.listing-item-tall-1 .title { font-size: 18px; line-height: 1.35; }
.listing-item-tb-2 .title { font-size: 15.5px; line-height: 1.35; }
.listing-item-tb-3 .title { font-size: 14.5px; line-height: 1.35; }
.listing-item-text-2 .title { font-size: 15.5px; line-height: 1.4; }
.listing .post-meta { font-size: 13px; color: var(--b-muted); }
.listing .post-meta a,
.listing .post-meta .time { color: var(--b-muted); }
.post-summary { font-size: 15px; line-height: 1.6; color: var(--b-text); }
.listing-item-grid-1 .featured { margin-bottom: 14px; }
/* Kategóriacímke: fehér „pirula” a kép sarkában */
.term-badges.floated { top: 12px; left: 12px; }
.term-badges.floated a,
.listing-item-tb-2:hover .term-badges.floated .term-badge a {
	padding: 3px 10px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .07em;
	line-height: 1.6;
	color: var(--b-ink);
	background: rgba(255, 255, 255, .95);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .15);
}
/* Képre írt (modern grid) kártyák: lekerekítés, sötét átmenet */
.listing-mg-item .item-content { border-radius: var(--b-radius); overflow: hidden; }
.listing-modern-grid .listing-mg-item .img-cont::after,
.listing-mg-item .img-cont::after { background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, 0) 100%) !important; }

/* --- Oldalsáv és képek --------------------------------------------------------------------------- */
.sidebar-column .widget img,
.bs-vc-content .wpb_single_image img { border-radius: var(--b-radius); }
.sidebar-column .widget { margin-bottom: 40px; }

/* --- Űrlapok, gombok ----------------------------------------------------------------------------- */
.search-form .search-field,
input[type='text'], input[type='email'], input[type='url'], input[type='search'], textarea {
	border: 1px solid #d3d7dd;
	border-radius: 8px;
	font-family: var(--b-font);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form .search-field:focus,
input[type='text']:focus, input[type='email']:focus, input[type='url']:focus, textarea:focus {
	border-color: var(--b-accent);
	box-shadow: 0 0 0 3px rgba(108, 194, 74, .2);
	outline: 0;
}
.search-form { display: flex; }
.search-form .search-field { flex: 1 1 auto; min-width: 0; height: 44px; border-radius: 8px 0 0 8px; }
.search-form .search-submit,
input[type='submit'], button[type='submit'], .comment-form .submit {
	height: 44px;
	padding: 0 20px;
	font-family: var(--b-font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--b-on-accent);
	background: var(--b-accent);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color .2s ease;
}
.search-form .search-submit { border-radius: 0 8px 8px 0; }
.search-form .search-submit:hover,
input[type='submit']:hover, button[type='submit']:hover, .comment-form .submit:hover { color: #fff; background: var(--b-accent-ink); }
.btn-bs-pagination,
.pagination.bs-links-pagination a,
.error404 .content-column .action-links a { color: var(--b-accent-ink) !important; border-color: var(--b-accent) !important; border-radius: 999px; }
.btn-bs-pagination:hover,
.pagination.bs-links-pagination a:hover,
.error404 .content-column .action-links a:hover { color: #fff !important; background: var(--b-accent-ink) !important; border-color: var(--b-accent-ink) !important; }
.back-top { border-radius: 50%; }

/* --- Archívum fejléce --------------------------------------------------------------------------- */
.archive-title { border-bottom: 1px solid var(--b-line); }
.archive-title .pre-title { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--b-accent-ink); }
.archive-title .pre-title span { padding: 0; color: inherit; background: none; }
.archive-title .pre-title::after { content: none; }
.archive-title .page-heading { font-size: 40px; font-weight: 700; letter-spacing: -.02em; text-transform: none; color: var(--b-ink); }

/* --- Bejegyzés: cikkelrendezés -------------------------------------------------------------------- */
.post-tp-6-header.wfi { height: 460px; margin-top: 24px; border-radius: 14px; overflow: hidden; }
.post-template-6.wfi .post-header-inner,
.post-template-6 .post-header-inner { margin-top: 0; padding: 30px 0 6px; background: none; overflow: visible; }
.single-post-title { font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--b-ink); }
.post-subtitle { font-size: 19px; line-height: 1.55; color: #4b5563; }
.post-header-inner .term-badges a,
.single-post-content .term-badges a {
	padding: 3px 11px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	color: var(--b-accent-ink) !important;
	background: #eef7ea !important;
	border-radius: 999px;
}
.single-post-meta { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--b-line); font-size: 14px; color: var(--b-muted); }
.single-post-meta b { font-weight: 500; color: var(--b-text); }
.entry-content { font-size: 17px; line-height: 1.75; color: var(--b-content); }
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--b-accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content h2 { font-size: 28px; margin: 36px 0 14px; }
.entry-content h3 { font-size: 23px; margin: 30px 0 12px; }
.entry-content blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--b-accent); font-size: 19px; color: var(--b-ink); }
.entry-content img { border-radius: 8px; }
.single-post-share .post-share-btn,
.single-post-share .social-item a { border-radius: 999px !important; }
.post-related .section-heading,
.comment-respond .section-heading { margin-top: 10px; }
@media (max-width: 780px) {
	.post-tp-6-header.wfi { height: 240px; margin-top: 12px; border-radius: 10px; }
	.single-post-title { font-size: 29px; }
	.post-subtitle { font-size: 17px; }
	.entry-content { font-size: 16.5px; line-height: 1.7; }
	.archive-title .page-heading { font-size: 30px; }
	.section-heading .h-text,
	.section-heading.sh-t4 .h-text { font-size: 20px; }
}

/* --- Statikus oldal címe ------------------------------------------------------------------------- */
.single-page-simple-content > .section-heading .h-text,
.bcs-contact-page .section-heading .h-text { font-size: 34px; letter-spacing: -.02em; }

/* --- Kapcsolat: lekerekített kártyák ------------------------------------------------------------- */
.bcs-contact-grid .bcs-box__inner { border-left: 0; border-radius: 14px; background: var(--b-surface); }
.bcs-contact-grid .bcs-contact a { border-bottom-color: rgba(52, 112, 32, .45); }
.bcs-contact-grid .bcs-contact a:hover { color: var(--b-accent-ink); border-bottom-color: var(--b-accent-ink); }
.bcs-contact-grid .bcs-social-icon { background-color: var(--b-ink) !important; }

/* --- Lábléc: az eredeti zöld, sötét szöveggel -------------------------------------------------------- */
.site-footer { color: var(--b-on-accent); background: var(--b-accent); border-top: 0; }
.site-footer a,
.bf-name,
.bf-title,
.bf-legal a,
.bf-menu a,
.bf-list li,
.bf-list .fa,
.bf-legal li::before,
.bf-menu li::before { color: var(--b-on-accent); }
.bf-legal a, .bf-menu a { font-size: 14px; opacity: .85; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--b-on-accent); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.bf-title::after { background: var(--b-on-accent); }
.bf-bottom { color: var(--b-on-accent); background: var(--b-accent-2); border-top: 0; }

/* --- Javítások ------------------------------------------------------------------------------------ */
/* Egyhasábos (WPBakery-s) oldalak, pl. a címlap: a tartalom a konténer szélességéhez igazodik */
.content-wrap > .content-container > .layout-1-col { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: var(--b-gutter); padding-right: var(--b-gutter); }
/* Lábmorzsa: a dobozos elrendezés 5 px-es margója helyett a konténerhez igazítva */
body.boxed .bf-breadcrumb > .bf-breadcrumb-container,
body.boxed .bf-breadcrumb .bf-breadcrumb-container { margin-left: auto !important; margin-right: auto !important; padding-left: var(--b-gutter) !important; padding-right: var(--b-gutter) !important; }
/* Keresőgomb (widget, keresőoldal): zöld, sötét felirattal */
.widget.widget_search .search-form .search-submit,
.search-header .search-form .search-submit,
.search-form .search-submit { color: var(--b-on-accent) !important; background: var(--b-accent) !important; border: 0 !important; border-radius: 0 8px 8px 0 !important; }
.widget.widget_search .search-form .search-submit:hover,
.search-form .search-submit:hover { color: #fff !important; background: var(--b-accent-ink) !important; }
/* Képre írt (modern grid) kártyák címe fehér marad */
.listing-mg-item .title,
.listing-mg-item .title a,
.listing-mg-item .post-meta,
.listing-mg-item .post-meta a,
.listing-mg-item .post-meta .time { color: #fff !important; }
/* Mobilon (ahol a zöld felső sáv rejtett) vékony zöld csík a fejléc tetején */
@media (max-width: 767px) { .rh-header { border-top: 4px solid var(--b-accent); } }
/* Nyers sablonú oldalak (pl. AgoraEU, Csíki majális): konténerben, felül-alul térközzel */
.bcs-raw-page { padding: 28px 0 56px; }
@media (max-width: 780px) { .bcs-raw-page { padding: 18px 0 40px; } }
/* Arcképes logó: nagyobb kör (a 90 px-es fejlécsorban) */
.site-header .bcs-brand__photo { width: 70px; height: 70px; }
.site-header .bcs-brand { gap: 14px; }
@media (max-width: 1100px) {
	.site-header .bcs-brand__photo { width: 62px; height: 62px; }
	.site-header .bcs-brand { gap: 12px; }
}
.rh-header .bcs-brand__photo { width: 42px; height: 42px; }

/* --- Címlap: köszöntő szakasz (a feliratos kép helyett élő szöveggel) -------------------------------- */
.bcs-hero {
	--hero-bg: #f5f3ee;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	min-height: 480px;
	overflow: hidden;
	text-align: left;
	background: var(--hero-bg);
	border-radius: 18px;
}
.bcs-hero__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px 40px 56px 60px; }
.bcs-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--b-accent-ink);
}
.bcs-hero__eyebrow::before { content: ''; width: 32px; height: 3px; background: var(--b-accent); border-radius: 3px; }
.bcs-hero__title {
	max-width: 15ch;
	margin: 0 0 30px;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--b-ink);
}
.bcs-hero .bcs-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: var(--b-on-accent);
	text-decoration: none;
	background: var(--b-accent);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(108, 194, 74, .35);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.bcs-hero .bcs-hero__cta span { transition: transform .2s ease; }
.bcs-hero .bcs-hero__cta:hover,
.bcs-hero .bcs-hero__cta:focus-visible { color: #fff; background: var(--b-accent-ink); }
.bcs-hero .bcs-hero__cta:hover span { transform: translateX(3px); }
.bcs-hero__media { position: relative; min-height: 100%; }
.bcs-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 35%; border-radius: 0 !important; }
/* finom átmenet a szövegpanel és a fotó között */
.bcs-hero__media::before { content: ''; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 22%; background: linear-gradient(to right, var(--hero-bg), rgba(245, 243, 238, 0)); }
@media (max-width: 1100px) {
	.bcs-hero { min-height: 420px; }
	.bcs-hero__text { padding: 44px 32px 44px 44px; }
	.bcs-hero__title { font-size: 40px; }
}
@media (max-width: 780px) {
	.bcs-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 14px; }
	.bcs-hero__media { order: -1; height: 300px; }
	.bcs-hero__media img { object-position: 45% 30%; }
	.bcs-hero__media::before { inset: auto 0 0 0; width: auto; height: 30%; background: linear-gradient(to top, var(--hero-bg), rgba(245, 243, 238, 0)); }
	.bcs-hero__text { padding: 26px 24px 30px; }
	.bcs-hero__eyebrow { margin-bottom: 12px; font-size: 12.5px; }
	.bcs-hero__title { max-width: none; margin-bottom: 22px; font-size: 30px; }
}

/* --- Akadálymentesség: ugrólink és látható billentyűzetfókusz ------------------------------------------ */
.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2147483600;
	padding: 12px 18px;
	font: 700 15px/1 var(--b-font);
	color: #fff;
	background: var(--b-ink);
	border-radius: 8px;
	transform: translateY(-160%);
	transition: transform .15s ease;
}
.skip-link:focus { transform: none; color: #fff; outline: 3px solid var(--b-accent); outline-offset: 2px; }
#content:focus { outline: 0; }
/* Minden interaktív elem jól látható fókuszkeretet kap (csak billentyűzetes navigációnál) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--b-accent-ink) !important;
	outline-offset: 2px !important;
	border-radius: 4px;
	transition: none !important; /* a régi „transition: all” ne animálja a keretet: azonnal látszódjon */
}
/* A zöld felületeken (felső sáv, lábléc, zöld gombok) sötét keret */
.topbar :focus-visible,
.site-footer :focus-visible,
.bcs-hero .bcs-hero__cta:focus-visible,
.search-form .search-submit:focus-visible,
input[type='submit']:focus-visible { outline-color: var(--b-on-accent) !important; }
/* Sötét/képes felületeken (dizájnválasztó, képre írt kártyák) fehér keret */
.listing-mg-item a:focus-visible { outline-color: #fff !important; outline-offset: -4px !important; }
/* A menü fókuszban is nyissa le az almenüt */
.site-header .main-menu.menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; z-index: 9999; }

/* --- Kontraszt (WCAG AA) ------------------------------------------------------------------------------- */
/* Kategóriacímkék: a régi, kategóriánkénti színszabályok zöld hátteret adnak – a szöveg ezért mindig sötét (7.3–9.1:1) */
/* Fehér felirat egy árnyalattal sötétebb zöldön (4.9:1) – a #6cc24a-n a fehér csak 2.2:1 lenne.
   (A WPBakery-blokkok beágyazott CSS-e – .bscb-N.bscb-N… – !important-tal színez; a :is(body, #…) azonosító-szintű specificitást ad.) */
:is(body, #bcs-specificity) .term-badges .term-badge a { color: #fff !important; background-color: #3b7f24 !important; }
:is(body, #bcs-specificity) .term-badges .term-badge a:hover { background-color: #2f661c !important; }
/* A bejegyzés fejlécében halványzöld címke sötétzöld felirattal (5.5:1) */
:is(body, #bcs-specificity) .post-header-inner .term-badges a { color: var(--b-accent-ink) !important; background-color: #eef7ea !important; }
/* Lapozó: az oldalszám és a letiltott gomb is olvasható (4.7:1); a letiltottságot a halvány keret jelzi */
.bs-pagination-label { color: var(--b-muted); }
.btn-bs-pagination.disabled,
.btn-bs-pagination.disabled:hover { color: var(--b-muted) !important; background: none !important; border-color: #d3d7dd !important; }
/* Bejegyzés alján az „Előző / Következő” felirat (4.7:1) */
.post-nav .pre-title, .pagination-post .pre-title, .next-prev-post .pre-title { color: var(--b-muted) !important; }

/* --- Olvashatóság: a legkisebb betűk emelése ------------------------------------------------------- */
/* Kategóriacímkék: legalább 11,5 px (a kis kártyákon a régi 83%-os kicsinyítés helyett is) */
:is(body, #bcs-specificity) .term-badges .term-badge a { font-size: 11.5px !important; letter-spacing: .05em; padding: 3px 10px; }
:is(body, #bcs-specificity) .post-header-inner .term-badges a { font-size: 12px !important; }
/* Lábléc alsó sávja (©) */
.bf-bottom { font-size: 13px; }
/* Mobil: a kategória-slider kis csempéinek címe legalább 15 px */
@media (max-width: 780px) {
	.listing-mg-1-item:not(.listing-item-1) .title { font-size: 15px !important; line-height: 1.3; }
}

/* Szakaszcímek egységesen: a WPBakery-blokkok beágyazott CSS-e (.bscb-N… !important) se adjon kitöltött hátteret */
:is(body, #bcs-specificity) .section-heading .h-text,
:is(body, #bcs-specificity) .section-heading .h-text:hover { color: var(--b-ink) !important; background: none !important; border-color: transparent !important; }
:is(body, #bcs-specificity) .section-heading.sh-s4 .h-text::before { content: none !important; }
:is(body, #bcs-specificity) .section-heading .h-text::after { background: var(--b-accent) !important; }
:is(body, #bcs-specificity) .section-heading .other-link .h-text::after { content: none !important; }

/* --- Oldalsáv rendbetétele --------------------------------------------------------------------------- */
/* A hírek-widget lapozója (pl. „1 a 1 435”) egy 4 elemes listánál értelmetlen: a hírek böngészésére a kategóriaoldal való */
.primary-sidebar-widget .bs-pagination { display: none; }
/* A keresési találatok oldalán a tartalom tetején már van keresőmező: az oldalsávé ott fölösleges */
body.search .primary-sidebar-widget.widget_search { display: none; }
/* Bannerek egységes kerete: a WPBakery „keretes/lekerekített” képstílusai helyett mindenhol ugyanaz a 10 px-es lekerekítés */
.bs-vc-content .wpb_single_image .vc_single_image-wrapper.vc_box_border,
.bs-vc-content .wpb_single_image .vc_single_image-wrapper.vc_box_rounded {
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: var(--b-radius) !important;
	overflow: hidden;
}
.bs-vc-content .wpb_single_image .vc_single_image-wrapper img { border-radius: var(--b-radius) !important; }

/* --- Célpontméret: minden kattintható elem legalább 24×24 px (WCAG 2.5.8), a kinézet változtatása nélkül --- */
.topbar .top-menu > li > a { display: inline-block; min-width: 32px; line-height: 34px; text-align: center; }
.bf-breadcrumb .bf-breadcrumb-item a { display: inline-block; padding: 1px 0; line-height: 22px; }
.bf-legal a, .bf-menu a { padding: 2px 0; }
.section-heading > a,
.section-heading a.main-link { display: inline-block; }
.listing-item .title a { display: block; }
.site-header .search-container .search-handler { display: inline-block; min-width: 34px; text-align: center; }
.sidebar-column a:has(> img),
.bs-vc-content .wpb_single_image a:has(> img) { display: inline-block; }
.listing-item .title a { min-height: 24px; }
.archive-title .rss-link { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; }

/* --- 404 mobilon: a szöveg nem lóg le a képernyőről, olvashatóbb méret ---------------------------------- */
.error404 .content-column .desc-section > p,
.error404 .content-column .desc-section p:not(.text-404) { font-size: 15px; line-height: 1.6; color: var(--b-text); }
@media (max-width: 767px) {
	/* a sor 24 px-es negatív margója mellett a hasáb is 24 px belső térközt kapjon (alapból 15 px) */
	.error404 .content-column { padding-left: var(--b-gutter) !important; padding-right: var(--b-gutter) !important; }
	.error404 .content-column .text-404 { font-size: 96px; line-height: 1; }
	.error404 .content-column .desc-section .title-404 { font-size: 28px; }
}
/* Hosszú URL-ek a tartalomban (pl. Önéletrajz) mobilon se lógjanak ki: tördelődnek */
.entry-content, .bs-vc-content, .bcs-raw-page { overflow-wrap: break-word; }
.entry-content a, .bs-vc-content a, .bcs-raw-page a { overflow-wrap: anywhere; }

/* Az mg-5 típusú blokk (pl. Régiók Bizottsága) címei NEM a képen vannak, hanem fehér dobozban / a kép alatt: sötét szöveg */
.listing-mg-5-item.listing-mg-item .title,
.listing-mg-5-item.listing-mg-item .title a,
.listing-mg-5-item.listing-mg-item .post-meta,
.listing-mg-5-item.listing-mg-item .post-meta a,
.listing-mg-5-item.listing-mg-item .post-meta .time { color: var(--b-ink) !important; }
.listing-mg-5-item.listing-mg-item .post-meta .time,
.listing-mg-5-item.listing-mg-item .post-meta a { color: var(--b-muted) !important; }
.listing-mg-5-item.listing-mg-item:hover .title a { color: var(--b-accent-ink) !important; }
/* A felső sáv nyelvváltója is Roboto (a régi header.css itt Open Sans-t kért, ami már nem töltődik be) */
.topbar .top-menu, .topbar .top-menu > li, .topbar .top-menu a { font-family: var(--b-font) !important; }

/* --- Mobil menüpanel: a régi kék színátmenet helyett fehér panel zöld fejsávval ----------------------- */
.rh-cover { background: #fff; }
.rh-cover::before { height: 60px; background: var(--b-accent); opacity: 1; box-shadow: none; }
.rh-cover .rh-close::before,
.rh-cover .rh-close::after { background: var(--b-on-accent); opacity: 1; }
.rh-cover .rh-close { width: 32px; height: 32px; top: 14px; right: 18px; }
.rh-cover .rh-p-h, .rh-cover .rh-p-h a { color: var(--b-on-accent); font-weight: 700; }
.rh-cover .rh-c-m .resp-menu li > a { padding: 0 44px 0 2px; font-size: 17px; font-weight: 500; color: var(--b-ink); }
.rh-cover .rh-c-m .resp-menu > li > a { border-bottom: 1px solid var(--b-line); line-height: 52px; }
.rh-cover .rh-c-m .resp-menu li:hover > a,
.rh-cover .rh-c-m .resp-menu li.current-menu-item > a,
.rh-cover .rh-c-m .resp-menu li.current-menu-parent > a { color: var(--b-accent-ink); }
.rh-cover .rh-c-m .resp-menu .sub-menu { background: var(--b-surface); border-radius: 8px; margin: 6px 0 10px; padding: 6px 14px; }
.rh-cover .rh-c-m .resp-menu .sub-menu > li > a { font-size: 15px; font-weight: 400; line-height: 40px; color: var(--b-text); }
.rh-cover .rh-c-m .resp-menu .children-button { color: var(--b-ink); opacity: 1; top: 8px; width: 36px; height: 36px; }
.rh-cover .rh-c-m .resp-menu .children-button::before,
.rh-cover .rh-c-m .resp-menu .children-button::after { background: var(--b-ink); }
.rh-cover .rh-c-m .resp-menu li.open-sub > .children-button { background: var(--b-surface); opacity: 1; }
.rh-cover .search-form input[type=search] { height: 46px; padding-right: 40px; color: var(--b-ink); background: var(--b-surface); border: 1px solid #d3d7dd; border-radius: 8px; }
.rh-cover .search-form ::placeholder { color: var(--b-muted); }
.rh-cover .search-form::before { top: 15px; color: var(--b-muted); }

/* --- Főmenü: aktív jelölés a felirat alatt, elválasztó a Kapcsolat után ------------------------------- */
/* A 90 px-es sáv aljára tett csík helyett aláhúzás közvetlenül a felirat alatt; csak a szöveg alatt (a nyilacska alatt nem) */
.site-header .main-menu.menu > li > a::before { display: none !important; }
.site-header .main-menu.menu > li > a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
	transition: color .2s ease, text-decoration-color .2s ease;
}
.site-header .main-menu.menu > li:hover > a { text-decoration-color: rgba(108, 194, 74, .55); }
.site-header .main-menu.menu > li.current-menu-item > a,
.site-header .main-menu.menu > li.current-menu-parent > a,
.site-header .main-menu.menu > li.current-menu-ancestor > a { text-decoration-color: var(--b-accent); text-decoration-thickness: 3px; }
/* Elválasztó a Kapcsolat után: a Kapcsolatig a saját témák, utána a külön kampány-/programoldalak */
.site-header #main-navigation > #menu-item-241::after {
	content: '';
	display: inline-block;
	width: 1px;
	height: 22px;
	margin: 0 6px 0 calc(var(--b-menu-pad, 11px) - 2px);
	vertical-align: middle;
	background: #c9ced4;
}

/* --- Mobil fejléc: nyelvváltó a hamburger mellett ---------------------------------------------------- */
.rh-header .rh-lang { float: right; height: 54px; display: flex; align-items: center; padding-right: 10px; }
.rh-header .rh-lang-list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rh-header .rh-lang-list li { margin: 0; padding: 0; }
.rh-header .rh-lang-list a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--b-muted); border-radius: 8px; text-decoration: none; }
.rh-header .rh-lang-list a:hover,
.rh-header .rh-lang-list a:focus-visible { color: var(--b-ink); background: var(--b-surface); }
.rh-header .rh-lang-list .current-menu-item > a,
.rh-header .rh-lang-list .current-lang > a { color: var(--b-on-accent); background: var(--b-accent); }
/* Keskeny telefon: a név két sorba törik, hogy ne csússzon a nyelvváltó alá. */
.rh-header .logo-container { min-width: 0; overflow: hidden; }
@media (max-width: 374px) {
	.rh-header .bcs-brand__name { flex-direction: column; gap: 0; font-size: 16px; line-height: 1.1; }
	.rh-header .rh-lang { padding-right: 6px; }
	.rh-header .rh-lang-list a { min-width: 30px; padding: 0 4px; }
}
