/* G6M_LOGO_V827 — forum logo = exact site .site-logo (logov6).
   Site: width 280px; height auto; max-height none.
   Beats V370 height:62px clamp that shrunk logov6 visually.
*/

:root {
	--g6m-forum-logo-home: V827;
	--g6m-hs-logo-w: 280px !important;
	--g6m-hs-logo-h: auto !important;
	--g6m-hs-header-h: 108px !important;
}

html#XF,
html body {
	--g6m-hs-logo-w: 280px !important;
	--g6m-hs-logo-h: auto !important;
	--g6m-hs-header-h: 108px !important;
}

/* Header row tall enough for logov6 @ 280px wide (~93px tall) */
html#XF body .p-header,
html body .p-header {
	min-height: 108px !important;
	height: auto !important;
	max-height: none !important;
}

html#XF body .p-header-inner,
html body .p-header-inner {
	min-height: 108px !important;
	height: auto !important;
	max-height: none !important;
	align-items: center !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

html#XF body .p-header-logo,
html#XF body .p-header-logo a,
html body .p-header-logo,
html body .p-header-logo a {
	display: flex !important;
	align-items: center !important;
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
}

/* Exact site homepage box — theme.css .site-logo */
html#XF body .p-header-logo img.g6m-site-logo,
html#XF body .p-header .g6m-site-logo,
html#XF body img.g6m-site-logo:not(.g6m-site-logo--compact),
html#XF body .g6m-site-logo:not(.g6m-site-logo--compact),
html body .p-header-logo img.g6m-site-logo,
html body .p-header .g6m-site-logo,
html body img.g6m-site-logo:not(.g6m-site-logo--compact),
html body .g6m-site-logo:not(.g6m-site-logo--compact),
html body .site-logo {
	display: block !important;
	width: 280px !important;
	min-width: 280px !important;
	max-width: 280px !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: left center !important;
}

/* Sticky / compact nav — scaled like site mobile (180 wide) */
html#XF body .p-nav-smallLogo img.g6m-site-logo,
html#XF body .p-nav .g6m-site-logo--compact,
html#XF body .p-nav img.g6m-site-logo,
html body .p-nav-smallLogo img.g6m-site-logo,
html body .p-nav .g6m-site-logo--compact,
html body .p-nav img.g6m-site-logo {
	width: 180px !important;
	min-width: 0 !important;
	max-width: 180px !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
}

@media (max-width: 639px) {
	:root,
	html#XF,
	html body {
		--g6m-hs-logo-w: 180px !important;
		--g6m-hs-header-h: 72px !important;
	}

	html#XF body .p-header,
	html body .p-header,
	html#XF body .p-header-inner,
	html body .p-header-inner {
		min-height: 72px !important;
		height: auto !important;
	}

	html#XF body .p-header-logo img.g6m-site-logo,
	html#XF body .p-header .g6m-site-logo,
	html#XF body img.g6m-site-logo:not(.g6m-site-logo--compact),
	html body .p-header-logo img.g6m-site-logo,
	html body .p-header .g6m-site-logo,
	html body img.g6m-site-logo:not(.g6m-site-logo--compact),
	html body .site-logo {
		width: 180px !important;
		min-width: 180px !important;
		max-width: 180px !important;
		height: auto !important;
		max-height: none !important;
	}
}
