/**
 * Dashboard path cards — Gutenberg & Shortcode entry points.
 */

.joc-blockora-morph-app .bm-path-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
	.joc-blockora-morph-app .bm-path-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.35rem;
	}
}

.joc-blockora-morph-app .bm-path-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-height: 14rem;
	overflow: hidden;
	padding: 1.25rem 1.15rem 1.2rem;
	border-radius: 1.35rem;
	border: 1px solid transparent;
	text-align: left;
	cursor: pointer;
	appearance: none;
	font: inherit;
	color: #f4f8fc;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.2) inset,
		0 20px 44px -20px rgba(0, 24, 48, 0.55);
	transition:
		transform 0.35s cubic-bezier(0.2, 0, 0, 1),
		box-shadow 0.35s ease,
		border-color 0.35s ease;
}

@media (min-width: 640px) {
	.joc-blockora-morph-app .bm-path-card {
		min-height: 15.5rem;
		padding: 1.5rem 1.5rem 1.4rem;
	}
}

.joc-blockora-morph-app .bm-path-card__watermark {
	position: absolute;
	right: -8%;
	bottom: -18%;
	width: min(72%, 15.5rem);
	height: auto;
	pointer-events: none;
	z-index: 0;
	opacity: 0.18;
	color: #fff;
	transform: rotate(-8deg);
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0, 0, 1);
}

.joc-blockora-morph-app .bm-path-card__watermark svg {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.joc-blockora-morph-app .bm-path-card__orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	filter: blur(36px);
	opacity: 0.75;
	transition: opacity 0.35s ease, transform 0.45s ease;
}

.joc-blockora-morph-app .bm-path-card__orb--1 {
	width: 12rem;
	height: 12rem;
	top: -4rem;
	right: -3rem;
}

.joc-blockora-morph-app .bm-path-card__orb--2 {
	width: 9rem;
	height: 9rem;
	bottom: -3.5rem;
	left: -2.5rem;
	opacity: 0.5;
}

.joc-blockora-morph-app .bm-path-card > *:not([aria-hidden="true"]) {
	position: relative;
	z-index: 1;
}

