/*
 * MKTT – kiegészítő stílusok (amit a theme.json nem tud kifejezni).
 * Tokenek: theme.json (--wp--preset--color--*, --wp--preset--font-*).
 * Töréspont: 782 px (mobil alatta). Szerkezet: design.md, 2026. november 9.
 */

:root {
	--mktt-keret: 1200px;
	--mktt-szoveg: 760px;
	--mktt-oldalmargo: 24px;
	--mktt-primary: var(--wp--preset--color--primary);
	--mktt-contrast: var(--wp--preset--color--contrast);
	--mktt-accent: var(--wp--preset--color--accent);
	--mktt-accent-dark: var(--wp--preset--color--accent-dark);
	--mktt-accent-light: var(--wp--preset--color--accent-light);
	--mktt-surface: var(--wp--preset--color--surface);
	--mktt-muted: var(--wp--preset--color--muted);
	--mktt-border: var(--wp--preset--color--border);
	--mktt-link: var(--wp--preset--color--link);
	--mktt-secondary: var(--wp--preset--color--secondary);
	--mktt-heading: var(--wp--preset--font-family--heading);
	--mktt-body: var(--wp--preset--font-family--body);
}

@media (max-width: 781px) {
	:root {
		--mktt-oldalmargo: 16px;
	}
}

/* A sablon maga kezeli az oldalmargót: a gyökér-padding csak a szövegtörzsön belüli teljes szélességű blokkoknál számít. */
body {
	--wp--style--root--padding-left: 0px;
	--wp--style--root--padding-right: 0px;
}

/* ------------------------------------------------------------------ */
/* Alapok                                                              */
/* ------------------------------------------------------------------ */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

:where(a, button, input, select, textarea, summary, .wp-element-button):focus-visible {
	outline: 2px solid var(--mktt-primary);
	outline-offset: 2px;
}

:where(.has-primary-background-color, .has-contrast-background-color, .mktt-lablec) :where(a, button, input, .wp-element-button):focus-visible {
	outline-color: var(--mktt-accent);
}

h1, h2, h3, .wp-block-post-title {
	text-wrap: balance;
}

p, li {
	text-wrap: pretty;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mktt-ugras {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 100;
	padding: 8px 16px;
	border-radius: 6px;
	background: var(--mktt-primary);
	color: #fff;
	font-weight: 600;
}

.mktt-ugras:focus {
	top: 8px;
	color: #fff;
}

/* A fejléc, a tartalom és a lábléc között nincs blokk-térköz. */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

/* A sablon saját blokkjai közötti alapértelmezett blokk-térköz kikapcsolva. */
.mktt-main > *,
.mktt-main .mktt-ketoldal > *,
.mktt-ketoldal__fo > *,
.mktt-ketoldal__oldalsav > *,
.mktt-lablec > *,
.mktt-lablec__oszlopok > *,
.mktt-fejlec-resz > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.mktt-keret {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mktt-keret);
	margin-inline: auto !important;
	padding-inline: var(--mktt-oldalmargo);
}

.mktt-felirat {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--mktt-muted);
}

.mktt-felirat--okker {
	color: var(--mktt-accent-dark);
}

.mktt-sav {
	width: 48px;
	height: 6px;
	margin-bottom: 20px;
	background: var(--mktt-accent);
}

/* Okker jelölő sáv címsor fölé – a logó motívuma */
.mktt-sav-elott::before,
.mktt-sav::before {
	content: none;
}

.mktt-sav-elott::before {
	content: "";
	display: block;
	width: 48px;
	height: 6px;
	margin-bottom: 20px;
	background: var(--mktt-accent);
}

.mktt-nyitokep .mktt-sav-elott::before {
	margin-bottom: 28px;
}

.mktt-tovabb,
p.mktt-tovabb {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

a.mktt-tovabb,
.mktt-tovabb a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.mktt-tovabb--sotet a {
	color: var(--mktt-primary);
}

.mktt-ures,
.mktt-megjegyzes {
	margin: 32px 0 0;
	font-size: 16px;
	color: var(--mktt-muted);
}

.mktt-cimke {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--mktt-contrast);
	background: var(--mktt-accent-light);
}

.mktt-cimke--kod {
	color: var(--mktt-primary);
	background: var(--mktt-surface);
}

a.mktt-cimke:hover,
a.mktt-cimke[aria-current] {
	color: #fff;
	background: var(--mktt-primary);
}

/* Gombok */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: var(--mktt-primary);
	color: #fff;
}

.has-primary-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.has-contrast-background-color .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}

.has-primary-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: #fff;
	color: var(--mktt-primary);
}

.mktt-gomb-kicsi .wp-block-button__link {
	min-height: 44px;
	padding: 0 20px;
}

.wp-block-buttons {
	gap: 16px;
}

/* ------------------------------------------------------------------ */
/* Fejléc                                                              */
/* ------------------------------------------------------------------ */

.mktt-fejlec-resz {
	position: relative;
	z-index: 20;
}

.mktt-felso-sav {
	background: #fff;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-felso-sav__belso {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 8px 24px;
	padding-block: 4px;
	font-size: 14px;
	line-height: 1.45;
}

.mktt-felso-sav__belso > a {
	color: var(--mktt-muted);
	text-decoration: none;
}

.mktt-felso-sav__belso > a:hover {
	color: var(--mktt-primary);
	text-decoration: underline;
}

