/* Readable Experience and Works controls on the homepage.
   Load after home-font-scale.css. Preserve the existing About, sidebar,
   publication typography, colors, logos and intrinsic masonry layout. */
.home-profile .page__content .experience-card .experience-name {
  font-size: 17px;
  line-height: 1.4;
}
.home-profile .page__content .experience-card p.experience-role,
.home-profile .page__content .experience-card p.experience-summary {
  font-size: 16px;
  line-height: 1.5;
}
.home-profile .page__content .experience-card p.experience-date {
  font-size: 14.5px;
  line-height: 1.5;
}
.home-profile .page__content .work-filters {
  gap: 9px;
}
.home-profile .page__content .work-filters button {
  /* Match the 18px Works paper titles, including the category labels. */
  font-size: 18px;
  min-height: 46px;
  padding: 9px 14px;
  line-height: 1.35;
}
.home-profile .page__content .work-filters button span {
  font-size: 18px;
}
.home-profile .page__content .work-note {
  font-size: 16px !important;
  line-height: 1.55;
}
.home-profile .page__content .work-first-key {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
/* Keep the 16px contribution legend readable on phones. */
@media (max-width: 640px) {
  .home-profile .page__content .work-note { font-size: 16px !important; }
}

/* Works: subdued supporting copy stays visibly smaller than paper titles. */
.home-profile .page__content .home-works h1 { font-size: clamp(22px, 2.2vw, 25px); }
.home-profile .page__content .work-group-title { font-size: 16px; }
.home-profile .page__content .work-topic-count { font-size: 12px; }
.home-profile .page__content .work-details { font-size: 16px; }
.home-profile .page__content .work-details h3 { font-size: 17px; }
.home-profile .page__content .work-authors { font-size: 14px; }
.home-profile .page__content .work-description { font-size: 15px !important; }
.home-profile .page__content .work-contribution { font-size: 14.5px; }
.home-profile .page__content .work-resource-label { font-size: 14px; }
.home-profile .page__content .work-book-caption__title { font-size: 15px; }
.home-profile .page__content .work-book-caption__school { font-size: 11px; }
.home-profile .page__content .work-media-hint { font-size: 15px; }
.home-profile .work-lightbox p { font-size: 14px; }

@media (min-width: 621px) and (max-width: 1100px) {
  .home-profile .page__content .work-book-caption__title { font-size: 13px; }
}
@media (max-width: 640px) {
  .home-profile .page__content .home-works h1 { font-size: 23px; }
  .home-profile .page__content .work-filters button { font-size: 18px; }
  .home-profile .page__content .work-note { font-size: 16px !important; }
  .home-profile .page__content .work-group-title { font-size: 16px; }
  .home-profile .page__content .work-details { font-size: 15.5px; }
  .home-profile .page__content .work-details h3 { font-size: 16.5px; }
  .home-profile .page__content .work-authors { font-size: 13.5px; }
  .home-profile .page__content .work-description { font-size: 14.5px !important; }
  .home-profile .page__content .work-book-caption__title { font-size: 16px; }
}

/* Consistent Works publication text: 18px body, 16px author list. */
/* All paper card copy uses one size; the author line is the sole smaller tier.
   Filter controls now match paper titles; the contribution legend remains 16px. */
.home-profile .page__content .home-works .work-group-title,
.home-profile .page__content .home-works .work-details,
.home-profile .page__content .home-works .work-details h3,
.home-profile .page__content .home-works .work-meta,
.home-profile .page__content .home-works .work-venue,
.home-profile .page__content .home-works .work-links,
.home-profile .page__content .home-works .work-links a,
.home-profile .page__content .home-works .work-contribution {
  font-size: 18px;
}
.home-profile .page__content .home-works .work-description {
  font-size: 18px !important;
}
.home-profile .page__content .home-works .work-authors {
  font-size: 16px;
}
