.search-cont {
	--font-family-body: var(--font-display);
	--search-icon: var(--blue-mid);
	--search-input-icon-bg: var(--blue-lighter);
	--search-input-icon-bg-hover: var(--blue-lighter);
}

.headerbox-search-form {
	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
	font-size: calc(14rem/16);
	text-indent: 6px;
	font-family: var(--font-family-body);
	color: var(--blue-mid);
	background-color: var(--blue-lighter);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form button {
	width: 32px;
	padding: 6px 0 5px;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	font-size: calc(14rem/16);
	line-height: 1;
}

.headerbox-search-form button i {
	color: var(--blue-mid);
}

.headerbox-search-form button:hover {
	background-color: var(--search-input-icon-bg-hover);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media screen and (min-width: 64em) {
	.search-cont :is(.search-button, [data-sv-search-button]) {
		width: 42px;
		aspect-ratio: 1;
		padding: 0;
		margin: 0;
		background: url(/includes/public/assets/shared/circle-green.svg) center / 42px no-repeat;
		color: var(--blue-dark);
		font-size: 24px;
		display: grid;
		place-items: center;
		z-index: 18;
		position: relative;
	}

	.search-cont .search-button > * {
		grid-area: 1 / 1;
		transition: opacity var(--transition-appendix);
	}

	.search-cont .search-button .close,
	.search-cont.active .search-button .open {
		opacity: 0;
	}

	.search-cont.active .search-button .close {
		opacity: 1;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
		max-width: 907px;
		height: 100%;
		z-index: 15;
		transition: opacity var(--transition-appendix);
		padding-right: 90px;
		background-color: var(--blue-lighter);
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form input[type="search"] {
		color: var(--blue-dark);
		font-size: calc(18rem/16);
		font-weight: normal;
		text-indent: 20px;
		font-family: var(--font-display);
	}

	.headerbox-search-form input[type="search"]::placeholder {
		text-indent: 28px;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.headerbox-search-form button i {
		color: var(--blue-dark)
	}
}

/* Sports Theme */
@media (min-width: 64em) {
	.panel-header.sports .search-cont .search-button {
		color: var(--green);
		background-image: url(/includes/public/assets/shared/circle-dark-blue.svg);
	}
}
