/*
 * MedTech header – brand + hero + nav stílusok
 * Az új header-v2.php-hez (feltételes layout: home vs aloldal)
 *
 * Útvonal a témában: assets/css/medtech-header.css
 *
 * FONTOS: ez TELJESEN lecseréli a régi medtech-header.css-t,
 * és integrálva tartalmazza a header-aloldali-css.css szabályait is.
 * (A különálló header-aloldali-css.css-t nem kell külön hozzáfűzni.)
 */

/* =========================================================================
   CSS-változók (helyi scope)
   ========================================================================= */
:root {
	--mt-blue-deep:  #1E3A6B;
	--mt-blue:       #2C5FA8;
	--mt-blue-light: #4A7FC8;
	--mt-card:       #FFFFFF;
	--mt-ink:        #1A2842;
	--mt-ink-soft:   #4A5878;
	--mt-radius:     20px;
	--mt-shadow:     0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
}


/* =========================================================================
   HEADER WRAPPER – kártyák közötti térköz
   ========================================================================= */
.oe-header {
	padding: 18px 0 0;
}
.oe-header > .container > * + * {
	margin-top: 18px;
}


/* =========================================================================
   1) BRAND KÁRTYA – alap (home oldalon önállóan jelenik meg)
   ========================================================================= */
.mt-brand-card {
	background: var(--mt-card);
	border-radius: var(--mt-radius);
	box-shadow: var(--mt-shadow);
	padding: 16px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.mt-brand-logo {
	flex-shrink: 0;
	text-decoration: none;
	color: inherit;
	display: block;
}
.mt-brand-logo:hover { color: inherit; }
.mt-brand-logo img {
	display: block;
	height: 52px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.mt-brand-text {
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.mt-brand-title {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--mt-ink);
	line-height: 1.2;
	margin: 0;
}
.mt-brand-sub {
	font-size: 12.5px;
	color: var(--mt-ink-soft);
	margin: 2px 0 0;
	font-weight: 400;
	line-height: 1.4;
}


/* =========================================================================
   1b) BRAND KÁRTYA – ALOLDALI VARIÁNS (a menü a brand jobb oldalán)
   Az aloldalakon a header-v2.php hozzáadja a "mt-brand-card--with-nav" modifiert
   ========================================================================= */
.mt-brand-card--with-nav {
	flex-wrap: wrap;
}

.mt-brand-card--with-nav .mt-header-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 24px;
}
.mt-brand-card--with-nav .mt-nav-inner {
	display: flex;
	align-items: center;
	gap: 28px;
}

.mt-brand-card--with-nav .mt-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 28px;
	align-items: center;
}
.mt-brand-card--with-nav .mt-nav-list li {
	margin: 0;
	padding: 0;
}
.mt-brand-card--with-nav .mt-nav-list > li > a,
.mt-brand-card--with-nav .mt-nav-list > li > .nav-link {
	color: var(--mt-ink);
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 16px 4px;
	display: inline-block;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.mt-brand-card--with-nav .mt-nav-list > li > a:hover,
.mt-brand-card--with-nav .mt-nav-list > li > .nav-link:hover,
.mt-brand-card--with-nav .mt-nav-list .current-menu-item > a,
.mt-brand-card--with-nav .mt-nav-list .current_page_item > a,
.mt-brand-card--with-nav .mt-nav-list .current-menu-parent > a,
.mt-brand-card--with-nav .mt-nav-list .current-menu-ancestor > a,
.mt-brand-card--with-nav .mt-nav-list .current-menu-item > .nav-link {
	color: var(--mt-blue);
	border-bottom-color: var(--mt-blue);
}

/* Polylang inline a brand-card jobb szélén */
.mt-brand-card--with-nav .mt-lang {
	margin: 0;
	display: flex;
	align-items: center;
}
.mt-brand-card--with-nav .mt-lang ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.mt-brand-card--with-nav .mt-lang a {
	color: var(--mt-ink-soft);
	text-decoration: none;
	padding: 2px 6px;
}
.mt-brand-card--with-nav .mt-lang .current-lang a {
	color: var(--mt-blue-deep);
	font-weight: 600;
}


/* =========================================================================
   2) HERO KÁRTYA – csak a főoldalon (saját design, slider helyett)
   ========================================================================= */
.mt-hero-card {
	background: linear-gradient(135deg, #E5EFF8 0%, #D2E3F2 50%, #C0D6EC 100%);
	border-radius: var(--mt-radius);
	box-shadow: var(--mt-shadow);
	overflow: hidden;
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	min-height: 380px;
}
.mt-hero-text {
	padding: 48px 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 2;
}
.mt-hero-title {
	font-size: clamp(28px, 3.6vw, 46px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	font-weight: 600;
	color: var(--mt-blue-deep);
	margin: 0 0 16px;
}
.mt-hero-sub {
	font-size: 16px;
	color: var(--mt-ink-soft);
	max-width: 420px;
	margin: 0 0 26px;
	line-height: 1.55;
}

/* CTA gomb (az új header-v2.php: .mt-hero-btn) */
.mt-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--mt-blue-deep);
	color: #fff;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	align-self: flex-start;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 14px rgba(30, 58, 107, 0.25);
}
.mt-hero-btn:hover,
.mt-hero-btn:focus {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(30, 58, 107, 0.35);
	color: #fff;
	text-decoration: none;
}

/* Play-háromszög a CTA-ban (CSS-szel renderelve) */
.mt-hero-btn-play {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
}
.mt-hero-btn-play::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 7px solid #fff;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	margin-left: 2px;
}

/* Jobb oldali kép terület */
.mt-hero-media {
	position: relative;
	overflow: hidden;
	min-height: 280px;
}
.mt-hero-media img,
.mt-hero-media .mt-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mt-hero-media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(216, 229, 242, 0.85) 0%, rgba(216, 229, 242, 0.0) 30%);
}

/* Üres állapot — ha még nincs feltöltve kép a Customizerben */
.mt-hero-media--empty {
	background: linear-gradient(135deg, #D2E3F2 0%, #B0CCE9 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--mt-blue-deep);
	font-size: 13px;
	opacity: 0.55;
	padding: 24px;
}
.mt-hero-media--empty::before { display: none; }
.mt-hero-empty {
	max-width: 280px;
	line-height: 1.5;
	margin: 0;
}


/* =========================================================================
   3) NAV KÁRTYA – csak a főoldalon (önálló sorban)
   ========================================================================= */
.mt-nav-card {
	background: var(--mt-card);
	border-radius: var(--mt-radius);
	box-shadow: var(--mt-shadow);
	padding: 4px 18px;
}
.mt-nav-card .mt-nav-inner {
	display: flex;
	align-items: center;
	gap: 18px;
}

.mt-nav-card .mt-nav-list {
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1;
}
.mt-nav-card .mt-nav-list > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Top-szintű linkek a nav-kártyában */
.mt-nav-card .mt-nav-list > li > a,
.mt-nav-card .mt-nav-list > li > .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	color: var(--mt-ink-soft);
	font-weight: 500;
	font-size: 14.5px;
	text-decoration: none;
	position: relative;
	white-space: nowrap;
	transition: color 0.2s, background 0.2s;
	border-radius: 10px;
}
.mt-nav-card .mt-nav-list > li > a:hover,
.mt-nav-card .mt-nav-list > li > a:focus,
.mt-nav-card .mt-nav-list > li > .nav-link:hover,
.mt-nav-card .mt-nav-list > li > .nav-link:focus {
	color: var(--mt-blue);
	background: rgba(44, 95, 168, 0.04);
	text-decoration: none;
}

/* Aktív top-szintű menüpont */
.mt-nav-card .mt-nav-list > li.current-menu-item > a,
.mt-nav-card .mt-nav-list > li.current-menu-parent > a,
.mt-nav-card .mt-nav-list > li.current-menu-ancestor > a,
.mt-nav-card .mt-nav-list > li.current-menu-item > .nav-link,
.mt-nav-card .mt-nav-list > li.current-menu-parent > .nav-link,
.mt-nav-card .mt-nav-list > li.current-menu-ancestor > .nav-link {
	color: var(--mt-blue-deep);
	font-weight: 600;
}
.mt-nav-card .mt-nav-list > li.current-menu-item > a::after,
.mt-nav-card .mt-nav-list > li.current-menu-parent > a::after,
.mt-nav-card .mt-nav-list > li.current-menu-ancestor > a::after,
.mt-nav-card .mt-nav-list > li.current-menu-item > .nav-link::after,
.mt-nav-card .mt-nav-list > li.current-menu-parent > .nav-link::after,
.mt-nav-card .mt-nav-list > li.current-menu-ancestor > .nav-link::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 18px;
	right: 18px;
	height: 2px;
	background: var(--mt-blue-deep);
	border-radius: 1px;
}

