/* ==========================================================
   Journal — long-form editorial articles (realtorvini.com/journal/)
   Uses the site palette and fonts from styles.css
   ========================================================== */
.j-hero { padding: 72px 0 0; text-align: center; background: #fff; }
.j-hero .eyebrow a { color: inherit; }
.j-title {
  text-transform: none; letter-spacing: -0.005em; font-weight: 300;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.1;
  max-width: 900px; margin: 0 auto 22px; color: var(--rsg-blue);
}
.j-deck {
  font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: #555;
  max-width: 680px; margin: 0 auto 30px;
}
.j-byline {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  max-width: 680px; margin: 0 auto; padding: 14px 0;
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem; color: var(--color-ink-soft); text-align: left;
}
.j-byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top; }
.j-byline strong { color: var(--color-ink); font-weight: 600; }

.j-lead { max-width: 1100px; margin: 40px auto 0; padding: 0 24px; }
.j-lead img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.j-lead figcaption { font-size: 0.8rem; color: var(--color-ink-soft); margin-top: 8px; }

.j-body { max-width: 680px; margin: 48px auto 0; padding: 0 24px; }
.j-body p { font-size: 1.14rem; line-height: 1.85; color: #333; margin: 0 0 1.3em; }
.j-body .j-first::first-letter {
  float: left; font-family: var(--font-display); font-weight: 300;
  font-size: 4.4em; line-height: 0.85; padding: 6px 12px 0 0; color: var(--rsg-blue);
}
.j-body h2 {
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.14em;
  margin: 2.4em 0 0.9em; color: var(--rsg-blue);
}
.j-quote {
  margin: 2.2em 0; padding: 26px 0; text-align: center;
  border-top: 2px solid var(--rsg-sky); border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; color: var(--rsg-blue);
}
.j-end { text-align: center; color: var(--rsg-sky); letter-spacing: 0.6em; margin: 2.4em 0; font-size: 0.8rem; }

.j-qa { background: var(--color-bg-alt); padding: 30px 28px; margin: 0 0 8px; }
.j-qa h3 { color: var(--rsg-blue); margin-bottom: 18px; }
.j-qa p { font-size: 1rem; line-height: 1.7; color: #444; margin: 0 0 16px; }
.j-qa p strong { display: block; color: var(--color-ink); margin-bottom: 2px; }
.j-note { font-size: 0.85rem !important; font-style: italic; color: var(--color-ink-soft) !important; margin: 18px 0 0 !important; }

.j-author { display: flex; gap: 18px; align-items: flex-start; margin: 36px 0 0; padding-top: 26px; border-top: 1px solid var(--color-border); }
.j-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.j-author p { font-size: 0.98rem !important; line-height: 1.65 !important; color: #555 !important; margin: 0 !important; }
.j-author strong { color: var(--color-ink); }
.j-body .lead-box p { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 0 16px; }
.j-wrap-end { padding-bottom: 72px; }

/* Journal index */
.j-index-hero { padding: 72px 0 40px; text-align: center; border-bottom: 1px solid var(--color-border); }
.j-index-hero h1 { text-transform: none; letter-spacing: -0.005em; color: var(--rsg-blue); }
.j-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 56px 0; }
.j-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.j-feature h2 { text-transform: none; letter-spacing: 0; font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
.j-feature h2 a { color: var(--rsg-blue); }
.j-feature p { color: #555; font-size: 1.05rem; }
.j-meta { font-size: 0.82rem; color: var(--color-ink-soft); }
.j-index-note { text-align: center; padding: 0 0 64px; }
.j-index-note p { margin: 0; }

/* Blog page link card */
.journal-card { border-top: 3px solid var(--rsg-sky); }

@media (max-width: 760px) {
  .j-hero, .j-index-hero { padding-top: 48px; }
  .j-feature { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
  .j-body p { font-size: 1.06rem; }
  .j-lead { padding: 0; }
  .j-lead figcaption { padding: 0 24px; }
}

/* Journal index grid + sources (added by journal_publish.py) */
.j-index-list { padding-bottom: 24px; }
.j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 8px 0 64px; border-top: 1px solid var(--color-border); padding-top: 40px; }
.j-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.j-card h3 { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.25rem; line-height: 1.25; }
.j-card h3 a { color: var(--rsg-blue); }
.j-card p { font-size: 0.95rem; color: #555; margin-bottom: 8px; }
.j-sources { margin: 0 0 28px; }
.j-sources h3 { color: var(--rsg-blue); margin-bottom: 10px; }
.j-sources ul { margin: 0; padding-left: 18px; }
.j-sources li { font-size: 0.9rem; line-height: 1.6; color: #555; margin-bottom: 4px; }
@media (max-width: 900px) { .j-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .j-grid { grid-template-columns: 1fr; } }
