/*
 * KÉZZEL ÍRT – közös építőelemek az Elementor atomic elemekhez (minden oldalon betöltődik).
 * Az eredeti Sitejet-elemek (wv-boxed konténer, hero-eyebrow, h1–h3, subline, .button, két oszlop,
 * quote) böngészőben mért értékei alapján; töréspontok: 975px (tablet) és 575px (mobil).
 * Névtér: gim-c-* (az eredeti gim-* HTML-blokkok osztályaitól elkülönítve).
 * Minden szelektor `body.gim` hatókörű (0,2,1), így felülírja az atomic alapstílusokat (0,2,0).
 */

/* ── Atomic alapstílusok semlegesítése a gim-elemeken, hogy az eredeti HTML szerint viselkedjenek.
   Az Elementor az atomic konténerekre a régi .e-con szabályokat is ráteszi: width:100%, min-width:0,
   position:relative, 10px padding (+ az e-div-block-base 30px min-width). Az eredeti div-ek értékei:
   width/min-width auto (a flex-elemek – pl. a görgetősáv – a tartalmukhoz igazodnak), position static
   (az abszolút elemek a megfelelő őshöz igazodnak), padding 0. A gim-* szabályok később töltődnek,
   így ahol kifejezetten mást állítanak, azok érvényesek. ── */
body.gim :is(.e-div-block-base, .e-flexbox-base):where([class*="gim-"], [class*="chapter-"], .scroll) {
	position: static;
	width: auto;
	min-width: auto;
	padding: 0;
}
body.gim .e-self-hosted-video-base:where([class*="gim-"]) {
	display: block;
	max-width: none;
	aspect-ratio: auto;
}
body.gim .e-svg-base:where([class*="gim-"]) {
	display: block;
	width: auto;
	height: auto;
}

/* ── Szekció és boxed konténer (Sitejet wv-boxed wv-spacer) ── */
body.gim .gim-c-section {
	position: relative;
	display: block;
	width: 100%;
	overflow: clip;
}
body.gim .gim-c-container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	max-width: 1280px;
	margin: 0 auto;
	padding: 128px 16px;
}
body.gim .gim-c-container--center { justify-content: center; }

/* Teljes szélességű blokk a konténeren belül (Sitejet ed-container flex-basis:100%) */
body.gim .gim-c-block {
	display: block;
	flex-basis: 100%;
}