/* Ikon a top-szintű menüpont előtt (ha az mt_nav_icon_svg helper hozzáadja) */
.mt-nav-card .mt-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: 0.7;
}
.mt-nav-card .mt-nav-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}
.mt-nav-card .mt-nav-list > li.current-menu-item > a .mt-nav-icon,
.mt-nav-card .mt-nav-list > li.current-menu-parent > a .mt-nav-icon,
.mt-nav-card .mt-nav-list > li.current-menu-ancestor > a .mt-nav-icon {
	opacity: 1;
}

/* Polylang inline a nav-kártya bal szélén */
.mt-nav-card .mt-lang {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}
.mt-nav-card .mt-lang ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.mt-nav-card .mt-lang a {
	color: var(--mt-ink-soft);
	text-decoration: none;
	padding: 4px 8px;
	border-radius: 6px;
}
.mt-nav-card .mt-lang a:hover {
	background: rgba(44, 95, 168, 0.08);
}
.mt-nav-card .mt-lang .current-lang a {
	color: var(--mt-blue-deep);
	font-weight: 600;
}


/* =========================================================================
   Dropdown almenük (Bootstrap-stílus, ha a wp_nav_menu walker hozza)
   ========================================================================= */
.mt-nav-card .dropdown-menu {
	border: 0;
	box-shadow: 0 6px 24px rgba(30, 58, 107, 0.12);
	border-radius: 12px;
	padding: 8px;
	margin-top: 4px;
	list-style: none;
}
.mt-nav-card .dropdown-menu li { list-style: none; }
.mt-nav-card .dropdown-item {
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	color: var(--mt-ink-soft);
	text-decoration: none;
	display: block;
}
.mt-nav-card .dropdown-item:hover,
.mt-nav-card .dropdown-item:focus {
	background: rgba(44, 95, 168, 0.08);
	color: var(--mt-blue-deep);
	text-decoration: none;
}
.mt-nav-card .dropdown-item.active,
.mt-nav-card .dropdown-item:active {
	background: var(--mt-blue-deep);
	color: #fff;
}


/* =========================================================================
   4) RESZPONZÍV
   ========================================================================= */

