/* Sweet Moments — /blog journal index skin.
   Soft, editorial and personal: cream canvas, Bochan display type,
   script flourishes, gentle pink/gold accents. No heavy shadows —
   consistent with the rest of the site. */

/* ---------- hero ---------- */
.journal-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 168px 20px 84px;   /* 70px fixed header clearance + air */
  text-align: center;
}
.journal-hero::before {
  content: ''; position: absolute; left: -10vw; top: -14vw;
  width: 48vw; height: 48vw;
  background: radial-gradient(closest-side, rgba(221,155,181,.14), rgba(221,155,181,0) 70%);
  pointer-events: none;
}
.journal-leaf {
  position: absolute; right: -9vw; top: 50%;
  transform: translateY(-50%);
  width: 34vw; max-width: 480px;
  opacity: .07;
  pointer-events: none;
}
.journal-title {
  position: relative;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 1.06;
  color: var(--brown);
  letter-spacing: .01em;
}
.journal-flourish {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  font-family: var(--script);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  color: var(--pink);
}
.journal-intro {
  position: relative;
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 18px;
  line-height: 30px;
  color: var(--black);
}
.journal-sign {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 26px;
  font-family: var(--script);
  font-size: 26px;
  color: var(--brown);
}
.journal-sign img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
}

/* ---------- posts area ---------- */
.journal-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 100px;
}

.journal-head {
  display: flex; align-items: center; gap: 22px;
  margin: 0 4px 30px;
}
.journal-head-label {
  flex: 0 0 auto;
  font-family: var(--sans); font-weight: 500;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.journal-head-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
}

/* ---------- featured post card ---------- */
.post-card {
  /* column so the body can take the leftover height and every card's read
     link lands on the same line */
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  transition: transform .28s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
/* Cards: photograph, title, a two-line preview and the read link — no byline,
   date or reading time. The body is a column so every card's link sits on the
   same line across the grid. */
.post-img picture { display: block; }
.post-body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 22px 30px 26px;
}
.post-title {
  font-family: var(--display); font-weight: 400;
  font-size: 28px; line-height: 1.22;
  color: var(--brown);
  margin: 0 0 10px;
}
.post-excerpt {
  margin: 0 0 16px;
  font-size: 15px; line-height: 24px;
  color: var(--black);
}
.post-read {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--sans); font-weight: 500;
  font-size: 14px;
  color: var(--brown);
  border-bottom: 1px solid var(--pink);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.post-card:hover .post-read { color: var(--pink); border-color: var(--brown); }

/* ---------- coming soon card ---------- */
/* With two posts the grid's second row holds only this tile: let it run the
   full width instead of leaving an empty column beside it. */
.journal-grid > .post-soon { grid-column: 1 / -1; }
.post-soon {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  flex: 1;
  min-height: 220px;
  border: 2px dashed var(--line);
  border-radius: 30px;
  padding: 36px 30px;
  background: var(--pinkwash-2);
}
.soon-script {
  font-family: var(--script);
  font-size: 30px;
  color: var(--pink);
}
/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  /* Less air between the introduction and the first card, so the article
     itself starts higher up the phone screen. */
  .journal-hero { padding: 132px 20px 30px; }
  .journal-main { padding: 0 20px 80px; }
  .journal-head { margin: 0 4px 20px; }
  .journal-intro { margin-top: 18px; }
  .journal-sign { margin-top: 18px; }
  .journal-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Previews are a taste on a phone: never more than two lines. */
  .post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 640px) {
  .journal-title { font-size: 44px; }
  .post-body { padding: 20px 22px 22px; }
  .post-title { font-size: 24px; }
  .quote-card { padding: 36px 26px 32px; }
  .quote-text { font-size: 23px; }
}
