/* Reuse the shared project pills below the personal gallery introduction. */
html[data-gallery="personal"] .masthead {
 height:auto!important;min-height:0;overflow:visible;
 padding:30px 20px 32px;box-sizing:border-box;
}
html[data-gallery="personal"] .masthead p {margin-top:0!important;}
html[data-gallery="personal"] .masthead-buttons {padding-top:0;}
.personal-filter-header .project-categories {margin-bottom:0;}
#leisure-gallery > [hidden],.other-projects[hidden] {display:none!important;}
.personal-results {
 position:absolute;width:1px;height:1px;margin:-1px;padding:0;
 overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;
}
html:root[data-site-shell] body .personal-filter-header .project-category[aria-current="true"] {
 --project-control-fill:#3a3a3a;--category-text:#fff;
}
@media(hover:none),(pointer:coarse) {
 html:root[data-site-shell] body .personal-filter-header .project-categories .project-category:hover:not(:focus-visible) {
  background:var(--project-control-fill,rgb(0 0 0 / 10.7%))!important;
  color:var(--category-text,#111)!important;
 }
}

/* Keep the gallery navigation independent of the header's floated nav. */
#personal-filters {
 float:none;
 width:100%;
 margin-inline:auto;
 padding-inline:0;
}
@media(max-width:540px) {
 #personal-filters {max-width:300px;}
}
