/**
 * Challenger Showcase
 * Styles for the [challenger_showcase] grid + search UI. The base card layout
 * (.team-sc-wraper / .team-sc-item / .team-sc-details / .team-sc-title /
 * .team-sc-btn) lives in the theme's main stylesheet; this file only adds the
 * image blur-up layering and the search field. All rules are scoped under
 * .c-challenger-showcase so nothing leaks.
 */

/* --- Card image: contained photo over a blurred cover backdrop --- */
.c-challenger-showcase .team-sc-item {
	position: relative;
	overflow: hidden;
	background: #e9eef2;
}
.c-challenger-showcase .team-sc-item .team-sc-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	filter: blur(18px) brightness(.92);
	transform: scale(1.18);
}
.c-challenger-showcase .team-sc-item .team-sc-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	z-index: 1;
	opacity: 0;
	transition: opacity .45s ease;
}
.c-challenger-showcase .team-sc-item .team-sc-img.loaded {
	opacity: 1;
}
.c-challenger-showcase .team-sc-item:before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .65) 100%);
	pointer-events: none;
}
.c-challenger-showcase .team-sc-item .team-sc-details {
	position: relative;
	z-index: 3;
}

/* --- Header row: side gutters (scoped so other Divi rows are untouched) --- */
.c-challenger-showcase .et_pb_row.et_pb_row_1 {
	padding-left: 20px;
	padding-right: 20px;
}

/* --- Search field --- */
.c-cshow-search {
	position: relative;
	max-width: 520px;
	margin: 24px auto 40px;
	padding-left: 20px;
	padding-right: 20px;
}
.c-cshow-input {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 52px 16px 24px;
	border: 2px solid #e71096;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	background: #e71096;
	color: #fff;
	transition: border-color .2s, box-shadow .2s;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
}
.c-cshow-input::placeholder {
	color: #fff;
	opacity: .85;
	font-weight: 700;
}
.c-cshow-input:focus {
	outline: none;
	border-color: #c70d80;
	box-shadow: 0 0 0 4px rgba(231, 16, 150, .20);
}
.c-cshow-loader {
	position: absolute;
	right: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	opacity: 0;
	transition: opacity .2s;
	animation: cshowspin .7s linear infinite;
}
.c-cshow-search.is-loading .c-cshow-loader {
	opacity: 1;
}
@keyframes cshowspin {
	to { transform: rotate(360deg); }
}
.c-cshow-hint {
	text-align: center;
	color: #8a9199;
	font-size: 14px;
	margin: 2px 0 10px;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
}
.c-cshow-noresults {
	margin-top: 24px;
	margin-bottom: 40px;
	text-align: center;
	color: #666;
}