/* Tablet – kisebb betűk az aloldali nav-ban */
@media (max-width: 991.98px) {
	/* Hero kártya egyoszlopos */
	.mt-hero-card {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.mt-hero-text {
		padding: 32px 24px 28px;
	}
	.mt-hero-media,
	.mt-hero-media--empty {
		min-height: 220px;
	}

	/* Aloldali nav: szorosabb */
	.mt-brand-card--with-nav .mt-nav-list {
		gap: 18px;
	}
	.mt-brand-card--with-nav .mt-nav-list > li > a,
	.mt-brand-card--with-nav .mt-nav-list > li > .nav-link {
		font-size: 11px;
		letter-spacing: 0.06em;
		padding: 14px 4px;
	}
}

/* Mobil – nav alá kerül a brand-en */
@media (max-width: 767.98px) {
	.mt-brand-card--with-nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.mt-brand-card--with-nav .mt-header-nav {
		margin-left: 0;
		width: 100%;
		justify-content: center;
		border-top: 1px solid rgba(30, 58, 107, 0.08);
		padding-top: 8px;
	}

	/* Home nav-card: menüpontok egymás alatt */
	.mt-nav-card .mt-nav-inner {
		flex-direction: column;
		align-items: stretch;
	}
	.mt-nav-card .mt-nav-list {
		flex-direction: column;
		gap: 0;
	}
	.mt-nav-card .mt-nav-list > li > a,
	.mt-nav-card .mt-nav-list > li > .nav-link {
		padding: 12px 14px;
		width: 100%;
		justify-content: flex-start;
	}
	.mt-nav-card .mt-nav-list > li.current-menu-item > a::after,
	.mt-nav-card .mt-nav-list > li.current-menu-parent > a::after,
	.mt-nav-card .mt-nav-list > li.current-menu-ancestor > a::after,
	.mt-nav-card .mt-nav-list > li.current-menu-item > .nav-link::after,
	.mt-nav-card .mt-nav-list > li.current-menu-parent > .nav-link::after,
	.mt-nav-card .mt-nav-list > li.current-menu-ancestor > .nav-link::after {
		display: none;
	}
	.mt-nav-card .dropdown-menu {
		box-shadow: none;
		border: 0;
		background: rgba(30, 58, 107, 0.03);
		margin: 0;
		padding: 4px 8px 4px 32px;
	}
}

@media (max-width: 540px) {
	.mt-brand-card { padding: 12px 16px; }
	.mt-brand-logo img { height: 42px; }
	.mt-brand-title { font-size: 16px; }
	.mt-brand-sub { font-size: 11.5px; }
	.mt-nav-card { padding: 6px 12px; }
	.mt-hero-text { padding: 24px 20px; }
	.mt-hero-title { font-size: 26px; }
}

/* ============================================================
   PROJEKTJEINK – CPT-alapú változat, frissített CSS
   ============================================================


/* ============================================================
   CAROUSEL container – CSS Grid: [prev] [viewport] [next] / [dots]
   A wrapper most a Query-blokk (.mt-projects-carousel-wrap).
   ============================================================ */
.mt-projects-carousel-wrap.wp-block-query {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 10px;
	padding: 0;
	position: relative;
}

/* Viewport — körülveszi az ul-t */
.mt-projects-carousel-wrap .mt-carousel-viewport {
	grid-column: 2;
	grid-row: 1;
	overflow: hidden;
	min-width: 0;
}

/* Track = az ul.wp-block-post-template (most .mt-carousel-track osztállyal is) */
.mt-projects-carousel-wrap .mt-carousel-track {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 12px;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

/* Egy li = egy kártya-tér (5 / oldal alapból) */
.mt-projects-carousel-wrap .mt-carousel-track > li {
	list-style: none;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	flex: 0 0 calc((100% - 2 * 12px) / 3);
}

/* A Group "kártya" megjelenése a li-n belül */
.mt-project-card.wp-block-group {
	box-sizing: border-box;
	height: 100%;
	background: #FFFFFF;
	border-radius: 14px;
	padding: 14px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.mt-project-card.wp-block-group:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 16px rgba(28, 50, 90, 0.10);
}


/* ============================================================
   Kártya tartalom — Featured Image + Post Title + Post Excerpt
   ============================================================ */

/* Kép a kártya tetején — fix arány, lekerekített */
.mt-project-card .mt-project-img.wp-block-post-featured-image {
	margin: 0 0 14px;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16/11;
	background: #E8F0FA;
}
.mt-project-card .mt-project-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Cím */
.mt-project-card .mt-project-name.wp-block-post-title {
	font-size: 14.5px;
	font-weight: 600;
	color: #1A2842;
	margin: 0 0 6px;
	letter-spacing: -0.012em;
	line-height: 1.22;
	overflow-wrap: break-word;
}

/* Kivonat (Excerpt) — a kártya alszövege */
.mt-project-card .mt-project-sub.wp-block-post-excerpt {
	margin: 0;
}
.mt-project-card .mt-project-sub p,
.mt-project-card .mt-project-sub .wp-block-post-excerpt__excerpt {
	font-size: 11.5px;
	color: #4A5878;
	line-height: 1.45;
	margin: 0;
}
.mt-project-card .mt-project-sub .wp-block-post-excerpt__more-link,
.mt-project-card .mt-project-sub .wp-block-post-excerpt__more-text {
	display: none;
}


/* ============================================================
   Nyilak — grid-cellákban (a wrapper-en)
   ============================================================ */
.mt-projects-carousel-wrap .mt-carousel-arrow {
	grid-row: 1;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 0;
	box-shadow: 0 2px 8px rgba(28, 50, 90, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	color: #1A2842;
	transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
	padding: 0;
	flex-shrink: 0;
}
.mt-projects-carousel-wrap .mt-carousel-arrow:hover {
	background: #1E3A6B;
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(30, 58, 107, 0.30);
}
.mt-projects-carousel-wrap .mt-carousel-arrow svg {
	width: 14px;
	height: 14px;
	display: block;
}
.mt-projects-carousel-wrap .mt-carousel-prev { grid-column: 1; }
.mt-projects-carousel-wrap .mt-carousel-next { grid-column: 3; }


/* ============================================================
   Dotok — 2. sor, középre
   ============================================================ */
.mt-projects-carousel-wrap .mt-carousel-dots {
	grid-column: 1 / -1;
	grid-row: 2;
	justify-self: center;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
}
.mt-projects-carousel-wrap .mt-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(30, 58, 107, 0.25);
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s, width 0.2s, border-radius 0.2s;
}
.mt-projects-carousel-wrap .mt-carousel-dot:hover {
	background: rgba(30, 58, 107, 0.5);
}
.mt-projects-carousel-wrap .mt-carousel-dot.is-active {
	background: #1E3A6B;
	width: 24px;
	border-radius: 4px;
}


/* ============================================================
   Reszponzív kártya-szélességek (5 → 4 → 3 → 2 → 1)
   ============================================================ */
@media (max-width: 991.98px) {
	.mt-projects-card.wp-block-group { padding: 28px 22px; }
	.mt-projects-heading { font-size: 26px; }
	.mt-projects-carousel-wrap .mt-carousel-track > li { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 539.98px) {
	.mt-projects-card.wp-block-group { padding: 22px 16px; }
	.mt-projects-carousel-wrap .mt-carousel-track > li { flex-basis: 100%; }
}

/* ============================================================
   MUNKATÁRSAK aloldal 
   ============================================================ */

/* =========================================================================
   HERO szekció
   ========================================================================= */
.mt-team-hero.wp-block-group {
	background: linear-gradient(135deg, #E8F0FA 0%, #DCE8F5 100%);
	border-radius: 20px;
	padding: 0;
	margin-top: 18px;
	overflow: hidden;
}

.mt-team-hero-cols.wp-block-columns {
	margin: 0;
	gap: 0;
}

/* Bal szöveges blokk */
.mt-team-hero-text.wp-block-column {
	padding: 56px 40px;
}
.mt-team-hero-title {
	font-size: 48px;
	font-weight: 700;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	line-height: 1.05;
}
.mt-team-hero-sub {
	font-size: 16px;
	color: #4A5878;
	margin: 0 0 28px;
}
.mt-team-hero-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	background: #1E3A6B;
	color: #FFFFFF;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: 0;
	transition: background 0.2s;
}
.mt-team-hero-btn .wp-block-button__link::before {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 9px solid #FFFFFF;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	margin-right: 2px;
}
.mt-team-hero-btn .wp-block-button__link:hover {
	background: #2C5FA8;
}

/* Jobb oldali Cover blokk (laborkép + play gomb) */
.mt-team-hero-media.wp-block-cover {
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	position: relative;
}
.mt-team-hero-media .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Play gomb a Hero képén — kerek fehér, kék háromszöggel (mint a Rólunk-nál) */
.mt-team-play-btn .wp-block-button__link {
	width: 76px !important;
	height: 76px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: transparent !important;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	position: relative;
	transition: transform 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
}
.mt-team-play-btn .wp-block-button__link:hover {
	transform: scale(1.08);
	background: #FFFFFF !important;
}
.mt-team-play-btn .wp-block-button__link::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-left: 18px solid #1E3A6B;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	margin-left: 4px;
}

/* =========================================================================
   "Munkatársaink" cím
   ========================================================================= */
.mt-team-heading {
	text-align: center;
	font-size: 30px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	margin: 48px 0 8px;
	line-height: 1.2;
	position: relative;
}
.mt-team-heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 12px auto 0;
}

/* =========================================================================
   Lista wrapper
   ========================================================================= */
.mt-team-list.wp-block-group {
	padding: 0;
	margin-top: 24px;
}
.mt-team-query .wp-block-post-template {
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 12px;
	display: flex;
	flex-direction: column;
}
.mt-team-query .wp-block-post-template > li {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* =========================================================================
   Egy munkatárs-kártya (akkordeon)
   ========================================================================= */
.mt-member-card.wp-block-group {
	background: #FFFFFF;
	border-radius: 16px;
	padding: 0;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 2px 12px rgba(28, 50, 90, 0.04);
	transition: box-shadow 0.25s ease, background 0.25s ease;
	overflow: hidden;
}

/* Nyitott állapot — finom kék border + erősebb háttér */
.mt-member-card.is-open {
	background: linear-gradient(180deg, #F4F8FC 0%, #EEF4FB 100%);
	box-shadow: 0 6px 24px rgba(30, 58, 107, 0.12), inset 0 0 0 1.5px rgba(44, 95, 168, 0.25);
}

/* Fej (mindig látszik, kattintható) */
.mt-member-head.wp-block-group {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 18px;
	padding: 14px 24px;
	cursor: pointer;
	user-select: none;
	position: relative;
	margin: 0;
}
.mt-member-head:hover {
	background: rgba(30, 58, 107, 0.02);
}

/* Profilkép a fejben — kör, 56px */
.mt-member-photo.wp-block-post-featured-image {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 50%;
	overflow: hidden;
	background: #E8F0FA;
}
.mt-member-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

/* Név */
.mt-member-name {
	font-size: 17px;
	font-weight: 600;
	color: #1A2842;
	margin: 0;
	flex: 1;
	letter-spacing: -0.01em;
}

/* Chevron a fej jobb oldalán (CSS pseudo-elem) */
.mt-member-head::after {
	content: '';
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' stroke='%231A2842' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5 L6 7.5 L9 4.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
		rgba(30, 58, 107, 0.06);
	transition: transform 0.3s ease, background-color 0.2s;
}
.mt-member-card.is-open .mt-member-head::after {
	transform: rotate(180deg);
	background:
		url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' stroke='%231E3A6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5 L6 7.5 L9 4.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat,
		rgba(30, 58, 107, 0.1);
}

/* Body — alapból rejtve, csak is-open mellett látszik */
.mt-member-body.wp-block-group {
	display: none;
	padding: 0 24px 28px 98px; /* bal padding: a fej-profilkép (56px) + gap (18px) + extra (24px) */
	margin: 0;
}
.mt-member-card.is-open .mt-member-body {
	display: block;
	animation: mt-fade-in 0.3s ease-out;
}
@keyframes mt-fade-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   Body tartalom — 2-oszlopos layout (a CPT-bejegyzés content-jéből)
   ========================================================================= */
.mt-member-body .mt-member-cols.wp-block-columns {
	margin: 0;
	gap: 32px;
}
.mt-member-body .wp-block-column {
	margin: 0;
}

/* Közép oszlop */
.mt-member-role {
	font-size: 20px;
	font-weight: 600;
	color: #1E3A6B;
	margin: 0 0 4px;
	letter-spacing: -0.01em;
}
.mt-member-field {
	font-size: 13px;
	color: #4A5878;
	margin: 0 0 16px;
}
.mt-member-bio {
	font-size: 14px;
	line-height: 1.6;
	color: #1A2842;
	margin: 0 0 22px;
}
.mt-member-skills-label {
	font-size: 13px;
	font-weight: 600;
	color: #1A2842;
	margin: 0 0 10px;
	letter-spacing: 0.01em;
}
.mt-member-skills.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
.mt-skill-pill .wp-block-button__link {
	display: inline-block;
	padding: 5px 14px;
	border: 1px solid #B0CCE9;
	border-radius: 999px;
	background: transparent;
	color: #2C5FA8;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	cursor: default;
}
.mt-skill-pill .wp-block-button__link:hover {
	background: rgba(44, 95, 168, 0.06);
}

/* Jobb oszlop — kapcsolat-linkek SVG-ikonokkal */
.mt-member-rightcol .mt-member-link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 14px;
}
.mt-member-rightcol .mt-member-link:last-child {
	margin-bottom: 0;
}
.mt-member-rightcol .mt-member-link a {
	color: #2C5FA8;
	font-weight: 500;
	text-decoration: none;
}
.mt-member-rightcol .mt-member-link a:hover {
	color: #1E3A6B;
	text-decoration: underline;
}
.mt-member-rightcol .mt-member-link::before {
	content: '';
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
}
.mt-link-mail::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232C5FA8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7 l9 6 l9 -6'/%3E%3C/svg%3E");
}
.mt-link-linkedin::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%232C5FA8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.98 3.5C4.98 4.881 3.87 6 2.5 6S.02 4.881.02 3.5C.02 2.12 1.13 1 2.5 1s2.48 1.12 2.48 2.5zM.5 8h4v13h-4V8zm7 0h3.83v1.77h.05c.53-1 1.84-2.07 3.79-2.07 4.05 0 4.79 2.67 4.79 6.13V21h-4v-6.27c0-1.5-.03-3.43-2.09-3.43-2.1 0-2.42 1.63-2.42 3.32V21H7.5V8z'/%3E%3C/svg%3E");
}
.mt-link-profile::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232C5FA8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}
.mt-link-papers::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232C5FA8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 7h6 M9 11h6 M9 15h4'/%3E%3C/svg%3E");
}

/* =========================================================================
   Reszponzív
   ========================================================================= */
@media (max-width: 991.98px) {
	.mt-team-hero-text.wp-block-column { padding: 36px 24px; }
	.mt-team-hero-title { font-size: 36px; }
	.mt-team-heading { font-size: 24px; margin-top: 32px; }

	/* Body: 3 oszlop → 1 oszlop egymás alatt */
	.mt-member-body .mt-member-cols.wp-block-columns { flex-direction: column; gap: 16px; }
	.mt-member-body .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
	.mt-member-leftcol { display: none; }
}
@media (max-width: 539.98px) {
	.mt-team-hero-cols.wp-block-columns { flex-direction: column; gap: 0; }
	.mt-team-hero-cols .wp-block-column { flex-basis: 100% !important; width: 100% !important; }
	.mt-team-hero-text.wp-block-column { padding: 28px 18px; }
	.mt-team-hero-title { font-size: 30px; }
	.mt-team-hero-media.wp-block-cover { min-height: 200px; }

	.mt-member-head.wp-block-group { padding: 12px 16px; gap: 12px; }
	.mt-member-photo.wp-block-post-featured-image { width: 48px; height: 48px; }
	.mt-member-name { font-size: 15px; }
	.mt-member-body.wp-block-group { padding: 0 16px 18px; }
}


