/* TOC Core – site header and footer of the dark redesign (Site_Header, Site_Footer). */

/* Header: a light rounded "liquid glass" bar floating over the page ---------------- */

body.toc-site-ui .elementor-location-header,
body.toc-site-ui #site-header { display: none !important; }

.toc-sh {
	--sh-h: 64px;
	--sh-gap: 16px;
	--sh-text: #111114;
	--sh-muted: #55555e;
	--sh-glass: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 100%);
	--sh-tint: rgba(242, 242, 246, .38);
	--sh-glass-blur: blur(22px) saturate(190%) brightness(1.08);
	--sh-hover: rgba(0, 0, 0, .07);
	--sh-red: #e31937;
	--sh-red-hi: #ff304d;
	position: fixed; z-index: 9990; left: 0; right: 0;
	top: var(--wp-admin--admin-bar--height, 0px);
	padding: var(--sh-gap) clamp(12px, 3vw, 32px) 0;
	pointer-events: none;
	font-family: 'Barlow', sans-serif;
}
.toc-sh *,
.toc-sh *::before,
.toc-sh *::after { box-sizing: border-box; }
.toc-sh-spacer { height: calc(var(--sh-h, 64px) + 2 * 16px); }

/* "Liquid glass": blurred + saturated backdrop, a light rim brighter at the top-left,
   a specular sheen across the top and a soft inner glow, deep shadow below. */
.toc-sh__bar,
.toc-sh__panel {
	position: relative; isolation: isolate;
	background: var(--sh-glass), var(--sh-tint);
	-webkit-backdrop-filter: var(--sh-glass-blur); backdrop-filter: var(--sh-glass-blur);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .5),
		inset 0 -1px 0 rgba(255, 255, 255, .1),
		inset 0 0 22px rgba(255, 255, 255, .25),
		0 22px 50px -18px rgba(0, 0, 0, .85);
}
.toc-sh__bar::before,
.toc-sh__panel::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background:
		radial-gradient(120% 140% at 12% -40%, rgba(255, 255, 255, .7), transparent 46%),
		radial-gradient(90% 120% at 100% 140%, rgba(255, 255, 255, .1), transparent 50%);
}
.toc-sh__bar::after,
.toc-sh__panel::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .35) 32%, rgba(255, 255, 255, .15) 60%, rgba(255, 255, 255, .75));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}
.toc-sh__bar {
	pointer-events: auto;
	display: flex; align-items: center; gap: 12px;
	max-width: 1280px; height: var(--sh-h); margin: 0 auto; padding: 0 9px;
	border-radius: 999px;
	transition: box-shadow .3s;
}
.toc-sh.is-scrolled .toc-sh__bar {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .55),
		inset 0 -1px 0 rgba(255, 255, 255, .12),
		inset 0 0 22px rgba(255, 255, 255, .08),
		0 26px 60px -16px rgba(0, 0, 0, .95);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.toc-sh__bar, .toc-sh__panel { background: rgba(246, 246, 249, .97); }
}

.toc-sh__logo { display: block; flex: none; width: 46px; height: 46px; border-radius: 50%; transition: transform .25s; }
.toc-sh__logo:hover { transform: rotate(-8deg) scale(1.04); }
.toc-sh__logo img { display: block; width: 100%; height: 100%; border-radius: 50%; }

/* Main menu */
.toc-sh__nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.toc-sh .toc-sh__menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc-sh .toc-sh__menu li { position: relative; margin: 0; padding: 0; list-style: none; }
.toc-sh .toc-sh__menu a {
	display: block; padding: 10px 15px; border-radius: 999px;
	color: var(--sh-text); font-size: 17px; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
	transition: background-color .2s, color .2s;
}
.toc-sh .toc-sh__menu a:hover { background: var(--sh-hover); color: #000; }
/* The current page sits in a brighter glass "lens" */
.toc-sh .toc-sh__menu .current-menu-item > a,
.toc-sh .toc-sh__menu .current_page_item > a {
	background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .7));
	box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .06), 0 6px 16px -8px rgba(0, 0, 0, .45);
	color: #000;
}
.toc-sh .toc-sh__menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; margin: 0; padding: 8px; list-style: none;
	border-radius: 18px; background: rgba(248, 248, 251, .86);
	-webkit-backdrop-filter: var(--sh-glass-blur); backdrop-filter: var(--sh-glass-blur);
	box-shadow: inset 0 1px 0 #fff, 0 18px 40px -12px rgba(0, 0, 0, .6);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s;
}
.toc-sh .toc-sh__menu li:hover > .sub-menu,
.toc-sh .toc-sh__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.toc-sh .toc-sh__menu .sub-menu a { border-radius: 12px; }

