/**
 * Search Section Styles
 */

.search-section {
	background-color: var(--color-white);
	padding: var(--spacing-xxxl) 0;
}

.search-flex {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-mxl);
}

/* Search Header */
.search-header {
	text-align: center;
}

.search-title {
	font-family: 'Marcellus', serif;
	font-size: 40px;
	font-weight: 400;
	font-style: normal;
	color: var(--color-secondary);
	margin: 0;
	letter-spacing: 0%;
	vertical-align: middle;
	display: inline-block;
	display: flex;
	align-items: end;
	line-height: 100%;
	justify-content: center;
	gap: 12px;
}

.search-subtitle {
	font-family: 'YuGothic', 'Yu Gothic', sans-serif;
	font-size: 18px;
	font-weight: 700;
	font-style: normal;
	color: var(--color-secondary);
	line-height: 100%;
	letter-spacing: 0%;
	vertical-align: middle;
}

/* Search Form */
.search-form-wrapper {
	width: 420px;
	margin: 0 auto;
}


.search-input-wrapper {
	width: 100%;
	position: relative;
	display: flex;
	align-items: center;
}

.search-field {
	padding: 12px 54px 12px 16px;
	width: 100%;
	font-size: 16px;
	color: var(--color-text);
	background: var(--color-white);
	border: 2px solid var(--color-secondary);
	border-radius: 0;
	outline: none;
	transition: border-color 0.3s ease;
}

.search-field::placeholder {
	color: #CCCCCC;
	font-size: 15px;
}

.search-field:focus {
	border-color: #999999;
}

.search-submit {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	padding: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease;
	opacity: 1;
		/* Ensure it is visible */
}

.search-submit:hover {
	opacity: 0.7;
}

.search-icon {
	width: 24px;
	height: 24px;
	color: var(--color-black);
}

/* Responsive Design */

/* Mobile & Sidebar */
@media (max-width: 768px) {
	.search-form-wrapper {
		width: 100%;
	}

	.search-flex {
		margin-top: 70px;
		align-items: start;
		gap: var(--spacing-lg);
	}

	.search-section {
		padding: var(--spacing-mxl) 0;
	}

	.search-title {
		display: flex;
		font-size: 20px;
	}

	.search-title {
		align-items: end;
		line-height: 100%;

	}

	.search-subtitle {
		font-size: 14px;
		display: block;
	}

	.search-field {
		padding: 12px 50px 12px 12px;
		font-size: 13px;
	}

	.search-field::placeholder {
		font-size: 13px;
	}
}
/* Force Mobile Styles for Sidebar */
.sidebar-inner .search-form-wrapper {
	width: 100%;
}

.sidebar-inner .search-flex {
	align-items: start;
	gap: var(--spacing-lg);
	padding: 0;
	margin-top: 0;
	/* No large top margin for sidebar */
}

.sidebar-inner .search-section {
	padding: var(--spacing-md) 0;
	/* Reduced padding for sidebar */
	background-color: transparent;
	/* Seamless blend */
}

.sidebar-inner .search-title {
	display: flex;
	font-size: 20px;
	align-items: end;
	line-height: 100%;
	justify-content: flex-start;
}

.sidebar-inner .search-subtitle {
	font-size: 14px;
	display: block;
}

.sidebar-inner .search-field {
	padding: 12px 50px 12px 12px;
	font-size: 13px;
}

.sidebar-inner .search-field::placeholder {
	font-size: 13px;
}