/* Gutenberg — electric navy / ice blue */
.joc-blockora-morph-app .bm-path-card--gutenberg {
	background:
		radial-gradient(circle at 88% 12%, rgba(186, 230, 255, 0.55) 0%, transparent 42%),
		radial-gradient(circle at 8% 88%, rgba(37, 99, 235, 0.45) 0%, transparent 45%),
		linear-gradient(145deg, #0b3d6e 0%, #0a4f8c 38%, #123a6b 72%, #071f3a 100%);
	border-color: rgba(186, 230, 255, 0.35);
}

.joc-blockora-morph-app .bm-path-card--gutenberg .bm-path-card__orb--1 {
	background: #7dd3fc;
}

.joc-blockora-morph-app .bm-path-card--gutenberg .bm-path-card__orb--2 {
	background: #3b82f6;
}

.joc-blockora-morph-app .bm-path-card--gutenberg .bm-path-card__icon {
	color: #0b3d6e;
}

.joc-blockora-morph-app .bm-path-card--gutenberg .bm-path-card__cta {
	color: #0b3d6e !important;
}

/* Shortcode — teal / aqua (distinct from Gutenberg) */
.joc-blockora-morph-app .bm-path-card--shortcode {
	background:
		radial-gradient(circle at 12% 18%, rgba(153, 246, 228, 0.45) 0%, transparent 42%),
		radial-gradient(circle at 92% 86%, rgba(14, 165, 233, 0.4) 0%, transparent 48%),
		linear-gradient(145deg, #0f766e 0%, #0e7490 40%, #155e75 72%, #083344 100%);
	border-color: rgba(153, 246, 228, 0.32);
}

.joc-blockora-morph-app .bm-path-card--shortcode .bm-path-card__orb--1 {
	background: #5eead4;
	top: auto;
	bottom: -4rem;
	left: -3rem;
	right: auto;
}

.joc-blockora-morph-app .bm-path-card--shortcode .bm-path-card__orb--2 {
	background: var(--bm-color-secondary-container, #6a6be7);
	top: -3.5rem;
	right: -2.5rem;
	bottom: auto;
	left: auto;
}

.joc-blockora-morph-app .bm-path-card--shortcode .bm-path-card__watermark {
	right: auto;
	left: -6%;
	transform: rotate(8deg);
}

.joc-blockora-morph-app .bm-path-card--shortcode .bm-path-card__icon {
	color: #0f766e;
}

.joc-blockora-morph-app .bm-path-card--shortcode .bm-path-card__cta {
	color: #0f766e !important;
}

.joc-blockora-morph-app .bm-path-card--link:hover {
	transform: translateY(-7px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 28px 56px -18px rgba(0, 24, 48, 0.65);
}

.joc-blockora-morph-app .bm-path-card--link:hover .bm-path-card__watermark {
	opacity: 0.28;
	transform: rotate(-4deg) scale(1.06);
}

.joc-blockora-morph-app .bm-path-card--shortcode.bm-path-card--link:hover .bm-path-card__watermark {
	transform: rotate(4deg) scale(1.06);
}

.joc-blockora-morph-app .bm-path-card--link:hover .bm-path-card__orb {
	opacity: 0.95;
	transform: scale(1.12);
}

.joc-blockora-morph-app .bm-path-card--link:active {
	transform: translateY(-2px) scale(0.99);
}

.joc-blockora-morph-app .bm-path-card--link:focus-visible {
	outline: 2px solid #7dd3fc;
	outline-offset: 3px;
}

.joc-blockora-morph-app .bm-path-card.is-locked {
	opacity: 0.74;
	filter: saturate(0.85);
}

.joc-blockora-morph-app .bm-path-card__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.95rem;
	background: rgba(255, 255, 255, 0.95);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.8) inset,
		0 14px 28px -14px rgba(0, 24, 48, 0.5);
	transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.joc-blockora-morph-app .bm-path-card--link:hover .bm-path-card__icon {
	transform: scale(1.08) rotate(-4deg);
}

.joc-blockora-morph-app .bm-path-card__icon .dashicons {
	font-size: 1.35rem;
	width: 1.35rem;
	height: 1.35rem;
}

.joc-blockora-morph-app .bm-path-card__eyebrow {
	margin: 0.55rem 0 0;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(240, 249, 255, 0.78);
}

.joc-blockora-morph-app .bm-path-card__title {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0, 24, 48, 0.3);
}

.joc-blockora-morph-app .bm-path-card__desc {
	margin: 0;
	max-width: 34ch;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(240, 249, 255, 0.88);
}

.joc-blockora-morph-app .bm-path-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 1.15rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.joc-blockora-morph-app .bm-path-card__meta .bm-badge {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.joc-blockora-morph-app .bm-path-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-left: auto;
	padding: 0.42rem 0.8rem;
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: 0.02em;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 10px 22px -12px rgba(0, 24, 48, 0.55);
	transition: gap 0.2s ease, transform 0.2s ease;
}

.joc-blockora-morph-app .bm-path-card--link:hover .bm-path-card__cta {
	gap: 0.45rem;
	transform: translateX(2px);
}

.joc-blockora-morph-app .bm-path-card__cta .dashicons {
	font-size: 0.95rem;
	width: 0.95rem;
	height: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
	.joc-blockora-morph-app .bm-path-card,
	.joc-blockora-morph-app .bm-path-card__watermark,
	.joc-blockora-morph-app .bm-path-card__orb,
	.joc-blockora-morph-app .bm-path-card__icon,
	.joc-blockora-morph-app .bm-path-card__cta {
		transition: none;
	}

	.joc-blockora-morph-app .bm-path-card--link:hover {
		transform: none;
	}

	.joc-blockora-morph-app .bm-path-card--link:hover .bm-path-card__icon,
	.joc-blockora-morph-app .bm-path-card--link:hover .bm-path-card__watermark {
		transform: none;
	}
}
