/* LLM CTA Accordion (Insights posts) — see include/dt-llm-accordion.php */
.dt-llm-acc {
	--dt-llm-bg: #f3f3f8;
	--dt-llm-bg-open: #ffffff;
	--dt-llm-border: #e4e4ee;
	--dt-llm-text: #1a1a24;
	--dt-llm-muted: #4a4a5a;
	--dt-llm-accent: #ff9f0a;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 24px 0 28px;
}

.dt-llm-acc__item {
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--dt-llm-bg);
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dt-llm-acc__item:hover {
	border-color: var(--dt-llm-border);
}

.dt-llm-acc__item.is-open {
	border-color: var(--dt-llm-border);
	background: var(--dt-llm-bg-open);
	box-shadow: 0 10px 28px rgba(20, 20, 40, 0.07);
}

.dt-llm-acc__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 24px 28px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--dt-llm-text);
	font: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}

.dt-llm-acc__trigger:focus-visible {
	outline: 2px solid var(--dt-llm-accent);
	outline-offset: 2px;
}

.dt-llm-acc__title {
	flex: 1 1 auto;
}

.dt-llm-acc__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--dt-llm-text);
	transition: transform 0.25s ease, color 0.2s ease;
}

.dt-llm-acc__item.is-open .dt-llm-acc__icon {
	transform: rotate(180deg);
	color: var(--dt-llm-accent);
}

.dt-llm-acc__panel[hidden] {
	display: none;
}

.dt-llm-acc__body {
	padding: 0 28px 24px;
	color: var(--dt-llm-muted);
	font-size: 17px;
	line-height: 1.7;
	animation: dtLlmAccIn 0.25s ease;
}

.dt-llm-acc__para {
	margin: 0 0 12px;
}

.dt-llm-acc__para:last-child {
	margin-bottom: 0;
}

.dt-llm-acc__body ul,
.dt-llm-acc__body ol {
	margin: 0 0 12px 22px;
	padding: 0;
	list-style: revert;
}

.dt-llm-acc__body a:not(.dt-llm-acc__btn) {
	color: #c46f00;
	text-decoration: underline;
}

.dt-llm-acc .dt-llm-acc__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 11px 20px;
	border: 0;
	border-radius: 8px;
	background: var(--dt-llm-accent) !important;
	color: #111 !important;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dt-llm-acc .dt-llm-acc__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(255, 159, 10, 0.35);
}

@keyframes dtLlmAccIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.dt-llm-acc__trigger {
		padding: 18px;
		font-size: 17px;
	}

	.dt-llm-acc__body {
		padding: 0 18px 18px;
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dt-llm-acc__body {
		animation: none;
	}
}
