﻿.pcgh-home-ai-search-section {
	position: relative;
	min-height: var(--pcgh-home-ai-search-height,520px);
	padding: 0;
	margin-bottom: 28px;
	background: #050806 var(--pcgh-home-ai-search-bg) center/cover no-repeat;
	overflow: hidden
}

.pcgh-home-ai-search-section::before {
	content: "";
	position: absolute;
	inset: 0;
	display: none;
	background: none;
	pointer-events: none
}

.pcgh-home-ai-search-section::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(255,255,255,.08)
}

.pcgh-home-ai-search__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none
}

.pcgh-home-ai-search-section .pcgh-container {
	position: relative;
	z-index: 1;
	width: min(100%,var(--pcgh-container-w));
	height: 100%
}

.pcgh-home-ai-search {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: var(--pcgh-home-ai-search-height,520px);
	margin: 0;
	padding: 48px clamp(0px,4vw,60px) 62px;
	text-align: left
}

.pcgh-home-ai-search__content {
	position: relative;
	z-index: 2;
	width: min(100%,620px)
}

.pcgh-home-ai-search h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(36px,4.45vw,56px);
	font-weight: 900;
	line-height: 1.28;
	letter-spacing: .02em;
	text-shadow: 0 14px 34px rgba(0,0,0,.42)
}

.pcgh-home-ai-search h1 span {
	color: var(--pcgh-primary);
	text-shadow: 0 0 28px rgba(var(--pcgh-primary-rgb),.35)
}

.pcgh-home-ai-search p {
	margin: 16px 0 0;
	color: rgba(255,255,255,.78);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em
}

.pcgh-home-ai-search__form {
	display: grid;
	grid-template-columns: 46px minmax(0,1fr) 98px;
	align-items: center;
	max-width: 600px;
	height: 58px;
	margin: 30px 0 0;
	border-radius: 8px;
	background: #fff;
	border: 1px solid rgba(var(--pcgh-primary-rgb),.28);
	box-shadow: 0 22px 58px rgba(0,0,0,.34),0 0 0 1px rgba(var(--pcgh-primary-rgb),.12);
	overflow: hidden
}

.pcgh-home-ai-search__form svg,
.pcgh-home-ai-search__form i {
	width: 21px;
	height: 21px;
	margin-left: 18px;
	color: #6b7280
}

.pcgh-home-ai-search__form input {
	width: 100%;
	height: 100%;
	padding: 0 16px 0 4px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #111827;
	font-size: 15px
}

.pcgh-home-ai-search__form input::placeholder {
	color: #9ca3af
}

.pcgh-home-ai-search__form button {
	height: 100%;
	border: 0;
	border-radius: 0;
	background: var(--pcgh-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	cursor: pointer;
	transition: background .2s ease,filter .2s ease
}

.pcgh-home-ai-search__form button:hover {
	background: var(--pcgh-primary);
	filter: brightness(1.03)
}

.pcgh-home-ai-search__hot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 9px 18px;
	margin-top: 18px;
	color: rgba(255,255,255,.72);
	font-size: 14px
}

.pcgh-home-ai-search__hot span {
	font-weight: 800
}

.pcgh-home-ai-search__hot a {
	color: rgba(255,255,255,.72)
}

.pcgh-home-ai-search__hot a:hover {
	color: var(--pcgh-primary)
}

html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search-section {
	background-color: #f5f7f1
}

html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search-section::before {
	background: none
}

html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search__form {
	box-shadow: 0 18px 44px rgba(15,23,42,.12);
	border: 1px solid rgba(15,23,42,.08)
}

@media (max-width: 1080px) {
	.pcgh-home-ai-search {
		padding-left: clamp(12px,4vw,36px);
		padding-right: clamp(12px,4vw,36px)
	}
}

@media (max-width: 768px) {
	.pcgh-home-ai-search-section {
		min-height: auto;
		padding: 0;
		margin-bottom: 22px
	}

	.pcgh-home-ai-search-section::before {
		background: none
	}

	.pcgh-home-ai-search {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: auto;
		gap: 20px;
		padding: 34px 12px 48px;
		text-align: left
	}

	.pcgh-home-ai-search__content {
		order: 0
	}

	.pcgh-home-ai-search h1 {
		font-size: 31px;
		line-height: 1.25
	}

	.pcgh-home-ai-search p {
		margin-top: 12px;
		font-size: 14px;
		line-height: 1.7
	}

	.pcgh-home-ai-search__form {
		grid-template-columns: 42px minmax(0,1fr) 76px;
		height: 52px;
		margin: 22px 0 0;
		border-radius: 9px
	}

	.pcgh-home-ai-search__form svg,
	.pcgh-home-ai-search__form i {
		width: 18px;
		height: 18px;
		margin-left: 15px
	}

	.pcgh-home-ai-search__form input {
		font-size: 13px;
		padding-right: 10px
	}

	.pcgh-home-ai-search__form button {
		font-size: 14px
	}

	.pcgh-home-ai-search__hot {
		justify-content: flex-start;
		gap: 8px 12px;
		margin-top: 14px;
		font-size: 12px;
		text-align: left
	}

	.pcgh-home-ai-search__hot span {
		width: auto
	}

	html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search-section::before {
		background: none
	}
}

@media (max-width: 480px) {
	.pcgh-home-ai-search {
		padding-top: 28px
	}

	.pcgh-home-ai-search h1 {
		font-size: 27px
	}

	.pcgh-home-ai-search__hot a:nth-of-type(n+5) {
		display: none
	}
}
