/* Neutralize the parent theme's customizer-driven logo max-width (sized for the old image logo) */
.header-logo,
.header-logo--front {
	max-width: none !important;
	display: block;
	margin: 0 auto;
}

.morteni-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 20px;
	text-decoration: none;
}

.morteni-logo__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: left;
}

.morteni-logo__line1 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.morteni-logo__line1,
.morteni-logo__line2 {
	color: #ffffff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.morteni-logo__word--comuna {
	margin-left: 6px;
}

.morteni-logo__line2 {
	margin-top: 2px;
	font-size: 18px;
	font-weight: 600;
}

.morteni-logo__stema {
	flex-shrink: 0;
	width: auto;
	height: 64px;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}

@media (max-width: 767px) {
	.morteni-logo {
		flex-direction: column;
		gap: 10px;
	}

	.morteni-logo__text {
		align-items: center;
		text-align: center;
	}

	.morteni-logo__line1 {
		font-size: 20px;
		white-space: normal;
	}

	.morteni-logo__line2 {
		font-size: 13px;
	}

	.morteni-logo__stema {
		height: 48px;
	}
}