.mktt-felso-kereso {
	margin: 0;
}

.mktt-felso-kereso label {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	box-sizing: border-box;
	padding: 0 10px;
	border: 1px solid var(--mktt-muted);
	border-radius: 6px;
	background: #fff;
	color: var(--mktt-muted);
	cursor: text;
}

.mktt-felso-kereso label:focus-within {
	outline: 2px solid var(--mktt-primary);
	outline-offset: 1px;
}

.mktt-felso-kereso input {
	width: 140px;
	padding: 0;
	border: 0;
	outline: none;
	background: transparent;
	font: inherit;
	color: var(--mktt-contrast);
}

.mktt-fejlec__fo {
	background: #fff;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-fejlec__belso {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	padding-block: 8px;
}

.mktt-fejlec__logo {
	display: block;
	line-height: 0;
	margin-left: -14px;
}

.mktt-fejlec__logo img {
	display: block;
	height: auto;
}

.mktt-fejlec__logo-teljes {
	width: 210px;
}

.mktt-fejlec__logo-rovid,
.mktt-mobilmenu__fej img {
	width: 104px;
}

.mktt-fejlec__logo-rovid,
.mktt-fejlec__mobilgombok {
	display: none !important;
}

.mktt-fomenu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin: 0;
	padding: 0 0 6px;
	list-style: none;
}

.mktt-fomenu a {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-fomenu a:hover,
.mktt-fomenu a[aria-current] {
	text-decoration: underline;
	text-decoration-color: var(--mktt-accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
}

.mktt-ikongomb,
.mktt-menugomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	box-sizing: border-box;
	border-radius: 6px;
	background: #fff;
	font: 600 16px/1 var(--mktt-body);
	cursor: pointer;
}

.mktt-ikongomb {
	width: 44px;
	padding: 0;
	border: 1px solid var(--mktt-muted);
	color: var(--mktt-primary);
}

.mktt-menugomb {
	padding: 0 14px;
	border: 1px solid var(--mktt-primary);
	color: var(--mktt-primary);
}

.mktt-menugomb--bezar {
	background: var(--mktt-primary);
	color: #fff;
}

/* Mobilmenü (teljes képernyős panel) */
.mktt-mobilmenu {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--mktt-contrast);
	font-size: 16px;
	line-height: 1.6;
}

.mktt-mobilmenu[open] {
	display: flex;
	flex-direction: column;
}

.mktt-mobilmenu::backdrop {
	background: rgba(0, 21, 35, 0.4);
}

html.mktt-menu-nyitva {
	overflow: hidden;
}

.mktt-mobilmenu__fej {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-mobilmenu__fej .mktt-fejlec__logo {
	margin-left: -7px;
}

.mktt-mobilmenu__kereso {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 20px 16px 0;
}

.mktt-mobilmenu__kereso input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
	box-sizing: border-box;
	padding: 8px 12px;
	border: 1px solid var(--mktt-muted);
	border-radius: 6px;
	background: #fff;
	font: 400 16px/1.4 var(--mktt-body);
	color: var(--mktt-contrast);
}

.mktt-mobilmenu__kereso button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 6px;
	background: var(--mktt-accent);
	color: var(--mktt-contrast);
	cursor: pointer;
}

.mktt-mobilmenu__fomenu ul {
	margin: 0;
	padding: 12px 16px 0;
	list-style: none;
}

.mktt-mobilmenu__fomenu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 60px;
	border-bottom: 1px solid var(--mktt-border);
	font-family: var(--mktt-heading);
	font-size: 24px;
	line-height: 1.2;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-mobilmenu__fomenu a span[aria-hidden] {
	font-family: var(--mktt-body);
	font-size: 18px;
	color: var(--mktt-muted);
}

.mktt-mobilmenu__fomenu a[aria-current] .mktt-mobilmenu__cimke {
	text-decoration: underline;
	text-decoration-color: var(--mktt-accent);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.mktt-mobilmenu__kapcsolodo {
	margin-top: auto;
	padding: 24px 16px 32px;
	border-top: 6px solid var(--mktt-accent);
	background: var(--mktt-surface);
}

.mktt-mobilmenu__kapcsolodo ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mktt-mobilmenu__kapcsolodo a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 17px;
	font-weight: 600;
	color: var(--mktt-primary);
	text-decoration: none;
}

@media (max-width: 781px) {
	.mktt-felso-sav,
	.mktt-fomenu,
	.mktt-fejlec__logo-teljes {
		display: none !important;
	}

	.mktt-fejlec__logo-rovid {
		display: block !important;
	}

	.mktt-fejlec__mobilgombok {
		display: flex !important;
		gap: 8px;
	}

	.mktt-fejlec__belso {
		align-items: center;
		gap: 12px;
		padding-block: 12px;
	}

	.mktt-fejlec__logo {
		margin-left: -7px;
	}
}

/* ------------------------------------------------------------------ */
/* Oldalfejléc, morzsamenü                                             */
/* ------------------------------------------------------------------ */

.mktt-oldalfejlec {
	background: #fff;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-oldalfejlec > .mktt-keret {
	padding-block: 40px 56px;
}

.mktt-oldalfejlec--keskeny > .mktt-keret,
.mktt-oldalfejlec--kereses > .mktt-keret {
	padding-block: 40px 48px;
}