/* ============================================================
   KAPCSOLAT aloldal - téma-konzisztens design 

   ============================================================ */


/* =========================================================================
   KÜLSŐ FEHÉR KÁRTYA - mint a többi szekció
   ========================================================================= */
.mt-contact-card.wp-block-group {
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
	padding: 48px 40px;
	margin-top: 24px;
	margin-bottom: 24px;
}


/* =========================================================================
   HEADING + LEDE
   ========================================================================= */
.mt-contact-card .mt-contact-heading {
	text-align: center;
	font-size: 30px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	line-height: 1.2;
	position: relative;
}
.mt-contact-card .mt-contact-heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 14px auto 0;
}

.mt-contact-card .mt-contact-lede {
	text-align: center;
	max-width: 720px;
	margin: 24px auto 0;
	font-size: 15px;
	color: #4A5878;
	line-height: 1.6;
}
.mt-contact-card .mt-contact-lede strong {
	color: #1E3A6B;
	font-weight: 600;
}


/* =========================================================================
   2-OSZLOPOS GRID
   ========================================================================= */
.mt-contact-card .mt-contact-grid.wp-block-columns {
	margin-top: 40px;
	margin-bottom: 0;
	gap: 48px;
}


/* =========================================================================
   BAL: kapcsolat-info
   ========================================================================= */
.mt-contact-card .mt-contact-info.wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mt-contact-card .mt-info-block.wp-block-group {
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid rgba(28, 50, 90, 0.08);
}
.mt-contact-card .mt-info-block.wp-block-group:first-child {
	padding-top: 0;
	border-top: 0;
}

.mt-contact-card .mt-info-label {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4A5878;
	margin: 0 0 6px;
	font-weight: 500;
}

.mt-contact-card .mt-info-val {
	font-size: 16px;
	font-weight: 600;
	color: #1A2842;
	line-height: 1.4;
	margin: 0;
}


/* =========================================================================
   JOBB: CONTACT FORM 7 FORM
   ========================================================================= */
.mt-contact-card .mt-contact-form-col.wp-block-column {
	min-width: 0;
}
.mt-contact-card .mt-contact-form-col .wpcf7 {
	background: transparent;
	padding: 0;
}


/* Form szekciók (Alapadatok, Együttműködés jellege, stb.) */
.mt-contact-card .mt-form-section-title {
	font-size: 12px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 18px;
}
.mt-contact-card .mt-form-section-title:not(:first-child) {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid rgba(28, 50, 90, 0.08);
}


/* Mező-sorok */
.mt-contact-card .mt-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 18px;
}
.mt-contact-card .mt-form-row--single {
	grid-template-columns: 1fr;
}


/* Egy mező + label - SPECIFITÁS-EMELÉS hogy felülírja CF7-et és a témát */
.mt-contact-card .mt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.mt-contact-card .mt-field > label {
	font-size: 11px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #4A5878;
	font-weight: 500;
	display: block;
	margin: 0;
	line-height: 1.4;
	font-family: inherit;
}
.mt-contact-card .mt-req {
	color: #2C5FA8;
}

/* CF7 wrapper-span legyen block-level */
.mt-contact-card .mt-field .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* Input, select, textarea - aláhúzott vonalas stílus */
.mt-contact-card .mt-field .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-acceptance):not(.wpcf7-submit) {
	background: transparent;
	border: none;
	border-bottom: 1.5px solid rgba(28, 50, 90, 0.10);
	color: #1A2842;
	font-family: inherit;
	font-size: 15px;
	padding: 10px 0;
	outline: none;
	transition: border-color 0.2s;
	width: 100%;
	border-radius: 0;
	box-shadow: none;
}
.mt-contact-card .mt-field .wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-acceptance):not(.wpcf7-submit):focus {
	border-bottom-color: #2C5FA8;
}
.mt-contact-card .mt-field .wpcf7-form-control::placeholder {
	color: #B8BDC4;
	opacity: 1;
}
.mt-contact-card .mt-field .wpcf7-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'><path d='M1 1l5 5 5-5' stroke='%232C5FA8' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 24px !important;
}
.mt-contact-card .mt-field .wpcf7-textarea {
	resize: vertical;
	min-height: 100px;
	font-family: inherit;
}


/* =========================================================================
   CHECKBOX-CSOPORT mint TAG-PIRULÁK
   ========================================================================= */
.mt-contact-card .mt-field .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 4px;
	border: 0;
	margin: 0;
	background: transparent;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item {
	display: inline-block;
	margin: 0;
	padding: 0;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item label {
	font-size: 12px;
	padding: 6px 14px;
	border: 1px solid #B0CCE9;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s;
	user-select: none;
	display: inline-flex;
	align-items: center;
	color: #2C5FA8;
	background: transparent;
	margin: 0;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item-label {
	margin: 0;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item label:has(input:checked) {
	background: #2C5FA8;
	color: #FFFFFF;
	border-color: #2C5FA8;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item label:not(:has(input:checked)):hover {
	background: rgba(44, 95, 168, 0.06);
	border-color: #2C5FA8;
}
.mt-contact-card .mt-field .wpcf7-checkbox .wpcf7-list-item label:has(input:focus-visible) {
	outline: 2px solid #2C5FA8;
	outline-offset: 2px;
}


/* =========================================================================
   GDPR ELFOGADÁSI CHECKBOX
   ========================================================================= */
.mt-contact-card .mt-form-checkbox-row {
	margin-top: 28px;
	font-size: 13px;
	color: #4A5878;
	line-height: 1.55;
}
.mt-contact-card .mt-form-checkbox-row .wpcf7-acceptance {
	display: block;
	border: 0;
	margin: 0;
	padding: 0;
	background: transparent;
}
.mt-contact-card .mt-form-checkbox-row .wpcf7-list-item {
	margin: 0;
	display: block;
}
.mt-contact-card .mt-form-checkbox-row .wpcf7-list-item label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	cursor: pointer;
	font-size: 13px;
	color: #4A5878;
	margin: 0;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
.mt-contact-card .mt-form-checkbox-row .wpcf7-list-item label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #2C5FA8;
	margin: 3px 0 0;
	flex-shrink: 0;
	position: static;
	opacity: 1;
}
.mt-contact-card .mt-form-checkbox-row .wpcf7-list-item-label {
	display: inline;
}
.mt-contact-card .mt-form-checkbox-row a {
	color: #2C5FA8;
	text-decoration: underline;
}


/* =========================================================================
   SUBMIT GOMB
   ========================================================================= */
.mt-contact-card .mt-btn-submit,
.mt-contact-card .wpcf7-submit.mt-btn-submit {
	margin-top: 28px;
	background: #1E3A6B;
	color: #FFFFFF;
	font-family: inherit;
	font-weight: 500;
	font-size: 14px;
	padding: 13px 28px;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	transition: background 0.2s, transform 0.15s;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
}
.mt-contact-card .wpcf7-submit.mt-btn-submit:hover {
	background: #2C5FA8;
	transform: translateY(-1px);
}


/* =========================================================================
   CF7 VISSZAJELZŐ ÜZENETEK
   ========================================================================= */
.mt-contact-card .wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	border: 0;
	border-left: 3px solid;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 0 6px 6px 0;
}
.mt-contact-card .wpcf7 form.sent .wpcf7-response-output {
	background: #E8F0FA;
	border-left-color: #2C5FA8;
	color: #1E3A6B;
}
.mt-contact-card .wpcf7 form.invalid .wpcf7-response-output,
.mt-contact-card .wpcf7 form.unaccepted .wpcf7-response-output {
	background: #FFF6E5;
	border-left-color: #F1A93C;
	color: #7A5409;
}
.mt-contact-card .wpcf7 form.failed .wpcf7-response-output,
.mt-contact-card .wpcf7 form.aborted .wpcf7-response-output {
	background: #FFE9E9;
	border-left-color: #D33;
	color: #8B1A1A;
}
.mt-contact-card .wpcf7-not-valid-tip {
	color: #D33;
	font-size: 12px;
	margin-top: 4px;
}
.mt-contact-card .wpcf7-form-control.wpcf7-not-valid {
	border-bottom-color: #D33 !important;
}


/* =========================================================================
   RESZPONZÍV
   ========================================================================= */
@media (max-width: 991.98px) {
	.mt-contact-card.wp-block-group {
		padding: 32px 24px;
	}
	.mt-contact-card .mt-contact-grid.wp-block-columns {
		flex-direction: column;
		gap: 32px;
		margin-top: 32px;
	}
	.mt-contact-card .mt-contact-grid.wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}
}

