/*
Theme Name: MH Magazine Child – EmmaGad.dk Sidebar Layout
Theme URI: https://www.emmagad.dk/
Description: Child theme for MH Magazine. Adds per-post control of the two MH Magazine sidebar areas without modifying the parent theme.
Author: EmmaGad.dk
Template: mh-magazine
Version: 1.0.0
License: GNU General Public License v2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eg-mh-sidebar-layout
*/

/*
 * The parent theme supplies the normal layout CSS. These rules only add the
 * per-post layouts that MH Magazine does not provide as individual choices.
 */

/* No sidebar: keep the normal MH Magazine content area, but make it full width. */
.egsl-no-sidebar #main-content {
	float: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Reverse two-sidebar layout: Sidebar 2 left, default Sidebar right. */
@media screen and (min-width: 1121px) {
	.egsl-two-reverse .mh-main {
		float: right;
	}

	.egsl-two-reverse .mh-sidebar-2 {
		float: left;
		margin-left: 0;
		margin-right: 1.81%;
	}
}

/* The parent theme already stacks its two-sidebar layout below 1120px. */
@media screen and (max-width: 1120px) {
	.egsl-no-sidebar #main-content {
		float: none;
		width: 100%;
		margin: 0;
	}
}
