/* Targeted subpage layout repairs; shared content.css/kami-pages.css own the base design. */
/* Accent text is limited to member groups and article chapters, not page titles. */
body.sub{--sub-heading-accent:color-mix(in srgb,var(--accent) 55%,var(--ink))}
.sub .sub-members__group>h2,.sub .sub-articles__chapter>h2{color:var(--sub-heading-accent)}
/* Remove the repeated chapter frame while keeping its type scale and spacing below. */
.sub .sub-articles__chapter>h2{padding:0;border:0;background:none}
/* Public PROJECT canonical image, introduction and saved period. */
.sub .sub-project__summary{display:flex;flex-direction:column;gap:12px;min-width:0;overflow-wrap:anywhere}
.sub .sub-project__summary h3,.sub .sub-project__summary p{margin:0}
.sub .sub-project__summary .sub-project__description{line-height:1.75}
.sub .sub-project__summary .sub-project__period{padding-top:12px;font-size:14px;font-weight:600;color:var(--ink);line-height:1.6}
.sub .sub-project__cta{display:block;padding-top:4px}
.sub .sub-project-view__image{min-width:0;margin-block:24px 32px}
.sub .sub-project-view__image img{display:block;width:100%;height:auto;max-height:none;background:none}
.sub .sub-project-view__intro{overflow-wrap:anywhere}
.sub .sub-project-view__overview{min-width:0;overflow-wrap:anywhere}
/* Shared member columns are defined by the member page's colgroup. */
.sub.sub-members .sub-data-table{table-layout:fixed}
/* Keep the repaired date column wide enough for complete saved date ranges. */
.sub .sub-history__events{grid-template-columns:minmax(160px,max-content) minmax(0,1fr);gap:16px 28px}
.sub .sub-history__events dt{white-space:nowrap}
@media(max-width:768px){
 .sub .sub-history__events{grid-template-columns:minmax(0,1fr);gap:6px}
 .sub .sub-history__events dt{white-space:normal;overflow-wrap:anywhere}
}
