/**
 * Mega Menu — Style 1: Classic Bar
 *
 * A clean white bar with a hairline bottom border. Items reveal a centered
 * accent underline on hover / open, and panels are white cards with a soft
 * shadow. The safe default for most headers.
 *
 * @package captain-widgets-kit
 * @since   1.6.0
 */

.captwiki-mega.captwiki-style-1 .captwiki-mega__bar {
	background: #ffffff;
	border-bottom: 1px solid #e6e8ee;
}

.captwiki-mega.captwiki-style-1 .captwiki-mega__link {
	position: relative;
}

.captwiki-mega.captwiki-style-1 .captwiki-mega__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	background: var( --captwiki-mm-accent );
	transform: scaleX( 0 );
	transform-origin: center;
	transition: transform 0.25s ease;
}

.captwiki-mega.captwiki-style-1 .captwiki-mega__link:hover,
.captwiki-mega.captwiki-style-1 .captwiki-mega__item.is-open .captwiki-mega__link {
	color: var( --captwiki-mm-accent );
}

.captwiki-mega.captwiki-style-1 .captwiki-mega__link:hover::after,
.captwiki-mega.captwiki-style-1 .captwiki-mega__item.is-open .captwiki-mega__link::after,
.captwiki-mega.captwiki-style-1.captwiki-mega--hover .captwiki-mega__item--mega:hover .captwiki-mega__link::after {
	transform: scaleX( 1 );
}

.captwiki-mega.captwiki-style-1 .captwiki-mega__panel {
	background: #ffffff;
	border: 1px solid #eceef3;
	border-radius: 14px;
	box-shadow: 0 26px 50px -28px rgba( 17, 24, 39, 0.5 );
}

.captwiki-mega.captwiki-style-1 .captwiki-mega__item--full .captwiki-mega__panel {
	margin-top: 1px;
}
