/**
 * ArteXenia owner-provided logo.
 *
 * The intrinsic 300 × 140 ratio is reserved in markup and repeated here so
 * regular and sticky header states cannot stretch or shift the image.
 */
body.ax-logo-refresh-active #masthead .custom-logo-link {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	line-height: 0;
	min-height: 0;
	overflow: visible;
	padding: 0 !important;
}

body.ax-logo-refresh-active #masthead .site-branding.ast-site-identity {
	padding-block: 0.25rem !important;
}

body.ax-logo-refresh-active #masthead .custom-logo-link .custom-logo.ax-logo-refresh__image {
	aspect-ratio: 15 / 7;
	background: transparent;
	display: block;
	flex: 0 0 auto;
	height: auto !important;
	max-height: none !important;
	max-width: none !important;
	object-fit: contain;
	transform: none !important;
	transform-origin: center;
	width: 200px !important;
}

@media (min-width: 922px) and (max-width: 1100px) {
	body.ax-logo-refresh-active #masthead .custom-logo-link .custom-logo.ax-logo-refresh__image {
		width: 190px !important;
	}
}

@media (max-width: 921px) {
	body.ax-logo-refresh-active #masthead .custom-logo-link,
	body.ax-logo-refresh-active #masthead .site-logo-img {
		flex: 0 0 auto;
		padding-inline-end: 0 !important;
	}

	body.ax-logo-refresh-active #masthead .custom-logo-link .custom-logo.ax-logo-refresh__image {
		width: 155px !important;
	}
}

@media (max-width: 360px) {
	body.ax-logo-refresh-active #masthead .custom-logo-link .custom-logo.ax-logo-refresh__image {
		width: 145px !important;
	}
}
