/* Genparts hős szekció — child theme CSS
 * .gp-hero osztály a block patternből; mobile-first.
 */

.gp-hero {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
	background:
		radial-gradient(1200px 600px at 80% 0%, rgba(0, 96, 215, 0.08), transparent 60%),
		linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
	text-align: center;
	border-bottom: 1px solid #e6ecf3;
}

.gp-hero__title {
	margin: 0 auto 0.75rem;
	max-width: 22ch;
	color: #0b2440;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.gp-hero__lead {
	margin: 0 auto 1.75rem;
	max-width: 60ch;
	color: #46556b;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.55;
}

/* Kereső űrlap */
.gp-hero__search {
	display: flex;
	gap: 0.5rem;
	margin: 0 auto;
	max-width: 640px;
	background: #fff;
	padding: 0.4rem;
	border: 1px solid #d6dde6;
	border-radius: 999px;
	box-shadow: 0 4px 18px rgba(11, 36, 64, 0.06);
}

.gp-hero__search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.85rem 1.1rem;
	border: 0;
	background: transparent;
	font-size: 1rem;
	color: #0b2440;
	outline: none;
}

.gp-hero__search input[type="search"]::placeholder {
	color: #8b97a8;
}

.gp-hero__submit {
	flex: 0 0 auto;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: #0060d7;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.gp-hero__submit:hover,
.gp-hero__submit:focus {
	background: #004fb0;
	transform: translateY(-1px);
}

.gp-hero__submit:focus {
	outline: 2px solid #0b2440;
	outline-offset: 2px;
}

/* USP sáv */
.gp-hero__usp {
	margin: 1.75rem auto 0;
	max-width: 880px;
	gap: 0.5rem 1.75rem !important;
	color: #46556b;
	font-size: 0.95rem;
}

.gp-hero__usp-item {
	margin: 0 !important;
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
}

.gp-hero__usp-item strong {
	color: #0b2440;
}

/* Mobile breakpont */
@media (max-width: 560px) {
	.gp-hero__search {
		flex-direction: column;
		border-radius: 18px;
		padding: 0.6rem;
	}

	.gp-hero__submit {
		width: 100%;
		border-radius: 12px;
	}

	.gp-hero__search input[type="search"] {
		padding: 0.8rem 0.9rem;
	}
}
