/* Poll card — in-feed feature card (first item in the More Stories feed).
   Full-bleed brand blue: white serif question + pill options on desktop's
   two-column layout. Reads as editorial furniture, impossible to mistake for a
   story card, yet scrolls with the feed and displaces nothing extra.
   Kept deliberately compact so it doesn't tower over the story rows below. */

.b2b-poll-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, var(--link_dark, #025585) 0%, #04679e 100%);
	color: #ffffff;
	border-radius: 6px;
	padding: 18px 20px;
	margin: 0 0 16px;
}
/* Faint depth flourish, top-left. */
.b2b-poll-card::before {
	content: '';
	position: absolute;
	left: -40px;
	top: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

.b2b-poll-intro,
.b2b-poll-body { position: relative; z-index: 1; min-width: 0; }

.b2b-poll-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: 'Rubik', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #9fd6f5;
	margin-bottom: 8px;
}
.b2b-poll-tag svg { width: 15px; height: 15px; flex: none; }

.b2b-poll-question {
	font-family: 'Libre Caslon Text', serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	color: #ffffff;
	margin: 0;
	text-wrap: balance;
}

/* --- Vote state --- */
.b2b-poll-vote {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.b2b-poll-option {
	display: block;
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 80px;
	padding: 9px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 19px;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, transform 0.06s ease;
}
.b2b-poll-option:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--link_dark, #025585);
}
.b2b-poll-option:active { transform: translateY(1px); }
.b2b-poll-option:disabled { opacity: 0.6; cursor: wait; }
.b2b-poll-option:disabled:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.45);
	color: #ffffff;
}

/* --- Results state --- */
.b2b-poll-results {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.b2b-poll-result-row { display: flex; flex-direction: column; gap: 4px; }
.b2b-poll-result-label {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
	color: #ffffff;
}
.b2b-poll-result-pct { flex: none; font-variant-numeric: tabular-nums; }
.b2b-poll-result-bar {
	height: 8px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	overflow: hidden;
}
.b2b-poll-result-fill {
	height: 100%;
	min-width: 4px;
	background: #9fd6f5;
	border-radius: 5px;
	transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Leading option reads brightest. */
.b2b-poll-result-row.is-win .b2b-poll-result-fill { background: #ffffff; }

/* --- Desktop: two columns, question beside the options --- */
@media (min-width: 768px) {
	.b2b-poll-card {
		display: grid;
		grid-template-columns: 1.1fr 1fr;
		gap: 22px;
		align-items: center;
		padding: 20px 22px;
	}
	.b2b-poll-question { font-size: 19px; line-height: 26px; }
}
