.wer-hero-search {
	box-sizing: border-box;
	width: calc(100% + 40px);
	max-width: none;
	margin: 0 -20px 28px;
	padding: 28px 0 34px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border-bottom: 1px solid #e2e8f0;
}

.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .site-main > .wer-hero-search,
.ast-separate-container.ast-desktop .ast-blog-layout-6-grid .site-main > .wer-hero-search {
	width: calc(100% + 2em);
	margin-left: -1em;
	margin-right: -1em;
}

.wer-hero-search-inner {
	width: 100%;
	max-width: none;
}

.wer-hero-search-form {
	width: 100%;
	margin: 0;
}

.wer-hero-search-field {
	display: flex;
	align-items: center;
	gap: 0;
	min-height: 80px;
	background: #fff;
	border: 2px solid #dbeafe;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wer-hero-search-field:focus-within {
	border-color: #2563eb;
	box-shadow: 0 14px 36px rgba(37, 99, 235, 0.14);
}

.wer-hero-search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 62px;
	flex-shrink: 0;
	font-size: 24px;
	color: #64748b;
	background: #f8fafc;
}

.wer-hero-search-input {
	flex: 1;
	min-width: 0;
	height: 80px;
	border: none;
	background: transparent;
	padding: 0 18px !important;
	margin: 0;
	font-size: 20px;
	line-height: 1.4;
	color: #0f172a;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.wer-hero-search-input::placeholder {
	color: #94a3b8;
}

.wer-hero-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	flex-shrink: 0;
	border: none;
	min-height: 80px;
	padding: 0 40px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.wer-hero-search-btn:hover {
	opacity: 0.95;
}

@media (max-width: 768px) {
	.wer-hero-search {
		padding: 18px 0 24px;
		margin-bottom: 20px;
	}

	.wer-hero-search-field {
		min-height: 64px;
		border-radius: 14px;
	}

	.wer-hero-search-icon {
		width: 48px;
		font-size: 20px;
	}

	.wer-hero-search-input {
		height: 64px;
		font-size: 16px;
		padding: 0 12px !important;
	}

	.wer-hero-search-btn {
		min-height: 64px;
		padding: 0 22px;
		font-size: 16px;
	}
}

@media (max-width: 520px) {
	.wer-hero-search {
		width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: -20px;
	}

	.wer-hero-search-field {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		overflow: visible;
		background: transparent;
		border: none;
		box-shadow: none;
		gap: 10px;
	}

	.wer-hero-search-field:focus-within {
		box-shadow: none;
	}

	.wer-hero-search-icon {
		display: none;
	}

	.wer-hero-search-input {
		height: 54px;
		min-height: 54px;
		border: 2px solid #dbeafe;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
	}

	.wer-hero-search-btn {
		min-height: 48px;
		border-radius: 12px;
		width: 100%;
	}
}
