.term-description.ncr-read-more__content {
	position: relative;
}

.term-description.ncr-read-more__content.ncr-is-collapsed {
	max-height: var(--ncr-preview-height, 650px);
	overflow: hidden !important;
}

.term-description.ncr-read-more__content.ncr-is-collapsed::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 120px;
	background: linear-gradient(
		to bottom,
		color-mix(in srgb, var(--ncr-fade-color, #ffffff) 0%, transparent),
		var(--ncr-fade-color, #ffffff) 88%
	);
	pointer-events: none;
}

/* Fallback for browsers without color-mix support. */
@supports not (color: color-mix(in srgb, white, transparent)) {
	.term-description.ncr-read-more__content.ncr-is-collapsed::after {
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ncr-fade-color, #ffffff) 88%);
	}
}

.term-description.ncr-read-more__content.ncr-is-expanded {
	max-height: none;
	overflow: visible !important;
}

.ncr-read-more__controls {
	position: relative;
	z-index: 2;
	margin: 16px 0 28px;
	text-align: center;
	direction: rtl;
}

.ncr-read-more__controls[hidden] {
	display: none !important;
}

.ncr-read-more__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 190px;
	min-height: 46px;
	padding: 10px 22px;
	border: 1px solid var(--ncr-button-color, #0b6475);
	border-radius: 12px;
	background: var(--ncr-button-color, #0b6475);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	box-shadow: 0 7px 18px rgba(11, 100, 117, 0.18);
	transition: filter 0.2s ease, transform 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ncr-read-more__button:hover {
	color: #ffffff;
	filter: brightness(0.86);
	transform: translateY(-1px);
}

.ncr-read-more__button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ncr-button-color, #0b6475) 28%, transparent);
	outline-offset: 3px;
}

.ncr-read-more__icon {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-top: -4px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transform-origin: center;
	flex: 0 0 auto;
	transition: transform 0.2s ease, margin 0.2s ease;
}

.ncr-read-more__button[aria-expanded="true"] .ncr-read-more__icon {
	margin-top: 4px;
	transform: rotate(-135deg);
}

@media (max-width: 767px) {
	.term-description.ncr-read-more__content.ncr-is-collapsed::after {
		height: 90px;
	}

	.ncr-read-more__button {
		width: min(100%, 230px);
		min-height: 44px;
		padding: 9px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ncr-read-more__button {
		transition: none;
	}

	.ncr-read-more__icon {
		transition: none;
	}
}