.mktt-oldalfejlec--keskeny > .mktt-keret {
	max-width: var(--mktt-szoveg);
}

.mktt-morzsa ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mktt-muted);
}

.mktt-morzsa li[aria-current] {
	color: var(--mktt-contrast);
}

.mktt-oldalfejlec__cim {
	margin: 0;
	max-width: 900px;
	font-family: var(--mktt-heading);
	font-weight: 400;
	font-size: clamp(36px, 4vw, 48px);
	line-height: 1.1;
	color: var(--mktt-primary);
}

.mktt-oldalfejlec__bevezeto {
	margin: 16px 0 0;
	max-width: var(--mktt-szoveg);
	font-size: 20px;
	line-height: 1.5;
}

.mktt-oldalfejlec__alcim {
	margin: 12px 0 0;
	font-size: 20px;
	line-height: 1.5;
}

.mktt-oldalfejlec__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mktt-muted);
}

.mktt-oldalfejlec__konf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 40px;
}

.mktt-oldalfejlec__konf > div {
	flex: 1 1 520px;
	min-width: 0;
}

.mktt-oldalfejlec__ev {
	margin: 0;
	font-family: var(--mktt-heading);
	font-size: 96px;
	line-height: 0.9;
	color: var(--mktt-secondary);
}

.mktt-oldalfejlec__talalatszam {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--mktt-muted);
}

.mktt-oldalfejlec--kereses .mktt-oldalfejlec__cim {
	margin-bottom: 24px;
}

@media (max-width: 781px) {
	.mktt-oldalfejlec > .mktt-keret {
		padding-block: 24px 32px;
	}

	.mktt-morzsa ol {
		margin-bottom: 16px;
	}

	/* nov. 11.: kisebb mobil H1 – a hosszú szavak (pl. „Kommunikációtudományi”) is kiférjenek */
	.mktt-oldalfejlec__cim {
		font-size: 30px;
	}

	.mktt-oldalfejlec--hir .mktt-oldalfejlec__cim {
		font-size: 26px;
		line-height: 1.15;
	}

	h1,
	.mktt-oldalfejlec__cim {
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.mktt-oldalfejlec__bevezeto,
	.mktt-oldalfejlec__alcim {
		font-size: 18px;
	}

	.mktt-oldalfejlec__ev {
		font-size: 64px;
	}
}

/* ------------------------------------------------------------------ */
/* Kéthasábos elrendezés (tartalom + oldalsáv)                         */
/* ------------------------------------------------------------------ */

.mktt-ketoldal {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px 72px;
	padding-block: 56px 72px;
}

.mktt-ketoldal__fo {
	flex: 999 1 560px;
	min-width: 0;
	max-width: var(--mktt-szoveg);
}

.mktt-ketoldal__oldalsav {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1 1 280px;
	min-width: 0;
}

.mktt-fooldal-hirek {
	padding-block: 64px;
}

.mktt-fooldal-hirek .mktt-ketoldal__fo {
	max-width: none;
}

.mktt-ketoldal--404 {
	padding-block: 88px 104px;
}

/* Hírek listája: a hasáb a teljes szélességet kitölti */
.mktt-ketoldal:has(.mktt-szuro) {
	padding-block: 48px 64px;
}

.mktt-ketoldal:has(.mktt-szuro) .mktt-ketoldal__fo {
	max-width: none;
}

@media (max-width: 781px) {
	.mktt-ketoldal {
		gap: 40px;
		padding-block: 32px 48px;
	}

	.mktt-ketoldal__fo,
	.mktt-ketoldal__oldalsav {
		flex-basis: 100%;
	}

	/* Szakaszmenüs oldalon a szakaszmenü fülsorként fent van, az oldalsávban elrejtjük */
	.mktt-ketoldal--oldal .mktt-ketoldal__oldalsav .mktt-szakaszmenu {
		display: none;
	}

	/* Konferenciaoldalon az időpont/helyszín doboz a tartalom elé kerül */
	.mktt-ketoldal--konferencia {
		flex-direction: column;
		align-items: stretch;
	}

	.mktt-ketoldal--konferencia .mktt-ketoldal__oldalsav {
		display: contents;
	}

	.mktt-ketoldal--konferencia .mktt-esemeny {
		order: -1;
	}

	.mktt-fooldal-hirek {
		padding-block: 40px;
	}

	.mktt-ketoldal--404 {
		padding-block: 40px 56px;
	}
}

/* Oldalsáv nélküli oldal */
.mktt-keskeny-torzs {
	box-sizing: border-box;
	max-width: var(--mktt-szoveg);
	margin-inline: auto;
	padding: 48px var(--mktt-oldalmargo) 88px;
}

@media (max-width: 781px) {
	.mktt-keskeny-torzs {
		padding-block: 32px 56px;
	}
}

/* ------------------------------------------------------------------ */
/* Szövegtörzs                                                         */
/* ------------------------------------------------------------------ */

.mktt-szovegtorzs > * {
	margin-block: 0 24px;
}

.mktt-szovegtorzs > :last-child {
	margin-bottom: 0;
}

.mktt-szovegtorzs > h2 {
	margin-block: 48px 16px;
}

.mktt-szovegtorzs > h3 {
	margin-block: 36px 12px;
}

.mktt-szovegtorzs > h2:first-child,
.mktt-szovegtorzs > h3:first-child {
	margin-top: 0;
}

.mktt-szovegtorzs--hir > p:first-child {
	font-size: 20px;
	line-height: 1.5;
}

.mktt-szovegtorzs ul:not(.mktt-fajllista),
.mktt-szovegtorzs ol {
	padding-left: 1.4em;
}

.mktt-szovegtorzs li {
	margin: 6px 0;
}

.mktt-szovegtorzs .wp-block-quote {
	margin-block: 40px;
	padding-left: 24px;
}

.mktt-szovegtorzs .wp-block-quote p {
	margin: 0;
}

.mktt-szovegtorzs .wp-block-quote cite {
	display: block;
	margin-top: 12px;
	font-family: var(--mktt-body);
	color: var(--mktt-muted);
}

.mktt-szovegtorzs mark,
.mktt-talalatok mark {
	padding: 0 2px;
	background: var(--mktt-accent-light);
	color: var(--mktt-contrast);
}

/* Táblázat (díjak, tagdíjadatok) */
.mktt-szovegtorzs .wp-block-table {
	overflow-x: auto;
}

.mktt-szovegtorzs .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.5;
}

