/* Daily Callers - live search suggestions */

.dcss-box {
	position: absolute;
	z-index: 999999;
	display: none;
	max-height: 420px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	box-shadow: 0 12px 34px rgba( 16, 24, 40, 0.16 );
	font-size: 14px;
	line-height: 1.4;
	-webkit-overflow-scrolling: touch;
}

.dcss-box.is-open {
	display: block;
}

.dcss-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 1px solid #f1f3f5;
}

.dcss-item:last-of-type {
	border-bottom: 0;
}

.dcss-item:hover,
.dcss-item.is-active {
	background: #f6f8fa;
	color: #1a1a1a;
}

.dcss-thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
	background: #eef1f4;
}

.dcss-thumb--empty {
	display: block;
}

.dcss-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dcss-title {
	font-weight: 600;
	color: #14181d;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.dcss-title mark {
	background: #fff2a8;
	color: inherit;
	padding: 0;
}

.dcss-meta {
	margin-top: 2px;
	font-size: 12px;
	color: #6b7480;
}

.dcss-all {
	display: block;
	padding: 11px 14px;
	background: #f6f8fa;
	border-top: 1px solid #e9edf1;
	font-size: 13px;
	font-weight: 600;
	color: #0b63c5;
	text-decoration: none;
	text-align: center;
}

.dcss-all:hover,
.dcss-all.is-active {
	background: #eaf1fb;
	color: #0b63c5;
}

.dcss-state {
	padding: 14px;
	color: #6b7480;
	text-align: center;
}

@media ( max-width: 480px ) {

	.dcss-box {
		max-height: 300px;
	}

	.dcss-thumb {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}
}
