/**
 * JoinEnel mock layout — used by block patterns on theme pages + optional wrappers.
 * Category: JoinEnel in block inserter.
 */

:root {
	--eh-mock-cream: #f9f7f2;
	--eh-mock-ink: #0a1f1e;
	--eh-mock-deep: #002d2d;
	--eh-mock-accent: #5ec5c5;
	--eh-mock-muted: #5c6b69;
}

.eh-mock-dark-hero {
	background: linear-gradient(155deg, #002d2d 0%, #0a1f1e 45%, #0d3d38 100%);
	color: #fff;
	border-radius: 20px;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	margin-bottom: 2rem !important;
	box-shadow: 0 20px 50px rgba(10, 31, 30, 0.18);
}

.eh-mock-dark-hero .eh-mock-hero-title,
.eh-mock-dark-hero h1.eh-mock-hero-title {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: clamp(1.85rem, 4.5vw, 2.75rem);
	line-height: 1.12;
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
	color: #fff !important;
}

.eh-mock-dark-hero .eh-mock-eyebrow,
.eh-mock-dark-hero p.eh-mock-eyebrow {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eh-mock-accent) !important;
	margin-bottom: 0.25rem !important;
}

.eh-mock-dark-hero .eh-mock-hero-lead,
.eh-mock-dark-hero p.eh-mock-hero-lead {
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9) !important;
	max-width: 52ch;
	margin-bottom: 0 !important;
}

.eh-mock-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 1rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.eh-mock-stat {
	text-align: left;
}

.eh-mock-stat__label {
	display: block;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 0.25rem;
}

.eh-mock-stat__value {
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
}

.eh-mock-section {
	margin-bottom: 2.5rem !important;
}

.eh-mock-section .eh-mock-kicker,
.eh-mock-section p.eh-mock-kicker {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0e6b5c !important;
	margin-bottom: 0.35rem !important;
}

.eh-mock-section h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	color: var(--eh-mock-ink);
}

.eh-mock-momentum {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1rem;
	margin-top: 1.25rem;
}

.eh-mock-momentum__cell {
	background: #fff;
	border: 1px solid #e2e8e0;
	border-radius: 14px;
	padding: 1rem 1.1rem;
	text-align: center;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.eh-mock-momentum__n {
	display: block;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 800;
	color: var(--eh-mock-deep);
	line-height: 1;
}

.eh-mock-momentum__l {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--eh-mock-muted);
}

.eh-mock-pillars {
	gap: 1rem !important;
	margin-top: 1rem !important;
}

.eh-mock-pillar,
.eh-mock-pillars .wp-block-column {
	background: #fff;
	border: 1px solid #e2e8e0;
	border-radius: 14px;
	padding: 1.1rem !important;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.eh-mock-pillar h3,
.eh-mock-pillars h3 {
	font-size: 1rem;
	font-weight: 800;
	color: var(--eh-mock-deep);
	margin-top: 0;
	border-bottom: 3px solid var(--eh-mock-accent);
	padding-bottom: 0.35rem;
	display: inline-block;
}

.eh-mock-registry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 0.75rem;
}

.eh-mock-registry-card {
	background: linear-gradient(180deg, #0a1f1e 0%, #002d2d 100%);
	color: #fff;
	border-radius: 16px;
	padding: 1.35rem 1.25rem;
	box-shadow: 0 12px 32px rgba(10, 31, 30, 0.15);
}

.eh-mock-registry-card__badge {
	display: inline-block;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
	background: rgba(94, 197, 197, 0.25);
	color: var(--eh-mock-accent);
	margin-bottom: 0.65rem;
}

.eh-mock-registry-card__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
	color: #fff !important;
}

.eh-mock-registry-card__code {
	font-family: ui-monospace, monospace;
	font-size: 0.8rem;
	color: var(--eh-mock-accent);
	margin: 0 0 0.5rem;
}

.eh-mock-registry-card__desc {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 1rem;
	line-height: 1.45;
}

.eh-mock-registry-card__link {
	font-weight: 700;
	color: var(--eh-mock-accent) !important;
	text-decoration: none;
}

.eh-mock-registry-card__link:hover {
	text-decoration: underline;
}

.eh-mock-modules {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0;
	max-width: 52rem;
}

.eh-mock-modules li {
	padding: 0.55rem 0;
	border-bottom: 1px solid #e2e8e0;
	font-size: 0.95rem;
}

.eh-mock-modules a {
	color: var(--eh-mock-deep);
	font-weight: 700;
	text-decoration: none;
}

.eh-mock-modules a:hover {
	color: #0e6b5c;
}

.eh-mock-muted {
	color: var(--eh-mock-muted);
}

.eh-mock-dark-cta {
	background: linear-gradient(155deg, #002d2d, #0a1f1e);
	color: #fff;
	border-radius: 20px;
	padding: clamp(1.75rem, 4vw, 2.5rem) !important;
	margin-top: 2rem !important;
	margin-bottom: 2rem !important;
	text-align: center;
}

.eh-mock-dark-cta h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	color: #fff !important;
	font-size: clamp(1.25rem, 3vw, 1.85rem);
	margin-bottom: 1.25rem !important;
}

.eh-mock-dark-cta .wp-block-buttons {
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.eh-mock-dark-cta .wp-block-button__link {
	border-radius: 999px !important;
	font-weight: 700 !important;
}

.eh-mock-btn-primary .wp-block-button__link {
	background: var(--eh-mock-accent) !important;
	color: var(--eh-mock-ink) !important;
	border: none !important;
}

.eh-mock-btn-outline .wp-block-button__link,
.eh-mock-dark-cta .is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.45) !important;
}

.eh-mock-card {
	background: #fff;
	border: 1px solid #e2e8e0;
	border-radius: 14px;
	padding: 1.15rem !important;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.eh-mock-card h3 {
	margin-top: 0;
	font-size: 1.05rem;
	color: var(--eh-mock-deep);
}
