/* EPC Action Items — matches the "Bold Civic" homepage concept. Scoped with .epc- prefix so it won't collide with theme styles. */

.epc-action-grid {
	--epc-navy: #003566;
	--epc-navy-deep: #001d3d;
	--epc-gold: #ffcc00;
	--epc-red: #c8202f;
	--epc-cream: #faf7f0;

	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	font-family: 'DM Sans', Helvetica, Arial, sans-serif;
}

.epc-action-card {
	/* Translucent, not solid — matches the demo by tinting whatever sits behind
	   the card (the dark "Take Action" section) rather than filling with a flat
	   color. Only reads correctly on a dark background; if this shortcode is
	   ever placed on a light section, revert to a solid navy-deep fill instead. */
	background: rgba(255, 255, 255, 0.05);
	color: var(--epc-cream);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 26px;
	transition: transform 0.2s ease, background 0.2s ease;
}
.epc-action-card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.08);
}
.epc-action-card.epc-span2 {
	grid-column: span 2;
}

.epc-tag {
	display: inline-block;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--epc-gold);
	color: var(--epc-navy-deep);
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 14px;
}
.epc-action-card.epc-urgent .epc-tag {
	background: var(--epc-red);
	color: #fff;
}

.epc-action-card h4 {
	font-family: 'DM Serif Display', Georgia, serif;
	font-weight: 400;
	font-size: 1.15rem;
	color: #fff;
	margin: 0 0 8px;
}

.epc-action-card .epc-when {
	font-size: 0.92rem;
	font-weight: 400;
	color: rgba(250, 247, 240, 0.8);
	margin: 0 0 16px;
	line-height: 1.5;
}

.epc-action-card p {
	font-size: 0.92rem;
	color: rgba(250, 247, 240, 0.8);
	margin: 0 0 16px;
	line-height: 1.5;
}

.epc-action-card .epc-link {
	color: var(--epc-gold);
	font-weight: 700;
	text-decoration: none;
	font-size: 0.9rem;
}
.epc-action-card .epc-link:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.epc-action-grid {
		grid-template-columns: 1fr;
	}
	.epc-action-card.epc-span2 {
		grid-column: span 1;
	}
}
