/* NOVA Tabs Widget */

.nova-tabs-widget {
	width: 100%;
}

/* Nav */
.nova-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nova-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	border: none;
	background: none;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.nova-tab-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.nova-tab-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Content */
.nova-tabs-content {
	width: 100%;
}

.nova-tab-panel {
	display: none;
}

.nova-tab-panel.nova-tab-panel-active {
	display: block;
}

.nova-tab-panel-inner {
	display: flex;
	flex-direction: column;
}

/* Transition */
.nova-tab-panel.nova-tab-panel-active {
	animation: novaTabFadeIn 0.25s ease;
}

@keyframes novaTabFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Content elements */
.nova-tab-content-image img {
	max-width: 100%;
	height: auto;
	display: block;
}

.nova-tab-content-icon {
	display: flex;
	align-items: center;
}

.nova-tab-content-link a {
	display: inline-block;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.nova-tab-content-link a:hover {
	opacity: 0.8;
}
