diff --git a/parts/header-small-dark.html b/parts/header-small-dark.html
index 4dedc5b1..41a1ab28 100644
--- a/parts/header-small-dark.html
+++ b/parts/header-small-dark.html
@@ -1,5 +1,7 @@
-
-
+
+
diff --git a/parts/header.html b/parts/header.html
index dfc07819..31edd6d5 100644
--- a/parts/header.html
+++ b/parts/header.html
@@ -1,15 +1,13 @@
-
-
+
\ No newline at end of file
diff --git a/style.css b/style.css
index 55a199aa..563252df 100644
--- a/style.css
+++ b/style.css
@@ -82,3 +82,42 @@ a:active {
.wp-block-button__link:hover {
opacity: 0.90;
}
+
+/*
+ * Alignment styles.
+ * These rules are temporary, and should not be relied on or
+ * modified too heavily by themes or plugins that build on
+ * Twenty Twenty-Two. These are meant to be a precursor to
+ * a global solution provided by the Block Editor.
+ *
+ * Relevant issues:
+ * https://github.com/WordPress/gutenberg/issues/35607
+ * https://github.com/WordPress/gutenberg/issues/35884
+ */
+
+.wp-site-blocks,
+.is-root-container,
+.edit-post-visual-editor__post-title-wrapper,
+.wp-block-group.alignfull,
+.is-root-container .wp-block[data-align="full"] > .wp-block-group {
+ padding-left: var(--wp--custom--spacing--outer);
+ padding-right: var(--wp--custom--spacing--outer);
+}
+
+.wp-site-blocks .alignfull,
+.is-root-container .wp-block[data-align="full"] {
+ margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
+ margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
+ width: unset;
+}
+
+/* Blocks inside columns don't have negative margins. */
+.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
+.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
+/* We also want to avoid stacking negative margins. */
+.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
+.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
+ margin-left: auto !important;
+ margin-right: auto !important;
+ width: inherit;
+}
diff --git a/templates/404.html b/templates/404.html
index cbc14664..5789a3d7 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/templates/archive.html b/templates/archive.html
index fcaddb4c..66829495 100644
--- a/templates/archive.html
+++ b/templates/archive.html
@@ -1,16 +1,11 @@
-
-
-
-
-
+
-
-
-
-
+
+
+
@@ -18,7 +13,7 @@
@@ -28,8 +23,7 @@
-
-
+
diff --git a/templates/home.html b/templates/home.html
index 722ae02d..09fd36cf 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -1,8 +1,5 @@
-
-
-
@@ -35,7 +32,6 @@
-
-
+
diff --git a/templates/index.html b/templates/index.html
index cdd1d149..2fb468b7 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,8 +1,5 @@
-
-
-
@@ -35,7 +32,6 @@
-
-
+
diff --git a/templates/page-large-header.html b/templates/page-large-header.html
index 33075521..c5218f87 100644
--- a/templates/page-large-header.html
+++ b/templates/page-large-header.html
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/templates/page-no-separators.html b/templates/page-no-separators.html
index f8b4a34b..ef1b65e8 100644
--- a/templates/page-no-separators.html
+++ b/templates/page-no-separators.html
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/templates/page.html b/templates/page.html
index 5cc68e6a..faf34e66 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/templates/single-no-separators.html b/templates/single-no-separators.html
index be12c919..221fc1f5 100644
--- a/templates/single-no-separators.html
+++ b/templates/single-no-separators.html
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/templates/single.html b/templates/single.html
index 08d2f28a..3b102d26 100644
--- a/templates/single.html
+++ b/templates/single.html
@@ -1,7 +1,7 @@
-
-
+
+
diff --git a/theme.json b/theme.json
index 6469b747..8b4c2ba6 100644
--- a/theme.json
+++ b/theme.json
@@ -140,7 +140,8 @@
"spacing": {
"small": "max(1.25rem, 5vw)",
"medium": "clamp(2rem, 8vw, calc(4 * var(--wp--style--block-gap)))",
- "large": "clamp(4rem, 10vw, 8rem)"
+ "large": "clamp(4rem, 10vw, 8rem)",
+ "outer": "var(--wp--custom--spacing--small, 1.25rem)"
},
"typography": {
"font-size": {