/* ── Tipográfia ── */
body.gim .gim-c-eyebrow {
	display: block;
	flex-basis: 100%;
	margin: 0 0 16px;
	font-family: 'PPMori', sans-serif;
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #000;
}
body.gim .gim-c-eyebrow--light { color: #fff; }
body.gim .gim-c-center { text-align: center; }

body.gim .gim-c-h1,
body.gim .gim-c-h2 {
	display: block;
	flex-basis: 100%;
	margin: 0 0 15px;
	font-family: "PPWriter Regular";
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: #000;
}
body.gim .gim-c-h1 { font-size: 5rem; font-weight: 300; }
body.gim .gim-c-h2 { font-size: 3.75rem; font-weight: 400; }
body.gim .gim-c-h3 {
	display: block;
	margin: 0 0 15px;
	font-family: "PPMori Regular";
	font-size: 34px;
	font-weight: 400;
	line-height: 1.2;
	color: #000;
}

body.gim .gim-c-sub {
	display: block;
	flex-basis: 100%;
	margin: 0 0 24px;
	font-family: "PPMori Regular";
	font-size: 27px;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
}

body.gim .gim-c-text {
	display: block;
	margin: 0;
	font-family: "PPMori Regular";
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
}
body.gim .gim-c-text + .gim-c-text { margin-top: 1.5em; }

/* ── Gomb (Sitejet .button, bg-primary) ── */
body.gim .gim-c-btn {
	display: inline-block;
	max-width: 100%;
	padding: 1rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 0;
	background: #fffd8a;
	color: #000;
	font-family: "PPMori Regular";
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	transition: all 0.3s ease-in-out;
}
body.gim .gim-c-btn:hover,
body.gim .gim-c-btn:focus-visible {
	background: #102830;
	border-color: transparent;
	color: #fff;
	text-decoration: none;
	transform: scale(0.98);
}
body.gim .gim-c-btn-row {
	display: flex;
	flex-basis: 100%;
	justify-content: center;
	margin-top: 35px;
}

/* ── Két oszlop (Sitejet preset-columns-two) ── */
body.gim .gim-c-cols-2 {
	display: flex;
	flex-basis: calc(100% + 32px);
	flex-wrap: wrap;
	align-items: stretch;
	margin: -16px;
}
body.gim .gim-c-cols-2 > .gim-c-col {
	display: flex;
	flex-direction: column;
	flex: 0 1 calc(50% - 32px);
	max-width: calc(50% - 32px);
	margin: 16px;
}
body.gim .gim-c-col--split { justify-content: space-between; align-items: flex-start; }

/* ── Idézet ── */
body.gim .gim-c-quote-section { background-color: rgb(255, 254, 212); }
body.gim .gim-c-quote {
	display: block;
	flex-basis: 100%;
	margin: 0 0 35px;
	font-family: 'PPWriter', serif;
	font-size: 3rem;
	font-weight: 300;
	line-height: 1.5;
	text-align: center;
	color: #000;
}
body.gim .gim-c-quote-name {
	display: block;
	flex-basis: 100%;
	font-family: "PPMori Regular";
	font-size: 1.2rem;
	line-height: 1.5;
	text-align: right;
	color: #000;
}
body.gim .gim-c-quote-name strong { font-weight: 600; }

/* ── Az eredeti .subline osztály (base.css) atomic címsoron: a margót az Elementor nullázná ── */
body.gim .subline {
	margin: 0 0 1.5rem;
	font-size: 27px;
	font-weight: 400;
}

/* ── Tablet ── */
@media screen and (max-width: 975px) {
	body.gim .gim-c-h2 { font-size: 3rem; }
	body.gim .gim-c-h3 { font-size: 24px; }
}
@media only screen and (max-width: 1000px) {
	body.gim .gim-c-sub,
	body.gim .subline { font-size: 22px; }
}

/* ── Mobil ── */
@media screen and (max-width: 575px) {
	body.gim .gim-c-container { padding: 64px 16px; }
	body.gim .gim-c-eyebrow,
	body.gim .gim-c-text,
	body.gim .gim-c-quote-name { font-size: 1rem; }
	body.gim .gim-c-h1 { font-size: 3rem; }
	body.gim .gim-c-h2 { font-size: 2rem; }
	body.gim .gim-c-h3 { font-size: 20px; }
	body.gim .gim-c-btn { font-size: 13px; }
	body.gim .gim-c-cols-2 > .gim-c-col {
		flex: 1 1 calc(100% - 32px);
		max-width: 100%;
	}
}
@media only screen and (max-width: 600px) {
	body.gim .gim-c-quote { font-size: 20px; }
}

/* ══════════ Közös szekcióelemek (kezdőlapról áthelyezve: hero, System-sorok, gim-list) ══════════ */

/* ── Hero: videós háttér, átmenetes overlay, középre zárt tartalom ── */
body.gim .gim-c-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow: clip;
	z-index: 2;
}
body.gim .gim-c-hero-video,
body.gim .gim-c-hero-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
body.gim .gim-c-hero-video { object-fit: cover; }
body.gim .gim-c-hero-overlay { background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.43) 100%); }
body.gim .gim-c-hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 128px 0;
	text-align: center;
}
body.gim .gim-c-hero-content .gim-c-h1 {
	width: 100%;
	color: #fff;
	text-align: center;
}
body.gim .gim-c-hero-sub {
	display: block;
	width: 100%;
	margin: 0;
	font-family: "PPMori Regular";
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5;
	text-align: center;
	color: #fff;
}

/* A 90vh-s változat (az aloldalak bannere: body:not(.index) .preset-banner-v3-default) */
body.gim .gim-c-hero--90 { min-height: 90vh; }
body.gim .gim-c-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 1280px;
	padding: 0 16px;
}

/* ── Sitejet szín-utilityk az inline SVG-shape-ekhez (az eredeti fill- és stroke- osztályai; a base.css csak a változókat viszi át) ── */
body.gim .fill-primary { fill: rgb(var(--color-primary)) !important; }
body.gim .fill-secondary { fill: rgb(var(--color-secondary)) !important; }
body.gim .fill-text { fill: rgb(var(--color-text)) !important; }
body.gim .fill-background { fill: rgb(var(--color-background)) !important; }
body.gim .fill-user-1 { fill: rgb(var(--color-user-1)) !important; }
body.gim .fill-user-2 { fill: rgb(var(--color-user-2)) !important; }
body.gim .fill-user-3 { fill: rgb(var(--color-user-3)) !important; }
body.gim .fill-user-4 { fill: rgb(var(--color-user-4)) !important; }
body.gim .fill-user-5 { fill: rgb(var(--color-user-5)) !important; }
body.gim .stroke-primary { stroke: rgb(var(--color-primary)) !important; }
body.gim .stroke-secondary { stroke: rgb(var(--color-secondary)) !important; }
body.gim .stroke-text { stroke: rgb(var(--color-text)) !important; }
body.gim .stroke-background { stroke: rgb(var(--color-background)) !important; }
body.gim .stroke-user-1 { stroke: rgb(var(--color-user-1)) !important; }
body.gim .stroke-user-2 { stroke: rgb(var(--color-user-2)) !important; }
body.gim .stroke-user-3 { stroke: rgb(var(--color-user-3)) !important; }
body.gim .stroke-user-4 { stroke: rgb(var(--color-user-4)) !important; }
body.gim .stroke-user-5 { stroke: rgb(var(--color-user-5)) !important; }

