/* ============================================================================
   CDP v3.9.39 — Community Card (sidebar) — visual limpo, paleta do tema
   - Sem mais verde WhatsApp #25D366 (destoa)
   - Botão usa dourado do tema (paleta consistente)
   - Ícone WhatsApp permanece (reconhecimento da plataforma)
   - Redes sociais ainda hover na cor nativa (transição rápida no hover)
   ============================================================================ */

.single .cdp-article__rail--right .cdp-community-card {
	background: linear-gradient(160deg, #0A1F4E 0%, #122A66 60%, #0A1F4E 100%);
	border-radius: 12px;
	padding: 14px 16px 16px;
	box-shadow: 0 6px 22px -12px rgba(10, 31, 78, .45);
	color: #fff;
	margin-bottom: 16px;
	border: 1px solid rgba(255, 255, 255, .06);
	position: relative;
	overflow: hidden;
}

.single .cdp-article__rail--right .cdp-community-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at top right, rgba(201, 166, 70, .14), transparent 65%);
	pointer-events: none;
}

.cdp-community-card__eyebrow {
	display: inline-block;
	font-family: var(--csp-sans, system-ui);
	font-size: 10px;
	letter-spacing: .14em;
	font-weight: 700;
	color: #C9A646;
	margin-bottom: 6px;
	line-height: 1;
	text-transform: uppercase;
}

.cdp-community-card__title {
	font-family: var(--csp-serif, Georgia, serif);
	font-size: 14px;
	line-height: 1.3;
	margin: 0 0 12px;
	color: #fff;
	font-weight: 700;
}

/* Botão CTA — paleta do tema (sem verde WhatsApp) */
.cdp-community-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	font-family: var(--csp-sans, system-ui);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	padding: 11px 14px;
	border-radius: 8px;
	text-decoration: none !important;
	border: 1px solid rgba(201, 166, 70, 0.32);
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
	line-height: 1;
	position: relative;
	z-index: 1;
}

.cdp-community-card__cta:hover {
	background: rgba(201, 166, 70, 0.18);
	border-color: rgba(201, 166, 70, 0.7);
	transform: translateY(-1px);
}

.cdp-community-card__cta svg {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	color: #C9A646;
	transition: color .15s ease;
}

/* Ícones sociais — uniformes, hover suave dourado (consistência do tema) */
.cdp-community-card__socials {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 6px;
	margin-top: 10px;
	position: relative;
	z-index: 1;
}

.cdp-community-card__social {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .85) !important;
	border: 1px solid rgba(255, 255, 255, .08);
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
	text-decoration: none !important;
}

.cdp-community-card__social svg { width: 15px; height: 15px; }

.cdp-community-card__social:hover {
	transform: translateY(-1px);
	background: rgba(201, 166, 70, 0.14);
	border-color: rgba(201, 166, 70, 0.55);
	color: #C9A646 !important;
}

/* Alinhamento Enquete ↔ Foto principal (mantido) */
@media (min-width: 981px) {
	.single .cdp-article__rail--right .cdp-rail-widget--poll {
		margin-top: var(--cdp-poll-align-offset, 0px);
		transition: margin-top .2s ease;
	}
}
@media (max-width: 980px) {
	.single .cdp-article__rail--right .cdp-rail-widget--poll { margin-top: 0 !important; }
}
