/* Compnet GYIK – Penta Print arculat */
.cgyik {
	--cgyik-yellow: #FFCC00;
	--cgyik-cyan: #00AEEF;
	--cgyik-magenta: #EC008C;
	--cgyik-key: #1A1A1A;
	--cgyik-text: #353535;
	--cgyik-muted: #5B6170;
	--cgyik-border: #E9E9E9;
	--cgyik-soft: #F9F9F9;
	--cgyik-card: #FFFFFF;
	--cgyik-radius: 4px;
	--cgyik-head-font: "Roboto Condensed", "Arial Narrow", sans-serif;
	--cgyik-body-font: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;

	max-width: 960px;
	margin: 0 auto;
	padding: 8px 16px 24px;
	font-family: var(--cgyik-body-font);
	color: var(--cgyik-text);
	box-sizing: border-box;
}
.cgyik *, .cgyik *::before, .cgyik *::after { box-sizing: border-box; }

/* ---------- Fejléc ---------- */
.cgyik__head { text-align: center; margin-bottom: 32px; }
.cgyik__cmyk { display: inline-flex; gap: 6px; margin-bottom: 14px; }
.cgyik__cmyk span { width: 28px; height: 5px; border-radius: 3px; }
.cgyik__cmyk span:nth-child(1) { background: var(--cgyik-cyan); }
.cgyik__cmyk span:nth-child(2) { background: var(--cgyik-magenta); }
.cgyik__cmyk span:nth-child(3) { background: var(--cgyik-yellow); }
.cgyik__cmyk span:nth-child(4) { background: var(--cgyik-key); }

.cgyik .cgyik__title {
	font-family: var(--cgyik-head-font);
	font-weight: 400;
	font-size: clamp(26px, 4vw, 36px);
	line-height: 1.2;
	color: #000;
	margin: 0 0 6px;
	text-transform: none;
}
.cgyik__subtitle {
	font-size: 17px;
	font-weight: 500;
	color: var(--cgyik-key);
	margin: 0 0 14px;
}
.cgyik__intro {
	max-width: 720px;
	margin: 0 auto;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--cgyik-muted);
}
.cgyik__intro p { margin: 0; }

