/*
 * Kvanta5 navbar brand lockup
 */

.kv5-navbar-brand {
	display: inline-flex;
	min-width: 0;
	gap: 0.8rem;
	align-items: center;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.kv5-navbar-brand:hover,
.kv5-navbar-brand:focus {
	color: inherit;
	text-decoration: none;
}

.kv5-navbar-wordmark {
	display: inline-flex;
	position: relative;
	align-items: flex-start;
	line-height: 1;
	letter-spacing: 0.22em;
}

.kv5-navbar-wordmark-text {
	font-size: 0.95rem;
	font-weight: 600;
	color: #f2f5fa;
}

.kv5-navbar-wordmark-five {
	position: relative;
	top: -0.12em;
	margin-left: -0.08em;
	font-size: 0.44rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #1684ff;
}

.kv5-navbar-brand-divider {
	width: 1px;
	height: 1.15rem;
	background: rgba(255, 255, 255, 0.22);
}

.kv5-navbar-tagline {
	font-size: 0.76rem;
	font-weight: 300;
	letter-spacing: 0.025em;
	color: rgba(235, 241, 250, 0.78);
}


/*
 * Keep the complete lockup on normal desktop widths.
 * Hide only the tagline when navbar space becomes tight.
 */

@media (max-width: 767.98px) {
	.kv5-navbar-brand {
		gap: 0;
	}

	.kv5-navbar-brand-divider,
	.kv5-navbar-tagline {
		display: none;
	}
}

/* KV5 NAVBAR READABILITY — START */

.kv5-navbar-wordmark-text {
	font-size: 1.03rem;
}

.kv5-navbar-wordmark-five {
	font-size: 0.54rem;
}

.kv5-navbar-tagline {
	font-size: 0.82rem;
	letter-spacing: 0.035em;
}

.kv5-navbar-brand-divider {
	height: 1.35rem;
}

.navbar .nav-link {
	font-size: 0.95rem;
}

.navbar .nav-link > i {
	font-size: 1rem;
}

/* KV5 NAVBAR READABILITY — END */

/* KV5 NAVBAR FINAL ALIGNMENT — START */

@media (min-width: 768px) {
	/*
	 * The controls remain roughly five pixels inside the card edge.
	 * Move only the collapsible right-side navbar content.
	 */
	#navbarNav {
		transform: translateX(1rem);
	}
}


/*
 * Keep the 5 clearly visible while attaching it tightly to KVANTA.
 */
.kv5-navbar-wordmark-five {
	top: -0.15rem;
	margin-left: -0.20rem;
	font-size: 0.64rem;
	font-weight: 700;
	line-height: 1;
}

/* KV5 NAVBAR FINAL ALIGNMENT — END */

/* KVANTA5 TAGLINE TRADEMARK BEGIN */
.kv5-tagline-tm {
    display: inline-block;
    margin-left: 0.16em;

    font-family: inherit;
    font-size: 0.52em;
    font-weight: 400;
    line-height: 1;

    vertical-align: super;
    position: relative;
    top: -0.08em;

    letter-spacing: 0;
    opacity: 0.84;
}
/* KVANTA5 TAGLINE TRADEMARK END */
