diff --git a/varia/404.php b/varia/404.php
index 9d552bc85..3e8bcb3d7 100755
--- a/varia/404.php
+++ b/varia/404.php
@@ -20,7 +20,7 @@ get_header();
+
diff --git a/varia/sass/layout/_structure.scss b/varia/sass/layout/_structure.scss
index 8cf6760ce..fd649bd4e 100644
--- a/varia/sass/layout/_structure.scss
+++ b/varia/sass/layout/_structure.scss
@@ -85,6 +85,7 @@
*/
.site-footer > *,
.site-main > article > *, // apply vertical margins to article level
+.site-main > .not-found > *, // apply vertical margins to article level
.entry-content > *,
[class*="inner-container"] > *,
.widget-area > * {
@@ -113,6 +114,7 @@
.site-header > *,
.entry-header > *,
.post-thumbnail > *,
+.page-content > *,
.comment-content > *,
.author-bio > * {
margin-top: map-deep-get($config-global, "spacing", "unit");
diff --git a/varia/style-rtl.css b/varia/style-rtl.css
index 26b61ed5c..bb4467708 100644
--- a/varia/style-rtl.css
+++ b/varia/style-rtl.css
@@ -768,6 +768,7 @@ footer {
*/
.site-footer > *,
.site-main > article > *,
+.site-main > .not-found > *,
.entry-content > *,
[class*="inner-container"] > *,
.widget-area > * {
@@ -778,6 +779,7 @@ footer {
@media only screen and (min-width: 560px) {
.site-footer > *,
.site-main > article > *,
+ .site-main > .not-found > *,
.entry-content > *,
[class*="inner-container"] > *,
.widget-area > * {
@@ -788,6 +790,7 @@ footer {
.site-footer > *:first-child,
.site-main > article > *:first-child,
+.site-main > .not-found > *:first-child,
.entry-content > *:first-child,
[class*="inner-container"] > *:first-child,
.widget-area > *:first-child {
@@ -796,6 +799,7 @@ footer {
.site-footer > *:last-child,
.site-main > article > *:last-child,
+.site-main > .not-found > *:last-child,
.entry-content > *:last-child,
[class*="inner-container"] > *:last-child,
.widget-area > *:last-child {
@@ -809,6 +813,7 @@ footer {
.site-header > *,
.entry-header > *,
.post-thumbnail > *,
+.page-content > *,
.comment-content > *,
.author-bio > * {
margin-top: 16px;
@@ -818,6 +823,7 @@ footer {
.site-header > *:first-child,
.entry-header > *:first-child,
.post-thumbnail > *:first-child,
+.page-content > *:first-child,
.comment-content > *:first-child,
.author-bio > *:first-child {
margin-top: 0;
@@ -826,6 +832,7 @@ footer {
.site-header > *:last-child,
.entry-header > *:last-child,
.post-thumbnail > *:last-child,
+.page-content > *:last-child,
.comment-content > *:last-child,
.author-bio > *:last-child {
margin-bottom: 0;
diff --git a/varia/style.css b/varia/style.css
index 4bc3f0082..42eb6172e 100644
--- a/varia/style.css
+++ b/varia/style.css
@@ -768,6 +768,7 @@ footer {
*/
.site-footer > *,
.site-main > article > *,
+.site-main > .not-found > *,
.entry-content > *,
[class*="inner-container"] > *,
.widget-area > * {
@@ -778,6 +779,7 @@ footer {
@media only screen and (min-width: 560px) {
.site-footer > *,
.site-main > article > *,
+ .site-main > .not-found > *,
.entry-content > *,
[class*="inner-container"] > *,
.widget-area > * {
@@ -788,6 +790,7 @@ footer {
.site-footer > *:first-child,
.site-main > article > *:first-child,
+.site-main > .not-found > *:first-child,
.entry-content > *:first-child,
[class*="inner-container"] > *:first-child,
.widget-area > *:first-child {
@@ -796,6 +799,7 @@ footer {
.site-footer > *:last-child,
.site-main > article > *:last-child,
+.site-main > .not-found > *:last-child,
.entry-content > *:last-child,
[class*="inner-container"] > *:last-child,
.widget-area > *:last-child {
@@ -809,6 +813,7 @@ footer {
.site-header > *,
.entry-header > *,
.post-thumbnail > *,
+.page-content > *,
.comment-content > *,
.author-bio > * {
margin-top: 16px;
@@ -818,6 +823,7 @@ footer {
.site-header > *:first-child,
.entry-header > *:first-child,
.post-thumbnail > *:first-child,
+.page-content > *:first-child,
.comment-content > *:first-child,
.author-bio > *:first-child {
margin-top: 0;
@@ -826,6 +832,7 @@ footer {
.site-header > *:last-child,
.entry-header > *:last-child,
.post-thumbnail > *:last-child,
+.page-content > *:last-child,
.comment-content > *:last-child,
.author-bio > *:last-child {
margin-bottom: 0;
diff --git a/varia/template-parts/content/content-none.php b/varia/template-parts/content/content-none.php
index d7bcd26ea..4a023f271 100755
--- a/varia/template-parts/content/content-none.php
+++ b/varia/template-parts/content/content-none.php
@@ -16,7 +16,7 @@
-