/* ==========================================================================
   Visionarium NYC — Blog
   Structural pattern borrowed from MIT Admissions Blog: a personal voice per
   entry, a compact two-column list of "who wrote it" rather than a photo
   magazine, a byline set in the accent colour, a sidebar author card on the
   post itself. Executed in this site's own material: Literata display,
   paper/deep/teal, no illustrated avatars — a lettered disc where no
   verified portrait exists, a real photograph where one does.
   ========================================================================== */

/* --- Index: "Latest from the program" ------------------------------------ */
.blogindex {
  border-top: 1px solid var(--line);
  margin-top: clamp(2.5rem, 1rem + 3vw, 4rem);
}
@media (min-width: 860px) {
  .blogindex { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 1vw + 1.5rem, 3.5rem); }
  .blogindex::after { content: ''; }
}
.blogrow {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4);
  padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
@media (min-width: 860px) {
  .blogrow:nth-child(odd)  { border-right: 1px solid var(--line); padding-right: clamp(1.5rem, 1vw + 1rem, 2.5rem); }
  .blogrow:nth-child(even) { padding-left: clamp(1.5rem, 1vw + 1rem, 2.5rem); }
}
.blogrow__avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center;
  background: var(--deep); color: var(--mark);
  font-family: var(--display); font-weight: 500; font-size: 1.125rem;
}
.blogrow__avatar img { width: 100%; height: 100%; object-fit: cover; }
.blogrow__body { min-width: 0; }
.blogrow__kind {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mark-ink); margin-bottom: var(--s-2);
}
.blogrow__title {
  font-family: var(--display); font-weight: 500; font-size: 1.1875rem; line-height: 1.3;
  color: var(--ink); transition: color var(--dur) var(--ease);
}
.blogrow:hover .blogrow__title { color: var(--mark-ink); }
.blogrow__dek {
  margin-top: var(--s-1); color: var(--ink-2); font-size: var(--t-small); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blogrow__meta {
  margin-top: var(--s-2); font-size: 0.8125rem; color: var(--ink-3);
}
.blogrow__meta b { color: var(--ink-2); font-weight: 600; }

/* --- Single post ----------------------------------------------------------
   No photographic pagehead here on purpose: the entry is a person talking,
   not a room to sell — the masthead solidifies immediately. */
.post {
  padding-top: calc(96px + clamp(2rem, 1rem + 3vw, 3.5rem));
  padding-bottom: clamp(3rem, 1.5rem + 4vw, 5rem);
}
.post__crumb { font-size: var(--t-small); color: var(--ink-3); }
.post__crumb a { color: var(--ink-3); border-bottom: 1px solid var(--line); }
.post__crumb a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.post__kind {
  margin-top: clamp(1.5rem, 1rem + 1vw, 2rem);
  font-size: var(--t-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mark-ink);
}
.post__title {
  margin-top: var(--s-4);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  max-width: 22ch;
}
.post__byline {
  margin-top: var(--s-4);
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  color: var(--mark-ink);
}
.post__dek {
  margin-top: var(--s-6); max-width: var(--measure);
  font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2);
}
.post__rule {
  margin-top: clamp(1.5rem, 1rem + 1vw, 2rem); padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--t-small); color: var(--ink-3);
}

.post__grid {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
@media (min-width: 980px) { .post__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); } }

.post__shot { margin-bottom: clamp(2rem, 1rem + 2vw, 3rem); overflow: hidden; background: var(--paper-2); }
.post__shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post__body { max-width: var(--measure); color: var(--ink); line-height: 1.75; font-size: var(--t-body); display: grid; gap: var(--s-6); }
.post__body p { margin: 0; }
.post__note { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-3); line-height: 1.6; }

/* Sidebar author card */
.post__aside { display: grid; gap: clamp(2rem, 1rem + 2vw, 3rem); align-content: start; }
.author-card__shot {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--deep); color: var(--mark);
  font-family: var(--display); font-weight: 500; font-size: 2rem;
}
.author-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.author-card__name { margin-top: var(--s-4); font-family: var(--display); font-weight: 500; font-size: var(--t-h3); }
.author-card__role { margin-top: var(--s-1); font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.author-card__bio { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--t-small); line-height: 1.65; }
.author-card__link { margin-top: var(--s-4); font-size: var(--t-small); }
.author-card__link a { color: var(--mark-ink); border-bottom: 1px solid currentColor; text-decoration: none; }

.more-from__title { font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.more-from__list { margin-top: var(--s-4); display: grid; gap: var(--s-4); }
.more-from__list a {
  display: block; font-family: var(--display); font-weight: 500; font-size: 1.0625rem;
  line-height: 1.35; color: var(--ink); text-decoration: none;
}
.more-from__list a:hover { color: var(--mark-ink); }

/* Close band under a post, reusing the site's own action pattern */
.post-close { margin-top: clamp(3rem, 1.5rem + 4vw, 5rem); }
