```css
/* Case Unrested — Home polish (safe + readable)
   Replace previous CSS with this.
   Scope: front page only.
*/

/* Ensure readable base */
.home body,
.home .wp-site-blocks,
.home main,
.home .wp-block-post-content,
.home .wp-block-group {
  color: #e9eefc !important;
}

/* Put the dark surface behind the main content (not the header/banner) */
.home main,
.home .wp-site-blocks > main,
.home .wp-block-post-content {
  background: #0b0f16 !important;
}

/* Some themes wrap content in extra containers — cover those too */
.home .wp-site-blocks,
.home .wp-block-template-part,
.home .wp-block-group.alignfull {
  background: transparent !important;
}

/* Improve paragraph contrast (undo “washed out” look) */
.home p,
.home li,
.home .wp-block-latest-posts__post-excerpt,
.home .wp-block-latest-posts__post-date {
  color: rgba(233,238,252,0.82) !important;
}

/* Headings: crisp + visible */
.home h1, .home h2, .home h3,
.home .wp-block-heading {
  color: #f4f7ff !important;
  letter-spacing: -0.01em;
}

/* Links */
.home a {
  color: #a9fff6 !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.home a:hover { opacity: 0.92; }

/* Buttons */
.home .wp-block-button__link {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 750;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #e9eefc !important;
}
.home .wp-block-button__link:hover {
  background: rgba(255,255,255,.10);
}
.home .is-style-outline .wp-block-button__link {
  background: transparent;
}

/* Constrain content width without squishing the banner/header */
.home main .wp-block-group,
.home main .wp-block-columns,
.home main .wp-block-latest-posts {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Latest Posts -> cards */
.home .wp-block-latest-posts {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-left: 0 !important;
}
@media (max-width: 820px) {
  .home .wp-block-latest-posts { grid-template-columns: 1fr; }
}

.home .wp-block-latest-posts > li {
  list-style: none !important;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.home .wp-block-latest-posts__featured-image img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
}

.home .wp-block-latest-posts__post-title a {
  color: #f4f7ff !important;
  font-weight: 850;
  text-decoration: none;
}

/* Separator */
.home hr.wp-block-separator {
  opacity: 0.35;
  margin: 2rem auto;
  max-width: 1100px;
}

/* Avoid “huge empty gaps” if some theme CSS is causing weird layout */
.home .wp-block-latest-posts__post-excerpt {
  margin-top: 10px;
}
css

/* Fix: remove “white bars” top/bottom on homepage */
.home header,
.home footer,
.home .wp-site-blocks,
.home .wp-site-blocks > header,
.home .wp-site-blocks > footer,
.home .wp-site-blocks > * {
  background-color: transparent;
}

/* Force a consistent dark surface behind ALL homepage sections */
.home body,
.home .wp-site-blocks,
.home header,
.home footer {
  background: #0b0f16 !important;
}

/* Footer readability + spacing */
.home footer {
  color: rgba(233,238,252,0.85) !important;
  padding-top: 20px;
  padding-bottom: 24px;
}
.home footer a { color: #a9fff6 !important; }

/* If your theme inserts a spacer block / bar element, neutralise it */
.home .wp-block-spacer,
.home .wp-block-group.alignfull {
  background: transparent !important;
}
```
```css
/* Home hero: put the intro text inside a subtle framed panel */
.home main .wp-block-group.alignfull:first-of-type {
  max-width: 980px;
  margin: 28px auto 18px !important;
  padding: 34px 22px 26px !important;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;

  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Add a faint teal glow so it feels “Case” */
.home main .wp-block-group.alignfull:first-of-type::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(23,208,194,0.18), 0 0 28px rgba(23,208,194,0.08);
}

/* Ensure positioning works for ::before */
.home main .wp-block-group.alignfull:first-of-type {
  position: relative;
}
```
```css
/* Fallback: center ALL Buttons blocks on the homepage */
.home .wp-block-buttons {
  justify-content: center !important;
}
```