@media (max-width: 540px) {
	.mt-contact-card.wp-block-group {
		padding: 24px 18px;
	}
	.mt-contact-card .mt-contact-heading {
		font-size: 24px;
	}
	.mt-contact-card .mt-form-row {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   PROJEKTEK - listázó oldal + single projekt template

   ============================================================ */


/* =========================================================================
   ─────────────────────────────────────────────────────────────────────────
   LISTÁZÓ OLDAL (/projektjeink/)
   ─────────────────────────────────────────────────────────────────────────
   ========================================================================= */

.mt-projects-list-page.wp-block-group {
	padding: 48px 0 64px;
}


/* ===== HERO ===== */
.mt-projects-list-page .mt-projects-list-heading {
	text-align: center;
	font-size: 38px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	margin: 0 auto 16px;
	line-height: 1.15;
	position: relative;
	display: block;
}
.mt-projects-list-page .mt-projects-list-heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 18px auto 0;
}
.mt-projects-list-page .mt-projects-list-lede {
	text-align: center;
	max-width: 760px;
	margin: 24px auto 0;
	font-size: 16px;
	color: #4A5878;
	line-height: 1.6;
}


/* ===== GRID - 3 oszlop ===== */
.mt-projects-list-grid.wp-block-query {
	margin-top: 56px;
}
.mt-projects-list-grid.wp-block-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.mt-projects-list-grid.wp-block-query .wp-block-post-template > li {
	list-style: none;
	margin: 0;
	padding: 0;
}


/* ===== CARD ===== */
.mt-projects-list-grid .mt-projects-list-card.wp-block-group {
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
	overflow: hidden;
	height: 100%;
	display: flex !important;
	flex-direction: column;
	margin: 0;
	padding: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mt-projects-list-grid .mt-projects-list-card.wp-block-group:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 12px rgba(28, 50, 90, 0.08), 0 16px 48px rgba(28, 50, 90, 0.12);
}


/* ===== THUMB (kép) ===== */
.mt-projects-list-card .mt-projects-list-thumb {
	margin: 0;
	width: 100%;
}
.mt-projects-list-card .mt-projects-list-thumb a,
.mt-projects-list-card .mt-projects-list-thumb img {
	display: block;
	width: 100%;
	height: 100%;
}
.mt-projects-list-card .mt-projects-list-thumb img {
	object-fit: cover;
	transition: transform 0.4s ease;
}
.mt-projects-list-card:hover .mt-projects-list-thumb img {
	transform: scale(1.03);
}


/* ===== TEXT ===== */
.mt-projects-list-card .mt-projects-list-text.wp-block-group {
	padding: 26px 26px 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
	margin: 0;
}

.mt-projects-list-card .mt-projects-list-title {
	font-size: 20px;
	font-weight: 600;
	color: #1A2842;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
	line-height: 1.3;
}
.mt-projects-list-card .mt-projects-list-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.mt-projects-list-card .mt-projects-list-title a:hover {
	color: #2C5FA8;
}


.mt-projects-list-card .mt-projects-list-excerpt {
	flex: 1;
	margin: 0;
	display: flex;
	flex-direction: column;
}
.mt-projects-list-card .mt-projects-list-excerpt p {
	font-size: 14.5px;
	color: #4A5878;
	line-height: 1.6;
	margin: 0 0 16px;
	flex: 1;
}
.mt-projects-list-card .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: auto;
	color: #2C5FA8;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	align-self: flex-start;
	border: 1px solid;
  border-radius: 20px;
  padding-top: 9px;
}
.mt-projects-list-card .wp-block-post-excerpt__more-link:hover {
	color: #1E3A6B;
	text-decoration: underline;
}


/* ===== RESZPONZÍV ===== */
@media (max-width: 991.98px) {
	.mt-projects-list-grid.wp-block-query .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}
@media (max-width: 580px) {
	.mt-projects-list-grid.wp-block-query .wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.mt-projects-list-page .mt-projects-list-heading {
		font-size: 28px;
	}
}



/* =========================================================================
   ─────────────────────────────────────────────────────────────────────────
   SINGLE PROJEKT OLDAL (/projektek/projekt-slug/)
   ─────────────────────────────────────────────────────────────────────────
   ========================================================================= */

.mt-project-single-wrap {
	padding: 24px 0 64px;
}

/* Vissza-link */
.mt-project-back-wrap {
	margin-bottom: 20px;
}
.mt-project-back-link {
	display: inline-block;
	color: #4A5878;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	padding: 8px 0;
	transition: color 0.2s, transform 0.2s;
}
.mt-project-back-link:hover {
	color: #2C5FA8;
	transform: translateX(-3px);
}


/* HERO - kép balra, szöveg jobbra */
.mt-project-hero {
	margin-bottom: 40px;
}
.mt-project-hero-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	background: #FFFFFF;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
}

.mt-project-hero-thumb {
	overflow: hidden;
	min-height: 320px;
}
.mt-project-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mt-project-hero-text {
	padding: 40px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mt-project-hero-eyebrow {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #4A5878;
	font-weight: 500;
	margin: 0 0 14px;
}
.mt-project-hero-title {
	font-size: 32px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
	line-height: 1.2;
}
.mt-project-hero-lede {
	font-size: 16px;
	color: #4A5878;
	line-height: 1.6;
}
.mt-project-hero-lede p {
	margin: 0;
}


/* CONTENT - bullet-pontok és további blokkok */
.mt-project-content-wrap {
	max-width: 820px;
	margin: 0 auto;
}
.mt-project-content {
	background: #FFFFFF;
	border-radius: 20px;
	padding: 44px 48px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
}

.mt-project-content h2 {
	font-size: 24px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.01em;
	margin: 32px 0 16px;
	line-height: 1.3;
}
.mt-project-content h2:first-child {
	margin-top: 0;
}
.mt-project-content h3 {
	font-size: 19px;
	font-weight: 600;
	color: #1A2842;
	margin: 24px 0 12px;
	line-height: 1.35;
}

.mt-project-content p {
	font-size: 16px;
	color: #1A2842;
	line-height: 1.7;
	margin: 0 0 16px;
}

.mt-project-content ul,
.mt-project-content ol {
	padding-left: 0;
	margin: 0 0 20px;
	list-style: none;
}
.mt-project-content ul li,
.mt-project-content ol li {
	position: relative;
	padding-left: 28px;
	font-size: 16px;
	color: #1A2842;
	line-height: 1.65;
	margin: 0 0 10px;
}
.mt-project-content ul li::before {
	content: '';
	position: absolute;
	left: 8px;
	top: 11px;
	width: 6px;
	height: 6px;
	background: #2C5FA8;
	border-radius: 50%;
}
.mt-project-content ol {
	counter-reset: mt-li;
}
.mt-project-content ol li {
	counter-increment: mt-li;
}
.mt-project-content ol li::before {
	content: counter(mt-li) '.';
	position: absolute;
	left: 0;
	top: 0;
	color: #2C5FA8;
	font-weight: 600;
}

/* Nested lists */
.mt-project-content ul ul,
.mt-project-content ol ol {
	margin: 8px 0 0;
}
.mt-project-content ul ul li::before {
	background: transparent;
	border: 1.5px solid #2C5FA8;
	width: 5px;
	height: 5px;
}

/* Read More elválasztó - rejtve a single nézeten */
.mt-project-content .wp-block-more {
	display: none;
}


/* RESZPONZÍV */
@media (max-width: 991.98px) {
	.mt-project-hero-card {
		grid-template-columns: 1fr;
	}
	.mt-project-hero-thumb {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
	.mt-project-hero-text {
		padding: 32px 28px;
	}
	.mt-project-hero-title {
		font-size: 26px;
	}
	.mt-project-content {
		padding: 32px 24px;
	}
}
@media (max-width: 540px) {
	.mt-project-hero-text {
		padding: 24px 20px;
	}
	.mt-project-hero-title {
		font-size: 22px;
	}
}

.mt-brand-card--with-nav .mt-nav-list > li > a,
.mt-brand-card--with-nav .mt-nav-list > li > .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
 
/* 2) Ikon-méret + SVG-skálázás */
.mt-brand-card--with-nav .mt-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	opacity: 0.7;
}
.mt-brand-card--with-nav .mt-nav-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}
 
/* 3) Aktív menüpont — teljes opacitás az ikonon */
.mt-brand-card--with-nav .mt-nav-list > li.current-menu-item > a .mt-nav-icon,
.mt-brand-card--with-nav .mt-nav-list > li.current-menu-parent > a .mt-nav-icon,
.mt-brand-card--with-nav .mt-nav-list > li.current-menu-ancestor > a .mt-nav-icon,
.mt-brand-card--with-nav .mt-nav-list > li.current-menu-item > .nav-link .mt-nav-icon {
	opacity: 1;
}
 