/* ── System-sorok (szöveg 48% + kép 52%, a második sor tükrözve) ── */
body.gim .gim-c-sys-row {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	background-color: rgba(255, 253, 138, 0.616);
	overflow: clip;
}
body.gim .gim-c-sys-row--reverse { flex-direction: row-reverse; }
body.gim .gim-c-sys-text {
	display: flex;
	flex: 0 1 48%;
	flex-direction: column;
	justify-content: center;
	padding: 32px;
}
body.gim .gim-c-sys-text .gim-c-h3 { text-align: left; }
body.gim .gim-c-sys-media {
	position: relative;
	display: flex;
	flex: 1 1 52%;
	flex-direction: column;
	justify-content: center;
	min-height: 50vh;
	padding: 32px;
	overflow: clip;
}
body.gim .gim-c-sys-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	z-index: 0;
}
body.gim .gim-c-sys-mark svg {
	display: inline-block;
	width: 100% !important;
	height: auto !important;
}
body.gim .gim-c-sys-mark {
	position: relative;
	z-index: 1;
	width: 100%;
}
body.gim .gim-c-sys-mark--narrow {
	width: 70%;
	margin: 0 auto;
}

/* ── gim-list: a lista egy Elementor-paragrafusban (span) van, nem közvetlenül ul.gim-list ── */
body.gim span.gim-list { display: block; }
body.gim .gim-list > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.gim .gim-c-sys-row--solid { background-color: #fffd8a; }

/* Mobil médiadoboz felirata (az eredetin inline style: color #fff !important) */
body.gim .gim-mobile-media .subline { color: #fff; }

/* A lépéskártyák CTA-gombja Elementor-gomb: az alap lekerekítést nullázzuk */
body.gim .button-hori { border-radius: 0; }

/* ══════════ Vision és további aloldalak elemei ══════════ */

/* Kis eyebrow (Sitejet .eyebrow): 16px, 400, nagybetűs, betűköz nélkül */
body.gim .gim-c-label {
	display: block;
	flex-basis: 100%;
	margin: 0;
	font-family: "PPMori Regular";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-transform: uppercase;
	color: #000;
}
body.gim .gim-c-h4 {
	display: block;
	flex-basis: 100%;
	margin: 0;
	font-family: "PPMori Regular";
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
}
body.gim .gim-c-left { text-align: left; }
body.gim .gim-c-text--cont.gim-c-text--cont { margin-top: 0; }

/* Négyoszlopos doboz-sor (Sitejet preset-boxes-v3-4) */
body.gim .gim-c-boxes {
	display: flex;
	flex-basis: calc(100% + 32px);
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	margin: -16px;
}
body.gim .gim-c-box {
	display: block;
	flex: 0 1 calc(25% - 32px);
	max-width: calc(25% - 32px);
	margin: 16px;
	text-align: center;
}
body.gim .gim-c-box-text {
	display: block;
	margin: 0;
	font-family: 'PPWriter', serif;
	font-size: 20px;
	line-height: 1.5;
	text-align: center;
	color: #000;
}

/* Képes, fedő hátterű szekció (Sitejet parallax banner): 66vh, sötétedő átmenet */
body.gim .gim-c-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 66vh;
	overflow: clip;
}
body.gim .gim-c-cover-img,
body.gim .gim-c-cover-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
body.gim .gim-c-cover-img { object-fit: cover; object-position: 50% 50%; }
body.gim .gim-c-cover-overlay { background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.443) 100%); }
body.gim .gim-c-cover > .gim-c-container {
	position: relative;
	z-index: 1;
	width: 100%;
	justify-content: center;
	align-content: center;
}

