/* ── Category Description Widget ── */
.cd-wrap {
	display: flex;
	align-items: flex-start;
	gap: 30px;
}

/* Text column */
.cd-text {
	flex: 1 1 0;
	min-width: 0;
}

.cd-title {
	margin: 0 0 12px;
}

.cd-desc p {
	margin: 0 0 .5em;
}

.cd-desc p:last-child {
	margin-bottom: 0;
}

/* Override Elementor column layout inside desc */
.cd-desc .elementor-column {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

.cd-desc .elementor-row,
.cd-desc .elementor-top-section > .elementor-container,
.cd-desc [data-element_type="column"],
.cd-desc .elementor-widget-wrap {
	display: block !important;
	width: 100% !important;
}

.cd-desc .elementor-button-wrapper:empty {
	display: none;
}

/* Features list */
.cd-features {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cd-feat-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cd-feat-icon {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #1B2A4A;
}

.cd-feat-text {
	line-height: 1.4;
}

/* Document column: only present when has-doc */
.cd-wrap--has-doc .cd-text {
	flex: 0 0 70%;
	max-width: 70%;
}

.cd-doc {
	flex: 0 0 30%;
	max-width: 30%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	align-self: center;
}

/* Button */
.cd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #1B2A4A;
	color: #ffffff;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 4px;
	font-weight: 600;
	text-align: center;
	transition: background-color .2s;
	white-space: nowrap;
}

.cd-btn:hover {
	background-color: #2d4272;
	color: #ffffff;
}

/* Responsive */
@media (max-width: 767px) {
	.cd-wrap {
		flex-direction: column;
	}

	.cd-wrap--has-doc .cd-text {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.cd-doc {
		flex: 1 1 auto;
		max-width: 100%;
		justify-content: flex-start;
	}
}