/* 4) Mobilon (a header-css már átrendezi az aloldali nav-ot oszlopra,
      ott is működik a flex-layout) */
@media (max-width: 767.98px) {
	.mt-brand-card--with-nav .mt-nav-list > li > a,
	.mt-brand-card--with-nav .mt-nav-list > li > .nav-link {
		gap: 6px;
	}
}
 


/* ============================================================
   RÓLUNK aloldal - téma-konzisztens design

   ============================================================ */


/* =========================================================================
   KÜLSŐ WRAPPER
   ========================================================================= */
.mt-rolunk-page.wp-block-group {
	padding: 32px 0 64px;
}

/* Gutenberg text-align osztályok biztonsági fallback - éles WP-ben a
   wp-block-library stíluslap adja, de a témán biztos hogy működjön */
.mt-rolunk-page .has-text-align-center { text-align: center; }
.mt-rolunk-page .has-text-align-left   { text-align: left; }
.mt-rolunk-page .has-text-align-right  { text-align: right; }


/* =========================================================================
   KÁRTYÁK - mind a 5 kártya egységes stílus
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-card.wp-block-group {
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
	padding: 48px 44px;
	margin: 0 0 28px;
}


/* =========================================================================
   HEADING-EK
   ========================================================================= */

/* H1 - csak a HERO kártyában */
.mt-rolunk-page .mt-rolunk-h1 {
	font-size: 38px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 auto 16px;
	position: relative;
}
.mt-rolunk-page .mt-rolunk-h1::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 18px auto 0;
}

/* H2 - a többi kártya tetején */
.mt-rolunk-page .mt-rolunk-h2 {
	font-size: 28px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 auto 14px;
	position: relative;
}
.mt-rolunk-page .mt-rolunk-h2.has-text-align-center::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 16px auto 0;
}
.mt-rolunk-page .mt-rolunk-h2--left {
	text-align: left;
	font-size: 22px;
}
.mt-rolunk-page .mt-rolunk-h2--left::after {
	display: none;
}


/* =========================================================================
   PARAGRAFUSOK
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-lede {
	max-width: 760px;
	margin: 24px auto 0;
	font-size: 16px;
	color: #4A5878;
	line-height: 1.65;
}
.mt-rolunk-page .mt-rolunk-lede strong {
	color: #1E3A6B;
	font-weight: 600;
}

.mt-rolunk-page .mt-rolunk-section-lede {
	max-width: 780px;
	margin: 20px auto 36px;
	font-size: 15.5px;
	color: #4A5878;
	line-height: 1.65;
}

.mt-rolunk-page .mt-rolunk-body {
	font-size: 15.5px;
	color: #1A2842;
	line-height: 1.7;
	margin: 0 0 16px;
}
.mt-rolunk-page .mt-rolunk-body:last-child {
	margin-bottom: 0;
}

.mt-rolunk-page .mt-rolunk-footnote {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(28, 50, 90, 0.08);
	font-size: 13.5px;
	color: #4A5878;
	line-height: 1.55;
	font-style: italic;
}


/* =========================================================================
   1. HERO KÁRTYA
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-hero-card {
	text-align: center;
}
.mt-rolunk-page .mt-rolunk-hero-card .mt-rolunk-body {
	text-align: left;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.mt-rolunk-page .mt-rolunk-hero-img {
	margin: 32px 0;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mt-rolunk-page .mt-rolunk-hero-img:empty::after,
.mt-rolunk-page .mt-rolunk-hero-img:not(:has(img))::after {
	content: '◌ Hero kép helye — töltsd fel a Visual editor-ben';
	color: #2C5FA8;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.mt-rolunk-page .mt-rolunk-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* =========================================================================
   2. EGYSÉGEK KÁRTYA (OR, ICU, PIC, HIS)
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-units.wp-block-columns {
	gap: 24px;
	margin: 0;
	align-items: stretch;
}

.mt-rolunk-page .mt-rolunk-unit.wp-block-column {
	display: flex;
	flex-direction: column;
	background: #F8FAFD;
	border: 1px solid rgba(28, 50, 90, 0.06);
	border-radius: 14px;
	padding: 0;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}
.mt-rolunk-page .mt-rolunk-unit.wp-block-column:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(28, 50, 90, 0.08);
}

.mt-rolunk-page .mt-rolunk-unit-img {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
}
.mt-rolunk-page .mt-rolunk-unit-img:empty::after,
.mt-rolunk-page .mt-rolunk-unit-img:not(:has(img))::after {
	content: '◌ Kép helye';
	color: #2C5FA8;
	font-size: 13px;
	font-weight: 500;
}
.mt-rolunk-page .mt-rolunk-unit-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mt-rolunk-page .mt-rolunk-unit-code {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2C5FA8;
	font-weight: 600;
	margin: 22px 22px 8px;
}
.mt-rolunk-page .mt-rolunk-unit-title {
	font-size: 19px;
	font-weight: 600;
	color: #1A2842;
	letter-spacing: -0.01em;
	margin: 0 22px 10px;
	line-height: 1.3;
}
.mt-rolunk-page .mt-rolunk-unit-text {
	font-size: 14px;
	color: #4A5878;
	line-height: 1.55;
	margin: 0 22px 24px;
}


/* =========================================================================
   3. KÉPESSÉGEK KÁRTYA (HIS + AI + Oktatás)
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-capabilities.wp-block-columns {
	gap: 36px;
	margin: 32px 0 0;
	align-items: start;
}

.mt-rolunk-page .mt-rolunk-cap.wp-block-column {
	padding: 0;
}

.mt-rolunk-page .mt-rolunk-cap-title {
	font-size: 18px;
	font-weight: 600;
	color: #1E3A6B;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
	padding-bottom: 12px;
	border-bottom: 2px solid #2C5FA8;
	display: inline-block;
}
.mt-rolunk-page .mt-rolunk-cap-text {
	font-size: 14.5px;
	color: #4A5878;
	line-height: 1.6;
	margin: 0 0 18px;
}
.mt-rolunk-page .mt-rolunk-cap-sublabel {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1E3A6B;
	font-weight: 600;
	margin: 0 0 10px;
}


/* =========================================================================
   4. VEZETÉS KÁRTYA
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-leader.wp-block-columns {
	gap: 48px;
	margin: 28px 0 0;
	align-items: center;
}

.mt-rolunk-page .mt-rolunk-leader-card.wp-block-column {
	background: #F8FAFD;
	border: 1px solid rgba(28, 50, 90, 0.06);
	border-radius: 14px;
	padding: 24px;
	text-align: center;
}

.mt-rolunk-page .mt-rolunk-leader-img {
	margin: 0 auto 18px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mt-rolunk-page .mt-rolunk-leader-img:empty::after,
.mt-rolunk-page .mt-rolunk-leader-img:not(:has(img))::after {
	content: '◌ Portré';
	color: #2C5FA8;
	font-size: 12px;
	font-weight: 500;
}
.mt-rolunk-page .mt-rolunk-leader-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mt-rolunk-page .mt-rolunk-leader-label {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #4A5878;
	font-weight: 500;
	margin: 0 0 6px;
}
.mt-rolunk-page .mt-rolunk-leader-name {
	font-size: 18px;
	font-weight: 600;
	color: #1A2842;
	letter-spacing: -0.01em;
	margin: 0 0 6px;
	line-height: 1.3;
}
.mt-rolunk-page .mt-rolunk-leader-pos {
	font-size: 13.5px;
	color: #4A5878;
	line-height: 1.5;
	margin: 0;
}


/* =========================================================================
   5. MINŐSÉGBIZTOSÍTÁS + TÁMOGATÓK KÁRTYA
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-bottom.wp-block-columns {
	gap: 48px;
	margin: 0;
	align-items: start;
}


/* =========================================================================
   LISTÁK - egységes kék pötty-bullet
   ========================================================================= */
.mt-rolunk-page .mt-rolunk-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.mt-rolunk-page .mt-rolunk-list li {
	position: relative;
	padding-left: 22px;
	font-size: 14.5px;
	color: #1A2842;
	line-height: 1.55;
	margin: 0 0 10px;
}
.mt-rolunk-page .mt-rolunk-list li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 9px;
	width: 6px;
	height: 6px;
	background: #2C5FA8;
	border-radius: 50%;
}


/* =========================================================================
   RESZPONZÍV
   ========================================================================= */
