/* Responsive overrides (added 2026-09-30). Desktop layout (>960px) is unchanged. */
/* former footer <h1>, keep its original look */
#footer p.footer-seo { margin-bottom: 0; font-size: 1em; }
.textwidget .widget-p-heading { margin: 0; }

@media (max-width: 960px) {
	html, body { overflow-x: hidden; }
	img { max-width: 100%; height: auto; }
	.content iframe, .content embed, .content object, .content video { max-width: 100%; }
	#header-inner, #showcase-inner, #mid-inner, #footer-inner, #nav, #navlist {
		width: auto; max-width: 100%;
	}
	#header-inner, #mid-inner, #footer-inner { padding-left: 10px; padding-right: 10px; }
	#header, #header-inner { height: auto; }
	#nav { position: static; float: none; }
	#navlist { float: none; height: auto; }
	#search { position: static; margin: 8px 0; }
	#logo, #logo-text { float: none; width: auto; max-width: 100%; }
	#social { display: none; }

	#showcase-inner { height: auto; text-align: center; }
	.showcase-post { float: none; display: inline-block; margin: 10px 5px 0; max-width: 100%; }

	#content, #content.wide, #sidebar1, #sidebar2 {
		float: none; display: block; width: auto; max-width: 100%; margin-left: 0; margin-right: 0;
	}
	#sidebar1, #sidebar2 { margin-top: 30px; }
	#footer-credits, #footer-meta { width: auto; }
	.content table { max-width: 100%; }
	.content pre { white-space: pre-wrap; }
}
