/* CT Suite — Extra Tabs as separate cards (widget / shortcode). */
.ct-xtabs { display: grid; gap: 20px; grid-template-columns: 1fr; width: 100%; }
.ct-xtabs--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-xtabs--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .ct-xtabs--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .ct-xtabs--cols-2, .ct-xtabs--cols-3 { grid-template-columns: 1fr; } }

.ct-xt-card {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 18px;
	padding: 18px 20px 8px;
	box-shadow: 0 4px 18px rgba(17, 24, 39, .06);
	min-width: 0;
}
.ct-xt-head { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.ct-xt-icon {
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto; width: 1.9em; height: 1.9em; font-size: 18px;
	border-radius: 10px; background: #f3e8ff; color: #7c3aed;
}
.ct-xt-icon svg { width: 1.05em; height: 1.05em; }
.ct-xt-title { margin: 0; padding: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: #111827; }

/* FAQ rows */
.ct-xt-item { border-bottom: 1px solid #eef0f3; }
.ct-xt-item:last-child { border-bottom: 0; }
.ct-xt-item > summary {
	list-style: none; cursor: pointer; display: flex; align-items: center;
	justify-content: space-between; gap: 14px; padding: 14px 0;
	font-size: 15px; line-height: 1.45; color: #1f2937;
}
.ct-xt-item > summary::-webkit-details-marker { display: none; }
.ct-xt-item > summary::marker { content: ""; }
.ct-xt-q { flex: 1 1 auto; min-width: 0; }
.ct-xt-chev {
	position: relative; flex: 0 0 auto; width: 28px; height: 28px;
	border-radius: 50%; background: #eef0f4; transition: background .15s ease;
}
.ct-xt-chev::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
	border-right: 2px solid #4b5563; border-bottom: 2px solid #4b5563;
	transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s ease;
}
.ct-xt-item[open] > summary .ct-xt-chev::after { transform: translate(-50%, -30%) rotate(-135deg); }
.ct-xt-a { padding: 0 0 14px; font-size: 14px; line-height: 1.65; color: #4b5563; }
.ct-xt-a > :first-child { margin-top: 0; }
.ct-xt-a > :last-child { margin-bottom: 0; }

/* Custom content */
.ct-xt-content { padding: 6px 0 12px; font-size: 14px; line-height: 1.7; color: #374151; }
.ct-xt-content > :first-child { margin-top: 0; }
.ct-xt-content > :last-child { margin-bottom: 0; }
.ct-xt-content img { max-width: 100%; height: auto; }

/* Elementor: widget with no data -> hide its whole wrapper (no blank gap) */
.elementor-widget:has(.ct-xt-empty) { display: none !important; }
.elementor-editor-active .elementor-widget:has(.ct-xt-empty) { display: block !important; }
.ct-xt-notice { padding: 12px 14px; border: 1px dashed #c7cbd1; border-radius: 10px; color: #6b7280; font-size: 13px; background: #fafafa; }