@media (max-width: 991.98px) {
	.mt-rolunk-page .mt-rolunk-card.wp-block-group {
		padding: 32px 24px;
	}
	.mt-rolunk-page .mt-rolunk-units.wp-block-columns {
		flex-wrap: wrap;
	}
	.mt-rolunk-page .mt-rolunk-units .mt-rolunk-unit.wp-block-column {
		flex-basis: calc(50% - 12px) !important;
	}
	.mt-rolunk-page .mt-rolunk-capabilities.wp-block-columns,
	.mt-rolunk-page .mt-rolunk-leader.wp-block-columns,
	.mt-rolunk-page .mt-rolunk-bottom.wp-block-columns {
		flex-direction: column;
		gap: 32px;
	}
	.mt-rolunk-page .mt-rolunk-capabilities .mt-rolunk-cap.wp-block-column,
	.mt-rolunk-page .mt-rolunk-leader .wp-block-column,
	.mt-rolunk-page .mt-rolunk-bottom .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}
}

@media (max-width: 580px) {
	.mt-rolunk-page .mt-rolunk-card.wp-block-group {
		padding: 24px 18px;
	}
	.mt-rolunk-page .mt-rolunk-h1 {
		font-size: 28px;
	}
	.mt-rolunk-page .mt-rolunk-h2 {
		font-size: 22px;
	}
	.mt-rolunk-page .mt-rolunk-units .mt-rolunk-unit.wp-block-column {
		flex-basis: 100% !important;
	}
}

/* ============================================================
   LABORRÓL aloldal - téma-konzisztens design

   ============================================================ */


/* =========================================================================
   KÜLSŐ WRAPPER
   ========================================================================= */
.mt-lab-page.wp-block-group {
	padding: 32px 0 64px;
}

/* Gutenberg text-align osztályok biztonsági fallback */
.mt-lab-page .has-text-align-center { text-align: center; }
.mt-lab-page .has-text-align-left   { text-align: left; }


/* =========================================================================
   KÁRTYÁK
   ========================================================================= */
.mt-lab-page .mt-lab-card.wp-block-group {
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
	padding: 48px 44px;
	margin: 0 0 28px;
}


/* =========================================================================
   HEADING-EK
   ========================================================================= */
.mt-lab-page .mt-lab-h1 {
	font-size: 38px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 auto 16px;
	position: relative;
}
.mt-lab-page .mt-lab-h1::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 18px auto 0;
}

.mt-lab-page .mt-lab-h2 {
	font-size: 26px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 auto 14px;
	position: relative;
}
.mt-lab-page .mt-lab-h2.has-text-align-center::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 16px auto 0;
}
.mt-lab-page .mt-lab-h2--left {
	text-align: left;
	margin: 0 0 12px;
}
.mt-lab-page .mt-lab-h2--left::after {
	display: none;
}

.mt-lab-page .mt-lab-h3 {
	font-size: 20px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.01em;
	margin: 0 0 6px;
	line-height: 1.3;
}


/* =========================================================================
   PARAGRAFUSOK
   ========================================================================= */
.mt-lab-page .mt-lab-lede {
	max-width: 780px;
	margin: 24px auto 0;
	font-size: 16px;
	color: #4A5878;
	line-height: 1.65;
}
.mt-lab-page .mt-lab-lede strong {
	color: #1E3A6B;
	font-weight: 600;
}

.mt-lab-page .mt-lab-section-lede {
	max-width: 780px;
	margin: 20px auto 36px;
	font-size: 15.5px;
	color: #4A5878;
	line-height: 1.65;
}

.mt-lab-page .mt-lab-body {
	font-size: 15.5px;
	color: #1A2842;
	line-height: 1.7;
	margin: 0;
}

.mt-lab-page .mt-lab-unit-desc {
	font-size: 15.5px;
	color: #1A2842;
	line-height: 1.65;
	margin: 0 0 22px;
}

.mt-lab-page .mt-lab-footnote {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(28, 50, 90, 0.08);
	font-size: 13.5px;
	color: #4A5878;
	line-height: 1.55;
	font-style: italic;
}


/* =========================================================================
   1. HERO KÁRTYA
   ========================================================================= */
.mt-lab-page .mt-lab-hero-card {
	text-align: center;
}
.mt-lab-page .mt-lab-hero-card .mt-lab-body {
	text-align: left;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.mt-lab-page .mt-lab-hero-img {
	margin: 32px 0;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mt-lab-page .mt-lab-hero-img:empty::after,
.mt-lab-page .mt-lab-hero-img:not(:has(img))::after {
	content: '◌ Hero kép helye — labor áttekintő fotó';
	color: #2C5FA8;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.mt-lab-page .mt-lab-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* =========================================================================
   2-4. EGYSÉG KÁRTYÁK (OR, ICU, PIC)
   ========================================================================= */
.mt-lab-page .mt-lab-unit-card.wp-block-group {
	padding: 36px 44px;
}

.mt-lab-page .mt-lab-unit-cols.wp-block-columns {
	gap: 44px;
	margin: 0;
}

/* Zigzag - fordított elrendezés ICU-ra */
.mt-lab-page .mt-lab-unit-card--reverse .mt-lab-unit-cols.wp-block-columns {
	flex-direction: row-reverse;
}

/* Bal oszlop - kép */
.mt-lab-page .mt-lab-unit-img-col.wp-block-column {
	padding: 0;
}
.mt-lab-page .mt-lab-unit-img {
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mt-lab-page .mt-lab-unit-img:empty::after,
.mt-lab-page .mt-lab-unit-img:not(:has(img))::after {
	content: '◌ Kép helye';
	color: #2C5FA8;
	font-size: 14px;
	font-weight: 500;
}
.mt-lab-page .mt-lab-unit-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Jobb oszlop - szöveg */
.mt-lab-page .mt-lab-unit-text-col.wp-block-column {
	padding: 0;
}

/* Eyebrow kód (OR · 01 / Műtő) */
.mt-lab-page .mt-lab-unit-code {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #2C5FA8;
	font-weight: 600;
	margin: 0 0 10px;
}

.mt-lab-page .mt-lab-equipment-label {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1E3A6B;
	font-weight: 600;
	margin: 0 0 12px;
	padding-top: 18px;
	border-top: 1px solid rgba(28, 50, 90, 0.08);
}


/* =========================================================================
   5. INTEGRÁLT + EGYÉB ESZKÖZÖK
   ========================================================================= */
.mt-lab-page .mt-lab-bottom.wp-block-columns {
	gap: 48px;
	margin: 32px 0 0;
	align-items: start;
}

.mt-lab-page .mt-lab-sublabel {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4A5878;
	font-weight: 500;
	margin: 0 0 16px;
}


/* =========================================================================
   LISTÁK
   ========================================================================= */
.mt-lab-page .mt-lab-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.mt-lab-page .mt-lab-list li {
	position: relative;
	padding-left: 22px;
	font-size: 14.5px;
	color: #1A2842;
	line-height: 1.55;
	margin: 0 0 10px;
}
.mt-lab-page .mt-lab-list li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 9px;
	width: 6px;
	height: 6px;
	background: #2C5FA8;
	border-radius: 50%;
}


/* =========================================================================
   RESZPONZÍV
   ========================================================================= */
@media (max-width: 991.98px) {
	.mt-lab-page .mt-lab-card.wp-block-group,
	.mt-lab-page .mt-lab-unit-card.wp-block-group {
		padding: 32px 24px;
	}
	.mt-lab-page .mt-lab-unit-cols.wp-block-columns,
	.mt-lab-page .mt-lab-unit-card--reverse .mt-lab-unit-cols.wp-block-columns {
		flex-direction: column;
		gap: 28px;
	}
	.mt-lab-page .mt-lab-unit-cols.wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}
	.mt-lab-page .mt-lab-bottom.wp-block-columns {
		flex-direction: column;
		gap: 32px;
	}
	.mt-lab-page .mt-lab-bottom.wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}
}

@media (max-width: 580px) {
	.mt-lab-page .mt-lab-card.wp-block-group,
	.mt-lab-page .mt-lab-unit-card.wp-block-group {
		padding: 24px 18px;
	}
	.mt-lab-page .mt-lab-h1 {
		font-size: 28px;
	}
	.mt-lab-page .mt-lab-h2 {
		font-size: 22px;
	}
	.mt-lab-page .mt-lab-h3 {
		font-size: 18px;
	}
}



.mt-news-list-page.wp-block-group {
	padding: 48px 0 64px;
}
 
/* Gutenberg text-align fallback */
.mt-news-list-page .has-text-align-center { text-align: center; }
 
 
/* =========================================================================
   HERO
   ========================================================================= */
.mt-news-list-page .mt-news-list-heading {
	text-align: center;
	font-size: 38px;
	font-weight: 600;
	color: #1E3A6B;
	letter-spacing: -0.02em;
	margin: 0 auto 16px;
	line-height: 1.15;
	position: relative;
	display: block;
}
.mt-news-list-page .mt-news-list-heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #2C5FA8;
	border-radius: 2px;
	margin: 18px auto 0;
}
.mt-news-list-page .mt-news-list-lede {
	text-align: center;
	max-width: 760px;
	margin: 24px auto 0;
	font-size: 16px;
	color: #4A5878;
	line-height: 1.6;
}
 
 
/* =========================================================================
   GRID - 3 oszlop
   ========================================================================= */
