/**
 * Accordion — Style 3: Minimal Underline
 *
 * No boxes — just generous spacing and a hairline under each item, with an
 * accent underline that grows when an item opens.
 *
 * @package captain-widgets-kit
 * @since   1.7.0
 */

.captwiki-accordion.captwiki-style-3 {
	gap: 0;
}

.captwiki-accordion.captwiki-style-3 .captwiki-accordion__item {
	border-bottom: 1px solid #e2e5f0;
}

.captwiki-accordion.captwiki-style-3 .captwiki-accordion__item::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: var( --captwiki-acc-accent );
	transition: width 0.35s ease;
}

.captwiki-accordion.captwiki-style-3 .captwiki-accordion__item.is-open::after {
	width: 100%;
}

.captwiki-accordion.captwiki-style-3 .captwiki-accordion__button {
	padding-left: 0;
	padding-right: 0;
}

.captwiki-accordion.captwiki-style-3 .captwiki-accordion__button:hover {
	color: var( --captwiki-acc-accent );
}

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

.captwiki-accordion.captwiki-style-3 .captwiki-accordion__content {
	padding-left: 0;
	padding-right: 0;
}

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

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