/* ENP Crypto Security — component CSS (dynamic content only).
   Tailwind utility classes are loaded by the theme; this file covers elements
   that can't be expressed with utilities or need variable-driven styling. */

:root {
	--enp-primary: #b8c3ff;
	--enp-secondary: #4edea3;
	--enp-tertiary: #ffb3ad;
	--enp-bg: #131313;
	--editorial-gutter: clamp(1rem, 8vw, 6rem);
}

.enp-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-align: center;
	font-size: 40%;
}
.enp-avatar { font-size: 1.1rem; }

.enp-lead {
	font-size: 1.125rem;
	line-height: 1.6;
	color: #e5e5e5;
	margin: 1.5rem 0;
}

.enp-quote {
	border-left: 3px solid var(--enp-primary);
	padding: 0.25rem 1rem;
	margin: 1.5rem 0;
	color: #a3a3a3;
	font-style: italic;
}

.enp-related {
	margin-top: 3rem;
	padding: 1.5rem;
	background: #0e0e0e;
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 0.5rem;
}
.enp-related h4 {
	margin: 0 0 1rem;
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-weight: 800;
}
.enp-related-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0.5rem;
}
.enp-related-list a {
	color: #d4d4d8;
	text-decoration: none;
	font-size: 0.875rem;
}
.enp-related-list a:hover { color: var(--enp-primary); }

.enp-badge {
	display: inline-block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	background: rgba(184, 195, 255, 0.12);
	color: var(--enp-primary);
	font-weight: 600;
}
.enp-badge-flash-loan        { background: rgba(255, 179, 173, 0.12); color: var(--enp-tertiary); }
.enp-badge-reentrancy        { background: rgba(78, 222, 163, 0.12); color: var(--enp-secondary); }
.enp-badge-oracle-manipulation { background: rgba(184, 195, 255, 0.12); color: var(--enp-primary); }
.enp-badge-private-key       { background: rgba(255, 179, 173, 0.18); color: #ffdad6; }
.enp-badge-rug-pull          { background: rgba(255, 92, 77, 0.15); color: #ffbfbf; }
.enp-badge-bridge-exploit    { background: rgba(255, 200, 87, 0.15); color: #ffd991; }

.enp-table { border-collapse: collapse; }

.enp-chart-lbl {
	fill: #d4d4d8;
	font-family: "Inter", sans-serif;
	font-size: 12px;
}
.enp-chart-val {
	fill: #a3a3a3;
	font-family: "Inter", sans-serif;
	font-size: 11px;
}
.enp-chart-bar rect { transition: opacity 150ms ease; }

.enp-feature-cover { min-height: 160px; }

/* Responsive */
@media (max-width: 768px) {
	.enp-table { font-size: 0.75rem; }
	.enp-table th, .enp-table td { padding: 0.5rem 0.75rem; }
}