.mktt-szovegtorzs .wp-block-table th,
.mktt-szovegtorzs .wp-block-table td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--mktt-border);
	text-align: left;
	vertical-align: top;
}

.mktt-szovegtorzs .wp-block-table thead th {
	border-bottom: 2px solid var(--mktt-primary);
	color: var(--mktt-primary);
}

.mktt-szovegtorzs .wp-block-table tbody tr > :first-child {
	background: var(--mktt-surface);
	color: var(--mktt-primary);
	font-weight: 700;
}

@media (max-width: 781px) {
	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) table,
	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) tbody,
	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) tr {
		display: block;
	}

	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) thead {
		display: none;
	}

	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) tr {
		padding: 10px 0;
		border-bottom: 1px solid var(--mktt-border);
	}

	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) th,
	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) td {
		display: block;
		padding: 0;
		border: 0;
	}

	.mktt-szovegtorzs .wp-block-table:not(.is-style-stripes) tbody tr > :first-child {
		background: none;
		font-size: 15px;
	}
}

/* Fájl-blokk és mellékletlista */
.mktt-szovegtorzs .wp-block-file,
.mktt-fajllista li {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-szovegtorzs .wp-block-file::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--mktt-primary);
	-webkit-mask: url("../images/ikon-fajl.svg") center / contain no-repeat;
	mask: url("../images/ikon-fajl.svg") center / contain no-repeat;
}

.mktt-szovegtorzs .wp-block-file a:not(.wp-block-file__button) {
	font-weight: 600;
}

.mktt-szovegtorzs .wp-block-file__button {
	margin-left: auto;
	padding: 6px 14px;
	border: 1px solid var(--mktt-primary);
	border-radius: 6px;
	background: #fff;
	color: var(--mktt-primary);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.mktt-mellekletek {
	margin-top: 40px;
}

.mktt-mellekletek h2 {
	margin: 0 0 16px;
	font-size: 24px;
	line-height: 1.2;
}

.mktt-fajllista {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--mktt-border);
}

.mktt-fajllista .mktt-ikon {
	flex: none;
	color: var(--mktt-primary);
	stroke-width: 1.75;
}

.mktt-fajllista a {
	font-weight: 600;
}

.mktt-fajllista span {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mktt-muted);
}

.mktt-vissza {
	margin-top: 40px !important;
}

.mktt-vissza .wp-block-button__link {
	min-height: 44px;
	padding: 0 20px;
}

/* ------------------------------------------------------------------ */
/* Dobozok (oldalsáv)                                                  */
/* ------------------------------------------------------------------ */

.mktt-doboz {
	box-sizing: border-box;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.55;
}

.mktt-doboz > * {
	margin-block: 0;
}

.mktt-doboz--kod {
	padding: 32px;
	border-top: 6px solid var(--mktt-accent);
	background: var(--mktt-surface);
}

.mktt-doboz--feher {
	padding: 24px;
	border: 1px solid var(--mktt-border);
	background: #fff;
}

.mktt-doboz--feher > p:not(.mktt-felirat) {
	margin-bottom: 16px;
}

.mktt-doboz--keretes {
	padding: 16px 24px 24px;
	border: 1px solid var(--mktt-border);
	border-top: 6px solid var(--mktt-accent);
	border-radius: 0 0 8px 8px;
	background: #fff;
}

/* Szakaszmenü */
.mktt-szakaszmenu {
	padding: 16px 24px 24px;
	border-top: 6px solid var(--mktt-accent);
	border-radius: 0 0 8px 8px;
	background: var(--mktt-surface);
}

.mktt-szakaszmenu > * {
	margin-block: 0;
}

.mktt-szakaszmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mktt-szakaszmenu li + li > a,
.mktt-szakaszmenu ul ul a {
	border-top: 1px solid var(--mktt-border);
}

.mktt-szakaszmenu a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding-block: 6px;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.35;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-szakaszmenu a:hover {
	text-decoration: underline;
}

.mktt-szakaszmenu a[aria-current] {
	font-weight: 700;
}

.mktt-szakaszmenu a[aria-current]::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mktt-accent-dark);
}

.mktt-szakaszmenu ul ul a {
	padding-left: 18px;
	font-size: 15px;
}

/* Szakaszmenü mobilon: fülsor az oldalfejléc alatt */
.mktt-fulsor {
	display: none;
}

