.nervonl-phase-widget {
	max-height: var(--nervonl-max-height, 900px);
	overflow: hidden;
}

.nervonl-phase-widget:not(.is-height-limited) {
	max-height: none;
	overflow: visible;
}

.nervonl-phase-grid {
	display: flex;
	align-items: flex-start;
}

.nervonl-phase-card {
	flex: 1 1 33.333%;
	min-width: 0;
	position: relative;
	transition: margin-top var(--nervonl-expand-duration, 350ms) ease, opacity var(--nervonl-expand-duration, 350ms) ease;
}

.nervonl-phase-widget[data-click-to-open="yes"] .nervonl-phase-card {
	cursor: pointer;
}

.nervonl-phase-widget[data-click-to-open="yes"] .nervonl-phase-eye {
	display: none !important;
}

.nervonl-phase-card + .nervonl-phase-card {
	margin-left: calc(var(--nervonl-column-offset, -20px) * -1);
}

.nervonl-phase-card-inner {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: var(--nervonl-card-min-height, 280px);
	padding: 34px 40px;
	background: #ffffff;
	border: 1px solid var(--e-global-color-primary, #2d6e94);
}

.nervonl-phase-close {
	position: absolute;
	right: 18px;
	bottom: 16px;
	z-index: 20;
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: #ffffff;
	color: var(--e-global-color-primary, #245876);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.nervonl-phase-card.is-open .nervonl-phase-close {
	display: flex;
}

.nervonl-phase-close:hover,
.nervonl-phase-close:focus {
	background: var(--e-global-color-primary, #245876);
	color: #ffffff;
}

.nervonl-phase-corner-banner {
	position: absolute;
	top: 18px;
	right: -62px;
	width: 200px;
	padding: 8px 0;
	background-color: var(--e-global-color-accent, #1e73be);
	text-align: center;
	transform: rotate(45deg);
	transform-origin: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	pointer-events: none;
}

.nervonl-phase-corner-banner-text {
	display: block;
	padding: 0 10px;
	color: var(--e-global-color-secondary, #ffffff);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nervonl-phase-heading {
	display: flex;
	align-items: center;
	gap: 20px;
}

.nervonl-phase-title {
	margin: 0;
	color: var(--e-global-color-primary, #111111);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: 52px;
	line-height: 1.05;
	font-weight: 700;
}

.nervonl-phase-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--e-global-color-accent, #f43434);
	font-size: 36px;
	flex-shrink: 0;
}

.nervonl-phase-title-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: var(--e-global-color-accent, #ef3138);
	color: var(--e-global-color-secondary, #fff);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

.nervonl-phase-intro,
.nervonl-phase-detail-text {
	margin-top: 30px;
	color: var(--e-global-color-text, #111111);
	font-family: var(--e-global-typography-text-font-family, inherit);
	font-size: 22px;
	line-height: 1.35;
}

.nervonl-phase-intro {
	font-weight: 400;
}

.nervonl-phase-detail-text {
	font-weight: 400;
}

.nervonl-phase-intro a,
.nervonl-phase-detail-text a {
	color: var(--e-global-color-accent, #245876);
	text-decoration: underline;
}

.nervonl-phase-intro a:hover,
.nervonl-phase-intro a:focus,
.nervonl-phase-detail-text a:hover,
.nervonl-phase-detail-text a:focus {
	color: var(--e-global-color-primary, #245876);
}

.nervonl-phase-intro p,
.nervonl-phase-detail-text p {
	margin: 0 0 0.8em;
}

.nervonl-phase-intro p:last-child,
.nervonl-phase-detail-text p:last-child {
	margin-bottom: 0;
}

.nervonl-phase-detail-text ul,
.nervonl-phase-detail-text ol {
	margin: 0 0 0.8em;
	padding: 0;
}

.nervonl-phase-detail-text ul:last-child,
.nervonl-phase-detail-text ol:last-child {
	margin-bottom: 0;
}

.nervonl-phase-detail-text li {
	display: list-item;
	list-style-position: inside;
	margin: 0.15em 0;
}

.nervonl-phase-detail-text ul > li {
	list-style-type: disc;
}

.nervonl-phase-detail-text ol > li {
	list-style-type: decimal;
}

.nervonl-phase-detail-text li::marker {
	color: currentColor;
	font-size: 0.85em;
}

.nervonl-phase-detail {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height var(--nervonl-expand-duration, 350ms) cubic-bezier(0.22, 1, 0.36, 1), opacity var(--nervonl-expand-duration, 350ms) ease;
}

.nervonl-phase-card.is-open .nervonl-phase-detail {
	max-height: var(--nervonl-content-height, 500px);
	opacity: 1;
	margin-top: 20px;
}

.nervonl-phase-highlight-wrap {
	margin-top: auto;
	padding-top: 24px;
	max-height: 180px;
	opacity: 1;
	overflow: hidden;
	transform: translateY(0);
	transition: opacity var(--nervonl-expand-duration, 350ms) ease, transform var(--nervonl-expand-duration, 350ms) ease, max-height var(--nervonl-expand-duration, 350ms) ease, padding-top var(--nervonl-expand-duration, 350ms) ease;
}

.nervonl-phase-highlight {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	background: var(--e-global-color-secondary, #f1f1f1);
	border-radius: 16px;
	color: inherit;
	text-decoration: none;
}

.nervonl-phase-highlight-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--e-global-color-accent, #ef3138);
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

.nervonl-phase-highlight-icon .e-font-icon-svg,
.nervonl-phase-highlight-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nervonl-phase-highlight-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.nervonl-phase-highlight-title {
	display: block;
	color: var(--e-global-color-accent, #bf1e2e);
	font-family: var(--e-global-typography-accent-font-family, inherit);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.nervonl-phase-highlight-subtext {
	display: block;
	color: var(--e-global-color-primary, #111111);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.nervonl-phase-card.is-open .nervonl-phase-highlight-wrap {
	max-height: 0;
	opacity: 0;
	padding-top: 0;
	transform: translateY(-10px);
	pointer-events: none;
}

.nervonl-phase-button {
	display: inline-block;
	margin-top: 22px;
	padding: 12px 24px;
	background: var(--e-global-color-accent, #ef3138);
	color: var(--e-global-color-secondary, #fff);
	text-decoration: none;
	font-weight: 700;
	border-radius: 14px;
}

.nervonl-phase-button:hover,
.nervonl-phase-button:focus {
	color: var(--e-global-color-secondary, #fff);
	background: var(--e-global-color-primary, #245876);
}

.nervonl-phase-eye {
	position: absolute;
	right: 22px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--e-global-color-text, #476c85);
	font-size: 34px;
}

.nervonl-phase-card.has-highlight .nervonl-phase-eye {
	bottom: 108px;
}

.nervonl-phase-card.is-open.has-highlight .nervonl-phase-eye {
	bottom: 16px;
}

.nervonl-phase-eye .e-font-icon-svg,
.nervonl-phase-eye svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nervonl-phase-title-icon.elementor-icon {
	line-height: 1;
}

@media (max-width: 1366px) {
	.nervonl-phase-title {
		font-size: 40px;
	}

	.nervonl-phase-intro,
	.nervonl-phase-detail-text {
		font-size: 18px;
	}

	.nervonl-phase-highlight-subtext {
		font-size: 17px;
	}
}

@media (max-width: 991px) {
	.nervonl-phase-title {
		font-size: 32px;
	}

	.nervonl-phase-intro,
	.nervonl-phase-detail-text {
		font-size: 17px;
	}

	.nervonl-phase-highlight-subtext {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.nervonl-phase-widget {
		max-height: none !important;
		overflow: visible !important;
	}

	.nervonl-phase-grid {
		display: block;
	}

	.nervonl-phase-card {
		margin: 20px 0 !important;
	}

	.nervonl-phase-card + .nervonl-phase-card {
		margin-left: 0;
	}

	.nervonl-phase-card-inner {
		min-height: auto;
		padding: 24px;
	}

	.nervonl-phase-title {
		font-size: 28px;
	}

	.nervonl-phase-corner-banner {
		width: 150px;
		top: 14px;
		right: -44px;
	}

	.nervonl-phase-title-icon {
		font-size: 28px;
	}

	.nervonl-phase-intro,
	.nervonl-phase-detail-text {
		margin-top: 16px;
		font-size: 16px;
	}

	.nervonl-phase-eye {
		font-size: 24px;
	}

	.nervonl-phase-highlight-wrap {
		padding-top: 18px;
	}

	.nervonl-phase-highlight {
		padding: 12px 14px;
		border-radius: 14px;
		gap: 10px;
	}

	.nervonl-phase-highlight-icon {
		font-size: 18px;
	}

	.nervonl-phase-highlight-title {
		font-size: 12px;
	}

	.nervonl-phase-highlight-subtext {
		font-size: 15px;
	}

	.nervonl-phase-card.has-highlight .nervonl-phase-eye {
		bottom: 94px;
	}

	.nervonl-phase-card.is-open.has-highlight .nervonl-phase-eye {
		bottom: 16px;
	}
}
