/* [cd_recent_polls] shortcode styles */

.cd-poll-list {
	display: flex;
	flex-direction: column;
}

.cd-poll-row {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Now fed by post featured images, which come in every shape, so the box is
   pinned and the image cropped to it. object-fit needs !important for the same
   reason height does: themes ship img rules that outrank a plain declaration. */
img.cd-poll-pic,
.cd-poll-pic {
	flex: 0 0 117px;
	box-sizing: border-box;
	width: 117px !important;
	min-width: 117px !important;
	max-width: 117px !important;
	height: 107px !important;
	min-height: 107px !important;
	max-height: 107px !important;
	object-fit: cover !important;
	object-position: center center !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.cd-poll-pic-placeholder {
	background-color: #eee;
}

.cd-poll-info {
	min-width: 0;
}

.cd-poll-label {
	color: #F6599C;
	font-family: 'Outfit', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 28px;
	letter-spacing: 0px;
	text-transform: uppercase;
}

.cd-poll-title {
	margin: 0;
	margin-top: 3px;
	font-family: 'Playfair Display', serif !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 120% !important;
	letter-spacing: 0%;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cd-poll-vote {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 7px;
	color: #4B2FC5;
	font-family: 'Outfit', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 28px;
	letter-spacing: 0px;
	text-decoration: none;
}

.cd-poll-vote-icon {
	display: block;
	align-self: center;
}

.cd-poll-separator {
	width: 379px;
	height: 1px;
	margin: 20px 0;
	background-color: #4B2FC559;
}

.cd-poll-empty {
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	color: #666;
}