@media (max-width: 781px) {
	.mktt-fulsor {
		display: block;
		background: #fff;
		border-bottom: 1px solid var(--mktt-border);
	}

	.mktt-fulsor ul {
		display: flex;
		gap: 24px;
		margin: 0;
		padding: 0 var(--mktt-oldalmargo);
		overflow-x: auto;
		list-style: none;
		scrollbar-width: none;
	}

	.mktt-fulsor ul::-webkit-scrollbar {
		display: none;
	}

	.mktt-fulsor li {
		flex: none;
	}

	.mktt-fulsor a {
		display: flex;
		align-items: center;
		min-height: 48px;
		box-sizing: border-box;
		border-bottom: 3px solid transparent;
		font-size: 16px;
		font-weight: 600;
		white-space: nowrap;
		color: var(--mktt-primary);
		text-decoration: none;
	}

	.mktt-fulsor a[aria-current] {
		border-bottom-color: var(--mktt-accent);
	}
}

/* Eseménydoboz */
.mktt-esemeny__nap {
	margin: 0 0 16px !important;
	font-family: var(--mktt-heading);
	font-size: 56px;
	line-height: 1;
	color: var(--mktt-primary);
}

.mktt-esemeny__nap--kozepes {
	margin-bottom: 4px !important;
	font-size: 40px;
	line-height: 1.05;
}

.mktt-esemeny__cim {
	margin: 0 0 16px !important;
	font-size: 24px;
	line-height: 1.25;
}

.mktt-esemeny__datum {
	margin-bottom: 4px !important;
}

.mktt-esemeny__hely {
	margin-bottom: 24px !important;
	color: var(--mktt-muted);
}

.mktt-esemeny .mktt-felirat ~ .mktt-felirat {
	margin-top: 24px;
}

.mktt-esemeny__nap--kozepes + .mktt-esemeny__datum {
	margin-bottom: 0 !important;
}

.mktt-esemeny__megj {
	color: var(--mktt-muted);
}

/* Oldalsáv: rokon hírek */
.mktt-oldalsav-hirek {
	padding: 16px 24px 24px;
	border-radius: 0 0 8px 8px;
}

.mktt-oldalsav-hirek ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mktt-oldalsav-hirek li {
	padding: 12px 0;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-oldalsav-hirek li.mktt-oldalsav-hirek__mind {
	padding: 12px 0 0;
	border: 0;
}

.mktt-oldalsav-hirek time {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mktt-muted);
}

.mktt-oldalsav-hirek li > a:not(.mktt-tovabb) {
	font-weight: 600;
	line-height: 1.35;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-oldalsav-hirek li > a:not(.mktt-tovabb):hover {
	text-decoration: underline;
}

/* Címkék */
.mktt-cimkedoboz {
	padding-top: 24px;
	border-top: 1px solid var(--mktt-border);
}

.mktt-cimkesor {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Konferenciák az oldalsávban */
.mktt-konf-oldalsav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mktt-konf-oldalsav li > a:not(.mktt-tovabb) {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-height: 44px;
	padding-block: 8px;
	box-sizing: border-box;
	border-bottom: 1px solid var(--mktt-border);
	font-size: 16px;
	line-height: 1.35;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-konf-oldalsav li > a[aria-current] {
	font-weight: 700;
}

.mktt-konf-oldalsav__ev {
	flex: none;
	font-family: var(--mktt-heading);
	font-size: 22px;
	font-weight: 400;
	color: var(--mktt-link);
}

[aria-current] > .mktt-konf-oldalsav__ev {
	color: var(--mktt-accent-dark);
}

.mktt-konf-oldalsav__mind {
	padding-top: 4px;
}

/* ------------------------------------------------------------------ */
/* Szakaszcím (Friss hírek, Konferenciáink)                            */
/* ------------------------------------------------------------------ */

.mktt-szakaszcim {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mktt-primary);
}

.mktt-szakaszcim > * {
	margin: 0 !important;
}

.mktt-szakaszcim h2 {
	font-size: 32px;
	line-height: 1.15;
}

.mktt-szakaszcim .mktt-tovabb a {
	min-height: 0;
}

.mktt-szakaszcim--sav {
	margin-bottom: 24px !important;
	padding-bottom: 0;
	border: 0;
}

.mktt-szakaszcim--sav h2::before {
	content: "";
	display: block;
	width: 48px;
	height: 6px;
	margin-bottom: 16px;
	background: var(--mktt-accent);
}

/* ------------------------------------------------------------------ */
/* Hírlista                                                            */
/* ------------------------------------------------------------------ */

.mktt-hirlista__ev {
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mktt-primary);
	font-size: 32px;
	line-height: 1.15;
}

.mktt-hirlista__csoport {
	margin-bottom: 48px;
}

.mktt-hir {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	padding: 24px 0;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-hir__meta {
	flex: 0 0 150px;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mktt-muted);
}

.mktt-hir__meta time {
	display: block;
}

.mktt-hir__tipus {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mktt-accent-dark);
}

.mktt-hir__torzs {
	flex: 1 1 360px;
	min-width: 0;
}

.mktt-hir__cim {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
}

.mktt-hir__cim a {
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-hir__cim a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.mktt-hir__kivonat {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.55;
}

/* Hír rácsban (a hír oldal alján) */
.mktt-hirlista--racs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 0 48px;
}

