/* Keep the content area transparent so panels show through */
.home .site-content-contain,
.home .site-content { background: transparent !important; }

/* Make panel images feel parallaxy */
.panel-image {
  background-attachment: fixed;  /* desktop only */
  background-size: cover;
  background-position: center;
}

/* Posts list: 1 col on mobile, 2 col grid on desktop with transparent gaps */
#front-posts.front-posts-wrap {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;                     /* transparent space between cards */
}
@media (min-width: 980px) {
  #front-posts.front-posts-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Card style with alternating transparency (interlaced) */
.front-post {
  position: relative;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(110%) blur(2px);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.front-post:nth-child(odd)  { background: rgba(255,255,255,0.78); }
.front-post:nth-child(even) { background: rgba(255,255,255,0.92); }

/* Titles/meta tidy */
.front-post .entry-title { margin: 0 0 .25rem; font-size: 1.35rem; line-height: 1.25; }
.front-post .entry-meta   { opacity: .75; font-size: .9rem; margin-bottom: .5rem; }

/* Upcoming list styling */
.front-upcoming { list-style: none; margin: .5rem 0 0; padding: 0; }
.front-up-item { padding: .4rem 0; border-bottom: 1px dashed rgba(0,0,0,0.08); }
.front-up-date { opacity: .75; }

/* Add a subtle fade so cards feel like they float over panels */
#front-posts.front-posts-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.0), rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0.0));
  z-index: -1;
}
