/* Lars Portfolio polish: category toggles and white portfolio case labels.
   Scoped to Portfolio; retains the grey hover/modal-return outlines. */
body.portfolio-restored .portfolio-gallery > summary,
body.portfolio-restored .portfolio-gallery[open] > summary {
    background: #4da3ed !important;
    border-color: #4da3ed !important;
    color: #ffffff !important;
    font-weight: 750;
    transition: background-color .22s ease, border-color .22s ease;
}
body.portfolio-restored .portfolio-gallery > summary > span {
    color: #ffffff !important;
    font-weight: 750;
}
body.portfolio-restored .portfolio-gallery > summary:hover {
    background: #338fdc !important;
    border-color: #338fdc !important;
}
body.portfolio-restored .portfolio-gallery > summary:focus-visible {
    outline: 3px solid #d3d3d3;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #101316;
}
body.portfolio-restored .portfolio-gallery .p2-case-body > small,
body.portfolio-restored .portfolio-gallery .p2-case-body .p2-case-link,
body.portfolio-restored #portfolio-case-dialog .p2-modal-counter,
body.portfolio-restored #portfolio-case-dialog .p2-modal-brand,
body.portfolio-restored #portfolio-case-dialog .p2-modal-meta strong,
body.portfolio-restored #portfolio-case-dialog .p2-case-accordion summary {
    color: #ffffff !important;
    font-weight: 750 !important;
}
@media (prefers-reduced-motion: reduce) {
  body.portfolio-restored .portfolio-gallery > summary { transition: none; }
}
