/* Blog Cards Addon — Search Icon (Fullscreen) widget */

.bca-search-widget * { box-sizing: border-box; }

.bca-search-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	color: #1B2318;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.bca-search-trigger:hover {
	background: #EFEDE2;
	color: #93692A;
}

.bca-search-trigger svg,
.bca-search-trigger i {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

/* ---------- Overlay ---------- */
.bca-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(27, 35, 24, 0.97);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.bca-search-overlay.bca-anim-slide-down {
	transform: translateY(-24px);
}

.bca-search-overlay.bca-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

body.bca-search-open {
	overflow: hidden;
}

.bca-search-overlay-inner {
	width: 100%;
	max-width: 900px;
	padding: 0 32px;
	text-align: center;
}

.bca-search-overlay-heading {
	font-family: 'Fraunces', serif;
	font-weight: 600;
	font-size: 28px;
	color: #FBFAF4;
	margin-bottom: 28px;
}

.bca-search-form {
	display: flex;
	align-items: center;
	gap: 16px;
	border-bottom: 2px solid #3C4437;
	max-width: 720px;
	margin: 0 auto;
	padding-bottom: 14px;
	transition: border-color .25s ease;
}

.bca-search-form:focus-within {
	border-bottom-color: #B8863B;
}

.bca-search-input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	font-family: 'Sora', sans-serif;
	font-size: 24px;
	color: #FBFAF4;
	padding: 6px 0;
}

.bca-search-input::placeholder {
	color: #8FA381;
}

.bca-search-submit {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #FBFAF4;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color .2s ease, transform .2s ease;
}

.bca-search-submit:hover {
	color: #B8863B;
	transform: translateX(3px);
}

.bca-search-submit svg,
.bca-search-submit i {
	width: 22px;
	height: 22px;
	font-size: 22px;
}

/* ---------- Close button ---------- */
.bca-search-close {
	position: absolute;
	top: 32px;
	right: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #FBFAF4;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color .2s ease, transform .2s ease;
	z-index: 2;
}

.bca-search-close:hover {
	color: #B8863B;
	transform: rotate(90deg);
}

.bca-search-close svg,
.bca-search-close i {
	width: 24px;
	height: 24px;
	font-size: 24px;
}

/* ---------- Quick links ---------- */
.bca-search-links-wrap {
	margin-top: 34px;
}

.bca-search-links-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8FA381;
	margin-bottom: 12px;
}

.bca-search-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
}

.bca-search-links a {
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	color: #FBFAF4;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}

.bca-search-links a:hover {
	color: #B8863B;
	border-bottom-color: currentColor;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.bca-search-overlay-heading { font-size: 21px; }
	.bca-search-input { font-size: 18px; }
	.bca-search-close { top: 18px; right: 18px; }
}
