.category-text {
	margin-top: 1.5rem;
}

.category-text [data-ct-body]:not(.ct-ready):not(.is-collapsed) {
	visibility: hidden;
}

.category-text__body img {
	max-width: 100%;
	height: auto;
}

.category-text__body.is-collapsed {
	position: relative;
	max-height: 250px;
	overflow: hidden;
}

.category-text__body.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 150px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--ct-fade, #fff) 90%);
	pointer-events: none;
}

.category-text__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	margin-top: .85rem;
	padding: .5rem 1.15rem;
	border: 1px solid #d8d8d8;
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	font-weight: 600;
	font-size: .875rem;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.category-text__toggle[hidden] {
	display: none !important;
}

.category-text__toggle:hover {
	background: #f4f4f4;
	border-color: #c4c4c4;
}

.category-text__toggle:focus-visible {
	outline: 2px solid #1e5bdb;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.category-text__body.is-collapsed {
		max-height: 150px;
	}

	.category-text__body.is-collapsed::after {
		height: 110px;
	}
}