.mktt-hir--racs {
	display: block;
}

.mktt-hir--racs .mktt-hir__meta time,
.mktt-hir--racs .mktt-hir__tipus {
	display: inline;
}

.mktt-hir--racs .mktt-hir__meta {
	margin-bottom: 8px;
}

.mktt-hir--racs .mktt-hir__tipus::before {
	content: " · ";
	color: var(--mktt-muted);
}

.mktt-hir--racs .mktt-hir__cim {
	font-size: 22px;
}

@media (max-width: 781px) {
	.mktt-hir {
		display: block;
		padding: 20px 0;
	}

	.mktt-hir__meta {
		margin-bottom: 6px;
	}

	.mktt-hir__meta time,
	.mktt-hir__tipus {
		display: inline;
	}

	.mktt-hir__tipus::before {
		content: " · ";
		color: var(--mktt-muted);
		letter-spacing: 0;
	}

	.mktt-hir__cim,
	.mktt-hir--racs .mktt-hir__cim {
		font-size: 20px;
	}

	.mktt-hirlista__ev,
	.mktt-szakaszcim h2 {
		font-size: 24px;
	}
}

/* Szűrő */
.mktt-szuro {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.mktt-szuro a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 18px;
	border: 1px solid var(--mktt-muted);
	border-radius: 6px;
	background: #fff;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-szuro a:hover {
	border-color: var(--mktt-primary);
}

.mktt-szuro a[aria-current] {
	border-color: var(--mktt-primary);
	background: var(--mktt-primary);
	color: #fff;
}