.mt-news-list-grid.wp-block-query {
	margin-top: 56px;
}
.mt-news-list-grid.wp-block-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.mt-news-list-grid.wp-block-query .wp-block-post-template > li {
	list-style: none;
	margin: 0;
	padding: 0;
}
 
 
/* =========================================================================
   CARD
   ========================================================================= */
.mt-news-list-grid .mt-news-list-card.wp-block-group {
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 4px 24px rgba(28, 50, 90, 0.06);
	overflow: hidden;
	height: 100%;
	display: flex !important;
	flex-direction: column;
	margin: 0;
	padding: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mt-news-list-grid .mt-news-list-card.wp-block-group:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 12px rgba(28, 50, 90, 0.08), 0 16px 48px rgba(28, 50, 90, 0.12);
}
 
 
/* =========================================================================
   THUMB (kép)
   ========================================================================= */
.mt-news-list-card .mt-news-list-thumb {
	margin: 0;
	width: 100%;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
}
.mt-news-list-card .mt-news-list-thumb a,
.mt-news-list-card .mt-news-list-thumb img {
	display: block;
	width: 100%;
	height: 100%;
}
.mt-news-list-card .mt-news-list-thumb img {
	object-fit: cover;
	transition: transform 0.4s ease;
}
.mt-news-list-card:hover .mt-news-list-thumb img {
	transform: scale(1.03);
}
 
 
/* =========================================================================
   TEXT WRAPPER
   ========================================================================= */
.mt-news-list-card .mt-news-list-text.wp-block-group {
	padding: 22px 26px 26px;
	flex: 1;
	display: flex;
	flex-direction: column;
	margin: 0;
}
 
 
/* =========================================================================
   CATEGORY PILL
   ========================================================================= */
.mt-news-list-card .mt-news-list-cat {
	margin: 0 0 12px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0;
}
.mt-news-list-card .mt-news-list-cat a {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	background: #E8F0FA;
	color: #2C5FA8;
	padding: 4px 10px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	display: inline-flex;
	align-items: center;
}
.mt-news-list-card .mt-news-list-cat a:hover {
	background: #2C5FA8;
	color: #FFFFFF;
}
 
 
/* =========================================================================
   TITLE
   ========================================================================= */
.mt-news-list-card .mt-news-list-title {
	font-size: 19px;
	font-weight: 600;
	color: #1A2842;
	letter-spacing: -0.01em;
	margin: 0 0 8px;
	line-height: 1.3;
}
.mt-news-list-card .mt-news-list-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.mt-news-list-card .mt-news-list-title a:hover {
	color: #2C5FA8;
}
 
 
/* =========================================================================
   DATE
   ========================================================================= */
.mt-news-list-card .mt-news-list-date {
	font-size: 12.5px;
	color: #4A5878;
	margin: 0 0 14px;
	font-weight: 500;
}
 
 
/* =========================================================================
   EXCERPT + "Tovább olvasom →"
   ========================================================================= */
.mt-news-list-card .mt-news-list-excerpt {
	margin: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.mt-news-list-card .mt-news-list-excerpt p,
.mt-news-list-card .wp-block-post-excerpt__excerpt {
	font-size: 14.5px;
	color: #4A5878;
	line-height: 1.6;
	margin: 0 0 14px;
	flex: 1;
}
.mt-news-list-card .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: auto;
	color: #2C5FA8;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	align-self: flex-start;
}
.mt-news-list-card .wp-block-post-excerpt__more-link:hover {
	color: #1E3A6B;
	text-decoration: underline;
}
 
 
/* =========================================================================
   PAGINATION
   ========================================================================= */
.mt-news-list-grid .wp-block-query-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.mt-news-list-grid .wp-block-query-pagination-previous,
.mt-news-list-grid .wp-block-query-pagination-next,
.mt-news-list-grid .wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	padding: 8px 14px;
	border-radius: 999px;
	color: #2C5FA8;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	border: 0;
	background: transparent;
}
.mt-news-list-grid .wp-block-query-pagination-previous:hover,
.mt-news-list-grid .wp-block-query-pagination-next:hover,
.mt-news-list-grid .wp-block-query-pagination-numbers .page-numbers:hover {
	background: rgba(44, 95, 168, 0.10);
	color: #1E3A6B;
}
.mt-news-list-grid .wp-block-query-pagination-numbers .page-numbers.current {
	background: #1E3A6B;
	color: #FFFFFF;
	pointer-events: none;
}
.mt-news-list-grid .wp-block-query-pagination-numbers .page-numbers.dots {
	background: transparent;
	color: #4A5878;
	cursor: default;
	pointer-events: none;
	padding: 8px 4px;
}
.mt-news-list-grid .wp-block-query-pagination-previous.wp-disabled,
.mt-news-list-grid .wp-block-query-pagination-next.wp-disabled {
	opacity: 0.35;
	pointer-events: none;
}
 
 
/* =========================================================================
   EMPTY STATE
   ========================================================================= */
.mt-news-list-grid .mt-news-list-empty {
	padding: 64px 24px;
	font-size: 15px;
	color: #4A5878;
}
 
 
/* =========================================================================
   RESZPONZÍV
   ========================================================================= */
@media (max-width: 991.98px) {
	.mt-news-list-grid.wp-block-query .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}
@media (max-width: 580px) {
	.mt-news-list-grid.wp-block-query .wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.mt-news-list-page .mt-news-list-heading {
		font-size: 28px;
	}
	.mt-news-list-card .mt-news-list-text.wp-block-group {
		padding: 18px 20px 22px;
	}
}
 


/* =========================================================================
   3-OSZLOPOS RÁCS
   ========================================================================= */
.mt-news-card .mt-news-query.wp-block-query {
	margin-top: 16px;
}
.mt-news-card .mt-news-grid.wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.mt-news-card .mt-news-grid.wp-block-post-template > li {
	list-style: none;
	margin: 0;
	padding: 0;
}
 
 
/* =========================================================================
   EGY KÁRTYA - vertikális layout (kép felül, szöveg alatta)
   ========================================================================= */
.mt-news-card .mt-news-item.wp-block-group {
	background: #FFFFFF;
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(28, 50, 90, 0.04), 0 2px 12px rgba(28, 50, 90, 0.05);
	overflow: hidden;
	margin: 0;
	padding: 0;
	height: 100%;
	display: flex !important;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mt-news-card .mt-news-item.wp-block-group:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(28, 50, 90, 0.10);
}
 
 
/* =========================================================================
   KÉP - kitölti a kártya TELJES szélességét
   ========================================================================= */
.mt-news-card .mt-news-img.wp-block-post-featured-image {
	margin: 0;
	width: 100%;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: linear-gradient(135deg, #E8F0FA 0%, #D5E4F2 100%);
	display: block;
}
.mt-news-card .mt-news-img a,
.mt-news-card .mt-news-img img {
	display: block;
	width: 100%;
	height: 100%;
}
.mt-news-card .mt-news-img img {
	object-fit: cover;
	transition: transform 0.4s ease;
}
.mt-news-card .mt-news-item:hover .mt-news-img img {
	transform: scale(1.04);
}
 
 
/* =========================================================================
   KATEGÓRIA PIRULA
   ========================================================================= */
.mt-news-card .mt-news-pill.wp-block-post-terms {
	margin: 16px 18px 0;
	font-size: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 5px;
	align-self: flex-start;
}
.mt-news-card .mt-news-pill a {
	display: inline-block;
	padding: 4px 12px;

	border-radius: 999px;
	background: transparent;
	color: #2C5FA8;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

 
 
/* =========================================================================
   CÍM
   ========================================================================= */
.mt-news-card .mt-news-title.wp-block-post-title {
	font-size: 16px;
	font-weight: 600;
	color: #1A2842;
	letter-spacing: -0.01em;
	margin: 10px 18px 0;
	line-height: 1.35;
}
.mt-news-card .mt-news-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.mt-news-card .mt-news-title a:hover {
	color: #2C5FA8;
}
 
 
/* =========================================================================
   DÁTUM
   ========================================================================= */
.mt-news-card .mt-news-date.wp-block-post-date {
	font-size: 12px;
	color: #4A5878;
	margin: 5px 18px 0;
	font-weight: 500;
}
 
 
/* =========================================================================
   "TOVÁBB OLVASOM →" - a kártya aljára pozícionál
   ========================================================================= */
.mt-news-card .mt-news-more {
	display: inline-block;
	margin: 16px 18px 18px;
	margin-top: auto;
	align-self: flex-start;
	color: #2C5FA8;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s;
}
.mt-news-card .mt-news-more:hover {
	color: #1E3A6B;
	text-decoration: underline;
}
 
 
/* =========================================================================
   RESZPONZÍV
   ========================================================================= */
@media (max-width: 991.98px) {
	.mt-news-card .mt-news-grid.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}
@media (max-width: 580px) {
	.mt-news-card .mt-news-grid.wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
