/*
Theme Name: Wanium Child
Theme URI: http://www.themelogi.com/themes/wanium
Description: A child theme of Wanium Theme
Author: THEMELOGI
Author URI: http://www.themelogi.com
Version: 1.0.0
Template: wanium
*/

/*
 * Wanium integration for pages/posts whose content contains a StoryEngine
 * shortcode. Keep this in the child theme, not in the portable plugin.
 */
body.rse-story-mounted .main-container > section[id^="page-"],
body.rse-story-mounted .main-container > section[id^="post-"] {
	padding-block: 0 !important;
}

/* The story supplies its own title/hero. */
body.rse-story-mounted .main-container > .page-title {
	display: none;
}

/* Remove Wanium's content-container gutters; StoryEngine supplies its own. */
body.rse-story-mounted .main-container > section[id^="page-"] > .container,
body.rse-story-mounted .main-container > section[id^="post-"] > .container {
	width: 100%;
	max-width: none;
	padding-inline: 0;
}

body.rse-story-mounted .main-container > section[id^="page-"] > .container > .row,
body.rse-story-mounted .main-container > section[id^="post-"] > .container > .row {
	margin-inline: 0;
}

body.rse-story-mounted .main-container .post-content {
	padding-inline: 0;
}