@media (max-width: 781px) {
	.mktt-szuro {
		flex-wrap: nowrap;
		margin-inline: calc(-1 * var(--mktt-oldalmargo));
		padding-inline: var(--mktt-oldalmargo);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.mktt-szuro::-webkit-scrollbar {
		display: none;
	}

	.mktt-szuro li {
		flex: none;
	}
}

/* Lapozó */
.mktt-lapozo {
	margin-top: 40px;
}

.mktt-lapozo__szamok {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
}

.mktt-lapozo__gomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 14px;
	border: 1px solid var(--mktt-muted);
	border-radius: 6px;
	background: #fff;
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-lapozo__gomb.is-aktiv {
	border-color: var(--mktt-primary);
	background: var(--mktt-primary);
	color: #fff;
}

.mktt-lapozo__mobil {
	display: none;
}

@media (max-width: 781px) {
	.mktt-lapozo__szamok {
		display: none;
	}

	.mktt-lapozo__mobil {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		margin: 0;
		font-size: 16px;
		font-weight: 600;
	}

	.mktt-lapozo__mobil a,
	.mktt-lapozo__mobil span {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.mktt-lapozo__mobil span[aria-hidden] {
		color: var(--mktt-border);
	}
}

/* ------------------------------------------------------------------ */
/* Főoldal                                                             */
/* ------------------------------------------------------------------ */

.mktt-nyitokep__belso {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 72px;
	padding-block: 96px;
}

.mktt-nyitokep__belso > * {
	margin: 0 !important;
}

.mktt-nyitokep__cim {
	flex: 1 1 520px;
	min-width: 0;
}

.mktt-nyitokep__cim h1 {
	margin: 0;
	font-size: clamp(44px, 5.4vw, 72px);
	line-height: 1.08;
}

.mktt-nyitokep__motto {
	margin: 28px 0 0 !important;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.45;
}

.mktt-nyitokep__szoveg {
	flex: 1 1 380px;
	min-width: 0;
	padding-top: 34px;
}

.mktt-nyitokep__szoveg > p {
	margin: 0 0 16px;
}

.mktt-nyitokep__szoveg > .wp-block-buttons {
	margin-top: 32px;
}

.mktt-sav-feher {
	background: #fff;
	border-block: 1px solid var(--mktt-border);
}

/* nov. 11.: a hír alatti „Friss hírek” sávban se tapadjon a cím a felső vonalra */
.mktt-sav-feher > .mktt-keret {
	padding-block: 64px;
}

@media (max-width: 781px) {
	.mktt-sav-feher > .mktt-keret {
		padding-block: 40px;
	}
}

.mktt-fooldal-konf {
	padding-block: 64px;
}

.mktt-konflista {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 0 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mktt-konflista a {
	display: flex;
	align-items: baseline;
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid var(--mktt-border);
	text-decoration: none;
}

.mktt-konflista__ev {
	flex: none;
	width: 96px;
	font-family: var(--mktt-heading);
	font-size: 40px;
	line-height: 1;
	color: var(--mktt-secondary);
}

.mktt-konflista__cim {
	font-size: 18px;
	line-height: 1.4;
	color: var(--mktt-contrast);
}

.mktt-konflista a:hover .mktt-konflista__cim {
	color: var(--mktt-primary);
	text-decoration: underline;
}

.mktt-konferenciak {
	padding-block: 56px 72px;
}

.mktt-kartyak {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 32px;
	padding-block: 64px;
}

.mktt-kartyak > * {
	min-width: 0;
	margin: 0 !important;
}

.mktt-kartya {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px;
	border-top: 6px solid var(--mktt-accent);
	border-radius: 8px;
}

.mktt-kartya > * {
	margin: 0 !important;
}

.mktt-kartya .mktt-logo__kep {
	display: block;
	max-width: 100%;
}

.mktt-kartya__cim {
	font-size: 26px;
	line-height: 1.2;
}

.mktt-kartya__szoveg {
	flex-grow: 1;
}

.mktt-kartya__jel {
	font-family: var(--mktt-heading);
	font-size: 22px;
	line-height: 1.1;
	color: var(--mktt-primary);
}

.mktt-tagsag-sav__belso {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px 48px;
	padding-block: 64px;
}

.mktt-tagsag-sav__belso > * {
	margin: 0 !important;
}

.mktt-tagsag-sav__szoveg {
	flex: 1 1 520px;
	min-width: 0;
}

.mktt-tagsag-sav__szoveg h2 {
	margin: 0 0 12px;
	font-size: 36px;
	line-height: 1.15;
}

.mktt-tagsag-sav__szoveg p {
	margin: 0;
	max-width: 640px;
}

@media (max-width: 781px) {
	.mktt-nyitokep__belso {
		gap: 24px;
		padding-block: 48px;
	}

	.mktt-nyitokep__cim,
	.mktt-nyitokep__szoveg {
		flex-basis: 100%;
	}

	/* nov. 19.: a „Kommunikációtudományi” szó (Gloockban ~12,6 em széles) egyben férjen ki,
	   ne törjön a szó közepén – a betűméret a képernyőszélességhez igazodik, legfeljebb 36 px. */
	.mktt-nyitokep__cim h1 {
		font-size: min(36px, calc((100vw - 2 * var(--mktt-oldalmargo)) / 12.8));
		overflow-wrap: normal;
		hyphens: manual;
	}

	.mktt-nyitokep__motto {
		margin-top: 20px !important;
		font-size: 19px;
	}

	.mktt-nyitokep__szoveg {
		padding-top: 0;
	}

	.mktt-nyitokep .wp-block-buttons,
	.mktt-tagsag-sav .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.mktt-nyitokep .wp-block-button,
	.mktt-tagsag-sav .wp-block-button,
	.mktt-nyitokep .wp-block-button__link,
	.mktt-tagsag-sav .wp-block-button__link {
		width: 100%;
	}

	.mktt-fooldal-konf,
	.mktt-kartyak,
	.mktt-tagsag-sav__belso {
		padding-block: 40px;
	}

	.mktt-konflista {
		grid-template-columns: 1fr;
	}

	.mktt-konflista a {
		gap: 16px;
		padding: 16px 0;
	}

	.mktt-konflista__ev {
		width: 72px;
		font-size: 32px;
	}

	.mktt-konflista__cim {
		font-size: 17px;
	}

	.mktt-kartyak {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* nov. 11.: 320 px-ig ne lógjon ki – kisebb belső margó és cím, elválasztás */
	.mktt-kartya {
		padding: 24px 20px;
	}

	.mktt-kartya__cim {
		font-size: 22px;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.mktt-tagsag-sav__szoveg h2 {
		font-size: 24px;
	}
}

/* ------------------------------------------------------------------ */
/* Keresés, 404                                                        */
/* ------------------------------------------------------------------ */

.mktt-kereso {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: var(--mktt-szoveg);
	margin: 0 0 40px;
}

.mktt-oldalfejlec .mktt-kereso {
	margin: 0;
}

.mktt-kereso input {
	flex: 1 1 320px;
	min-width: 0;
	min-height: 48px;
	box-sizing: border-box;
	padding: 8px 14px;
	border: 1px solid var(--mktt-muted);
	border-radius: 6px;
	background: #fff;
	font: 400 18px/1.4 var(--mktt-body);
	color: var(--mktt-contrast);
}

.mktt-kereso button {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 6px;
	background: var(--mktt-accent);
	font: 600 16px/1.2 var(--mktt-body);
	color: var(--mktt-contrast);
	cursor: pointer;
}

.mktt-kereso button:hover {
	background: var(--mktt-accent-dark);
	color: #fff;
}

.mktt-kereses {
	padding-block: 48px 72px;
}

.mktt-kereses__belso {
	max-width: 860px;
}

.mktt-kereses__belso > * {
	margin-block: 0;
}

/* nov. 11.: a fenti nullázás után a szűrő, a lapozó és az enciklopédia-utalás térköze */
.mktt-kereses__belso > .mktt-szuro {
	margin-bottom: 32px;
}

.mktt-kereses__belso > .mktt-lapozo {
	margin-top: 40px;
}

.mktt-kereses__belso > .mktt-utalas {
	margin-top: 48px;
}

.mktt-talalatok {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--mktt-primary);
}

.mktt-talalatok li {
	padding: 24px 0;
	border-bottom: 1px solid var(--mktt-border);
}

.mktt-talalatok li > * {
	margin: 0;
}

.mktt-talalatok .mktt-felirat {
	margin-bottom: 6px;
}

.mktt-talalatok__cim {
	margin-bottom: 8px !important;
	font-size: 24px;
	line-height: 1.25;
}

.mktt-talalatok__cim a {
	color: var(--mktt-primary);
	text-decoration: none;
}

.mktt-talalatok__cim a:hover {
	text-decoration: underline;
}

.mktt-talalatok li > p:last-child {
	font-size: 16px;
	line-height: 1.55;
}

.mktt-utalas {
	margin-top: 48px !important;
	padding: 16px 24px;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.55;
}

.mktt-utalas > p {
	margin: 0;
}

.mktt-utalas strong {
	color: var(--mktt-primary);
}

.mktt-404__szam {
	margin: 0 0 16px !important;
	font-family: var(--mktt-heading);
	font-size: 120px;
	line-height: 0.9;
	color: var(--mktt-secondary);
}

.mktt-ketoldal--404 .mktt-ketoldal__fo > h1 {
	margin: 0 0 16px;
	font-size: clamp(36px, 4vw, 48px);
}

.mktt-ketoldal--404 .mktt-ketoldal__fo > p {
	margin: 0 0 16px;
}

.mktt-ketoldal--404 .mktt-ketoldal__fo > p:nth-of-type(3) {
	margin-bottom: 32px;
}

.mktt-ketoldal--404 .mktt-szakaszmenu .wp-block-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

@media (max-width: 781px) {
	.mktt-kereses {
		padding-block: 32px 48px;
	}

	.mktt-kereses__belso > .mktt-szuro {
		margin-bottom: 24px;
	}

	.mktt-kereses__belso > .mktt-lapozo {
		margin-top: 28px;
	}

	.mktt-kereses__belso > .mktt-utalas {
		margin-top: 32px;
	}

	.mktt-ketoldal--404 .mktt-ketoldal__fo > h1 {
		font-size: 28px;
	}

	.mktt-kereso button {
		flex: 1 1 100%;
	}

	.mktt-talalatok__cim {
		font-size: 20px;
	}

	.mktt-404__szam {
		font-size: 88px;
	}
}

/* ------------------------------------------------------------------ */
/* Lábléc                                                              */
/* ------------------------------------------------------------------ */

.mktt-lablec {
	font-size: 16px;
	line-height: 1.6;
}

.mktt-lablec a {
	color: #fff;
}

.mktt-lablec a:hover {
	color: var(--mktt-accent-light);
}

.mktt-lablec__oszlopok {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 72px;
	padding-block: 64px 32px;
}

.mktt-lablec__oszlopok > * {
	margin: 0 !important;
}

.mktt-lablec__logo {
	flex: 1 1 260px;
}

.mktt-lablec__elerhetoseg,
.mktt-lablec__linkek {
	flex: 1 1 280px;
}

.mktt-lablec__elerhetoseg p {
	margin: 0 0 8px;
}

.mktt-lablec .mktt-facebook {
	margin-top: 8px;
}

.mktt-lablec .mktt-facebook a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.mktt-lablec .mktt-facebook a::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("../images/ikon-facebook.svg") center / contain no-repeat;
	mask: url("../images/ikon-facebook.svg") center / contain no-repeat;
}

.mktt-lablec__linkek ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mktt-lablec__linkek a {
	text-decoration: none;
}

.mktt-lablec__linkek a:hover {
	text-decoration: underline;
}

.mktt-lablec-also {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	box-sizing: border-box;
	max-width: var(--mktt-keret);
	margin-inline: auto;
	padding: 24px var(--mktt-oldalmargo);
	border-top: 1px solid #1f3a4f;
	font-size: 14px;
	color: #c6d3dc;
}

.mktt-logo {
	line-height: 0;
}

.mktt-logo img {
	display: block;
	max-width: 100%;
	height: auto;
}

@media (max-width: 781px) {
	.mktt-lablec__oszlopok {
		flex-direction: column;
		gap: 32px;
		padding-block: 48px 24px;
	}

	.mktt-lablec__logo,
	.mktt-lablec__elerhetoseg,
	.mktt-lablec__linkek {
		flex: none;
	}

	.mktt-lablec__linkek ul {
		gap: 0;
	}

	.mktt-lablec__linkek li a {
		display: flex;
		align-items: center;
		min-height: 44px;
		border-bottom: 1px solid #1f3a4f;
	}

	.mktt-lablec-also {
		flex-direction: column;
	}

	.mktt-tovabb a,
	a.mktt-tovabb {
		min-height: 44px;
	}
}

/* Szerkesztői előnézet */
.mktt-szerkesztoi-elonezet {
	pointer-events: none;
}

/* nov. 11.: mobilon a H2 egyértelműen kisebb a H1-nél (H1 30 px, hírcím 26 px) –
   szövegközi H2 22 px, szakaszcímek (Friss hírek, évszámok, Tagság-sáv) 24 px, H3 20 px */
@media (max-width: 781px) {
	.mktt-szovegtorzs h2,
	.wp-block-post-content h2 {
		font-size: 22px;
		line-height: 1.2;
	}

	.mktt-szovegtorzs h3,
	.wp-block-post-content h3 {
		font-size: 20px;
	}

	.mktt-mellekletek h2 {
		font-size: 20px;
	}
}

/* ------------------------------------------------------------------ */
/* Vissza az oldal tetejére gomb (nov. 19.)                            */
/* ------------------------------------------------------------------ */

.mktt-fel {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: var(--mktt-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s, background-color 0.15s ease;
}

.mktt-fel.is-lathato {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s, background-color 0.15s ease;
}

.mktt-fel:hover {
	background: var(--mktt-contrast);
}

.mktt-fel:focus-visible {
	outline: 2px solid var(--mktt-accent);
	outline-offset: 3px;
}

.mktt-fel svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 781px) {
	.mktt-fel {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mktt-fel,
	.mktt-fel.is-lathato {
		transition: none;
	}
}
