/* Keep headings UPPERCASE on all pages except the homepage */
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6,
body:not(.home) .entry-title,
body:not(.home) .page-title,
body:not(.home) .post-title,
body:not(.home) .widget-title,
body:not(.home) .section-title,
body:not(.home) .entry-title span,
body:not(.home) .page-title span {
  text-transform: uppercase !important;
}
/* Standard Quote block (Gutenberg) */
.wp-block-quote,
.entry-content blockquote,
blockquote {
  padding: 10px 16px !important;   /* inner space */
  margin: 0.6em 0 !important;      /* outer space above/below */
}

/* If you ever use the Pullquote block too, keep this: */
.wp-block-pullquote,
.wp-block-pullquote blockquote {
  padding: 10px 16px !important;
  margin: 0.6em auto !important;
}

/* Tighten space between footer widgets (e.g., Social Icons) and the copyright line */

/* 1) Kill bottom margin on the last widget in the footer */
#colophon .widget:last-child,
.site-footer .widget:last-child,
#footer .widget:last-child {
  margin-bottom: 0 !important;
}

/* 2) Remove extra padding/margin on the footer widgets wrapper(s) */
#colophon .footer-widgets,
#colophon .footer-widgets-container,
.site-footer .footer-widgets,
.site-footer .footer-widgets-container,
#footer-widgets,
#footer .footer-widgets {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 3) Social Icons block can add its own margin—flatten it */
.site-footer .wp-block-social-links,
#colophon .wp-block-social-links {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 4) Finally, keep the credit line tight */
#colophon .site-info,
.site-footer .site-info {
  margin-top: 6px !important;
  padding-top: 6px !imp
::contentReference[oaicite:0]{index=0}
/* Safety net: trim any inner footer container padding */
#colophon .footer-inside,
.site-footer .footer-inside {
  padding-bottom: 0 !important;
}
/* Tighten the space between footer widgets and the copyright line */
#colophon .widget,
.site-footer .widget,
.footer-widgets .widget,
.footer-widgets-container .widget {
  margin-bottom: 8px !important;   /* reduce from the big default */
}

.site-footer .wp-block-social-links,
#colophon .wp-block-social-links {
  margin-bottom: 0 !important;     /* the icons block itself */
}

.site-footer .site-info,
#colophon .site-info {
  margin-top: 6px !important;      /* small, neat gap above © line */
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
/* Remove extra space under the Social Icons block only */
.no-gap { 
  margin-bottom: 0 !important; 
  padding-bottom: 0 !important; 
}
/* Middle footer column: tighten last block */
#colophon .footer-widgets .widget-area:nth-child(2) .widget:last-child,
.site-footer .footer-widgets .widget-area:nth-child(2) .widget:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Social Icons in the middle column: remove its own bottom margin */
#colophon .footer-widgets .widget-area:nth-child(2) .wp-block-social-links,
.site-footer .footer-widgets .widget-area:nth-child(2) .wp-block-social-links {
  margin-bottom: 0 !important;
}
/* Middle footer column: tighten last block */
#colophon .footer-widgets .widget-area:nth-child(2) .widget:last-child,
.site-footer .footer-widgets .widget-area:nth-child(2) .widget:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Social Icons in the middle column: remove its own bottom margin */
#colophon .footer-widgets .widget-area:nth-child(2) .wp-block-social-links,
.site-footer .footer-widgets .widget-area:nth-child(2) .wp-block-social-links {
  margin-bottom: 0 !important;
}
/* Middle footer column: tighten last block */
#colophon .footer-widgets .widget-area:nth-child(2) .widget:last-child,
.site-footer .footer-widgets .widget-area:nth-child(2) .widget:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Social Icons in the middle column: remove its own bottom margin */
#colophon .footer-widgets .widget-area:nth-child(2) .wp-block-social-links,
.site-footer .footer-widgets .widget-area:nth-child(2) .wp-block-social-links {
  margin-bottom: 0 !important;
}
/* Middle footer column: tighten last block */
#colophon .footer-widgets .widget-area:nth-child(2) .widget:last-child,
.site-footer .footer-widgets .widget-area:nth-child(2) .widget:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Social Icons in the middle column: remove its own bottom margin */
#colophon .footer-widgets .widget-area:nth-child(2) .wp-block-social-links,
.site-footer .footer-widgets .widget-area:nth-child(2) .wp-block-social-links {
  margin-bottom: 0 !important;
}
/* 1. By default, hide Search + Categories widgets everywhere */
.widget_search,
.widget_categories {
  display: none;
}

/* 2. On the POSTS PAGE ONLY (blog archive, not single posts),
      move the sidebar above the posts and show Search + Categories */

.blog:not(.single) #secondary {
  float: none !important;
  width: 100% !important;
  margin: 0 auto 25px auto !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Display widgets in a row like a filter bar */
.blog:not(.single) #secondary .widget {
  display: inline-block !important;
  margin: 0 20px 10px !important;
  vertical-align: middle !important;
}

/* Show ONLY Search + Categories on the Posts page */
.blog:not(.single) #secondary .widget_search,
.blog:not(.single) #secondary .widget_categories {
  display: inline-block !important;
}

/* Keep other widgets (like your menu) hidden in this filter bar area */
.blog:not(.single) #secondary .widget:not(.widget_search):not(.widget_categories) {
  display: none !important;
}

/* Optional cleanup: nicer category list */
.blog:not(.single) #secondary .widget_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog:not(.single) #secondary .widget_categories li {
  display: inline-block;
  margin: 0 10px;
}
