/**
 * Accordion — Style 2: Separated Cards
 *
 * Each item is its own raised card with a gap in between; the open card
 * lifts slightly and picks up an accent edge.
 *
 * @package captain-widgets-kit
 * @since   1.7.0
 */

.captwiki-accordion.captwiki-style-2 .captwiki-accordion__item {
	background: #ffffff;
	border: 1px solid #e9ebf3;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba( 17, 24, 39, 0.06 );
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.captwiki-accordion.captwiki-style-2 .captwiki-accordion__item:hover {
	box-shadow: 0 10px 24px rgba( 17, 24, 39, 0.1 );
}

.captwiki-accordion.captwiki-style-2 .captwiki-accordion__item.is-open {
	border-color: color-mix( in srgb, var( --captwiki-acc-accent ) 45%, transparent );
	box-shadow: 0 14px 30px rgba( 17, 24, 39, 0.12 );
	transform: translateY( -2px );
}

.captwiki-accordion.captwiki-style-2 .captwiki-accordion__item.is-open .captwiki-accordion__button {
	color: var( --captwiki-acc-accent );
}

.captwiki-accordion.captwiki-style-2 .captwiki-accordion__indicator {
	color: #9ca3af;
}

.captwiki-accordion.captwiki-style-2 .captwiki-accordion__item.is-open .captwiki-accordion__indicator {
	color: var( --captwiki-acc-accent );
}
