/* LoveWall — public wall page.
   Hero + responsive masonry grid on a subtle off-white background.
   Card visuals come from base.css (.t-card / .v-card / .stars). */

body {
  background: #fafafa;
}

/* Embed mode: transparent, chrome-free, sits inside a host iframe. */
body.embed {
  background: transparent;
}

/* ---------- Layout ---------- */
.wall {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

body.embed .wall {
  padding: 12px 12px 16px;
}

/* ---------- Hero ---------- */
.wall-hero {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.wall-hero h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.wall-hero p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

/* CTA: inline-width override of the full-width .btn-primary. */
.wall-cta {
  display: inline-block;
  width: auto;
  padding: 15px 28px;
}

/* ---------- Masonry grid ---------- */
.wall-grid {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.wall-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Server-rendered source order; JS moves these into columns. */
.wall-source {
  display: none;
}

/* When JS is unavailable, still show cards stacked in order. */
.wall-source[hidden] {
  display: none;
}

.wall-grid .t-card,
.wall-grid .v-card {
  width: 100%;
}

/* ---------- Responsive tightening ---------- */
@media (max-width: 640px) {
  .wall {
    padding: 40px 16px 56px;
  }

  .wall-hero h1 {
    font-size: 32px;
  }

  .wall-hero p {
    font-size: 16px;
  }

  .wall-grid {
    gap: 16px;
  }

  .wall-col {
    gap: 16px;
  }
}
