/**
 * Dermikann announcement — integrated in header top utility bar (navy).
 */

.header-top-bar {
	display: block;
}

.header-top-bar__inner {
	position: relative;
}

.header-top-bar .dk-annc {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	font-size: 13px;
	font-weight: 500;
	color: #fff;
	max-width: 60%;
	overflow: visible;
	font-family: 'Outfit', system-ui, sans-serif;
	line-height: 1.4;
}

.header-top-bar .dk-annc__link {
	color: #a7cfee;
	font-weight: 600;
	text-decoration: none;
	margin-left: 5px;
	position: relative;
	display: inline;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: left bottom;
	padding-bottom: 2px;
	transition: color 0.2s ease, background-size 0.28s ease;
}

.header-top-bar .dk-annc__link:hover,
.header-top-bar .dk-annc__link:focus-visible {
	color: #d4ebfa;
	background-size: 100% 1px;
}

.header-top-bar .dk-annc__link:focus-visible {
	outline: 2px solid #a7cfee;
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.header-top-bar {
		min-height: 40px;
		padding: 0;
		box-sizing: border-box;
	}

	.header-top-bar__inner {
		flex-direction: column;
		justify-content: center !important;
		gap: 0;
		align-items: center;
		min-height: 40px;
		width: 100%;
		box-sizing: border-box;
	}

	.header-top-bar .dk-annc {
		position: static;
		transform: none;
		max-width: 100%;
		white-space: normal;
		text-align: center;
		font-size: 13px;
		line-height: 1.3;
		order: -1;
	}
}