/* Háttérváltozatok */
body.gim .gim-c-bg-butter { background-color: #fffd8a; }
body.gim .gim-c-bg-rose { background-image: linear-gradient(rgb(255, 250, 250) 0%, rgb(253, 235, 234) 100%); }
body.gim .gim-c-bg-butter-fade { background-image: linear-gradient(rgba(255, 253, 138, 0.255) 0%, rgb(255, 255, 255) 100%); }

/* Sötét gomb (Sitejet .button bg-default color-background) */
body.gim .gim-c-btn--dark { background: #000; color: #fff; }
body.gim .gim-c-btn--dark:hover,
body.gim .gim-c-btn--dark:focus-visible { background: #102830; color: #fff; }

/* 60/40 oszloparány a gim-c-cols-2-n belül */
body.gim .gim-c-cols-2 > .gim-c-col--60 { flex: 0 1 calc(60% - 32px); max-width: calc(60% - 32px); }
body.gim .gim-c-cols-2 > .gim-c-col--40 { flex: 0 1 calc(40% - 32px); max-width: calc(40% - 32px); }
body.gim .gim-c-img {
	display: block;
	width: 100%;
	height: auto;
}
body.gim .gim-c-video {
	display: block;
	flex-basis: 100%;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

/* Oszlopirányú flex-konténerekben a flex-basis:100% magasságként hatna → auto */
body.gim :is(.gim-c-col, .gim-c-sys-text) > * { flex-basis: auto; }

/* Térköz-segédek (a Sitejet-spacerek helyett): gim-c-mb-N asztali, gim-c-mb-m-N mobil (≤575px) */
body.gim .gim-c-mb-0.gim-c-mb-0 { margin-bottom: 0px; }
body.gim .gim-c-mb-15.gim-c-mb-15 { margin-bottom: 15px; }
body.gim .gim-c-mb-25.gim-c-mb-25 { margin-bottom: 25px; }
body.gim .gim-c-mb-30.gim-c-mb-30 { margin-bottom: 30px; }
body.gim .gim-c-mb-35.gim-c-mb-35 { margin-bottom: 35px; }
body.gim .gim-c-mb-40.gim-c-mb-40 { margin-bottom: 40px; }
body.gim .gim-c-mb-45.gim-c-mb-45 { margin-bottom: 45px; }
body.gim .gim-c-mb-50.gim-c-mb-50 { margin-bottom: 50px; }
body.gim .gim-c-mb-60.gim-c-mb-60 { margin-bottom: 60px; }
body.gim .gim-c-mb-65.gim-c-mb-65 { margin-bottom: 65px; }
body.gim .gim-c-mb-70.gim-c-mb-70 { margin-bottom: 70px; }
body.gim .gim-c-mb-100.gim-c-mb-100 { margin-bottom: 100px; }
@media screen and (max-width: 575px) {
	body.gim .gim-c-mb-m-0.gim-c-mb-m-0 { margin-bottom: 0px; }
	body.gim .gim-c-mb-m-15.gim-c-mb-m-15 { margin-bottom: 15px; }
	body.gim .gim-c-mb-m-25.gim-c-mb-m-25 { margin-bottom: 25px; }
	body.gim .gim-c-mb-m-30.gim-c-mb-m-30 { margin-bottom: 30px; }
	body.gim .gim-c-mb-m-35.gim-c-mb-m-35 { margin-bottom: 35px; }
	body.gim .gim-c-mb-m-45.gim-c-mb-m-45 { margin-bottom: 45px; }
	body.gim .gim-c-mb-m-50.gim-c-mb-m-50 { margin-bottom: 50px; }
}

@media only screen and (max-width: 1000px) {
	body.gim .gim-c-hero-sub { font-size: 18px; }
}
@media screen and (max-width: 975px) {
	body.gim .gim-c-h4 { font-size: 21px; }
	body.gim .gim-c-sys-text,
	body.gim .gim-c-sys-media { padding: 32px 16px; }
}
@media screen and (max-width: 575px) {
	body.gim .gim-c-hero-content { padding: 64px 0; }
	body.gim .gim-c-label { font-size: 1rem; }
	body.gim .gim-c-h4 { font-size: 18px; }
	body.gim .gim-c-boxes > .gim-c-box { flex: 1 1 calc(100% - 32px); max-width: 100%; }
	body.gim .gim-c-cols-2 > .gim-c-col--60,
	body.gim .gim-c-cols-2 > .gim-c-col--40 { flex: 1 1 calc(100% - 32px); max-width: 100%; }
	body.gim .gim-c-sys-row,
	body.gim .gim-c-sys-row--reverse { flex-direction: column; }
	body.gim .gim-c-sys-media {
		order: -1;
		min-height: 25vh;
	}
	body.gim .gim-c-sys-mark {
		width: 70%;
		margin: 0 auto;
	}
	body.gim .gim-c-sys-mark--narrow { width: 40%; }
	body.gim .gim-c-sys-mark--shift {
		position: relative;
		right: -20px;
	}
	body.gim .gim-c-sys-text { flex-basis: auto; }
}

/* ══════════ Programme és további aloldalak elemei ══════════ */

/* Képes háttér egy sima szekcióban (Sitejet háttérkép-tartó), a tartalom fölötte */
body.gim .gim-c-section > .gim-c-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	z-index: 0;
}
body.gim .gim-c-section > .gim-c-bg-img ~ .gim-c-container {
	position: relative;
	z-index: 1;
}

/* Termék-szójel (sötét SVG), balra zárva, 500px széles; alatta az eredeti inline SVG sorköz-rése (10px) */
body.gim .gim-c-wordmark svg {
	display: block;
	margin-bottom: 10px;
	width: 500px !important;
	max-width: 100%;
	height: auto !important;
}

/* „Entdecken Sie …” link: aláhúzott, félkövér; hoverre nagyít (Sitejet .zoom) */
body.gim .gim-c-more a {
	color: #000;
	font-weight: 700;
	text-decoration: underline;
}
body.gim .gim-c-zoom { transition: 0.5s; }
body.gim .gim-c-zoom:hover { transform: scale(1.04); }

/* ── Harmonika (Sitejet preset-accordion-v3-border): egyszerre egy nyitott elem, accordion.js ── */
body.gim .gim-c-acc {
	display: flex;
	flex-direction: column;
	flex: 0 1 66%;
	max-width: 66%;
	margin: 0 auto;
}
body.gim .gim-c-acc > * { flex-basis: auto; }
body.gim .gim-c-acc-trigger {
	position: relative;
	display: block;
	margin: 0 0 15px;
	padding: 1rem calc(18px + 2rem) 1rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.28);
	background: transparent;
	font-family: "PPMori Regular";
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	color: #000;
	cursor: pointer;
	transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
body.gim .gim-c-acc-trigger::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 -320 448 256'><path d='M224 -234l-174 167c-4 4 -12 4 -16 -0l-31 -30c-4 -4 -4 -12 0 -16l213 -204c2 -2 5 -3 8 -3s6 1 8 3l213 204c4 4 4 12 0 16l-31 30c-4 4 -12 4 -16 -0l-174 -167v-0v-0z'/></svg>") center / contain no-repeat;
	transform: translateY(-50%) rotate(180deg);
	transition: 0.3s ease-in-out;
}
body.gim .gim-c-acc-trigger.is-open {
	background: #fffd8a;
	border-color: #000;
}
body.gim .gim-c-acc-trigger.is-open::after { transform: translateY(-50%) rotate(0deg); }
@media (hover: hover) and (pointer: fine) {
	body.gim .gim-c-acc-trigger:hover {
		background: #fffd8a;
		border-color: #000;
	}
}
body.gim .gim-c-acc-trigger:focus-visible { outline: 2px solid #102830; outline-offset: 2px; }
body.gim .gim-c-acc-content {
	display: none;
	padding: 1rem 1rem 2rem;
}
body.gim .gim-c-acc-content.is-open { display: block; }
/* Teljes szélességű, balra zárt változat (Kontakt-GYIK) */
body.gim .gim-c-acc.gim-c-acc--full { flex-basis: 100%; max-width: 100%; }
body.gim .gim-c-acc--full > .gim-c-acc-trigger { text-align: left; }
@media screen and (max-width: 575px) {
	body.gim .gim-c-acc-trigger {
		padding-right: calc(16px + 2rem);
		font-size: 16px;
	}
	body.gim .gim-c-acc-trigger::after { width: 16px; height: 16px; }
	body.gim .gim-c-acc-content { padding: 1rem; }
}

/* ── Mobil (≤575px) változatok a Programme oldalhoz ── */
@media screen and (max-width: 575px) {
	/* A harmonika mobilon teljes szélességű */
	body.gim .gim-c-acc { flex-basis: 100%; max-width: 100%; }
	/* Szöveg felül, alatta a kép; a jel teljes szélességű (a kezdőlapi sorokkal ellentétben) */
	body.gim .gim-c-sys-row--text-first .gim-c-sys-media { order: 0; }
	body.gim .gim-c-sys-row--text-first .gim-c-sys-mark { width: 100%; }
	/* Szűkebb szekció-padding (Sitejet: 3rem 1rem 1rem) */
	body.gim .gim-c-container.gim-c-container--m-tight { padding: 48px 16px 16px; }
}

/* ══════════ myGIM-programoldalak (Essence / Radiance / Drive / Reset) ══════════
   A színek oldalanként a pages/mygim-<kulcs>-sections.css változóiból jönnek. */

/* „Balance” szekció: bevezető + öt szöveg–kép sor (Sitejet preset-text-with-image-v4-boxed) */
body.gim .gim-c-prog-balance {
	position: relative;
	z-index: 1;
	display: block;
	padding-top: 128px;
	background: var(--gim-prog-balance, none);
	overflow: clip;
}
body.gim .gim-c-prog-balance > .gim-c-container { padding: 0 16px 128px; }
body.gim .gim-c-prog-row {
	display: flex;
	align-items: stretch;
	background: var(--gim-prog-row-a, transparent);
}
body.gim .gim-c-prog-row:nth-child(even of .gim-c-prog-row) {
	flex-direction: row-reverse;
	background: var(--gim-prog-row-b, transparent);
}
/* Szöveg jobbról induló változat (Radiance, Drive, Reset) */
body.gim .gim-c-prog-balance--flip .gim-c-prog-row:nth-child(odd of .gim-c-prog-row) { flex-direction: row-reverse; }
body.gim .gim-c-prog-balance--flip .gim-c-prog-row:nth-child(even of .gim-c-prog-row) { flex-direction: row; }
body.gim .gim-c-prog-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0 0 50%;
	max-width: 50%;
	padding: 64px 64px 64px 128px;
}
body.gim .gim-c-prog-text > * { flex-basis: auto; }
body.gim .gim-c-prog-media {
	position: relative;
	flex: 0 0 50%;
	max-width: 50%;
	min-height: 90vh;
	overflow: clip;
}
body.gim .gim-c-prog-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
}

/* „Für wen” szekció: háttérátmenet, 3 hasábos félkövér pontok */
body.gim .gim-c-prog-fw { background: var(--gim-prog-fw, none); }
body.gim .gim-c-prog-boxes {
	display: flex;
	flex-basis: calc(100% + 48px);
	flex-wrap: wrap;
	align-items: stretch;
	margin: 50px -24px -24px;
}
body.gim .gim-c-prog-box {
	display: block;
	flex: 0 1 calc(33.333% - 48px);
	max-width: calc(33.333% - 48px);
	margin: 24px;
	font-family: "PPMori Regular";
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: #000;
}

/* CTA a program színével */
body.gim .gim-c-prog-cta { background: var(--gim-prog-cta, #fffd8a); }

@media screen and (max-width: 975px) {
	body.gim .gim-c-prog-row,
	body.gim .gim-c-prog-row:nth-child(even of .gim-c-prog-row),
	body.gim .gim-c-prog-balance--flip .gim-c-prog-row:nth-child(n) { flex-direction: column; }
	body.gim .gim-c-prog-text,
	body.gim .gim-c-prog-media { flex-basis: auto; max-width: 100%; }
	body.gim .gim-c-prog-text { min-height: 35vh; }
	body.gim .gim-c-prog-media { min-height: 50vh; }
	body.gim .gim-c-prog-boxes { flex-basis: calc(100% + 32px); margin: 50px -16px -16px; }
	body.gim .gim-c-prog-box { flex-basis: calc(33.333% - 32px); max-width: calc(33.333% - 32px); margin: 16px; }
}
@media screen and (max-width: 575px) {
	body.gim .gim-c-prog-balance { padding-top: 80px; }
	body.gim .gim-c-prog-balance > .gim-c-container { padding: 0 16px 80px; }
	body.gim .gim-c-prog-text { padding: 24px; }
	body.gim .gim-c-prog-media { min-height: 35vh; }
	body.gim .gim-c-prog-boxes > .gim-c-prog-box { flex: 1 1 calc(100% - 32px); max-width: 100%; }
}

/* „Weitere Programme” kártyák szójele inline SVG-ként (az eredetin <img>): a burkoló kapja a pozíciót */
body.gim .gim-op-shape svg {
	display: block;
	width: 100% !important;
	height: auto !important;
}

/* ══════════ Forschung: közös kiegészítések ══════════ */

/* Menta háttér (Sitejet: rgba(162, 214, 208, 0.58)) */
body.gim .gim-c-bg-mint { background-color: rgba(162, 214, 208, 0.58); }

/* Cover-kép felülre igazítva (Sitejet background-position: center top) */
body.gim .gim-c-cover-img.gim-c-cover-img--top { object-position: 50% 0%; }

/* Videós/képes szekcióháttér enyhe sötétítése (Sitejet overlay rgba(0, 0, 0, 0.23)) */
body.gim .gim-c-section > .gim-c-bg-shade {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: rgba(0, 0, 0, 0.23);
}

/* Felsorolásjel nélküli lista (az eredetin li + <br><br>: minden tétel után egy üres sor) */
body.gim span.gim-c-list { display: block; }
body.gim .gim-c-list > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.gim .gim-c-list li { margin: 0 0 1.5em; }
body.gim .gim-c-list li:last-child { margin-bottom: 0; }
body.gim .gim-c-list strong { font-weight: 600; }

/* ══════════ Ablauf és további aloldalak elemei ══════════ */

/* Halvány rózsaszín háttér (Sitejet bg-user-4) és a fehérből induló átmenete */
body.gim .gim-c-bg-blush { background-color: rgb(253, 235, 234); }
body.gim .gim-c-bg-blush-fade { background-image: linear-gradient(rgb(255, 255, 255) 0%, rgb(253, 235, 234) 100%); }
/* Cover fehér szöveggel (Sitejet span.color-background). A megrendelő kérésére (H-05) minden képes/videós
   cover és sötétített videós szekció (gim-c-bg-shade) fehér szöveget kap, nem csak a --light modifierrel jelöltek. */
body.gim :is(.gim-c-cover, .gim-c-section:has(> .gim-c-bg-shade)) :is(.gim-c-label, .gim-c-h2, .gim-c-text) { color: #fff; }

/* ══════════ System és további aloldalak elemei ══════════ */

/* Teljes képernyős fejezetnyitó (Sitejet parallax banner, min-height 100vh) */
body.gim .gim-c-cover.gim-c-cover--full { min-height: 100vh; }
body.gim .gim-c-cover .gim-c-h2 a { color: inherit; }

/* Címes jellemző-dobozok (Sitejet preset-image-boxes-v3): 3 vagy 4 oszlop, 24px (≤975: 16px) margó.
   A felső margó = Sitejet-spacer (50, ill. --gap-35: 35) − a dobozmargó; az előtte álló subline 24px-es. */
body.gim .gim-c-feats {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	flex: 0 0 calc(100% + 48px);
	max-width: calc(100% + 48px);
	margin: 26px -24px -24px;
}
body.gim .gim-c-feats.gim-c-feats--gap-35 { margin-top: 11px; }
body.gim .gim-c-feat { display: block; margin: 24px; text-align: left; }
body.gim .gim-c-feats--3 > .gim-c-feat { flex: 0 1 calc(33.333% - 48px); max-width: calc(33.333% - 48px); }
body.gim .gim-c-feats--4 > .gim-c-feat { flex: 0 1 calc(25% - 48px); max-width: calc(25% - 48px); }
body.gim .gim-c-feat > .gim-c-h4 { text-align: left; }
body.gim .gim-c-feat-text {
	display: block;
	margin: 0;
	font-family: "PPMori Regular";
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	color: #000;
}
/* Aláhúzott h4-link (Sitejet h4 > u) */
body.gim .gim-c-h4--link a { color: inherit; text-decoration: underline; }
/* Szekció 20px-es felső spacerrel */
body.gim .gim-c-section.gim-c-section--pt-20 > .gim-c-container { padding-top: 148px; }
@media screen and (max-width: 975px) {
	body.gim .gim-c-feats { flex-basis: calc(100% + 32px); max-width: calc(100% + 32px); margin: 34px -16px -16px; }
	body.gim .gim-c-feats.gim-c-feats--gap-35 { margin-top: 19px; }
	body.gim .gim-c-feat { margin: 16px; }
	body.gim .gim-c-feats--3 > .gim-c-feat { flex-basis: calc(33.333% - 32px); max-width: calc(33.333% - 32px); }
	body.gim .gim-c-feats--4 > .gim-c-feat { flex-basis: calc(25% - 32px); max-width: calc(25% - 32px); }
}
@media screen and (max-width: 575px) {
	body.gim .gim-c-feats > .gim-c-feat { flex: 1 1 calc(100% - 32px); max-width: calc(100% - 32px); }
	body.gim .gim-c-section.gim-c-section--pt-20 > .gim-c-container { padding-top: 84px; }
}

/* ══════════ Űrlap (Elementor atomic e-form; az eredeti Sitejet ed-form-* elemek mért értékei) ══════════ */
body.gim .gim-form {
	display: block;
	width: 100%;
	padding: 0;
	gap: 0;
}
body.gim .gim-form-field {
	display: block;
	margin: 0 0 16px;
}
body.gim .gim-form-label {
	display: block;
	margin: 0 0 8px;
	font-family: "PPMori Regular";
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
}
body.gim :is(.gim-form-input, .gim-form-select, .gim-form-textarea) {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid #000;
	border-radius: 3px;
	outline: none;
	background-color: #fafafa;
	font-family: "PPMori Regular";
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
}
body.gim .gim-form-select { height: 40px; line-height: normal; }
body.gim .gim-form-textarea { resize: vertical; }
body.gim :is(.gim-form-input, .gim-form-select, .gim-form-textarea):focus { border-color: #102830; box-shadow: 0 0 0 1px #102830; }
body.gim .gim-form-submit {
	display: block;
	width: 100%;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 0;
	background: #fffd8a;
	color: #000;
	font-family: "PPMori Regular";
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 1px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
body.gim .gim-form-submit:hover,
body.gim .gim-form-submit:focus-visible { background: #102830; color: #fff; transform: scale(0.98); }
/* Honeypot-mező: látható felhasználónak nem, a robotok kitöltik (gim-core forms.php) */
body.gim .gim-form-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* Visszajelzés beküldés után (az Elementor jeleníti meg) */
body.gim :is(.gim-form-msg) {
	flex-basis: 100%;
	width: 100%;
	margin: 16px 0 0;
	padding: 12px 16px;
	font-family: "PPMori Regular";
	font-size: 1rem;
	line-height: 1.5;
	text-align: left;
	color: #000;
}
/* Segédszöveg egy mező alatt, illetve megjegyzés az űrlap alatt */
body.gim .gim-form-help {
	display: block;
	margin: 8px 0 0;
	font-family: "PPMori Regular";
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.65);
}
body.gim .gim-form-note { margin-top: 16px; }
body.gim .gim-form-msg--ok { background-color: #fffd8a; }
body.gim .gim-form-msg--err { background-color: rgb(253, 235, 234); }
@media screen and (max-width: 575px) {
	body.gim :is(.gim-form-label, .gim-form-input, .gim-form-select, .gim-form-textarea) { font-size: 1rem; }
	body.gim .gim-form-submit { min-height: 40px; font-size: 13px; }
}

/* ── Pipedrive Web Forms (gim-core pipedrive.php + pipedrive.js): helyőrző, töltésjelző, tartaléklink ── */
body.gim .gim-pd-form {
	position: relative;
	display: block;
	width: 100%;
}
body.gim .gim-pd-form.is-loading { min-height: 520px; }
body.gim .gim-pd-form.is-loading::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 40, 48, 0.03) 0%, rgba(16, 40, 48, 0.08) 50%, rgba(16, 40, 48, 0.03) 100%) 0 0 / 200% 100%;
	animation: gim-pd-loading 1.6s linear infinite;
}
@keyframes gim-pd-loading { to { background-position: -200% 0; } }
body.gim .gim-pd-form .pipedriveWebForms { width: 100%; }
body.gim .gim-pd-fallback {
	display: inline-block;
	padding: 12px 16px;
	background: #fffd8a;
	font-family: "PPMori Regular";
	font-size: 1rem;
	line-height: 1.5;
	color: #000;
	text-decoration: underline;
}

/* ── Jogi oldalak (Impressum, Datenschutz, AGB) ──
 * Az eredeti gim-impressum/-agb/-datenschutz markup atomikusan; a méreteket a generált pages/<kulcs>.css adja,
 * itt csak a Sitejet ed-text alaptipográfiája (fontcsalád, súly, szín), amit az atomikus elemek nem örökölnek. */
body.gim :is(.gim-impressum, .gim-agb, .gim-datenschutz) :is(h1, h2) {
	font-family: "PPWriter Regular";
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #000;
}
body.gim :is(.gim-impressum, .gim-agb, .gim-datenschutz) h1 { font-weight: 300; }
body.gim :is(.gim-impressum, .gim-agb, .gim-datenschutz) :is(h3, p, li) {
	font-family: "PPMori Regular";
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #000;
}
/* Az e-paragraph kiszűri a belső HTML class-attribútumait → a gim-*__list és gim-*__link szabályai itt */
body.gim span.gim-legal-list { display: block; }
body.gim .gim-legal-list > ul { margin: 0 0 1rem; padding-left: 1.5rem; list-style: disc; }
body.gim .gim-legal-list li { font-size: 1rem; line-height: 1.7; margin-bottom: 0.35rem; }
body.gim .gim-agb .gim-legal-list li { margin-bottom: 0.65rem; }
body.gim .gim-legal-list li:last-child { margin-bottom: 0; }
/* 2026-10-12: az új jogi szövegekben belső és külső linkek is vannak → minden link azonos (a betűméretet a bekezdés adja) */
body.gim :is(.gim-impressum, .gim-datenschutz, .gim-agb) a {
	color: inherit;
	font-size: inherit;
	overflow-wrap: anywhere; /* hosszú URL-ek keskeny kijelzőn */
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	transition: opacity 0.2s ease;
}
body.gim :is(.gim-impressum, .gim-datenschutz, .gim-agb) a:hover { opacity: 0.65; text-decoration: none; }
/* Hosszú német összetett szavak (pl. „Geschäftsbedingungen”) keskeny kijelzőn: elválasztás, ha a böngészőnek van
 * szótára, különben törés. A flex-elem min-content szélessége miatt az „anywhere” és a min-width: 0 is kell. */
body.gim .gim-c-container:has(> :is(.gim-impressum, .gim-datenschutz, .gim-agb)) > h1,
body.gim :is(.gim-impressum, .gim-datenschutz, .gim-agb) h2 {
	min-width: 0;
	max-width: 100%;
	hyphens: auto;
	overflow-wrap: anywhere;
}
/* Félkövér kiemelés (pl. márkanév): a valódi Semibold arc, nem szintetikus félkövér */
body.gim :is(.gim-impressum, .gim-datenschutz, .gim-agb) strong { font-family: "PPMori Semibold"; font-weight: normal; }
@media (max-width: 768px) {
	body.gim .gim-legal-list li { font-size: 0.9375rem; }
}