/* ---------- Kereső ---------- */
.cgyik__search { position: relative; margin: 0 0 18px; }
.cgyik__search svg {
	position: absolute; left: 16px; top: 50%; width: 18px; height: 18px;
	transform: translateY(-50%);
	fill: none; stroke: var(--cgyik-muted); stroke-width: 2; stroke-linecap: round;
	pointer-events: none;
}
.cgyik .cgyik__search input {
	width: 100%;
	height: 50px;
	padding: 0 16px 0 46px;
	border: 1px solid var(--cgyik-border);
	border-radius: var(--cgyik-radius);
	background: var(--cgyik-soft);
	font: 400 15px/1 var(--cgyik-body-font);
	color: var(--cgyik-text);
	outline: none;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.cgyik .cgyik__search input:focus {
	background: #fff;
	border-color: var(--cgyik-yellow);
	box-shadow: 0 0 0 3px rgba(255, 204, 0, .25);
}
.cgyik__empty { text-align: center; color: var(--cgyik-muted); font-size: 15px; margin: 12px 0 20px; }

/* ---------- Accordion ---------- */
.cgyik__list { display: flex; flex-direction: column; gap: 10px; }

.cgyik__item {
	--bar: var(--cgyik-cyan);
	position: relative;
	background: var(--cgyik-card);
	border: 1px solid var(--cgyik-border);
	border-radius: var(--cgyik-radius);
	overflow: hidden;
	transition: box-shadow .25s, border-color .25s;
}
.cgyik__item:nth-child(4n+2) { --bar: var(--cgyik-magenta); }
.cgyik__item:nth-child(4n+3) { --bar: var(--cgyik-yellow); }
.cgyik__item:nth-child(4n+4) { --bar: var(--cgyik-key); }
.cgyik__item::before {
	content: "";
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 4px;
	background: var(--bar);
	transition: width .25s;
}
.cgyik__item:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.cgyik__item.is-open { border-color: #dcdcdc; box-shadow: 0 10px 28px rgba(0, 0, 0, .08); }
.cgyik__item.is-open::before { width: 6px; }
.cgyik__item[hidden] { display: none; }

.cgyik .cgyik__q { margin: 0; padding: 0; font-size: inherit; line-height: inherit; }

.cgyik .cgyik__btn {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 18px 20px 18px 26px;
	cursor: pointer;
	font-family: var(--cgyik-body-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--cgyik-key);
	text-align: left;
	background: transparent;
	transition: background .2s;
}
.cgyik .cgyik__btn:hover { background: var(--cgyik-soft); }
.cgyik .cgyik__btn:focus-visible { outline: 2px solid var(--cgyik-yellow); outline-offset: -2px; }

.cgyik__num {
	flex: 0 0 auto;
	font-family: var(--cgyik-head-font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .5px;
	color: #9AA0AA;
	min-width: 22px;
	transition: color .2s;
}
.cgyik__item.is-open .cgyik__num { color: var(--cgyik-key); }
.cgyik__qtext { flex: 1 1 auto; }

.cgyik__icon {
	position: relative;
	flex: 0 0 auto;
	width: 34px; height: 34px;
	border-radius: 3px;
	background: var(--cgyik-yellow);
	transition: background .25s, transform .3s;
}
.cgyik__icon::before, .cgyik__icon::after {
	content: "";
	position: absolute; left: 50%; top: 50%;
	width: 12px; height: 2px;
	background: #000;
	transform: translate(-50%, -50%);
	transition: transform .3s, background .25s;
}
.cgyik__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.cgyik__item.is-open .cgyik__icon { background: var(--cgyik-key); transform: rotate(180deg); }
.cgyik__item.is-open .cgyik__icon::before,
.cgyik__item.is-open .cgyik__icon::after { background: var(--cgyik-yellow); }
.cgyik__item.is-open .cgyik__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Panel – grid-rows animáció, nincs JS magasságszámítás */
.cgyik__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .35s ease;
}
.cgyik__item.is-open .cgyik__panel { grid-template-rows: 1fr; }
.cgyik__panel-inner { overflow: hidden; min-height: 0; }
.cgyik__a {
	padding: 0 24px 20px 64px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--cgyik-muted);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .3s, transform .3s;
}
.cgyik__item.is-open .cgyik__a { opacity: 1; transform: none; }
.cgyik__a p { margin: 0 0 10px; }
.cgyik__a p:last-child { margin-bottom: 0; }
.cgyik__a a { color: var(--cgyik-key); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cgyik-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cgyik__a a:hover { background: rgba(255, 204, 0, .25); }

/* Kereső kiemelés */
.cgyik mark.cgyik__hl { background: rgba(255, 204, 0, .55); color: inherit; padding: 0 1px; border-radius: 2px; }

/* ---------- Kapcsolat blokk ---------- */
.cgyik__contact {
	position: relative;
	margin-top: 36px;
	padding: 30px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	background: #1D1D1D;
	color: #E6E6E6;
	border-radius: var(--cgyik-radius);
	overflow: hidden;
}
.cgyik__contact::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 5px;
	background: linear-gradient(90deg,
		var(--cgyik-cyan) 0 25%, var(--cgyik-magenta) 25% 50%,
		var(--cgyik-yellow) 50% 75%, #fff 75% 100%);
	opacity: .95;
}
.cgyik .cgyik__contact h3 {
	font-family: var(--cgyik-head-font);
	font-weight: 400;
	font-size: 26px;
	color: var(--cgyik-yellow);
	margin: 0 0 8px;
}
.cgyik__contact p { margin: 0 0 16px; font-size: 15px; font-weight: 300; line-height: 1.6; color: #D0D0D0; max-width: 560px; }
.cgyik .cgyik__contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cgyik__contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 0; }
.cgyik__contact-list svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--cgyik-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cgyik__contact-list strong { color: #fff; font-weight: 600; }
.cgyik .cgyik__contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 204, 0, .6); }
.cgyik .cgyik__contact-list a:hover { color: var(--cgyik-yellow); }

.cgyik .cgyik__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	background: var(--cgyik-yellow);
	color: #000;
	font-family: var(--cgyik-body-font);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 3px;
	transition: transform .2s, box-shadow .2s, background .2s;
}
.cgyik .cgyik__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cgyik .cgyik__cta:hover { background: #FFD633; box-shadow: 0 8px 20px rgba(255, 204, 0, .3); color: #000; }
.cgyik .cgyik__cta:hover svg { transform: translateX(3px); }

/* ---------- Sötét változat (sotet="igen") ---------- */
.cgyik--dark { --cgyik-card: #232323; --cgyik-border: #333; --cgyik-soft: #2A2A2A; --cgyik-text: #E6E6E6; --cgyik-muted: #B9BEC8; --cgyik-key: #FFFFFF; }
.cgyik--dark .cgyik__title { color: #fff; }
.cgyik--dark .cgyik__item:nth-child(4n+4) { --bar: #FFFFFF; }
.cgyik--dark .cgyik__item.is-open .cgyik__icon { background: #fff; }
.cgyik--dark .cgyik__item.is-open .cgyik__icon::before,
.cgyik--dark .cgyik__item.is-open .cgyik__icon::after { background: #000; }
.cgyik--dark .cgyik__contact { background: #111; }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
	.cgyik { padding: 0 0 16px; }
	.cgyik .cgyik__btn { padding: 15px 14px 15px 20px; gap: 12px; font-size: 15px; }
	.cgyik__num { display: none; }
	.cgyik__icon { width: 30px; height: 30px; }
	.cgyik__a { padding: 0 18px 18px 20px; font-size: 14.5px; }
	.cgyik__contact { flex-direction: column; align-items: flex-start; padding: 26px 20px; }
	.cgyik .cgyik__cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.cgyik *, .cgyik *::before, .cgyik *::after { transition: none !important; }
}
