/* Search and contact have their own content; the homepage profile stays out of them. */
body.search-page:not(.person-detail) #app>.sidebar .sidebar-bottom{display:none!important}
/* An opened lecture uses the homepage menu face and weight. */
body.lecture-page #app>.sidebar .primary>a{font-weight:300}
body.lecture-page #app>.sidebar .primary>a:is(:hover,:focus-visible){font-weight:500}
/* Individual news and archives share the Work-aligned heading treatment. */
.news-page{margin-top:var(--news-page-offset,0px);padding-top:0!important}
.news-page .page-heading h1{margin:0;font-family:var(--work-font-family,"Helvetica Now Display","Helvetica Neue",Helvetica,Arial,sans-serif);font-size:var(--work-font-size,36px);font-weight:500;line-height:var(--work-line-height,1.25);letter-spacing:var(--work-letter-spacing,-.025em)}
/* Work names remain black; homepage titles sample the photograph beneath them. */
[data-image-caption]{--image-caption-ink:#000;--image-caption-halo:transparent!important;mix-blend-mode:normal!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important}
[data-image-caption],[data-image-caption] :is(h2,span,p){color:#000!important;-webkit-text-fill-color:#000!important;text-shadow:none!important;background:transparent!important}
body.split-gallery [data-image-caption],body.split-gallery [data-image-caption] :is(h2,span,p){color:var(--image-caption-ink)!important;-webkit-text-fill-color:var(--image-caption-ink)!important}
body.split-gallery [data-image-caption][data-contrast-fallback]{mix-blend-mode:difference!important;--image-caption-ink:#fff!important}
.work-overview-rail .work-preview-squares>.work-preview-item:not(.work-preview-entry),.work-overview-rail .work-preview-item>.work-preview-caption{background:transparent!important;box-shadow:none}
.work-overview-rail .work-preview-caption h2{font-size:12px;line-height:1.35}
/* Home is a pointer label, never a filled tooltip anchored beneath the whole graphic. */
body .has-home-label::after{content:none!important;display:none!important}
.home-cursor-label{position:fixed;z-index:250;pointer-events:none;transform:translateX(-50%);font:400 12px/1.4 Inter,Arial,sans-serif;letter-spacing:0;white-space:nowrap;color:var(--site-link);background:transparent;border:0;padding:0;margin:0;box-shadow:none}
.home-cursor-label[hidden]{display:none}
.object-actions-project{margin:48px 0 24px}
.object-actions-project+.project-extra{margin-top:24px}
/* Discipline actions use the same blue interaction as the other editorial links. */
.discipline-enquiry a:is(:hover,:focus-visible,:active),.discipline-pagination a:is(:hover,:focus-visible,:active){color:var(--site-link)!important}
.discipline-action-row{display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);align-items:start;gap:24px;margin-top:var(--category-space,64px)}
.discipline-action-row>.discipline-enquiry{grid-column:2;margin:0;align-items:center;text-align:center;justify-content:flex-start;min-width:0}
.discipline-action-row>.discipline-pagination{grid-column:3;margin:0;align-self:start;justify-self:end;justify-content:flex-end;min-width:0;text-align:right}
.discipline-action-row .object-email-action{align-items:center;text-align:center}
.discipline-action-row .object-email-action>a{justify-content:center}
.category-description-body>.objects-note{margin-top:32px}
@media(max-width:620px){.discipline-action-row{grid-template-columns:minmax(0,1fr) minmax(0,40%) minmax(0,1fr);column-gap:12px}.discipline-action-row>.discipline-pagination a{gap:.3em}}
/* The text below the homepage's editorial moments shares OMI blue. */
.split-gallery .objects-moment .portal-label{font-size:1rem}
/* All three stories occupy one measured grid cell, preserving the footer's height. */
.project-news-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}
.project-latest-news .project-news-heading h2{margin:0}
.project-news-rotation{display:grid;min-width:0}
.project-news-panel{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease}
.project-news-panel.is-current{opacity:1;visibility:visible;pointer-events:auto}
@media(prefers-reduced-motion:reduce){.project-news-panel{transition:none}}

/* Blue belongs to textual links; descriptions keep their established colour. */
.split-gallery .news-card a:not(.news-portal),.split-gallery .objects-moment .portal-label,.split-gallery .objects-moment .object-email-action>a{color:var(--site-link)!important}
.home-latest-news{min-width:0;width:100%}
.home-latest-news .news-card{width:100%;margin:0}

/* The collection link follows the featured entries at the same row interval. */
.category-page{--selected-project-gap:24px}
.category-selected-editorial .selected-project-links{display:flex;flex-direction:column;align-items:flex-start;gap:var(--selected-project-gap)}
.category-selected-editorial .selected-name-row{width:100%;margin:0}
.category-selected-editorial .category-see-all{margin:0}
.discipline-action-row:empty{display:none}
/* Keep See all in the same selected-project column, including an empty selection. */
.category-selected-editorial:not(:has(>h2)){grid-template-columns:minmax(0,calc(var(--category-detail-start) - var(--category-space))) minmax(0,1fr)}
.category-selected-editorial>.selected-project-links{grid-column:2}
/* A compact information/action row, with the copyright centred beneath it. */
body.category-page #main>footer.category-footer{
 --discipline-circle-gap:clamp(160px,14vw,240px);
 display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);
 align-items:start;column-gap:clamp(24px,4vw,64px);row-gap:var(--discipline-circle-gap);
 margin-top:var(--discipline-circle-gap);padding:0 0 35px
}
.category-footer>.objects-note{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;padding:0;max-width:350px;min-width:0}
.category-footer>.objects-note h2{margin:0 0 4px;font:400 18px/1.2 Arial,Helvetica,sans-serif;letter-spacing:-.025em}
.category-footer>.objects-note p{margin:0;font:400 13px/1.35 Arial,Helvetica,sans-serif}
.category-footer>.objects-note .shop-link{display:block;margin-top:0;font:400 12px/1.4 Arial,Helvetica,sans-serif}
.category-footer>.discipline-enquiry{grid-column:2;grid-row:1;margin:0;display:flex;align-items:center;justify-content:flex-start;text-align:center;min-width:0}
.category-footer>.discipline-pagination{grid-column:3;grid-row:1;margin:0;align-self:start;justify-self:end;justify-content:flex-end;text-align:right;min-width:0}
#main footer.category-footer>.collective-mark{grid-column:2;grid-row:2;align-self:start;justify-self:center;margin:0}
#main footer.category-footer>.collective-mark:only-child{grid-row:1}
@media(max-width:620px){
 .category-selected-editorial:not(:has(>h2)){grid-template-columns:1fr}
 .category-selected-editorial>.selected-project-links{grid-column:1}
 body.category-page #main>footer.category-footer{--discipline-circle-gap:clamp(112px,24vw,160px);grid-template-columns:minmax(0,1fr) minmax(0,40%) minmax(0,1fr);column-gap:12px;row-gap:40px}
 .category-footer>.objects-note{grid-column:1/-1;grid-row:2;max-width:350px}
 .category-footer>.discipline-pagination a{gap:.3em}
 #main footer.category-footer>.collective-mark{grid-row:3;margin-top:calc(var(--discipline-circle-gap) - 40px)}
 #main footer.category-footer:not(:has(>.objects-note))>.collective-mark{grid-row:2}
 #main footer.category-footer>.collective-mark:only-child{grid-row:1;margin-top:0}
}