/* Account buttons */
.toc-sh__account { display: flex; align-items: center; gap: 4px; flex: none; }
.toc-sh .toc-sh__btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 18px; border-radius: 999px;
	font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	line-height: 1.2; white-space: nowrap; text-decoration: none;
	transition: background-color .2s, color .2s, transform .2s;
}
.toc-sh .toc-sh__btn svg { width: 18px; height: 18px; flex: none; }
.toc-sh .toc-sh__btn--link { color: var(--sh-text); }
.toc-sh .toc-sh__btn--link:hover { background: var(--sh-hover); color: #000; }
.toc-sh .toc-sh__btn--primary {
	background: var(--sh-red); color: #fff;
}
.toc-sh .toc-sh__btn--primary:hover { background: var(--sh-red-hi); color: #fff; }

/* Mobile toggle + panel. Rooted at #toc-sh so the theme/kit button styles (border, padding, hover colour) cannot win. */
/* Visibility only here: the :hover/:focus group below must not carry display, or the button would hide itself under the cursor and flicker. */
#toc-sh .toc-sh__toggle { display: none; }
#toc-sh .toc-sh__toggle,
#toc-sh .toc-sh__toggle:hover,
#toc-sh .toc-sh__toggle:focus {
	flex: none; position: relative; width: 46px; height: 46px; min-height: 0; margin: 0 0 0 2px; padding: 0;
	border: 0; border-radius: 50%; outline-offset: 3px; cursor: pointer;
	background: linear-gradient(180deg, #2a2a30, #0b0b0d); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 14px -6px rgba(0, 0, 0, .6);
	font-size: 0; line-height: 0; text-transform: none;
}
.toc-sh__toggle span {
	position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
	transition: transform .25s, top .25s;
}
.toc-sh__toggle span:first-child { top: 18px; }
.toc-sh__toggle span:last-child { top: 26px; }
.toc-sh.is-open .toc-sh__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.toc-sh.is-open .toc-sh__toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.toc-sh__panel {
	pointer-events: auto;
	max-width: 1280px; margin: 10px auto 0; padding: 10px;
	border-radius: 28px;
	--sh-tint: rgba(244, 244, 248, .72);
	--sh-glass-blur: blur(30px) saturate(190%);
}
.toc-sh__panel[hidden] { display: none; }
.toc-sh .toc-sh__panel .toc-sh__menu { flex-direction: column; align-items: stretch; gap: 2px; }
.toc-sh .toc-sh__panel .toc-sh__menu a { padding: 14px 18px; border-radius: 16px; font-size: 18px; }
.toc-sh .toc-sh__panel .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; background: transparent; }
.toc-sh__panel-account { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 10px 8px 6px; border-top: 1px solid rgba(0, 0, 0, .08); }
.toc-sh .toc-sh__panel-account .toc-sh__btn { flex: 1 1 140px; justify-content: center; padding: 14px 18px; }
.toc-sh .toc-sh__panel-account .toc-sh__btn--link { background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 2px 8px -4px rgba(0, 0, 0, .3); }

@media (max-width: 1099px) {
	.toc-sh__nav { display: none; }
	.toc-sh__bar { justify-content: space-between; }
	.toc-sh__account { margin-left: auto; }
	#toc-sh .toc-sh__toggle { display: block; }
}
@media (max-width: 600px) {
	.toc-sh { --sh-h: 58px; --sh-gap: 10px; }
	.toc-sh-spacer { height: calc(58px + 2 * 10px); }
	.toc-sh__bar { padding: 0 6px; }
	.toc-sh__logo { width: 42px; height: 42px; }
	#toc-sh .toc-sh__toggle { width: 44px; height: 44px; }
	.toc-sh__toggle span:first-child { top: 17px; }
	.toc-sh__toggle span:last-child { top: 25px; }
	.toc-sh.is-open .toc-sh__toggle span { top: 21px !important; }
	.toc-sh__bar .toc-sh__account .toc-sh__btn--link { display: none; }
	.toc-sh__bar .toc-sh__account .toc-sh__btn { padding: 10px 14px; font-size: 15px; }
}

/* Footer ------------------------------------------------------------------------------ */
body.toc-site-ui .elementor-location-footer,
body.toc-site-ui #site-footer { display: none !important; }

.toc-sf {
	position: relative; overflow: hidden; clear: both;
	margin-top: clamp(40px, 6vw, 80px); padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px) 0;
	background:
		radial-gradient(900px 380px at 85% 0%, rgba(227, 25, 55, .14), transparent 65%),
		#070708;
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: #a6a6b0; font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.55;
}
.toc-sf *,
.toc-sf *::before,
.toc-sf *::after { box-sizing: border-box; }
.toc-sf a { text-decoration: none; }
.toc-sf__inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }

.toc-sf__top {
	display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
	padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.toc-sf .toc-sf__logo { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.toc-sf__logo img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.toc-sf__logo span { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.toc-sf__logo b { color: #fff; font-weight: 700; }
.toc-sf__claim { max-width: 420px; margin: 18px 0 0; color: #a6a6b0; font-size: 15px; }

.toc-sf__contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc-sf .toc-sf__pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .08);
	color: #f2f2f5; font-size: 14px; font-weight: 500; transition: background-color .2s, transform .2s;
}
.toc-sf .toc-sf__pill:hover { background-color: rgba(255, 255, 255, .08); color: #fff; transform: translateY(-1px); }
.toc-sf__pill svg { width: 18px; height: 18px; flex: none; }

.toc-sf .toc-sf__col h2 {
	margin: 4px 0 16px; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
}
.toc-sf__col ul { margin: 0; padding: 0; list-style: none; }
.toc-sf__col li { margin: 0 0 10px; padding: 0; list-style: none; }
.toc-sf .toc-sf__col a { color: #b9b9c2; font-size: 15px; transition: color .2s; }
.toc-sf .toc-sf__col a:hover { color: #fff; }

.toc-sf__legal { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.toc-sf__org { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 10px; color: #d6d6dd; font-size: 14px; }
.toc-sf__org strong { color: #fff; font-weight: 600; }
.toc-sf__org > * + *::before { content: "·"; margin: 0 10px; color: rgba(255, 255, 255, .3); }
.toc-sf__note { max-width: 980px; margin: 0; color: #7c7c87; font-size: 12.5px; line-height: 1.6; }

.toc-sf__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 0; }
.toc-sf__bottom p { margin: 0; color: #8d8d98; font-size: 13.5px; }
.toc-sf__credit { margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; }
.toc-sf .toc-sf__credit a { color: #b9b9c2; text-decoration: none; }
.toc-sf .toc-sf__credit a:hover { color: #fff; }
.toc-sf .toc-sf__credit img { display: inline-block; width: 14px; height: 14px; margin: 0 0 0 6px; border-radius: 2px; vertical-align: -2px; opacity: .85; transition: opacity .2s; }
.toc-sf .toc-sf__credit a:hover img { opacity: 1; }
.toc-sf .toc-sf__top-link { display: inline-flex; align-items: center; gap: 8px; color: #b9b9c2; font-size: 13.5px; font-weight: 500; }
.toc-sf .toc-sf__top-link:hover { color: #fff; }
.toc-sf__top-link svg {
	width: 32px; height: 32px; padding: 7px; border-radius: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}

.toc-sf__wordmark {
	margin: clamp(8px, 2vw, 24px) 0 0; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
	font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
	font-size: clamp(72px, 19vw, 330px); font-weight: 700; line-height: .78; letter-spacing: 0;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
	background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 85%);
	-webkit-background-clip: text; background-clip: text;
}

@media (max-width: 960px) {
	.toc-sf__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.toc-sf__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.toc-sf__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.toc-sf__col:last-child { grid-column: 1 / -1; }
	.toc-sf__bottom { flex-direction: column; align-items: flex-start; }
	.toc-sf__credit { display: block; margin: 6px 0 0; padding: 0; border: 0; }
	.toc-sf__org { flex-direction: column; }
	.toc-sf__org > * + *::before { content: none; }
}

/* Legacy (V3) content inside the new V4 templates (Post Content slot) ------------------
   The old posts/events were built for a white page: make their sections transparent and
   their text light, and give them the new type. */
body.toc-site-ui .elementor-widget-theme-post-content { color: #d6d6dd; font-family: 'Barlow', sans-serif; font-size: 18px; line-height: 1.65; }
body.toc-site-ui .elementor-widget-theme-post-content :is(.elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .e-con, .e-con-inner, .elementor-background-overlay) {
	background-color: transparent !important; background-image: none !important;
}
body.toc-site-ui .elementor-widget-theme-post-content .elementor-section { padding-left: 0 !important; padding-right: 0 !important; }
body.toc-site-ui .elementor-widget-theme-post-content :is(p, li, span, div, td, th, blockquote, figcaption, .elementor-text-editor, .elementor-icon-list-text) { color: #d6d6dd !important; }
body.toc-site-ui .elementor-widget-theme-post-content :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title) {
	color: #fff !important; font-family: 'Barlow Condensed', sans-serif !important; font-weight: 600 !important; line-height: 1.1 !important;
}
body.toc-site-ui .elementor-widget-theme-post-content :is(strong, b) { color: #fff !important; }
body.toc-site-ui .elementor-widget-theme-post-content a:not(.elementor-button):not(.e-button-base) { color: #ff304d !important; }
body.toc-site-ui .elementor-widget-theme-post-content .elementor-button {
	border-radius: 2px !important; background: #e31937 !important; color: #fff !important; border: 0 !important;
	font-family: 'Barlow Condensed', sans-serif !important; font-size: 18px !important; font-weight: 600 !important; letter-spacing: .06em; text-transform: uppercase;
}
body.toc-site-ui .elementor-widget-theme-post-content .elementor-button * { color: #fff !important; }
body.toc-site-ui .elementor-widget-theme-post-content img { border-radius: 6px; }
body.toc-site-ui .elementor-widget-theme-post-content :is(.elementor-icon, .elementor-icon-list-icon) :is(i, svg) { color: #ff304d !important; fill: #ff304d !important; }
body.toc-site-ui .elementor-widget-theme-post-content hr,
body.toc-site-ui .elementor-widget-theme-post-content .elementor-divider-separator { border-color: rgba(255, 255, 255, .12) !important; }
body.toc-site-ui .elementor-widget-theme-post-content table { border-color: rgba(255, 255, 255, .12); }
body.toc-site-ui .elementor-widget-theme-post-content [style*="background"]:not(img):not(.elementor-button):not(.e-button-base) {
	background: #1b1b20 !important; border-color: rgba(255, 255, 255, .1) !important; box-shadow: none !important;
}
body.toc-site-ui .elementor-widget-theme-post-content [style*="color"]:not(a) { color: #d6d6dd !important; }

/* Single posts and events on the new templates: black page, no Events Calendar wrapper box */
body.toc-site-ui.single-post,
body.toc-site-ui.single-tribe_events,
body.toc-site-ui.elementor-page-9656 { background-color: #0b0b0d; } /* 9656 = TOC – Tartalmi oldal (V4) */
body.toc-site-ui.elementor-page-9656 .elementor-widget-theme-post-content { font-size: 17px; }
body.toc-site-ui #tribe-events-pg-template { max-width: none; margin: 0; padding: 0; }

/* Membership check for partners ([toc_tagsag_ellenorzes], Status page) ---------------- */
.toc-sc { max-width: 560px; color: #f5f5f7; font-family: 'Barlow', sans-serif; }
.toc-sc *, .toc-sc *::before, .toc-sc *::after { box-sizing: border-box; }
.toc-sc__label { display: block; margin: 0 0 8px; color: #c9c9d1; font-size: 15px; font-weight: 500; }
.toc-sc__row { display: flex; gap: 10px; }
.toc-sc input[type="text"] {
	flex: 1 1 auto; min-width: 0; height: 58px; margin: 0; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px;
	background: #131317; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 600; letter-spacing: .18em; outline: 0;
}
.toc-sc input[type="text"]::placeholder { color: #6f6f7a; font-family: 'Barlow', sans-serif; font-size: 17px; font-weight: 400; letter-spacing: 0; }
.toc-sc input[type="text"]:focus { border-color: rgba(255, 255, 255, .5); }
.toc-sc button[type="submit"] {
	flex: none; height: 58px; padding: 0 26px; border: 0; border-radius: 2px; background: #e31937; color: #fff; cursor: pointer;
	font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.toc-sc button[type="submit"]:hover { background: #ff304d; }
.toc-sc__res { margin: 24px 0 0; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid #e31937; border-radius: 6px; background: #1b1b20; }
.toc-sc__res.is-ok { border-left-color: #2fbf71; }
.toc-sc__res.is-wait { border-left-color: #f2b33d; }
.toc-sc__res p { margin: 0; color: #c9c9d1; font-size: 16px; }
.toc-sc__res .toc-sc__state { margin: 0 0 8px; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.toc-sc__res.is-ok .toc-sc__state { color: #4fd88f; }
.toc-sc__res dl { display: grid; gap: 10px; margin: 14px 0 16px; }
.toc-sc__res dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.toc-sc__res dt { color: #9d9da8; font-size: 15px; }
.toc-sc__res dd { margin: 0; color: #fff; font-size: 18px; font-weight: 600; }
.toc-sc__res .toc-sc__hint { color: #9d9da8; font-size: 14px; }
@media (max-width: 480px) {
	.toc-sc__row { flex-direction: column; }
	.toc-sc button[type="submit"] { width: 100%; }
}

/* Event list ([toc_esemenyek]) ------------------------------------------------------------ */
.toc-ev { color: #f5f5f7; font-family: 'Barlow', sans-serif; }
.toc-ev *, .toc-ev *::before, .toc-ev *::after { box-sizing: border-box; }
.toc-ev .toc-ev__title {
	margin: 0 0 22px; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
	font-size: clamp(32px, 3.6vw, 52px); line-height: 1; text-transform: uppercase;
}
.toc-ev .toc-ev__title--past { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .08); }
.toc-ev__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.toc-ev__card {
	display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px;
	background: #1b1b20; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s;
}
.toc-ev__card:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.toc-ev__media { position: relative; }
.toc-ev__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #27272e; }
.toc-ev__date {
	position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 10px 7px;
	border-radius: 4px; background: #e31937; color: #fff; text-align: center; line-height: 1;
}
.toc-ev__date b { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 700; }
.toc-ev__date small { margin-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.toc-ev__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.toc-ev__meta { color: #ff304d; font-size: 15px; font-weight: 500; }
.toc-ev__body h3 { margin: 0; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 25px; font-weight: 600; line-height: 1.1; }
.toc-ev__card:hover h3 { color: #ff304d; }
.toc-ev__place { color: #9d9da8; font-size: 15px; }
.toc-ev__grid--past .toc-ev__card { background: #141418; }
.toc-ev__grid--past .toc-ev__date { background: #3a3a44; }
.toc-ev__grid--past .toc-ev__meta { color: #9d9da8; }
.toc-ev__empty { margin: 0; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid #e31937; border-radius: 6px; background: #1b1b20; color: #c9c9d1; font-size: 17px; }
@media (max-width: 1024px) { .toc-ev__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .toc-ev__grid { grid-template-columns: 1fr; } }

/* V4 images bound to a missing featured image render as <img> without src: hide them */
body.toc-site-ui img.e-image-base:not([src]) { display: none; }

/* V4 loop pagination: no greyed-out "previous" on the first page */
body.toc-site-ui [data-e-pagination][aria-disabled="true"] { visibility: hidden; }

/* Login box ([toc_belepes], Belépés page) ------------------------------------------------- */
.toc-login { max-width: 460px; color: #f5f5f7; font-family: 'Barlow', sans-serif; }
.toc-login *, .toc-login *::before, .toc-login *::after { box-sizing: border-box; }
.toc-login form.woocommerce-form-login { margin: 0; padding: 0; border: 0; }
.toc-login form .form-row, .toc-login form .woocommerce-form-row,
.toc-login form .form-row.form-row-first, .toc-login form .form-row.form-row-last { float: none; width: 100%; margin: 0 0 16px; padding: 0; }
.toc-login form label { display: block; margin: 0 0 6px; color: #c9c9d1; font-size: 15px; font-weight: 500; line-height: 1.3; }
.toc-login label .required { color: #ff304d; border: 0; text-decoration: none; }
.toc-login form .form-row input.input-text,
.toc-login input.input-text {
	width: 100%; height: 52px; margin: 0; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px;
	background: #131317; color: #fff; font-family: inherit; font-size: 17px; box-shadow: none; outline: 0;
}
.toc-login form .form-row input.input-text:focus { border-color: rgba(255, 255, 255, .5); }
.toc-login .password-input { display: block; position: relative; }
.toc-login .show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #9d9da8; }
.toc-login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #c9c9d1; font-size: 15px; cursor: pointer; }
.toc-login .woocommerce-form-login__rememberme input { width: 18px; height: 18px; margin: 0; accent-color: #e31937; }
.toc-login button.woocommerce-form-login__submit,
.toc-login .toc-login__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 26px; margin: 0;
	border: 0; border-radius: 2px; background: #e31937; color: #fff; cursor: pointer; text-decoration: none;
	font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.toc-login button.woocommerce-form-login__submit:hover, .toc-login .toc-login__btn:hover { background: #ff304d; color: #fff; }
.toc-login .lost_password { margin: 14px 0 0; font-size: 15px; }
.toc-login a { color: #ff304d; }
.toc-login .toc-login__join { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #c9c9d1; font-size: 16px; }
.toc-login .toc-login__hello { margin: 0 0 16px; font-size: 19px; }
.toc-login .toc-login__actions { display: flex; align-items: center; gap: 18px; margin: 0; }
.toc-login .toc-login__actions .toc-login__btn { width: auto; }
.toc-login :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
	margin: 0 0 18px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid #e31937; border-radius: 6px;
	background: #1b1b20; color: #f5f5f7; list-style: none; font-size: 16px;
}
.toc-login :is(.woocommerce-error, .woocommerce-info, .woocommerce-message)::before { content: none; }

/* Code prompt and passkey button from Wordfence on the login box (Security module) */
.toc-login form.woocommerce-form-login { position: relative; }
.toc-login #wfls-prompt-overlay { display: block; position: absolute; inset: -3px; z-index: 3; padding: 3px; background: #0b0b0d; }
.toc-login #wfls-prompt-wrapper::after { content: "Nincs nálad a telefonod? A kód helyére beírhatod valamelyik helyreállító kódodat is."; display: block; color: #9d9da8; font-size: 15px; line-height: 1.45; }
.toc-login #wfls-prompt-wrapper p { margin: 0 0 16px; }
.toc-login #wfls-prompt-wrapper label[for="wfls-token"] { display: block; margin: 0 0 6px; color: #c9c9d1; font-size: 15px; font-weight: 500; line-height: 1.3; }
.toc-login .wfls-2fa-code-help { display: none; }
.toc-login #wfls-prompt-wrapper input#wfls-token {
	width: 100%; height: 60px; margin: 0; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; outline: 0;
	background: #131317; color: #fff; box-shadow: none; text-align: center;
	font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 600; letter-spacing: .3em;
}
.toc-login #wfls-prompt-wrapper input#wfls-token:focus { border-color: rgba(255, 255, 255, .6); }
.toc-login .woocommerce-form-login .wfls-remember-device-wrapper { float: none; margin: 0 0 16px; }
.toc-login .woocommerce-form-login .wfls-remember-device-wrapper label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #c9c9d1; font-size: 15px; line-height: 1.3; }
.toc-login .wfls-remember-device-wrapper input { width: 18px; height: 18px; margin: 0; accent-color: #e31937; }
.toc-login #wfls-prompt-wrapper input#wfls-token-submit {
	display: block; width: 100%; min-height: 54px; padding: 14px 26px; margin: 0; border: 0; border-radius: 2px; background: #e31937; color: #fff; cursor: pointer;
	font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.toc-login #wfls-prompt-wrapper input#wfls-token-submit:hover { background: #ff304d; }
.toc-login #wfls-prompt-wrapper input#wfls-token-submit.disabled { opacity: .6; }
.toc-login .woocommerce-form-login .wfls-passkey-container { clear: both; margin: 20px 0 0; padding: 0; text-align: center; }
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-divider {
	display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: #9d9da8;
	font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-divider::before,
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-divider::after { content: ""; flex: 1 1 auto; border-top: 1px solid rgba(255, 255, 255, .12); }
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-divider-label { padding: 0; background: none; line-height: 1; }
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit {
	display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; margin: 0; padding: 14px 26px;
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; background: transparent; color: #fff; cursor: pointer; box-shadow: none;
	font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
	transition: border-color .2s, background-color .2s;
}
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit:hover,
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit:focus { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; }
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit:disabled { opacity: .6; cursor: progress; }
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit .wfls-passkey-icon,
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit:hover .wfls-passkey-icon,
.toc-login .woocommerce-form-login .wfls-passkey-container .wfls-passkey-submit:focus .wfls-passkey-icon { width: 22px; height: 22px; flex: 0 0 22px; background-color: #fff; }
.toc-login .wfls-login-message ul { margin: 0 0 18px; }
.toc-login .wfls-login-message li { margin: 0; }

/* Lost / reset password forms on My Account (logged out) */
body.toc-site-ui.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password { max-width: 460px; color: #f5f5f7; font-family: 'Barlow', sans-serif; }
body.toc-site-ui.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password p { color: #c9c9d1; }
body.toc-site-ui.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password .form-row { float: none; width: 100%; margin: 0 0 16px; }
body.toc-site-ui.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password input.input-text {
	width: 100%; height: 52px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px; background: #131317; color: #fff; font-size: 17px;
}
body.toc-site-ui.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password button.button {
	min-height: 54px; padding: 14px 26px; border: 0; border-radius: 2px; background: #e31937; color: #fff;
	font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}

/* VIN decoder plugin ([toc_vin_decoder]) on the dark page */
body.toc-site-ui #vin-decoder-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; max-width: 640px; font-family: 'Barlow', sans-serif; }
body.toc-site-ui #vin-decoder-form label { flex: 1 1 100%; margin: 0; color: #c9c9d1; font-size: 15px; font-weight: 500; }
body.toc-site-ui #vin_input {
	flex: 1 1 320px; min-width: 0; height: 58px; margin: 0; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; outline: 0;
	background: #131317; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
body.toc-site-ui #vin_input:focus { border-color: rgba(255, 255, 255, .5); }
body.toc-site-ui #vin_decode_button {
	height: 58px; padding: 0 26px; border: 0; border-radius: 2px; background: #e31937; color: #fff; cursor: pointer;
	font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
body.toc-site-ui #vin_decode_button:hover { background: #ff304d; }
body.toc-site-ui #vin_result { max-width: 640px; margin-top: 20px; color: #d6d6dd; font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.6; }
body.toc-site-ui #vin_result:not(:empty) { padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; background: #1b1b20; }
body.toc-site-ui #vin_result :is(strong, b, th) { color: #fff; }
body.toc-site-ui #vin_result table { width: 100%; border-collapse: collapse; }
body.toc-site-ui #vin_result :is(td, th) { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .08); text-align: left; background: none; }

/* My Account, logged out: heading + centred login box */
.toc-login-page { max-width: 460px; margin: 0 auto; padding: 5vh 0 8vh; }
.toc-login-page .toc-login__title {
	margin: 0 0 12px; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
	font-size: clamp(44px, 5vw, 72px); line-height: .92; text-transform: uppercase;
}
.toc-login-page .toc-login__lead { margin: 0 0 24px; color: #c9c9d1; font-family: 'Barlow', sans-serif; font-size: 18px; line-height: 1.5; }

/* Single event: organizers, categories, tags ([toc_esemeny_info]) at the bottom */
.toc-evinfo { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: 'Barlow', sans-serif; }
.toc-evinfo p { margin: 0; }
.toc-evinfo__org { color: #9d9da8; font-size: 15px; }
.toc-evinfo__org em { font-style: italic; }
.toc-evinfo__terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.toc-evinfo__label { margin-right: 4px; color: #9d9da8; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.toc-evinfo__chip { padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 2px; color: #d6d6dd; font-size: 14px; line-height: 1.4; }

/* 404 page (Theme Builder: TOC – 404 (V4)) */
body.toc-site-ui.error404 { background-color: #0b0b0d; }
body.error404 [data-id="4b76a3cd"] span { color: #e31937; -webkit-text-stroke: 0; } /* the "0" of the big 404 */

/* Endless logo row: put the toc-marquee class on a V4 flexbox of logos (e.g. Támogatóink). The script in Site_Header
   moves the logos into a track and appends a copy; the track slides by half its width, so the loop is seamless. */
body.toc-site-ui .toc-marquee {
	display: block !important; overflow: hidden; width: 100%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.toc-marquee__track {
	display: flex; align-items: center; width: max-content; padding: 14px 0;
	animation: toc-marquee 38s linear infinite;
}
body.toc-site-ui .toc-marquee .toc-marquee__track > * { flex: none; margin: 0 clamp(64px, 7vw, 110px) 0 0 !important; }
.toc-marquee__track img { zoom: 1.15; }
.toc-marquee:hover .toc-marquee__track { animation-play-state: paused; }
@keyframes toc-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.toc-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; row-gap: 24px; }
	.toc-marquee__track > [aria-hidden="true"] { display: none; }
	body.toc-site-ui .toc-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Contrast fixes from the PageSpeed review (2026-10-07), on with the Perf switch toc_core_a11y (body.toc-a11y). */
body.toc-a11y .e-abfa6c3-38d6 { color: #fff; } /* "Dátum" on the red date box of events: 3.4 → 4.7:1 */
body.toc-a11y .elementor-share-btn .elementor-share-btn__title,
body.toc-a11y .elementor-share-btn .elementor-share-btn__icon,
body.toc-site-ui.toc-a11y .elementor-widget-theme-post-content .elementor-share-btn :is(.elementor-share-btn__title, .elementor-share-btn__icon) { color: #fff !important; } /* share buttons on red: 3.3 → 4.7:1 */
/* The Events Calendar's loading spinner in single event markup; hidden by TEC's own CSS, which single events skip (Perf). */
body.single-tribe_events .tribe-events-ajax-loading { display: none !important; }

/* TEC event widgets rendered by toc-core (Event_Widgets): boxes like the event template's info boxes. The
   selectors carry the post-content prefix to beat its legacy colour rules. */
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: rgba(255,255,255,.03); width: 100%; box-sizing: border-box; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__label { font-family: var(--toc-font-display, 'Barlow Condensed', sans-serif); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #9d9da8 !important; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__value { font-family: var(--toc-font-display, 'Barlow Condensed', sans-serif); font-weight: 600; font-size: 24px; line-height: 1.15; color: #fff !important; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__address { font-size: 16px; line-height: 1.5; color: #d6d6dd !important; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__actions .toc-ew__btn { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; background: transparent; font: 600 15px/1 var(--toc-font-display, 'Barlow Condensed', sans-serif); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #fff !important; cursor: pointer; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__actions .toc-ew__btn:hover { border-color: #fff; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__actions .toc-ew__btn--primary { background: #e31937; border-color: #e31937; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__actions .toc-ew__btn--primary:hover { background: #c8102e; border-color: #c8102e; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__map:not([hidden]) { display: block; margin-top: 10px; aspect-ratio: 16 / 9; }
body.toc-site-ui .elementor-widget-theme-post-content .toc-ew .toc-ew__map iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }
/* Share buttons printed as plain links by Perf::share_links. */
body.toc-site-ui a.elementor-share-btn { text-decoration: none; }
