/**
 * KreoRD WordPress Design & Plugin Lab
 * Global frontend layout shell.
 *
 * Prefix: krd-
 * Version: 1.0.0
 */

/* =========================================================
   KreoRD Layout Builder frontend shell
========================================================= */.krd-layout-main {
	width: 100%;
}

.krd-layout-container {
	width: min(100% - 48px, 1180px);
	margin-inline: auto;
}

.krd-layout-content {
	width: 100%;
}

.krd-layout-content > *:first-child {
	margin-top: 0;
}

.krd-layout-content > *:last-child {
	margin-bottom: 0;
}

/* Gutenberg full-width support only when user intentionally chooses full width */
.krd-layout-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Safe default for normal blocks */
.krd-layout-content > *:not(.alignfull) {
	max-width: 100%;
}
