/* V26 consolidated editorial and visual refinements */

/* Body copy: clean justified columns throughout the site. */
main p:not(.eyebrow):not(.book-meta),
.section p:not(.eyebrow),
.entry-card p,
.portfolio-card p,
.moment-copy p,
.foundation-page p,
.books-page .books-opening p,
.books-page .chapter-intro,
.books-page .book-text-card p,
.books-page .progress-list p,
.books-page .books-ending p,
.cta-band p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Life Story: preserve full childhood portrait and use a true landscape view for the three books. */
.moment figure img.childhood-full { object-fit: contain !important; object-position: center top !important; background:#fff; max-height:420px; }
.moment figure img.books-landscape { object-fit: contain !important; width:100%; height:auto; max-height:360px !important; background:#fff; }

/* Career Development: retain the timeline but remove circular milestone markers. */
.professional-timeline .moment:after { display:none !important; content:none !important; }

/* Nested-button cleanup: a card is the frame; its CTA is typography, not another box. */
.portfolio-card .text-cta,
.book-text-card .text-cta {
  appearance:none;
  border:0 !important;
  background:transparent !important;
  color:var(--gold) !important;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 !important;
  margin-top:17px;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  box-shadow:none !important;
}
.portfolio-card .text-cta:hover,
.book-text-card .text-cta:hover { text-decoration:underline; background:transparent !important; color:var(--gold) !important; }
.portfolio-card .text-cta:after,
.book-text-card .text-cta:after { content:" →"; font-size:14px; }

/* Teaching video thumbnail is reusable in the academic teaching record. */
.teaching-video-thumb { width:100%; height:210px; object-fit:cover; object-position:center; margin-top:18px; border:1px solid var(--line); }
.video-thumb-link { display:block; text-decoration:none; }
.video-thumb-link img { transition:transform .18s ease, box-shadow .18s ease; }
.video-thumb-link:hover img { transform:translateY(-2px); box-shadow:0 10px 26px rgba(0,0,0,.10); }

/* Intentional editorial line breaks. */
.books-page .chapter-heading h2,
.books-page .books-transition h2 { text-wrap:balance; }
.books-page .books-transition h2 { max-width:820px; margin-left:auto; margin-right:auto; }

/* Standard return control at the end of every internal page. */
.page-return { padding:38px 0 54px; border-top:1px solid var(--line); background:var(--paper); }
.page-return .wrap { display:flex; justify-content:flex-start; }

@media(max-width:600px){
  main p:not(.eyebrow):not(.book-meta), .section p:not(.eyebrow), .entry-card p, .portfolio-card p, .moment-copy p,
  .foundation-page p, .books-page .books-opening p, .books-page .chapter-intro, .books-page .book-text-card p,
  .books-page .progress-list p, .books-page .books-ending p, .cta-band p { text-align:left; hyphens:none; }
  .teaching-video-thumb { height:auto; }
}
