/* Golvbiten globala småfix 2026-11-14: toprad-kontrast, mobillogga, sidfot. */
#top-header,
#top-header a,
#top-header #et-info,
#top-header #et-info a,
#top-header #et-info-phone,
#top-header #et-info-email,
#et-secondary-menu a {
	color: #111 !important;
}

/* Skydd mot horisontell overflow; grundorsaken åtgärdas i sidfoten nedan. */
html {
	overflow-x: clip;
}

@media (max-width: 980px) {
	#main-header .logo_container {
		display: flex !important;
		align-items: center;
		justify-content: flex-start;
		visibility: visible !important;
		overflow: hidden;
	}
	#main-header .logo_container a {
		display: flex !important;
		align-items: center;
		height: 100% !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		position: relative !important;
		top: auto !important;
		transform: none !important;
		visibility: visible !important;
	}
	#main-header .logo_container img,
	#main-header #logo,
	#logo {
		display: block !important;
		min-width: 110px !important;
		width: auto !important;
		height: auto !important;
		max-height: 52px !important;
		margin: 0 !important;
		visibility: visible !important;
		filter: none !important;
	}

	/* Sidfotskolumner under varandra (Divi 5 flex-rad stackade inte på telefon). */
	.et-l--footer .et_pb_section,
	#main-footer .et_pb_section {
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box !important;
	}
	.et-l--footer .et_pb_row,
	.et-l--footer .et_flex_row,
	#main-footer .et_pb_row,
	#main-footer .et_flex_row {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box !important;
	}
	.et-l--footer img:not(.uc-sigill-img),
	#main-footer img:not(.uc-sigill-img) {
		max-width: 100%;
		height: auto;
	}
	.et-l--footer .et_pb_column,
	#main-footer .et_pb_column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* Officiellt UC-sigill i sidfoten (uc.se).
 * max-width:80px gjorde den liggande SVG:n bara 18 px hög och oläslig.
 * Kolumnerna staplas redan; håll höjden ca 80 px och bredden inom kolumnen. */
.et-l--footer .uc-sigill-wrap,
.et-l--footer .uc-sigill-link,
#main-footer .uc-sigill-wrap,
#main-footer .uc-sigill-link {
	max-width: 280px !important;
	width: auto !important;
}
.et-l--footer .uc-sigill-img,
#main-footer .uc-sigill-img,
#main-footer img[src*="SIGILL"],
#main-footer img[src*="sigill"],
#et-footer-nav img[src*="SIGILL"],
#footer-bottom img[src*="SIGILL"],
#footer-bottom img[src*="sigill"],
.et-l--footer img[src*="SIGILL"],
.et-l--footer img[src*="sigill"] {
	max-width: 280px !important;
	width: auto !important;
	height: auto !important;
	max-height: 80px !important;
	min-height: 0 !important;
}

/* Dölj det lösa extra-sigillet under sidfoten (2026-07-09-PNG). Behåll sidfotens officiella. */
.gb-footer-uc {
	display: none !important;
}
