/* Match the reference portfolio layout; changes stay on this page. */
.portfolio-list-page{background:#f4f4f4}
.portfolio-list-page .header{background:#323232!important;height:90px!important;min-height:90px!important;padding:0 3%!important;max-width:none!important;box-shadow:none!important;border:0!important}
.portfolio-list-page .header .brand .company-logo{width:155px!important}
.portfolio-list-page .header nav{border:0!important;margin:0!important;gap:45px!important;width:auto!important}
.portfolio-list-page .header nav>a,.portfolio-list-page .header .nav-pending{color:#fff!important;font-size:17px!important;font-weight:400!important;min-width:0!important;padding:0!important}
.portfolio-list-page .header nav>a:hover{color:#d71920!important;box-shadow:none!important}
.portfolio-list-page .portfolio{width:94%;max-width:none;margin:0 auto;padding:50px 0 90px;border-bottom:0}
.portfolio-list-page .back-link,.portfolio-list-page .portfolio-heading .eyebrow,.portfolio-list-page .portfolio-heading h1 span{display:none}
.portfolio-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:40px;min-height:51px}
.portfolio-list-page .portfolio-heading{text-align:left;padding:0;min-width:0}
.portfolio-list-page .portfolio-heading h1{font-size:34px;line-height:51px;font-weight:600;letter-spacing:-1.36px;margin:0;color:#000}
.portfolio-categories{display:flex;justify-content:flex-end;align-items:center;gap:35px;flex-wrap:wrap;margin:0;padding:0;width:auto;font-size:17px;line-height:17px}
.portfolio-categories a{display:block;padding:0;color:#353535;font-weight:500;white-space:nowrap;line-height:17px;transition:color .2s}
.portfolio-categories a:hover,.portfolio-categories a[aria-current=true]{color:#d71920}
.portfolio-categories a:focus-visible{outline:2px solid #d71920;outline-offset:6px}
#portfolio-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}
.portfolio-category,.portfolio-list-page .portfolio-grid{display:contents}
.portfolio-category>h2,.portfolio-category>p,.portfolio-category .portfolio-empty{display:none}
.portfolio-category[hidden]{display:none!important}
.portfolio-list-page .portfolio-grid>figure{margin:0;min-width:0;background:#fff;border:0;box-shadow:0 0 0 2px #e6e6e6;position:relative;align-self:start}
.portfolio-list-page .portfolio-grid img{display:block;width:100%;height:auto;aspect-ratio:418/285;object-fit:contain;background:#eee}
.portfolio-list-page .binder-detail-link{display:block;overflow:hidden}
.portfolio-list-page .binder-open-label{display:none}
.portfolio-list-page .portfolio-grid figcaption{display:block;margin:0 20px;padding:25px 0 20px;min-height:75px;box-sizing:border-box;font-size:15px;line-height:15px;font-weight:400;overflow-wrap:anywhere}
.portfolio-list-page .portfolio-grid figcaption strong{display:block;font-size:15px;line-height:15px;font-weight:400}
.portfolio-list-page .portfolio-grid figcaption span{display:none}
.portfolio-introduction{margin-top:32px;color:#888}
.portfolio-introduction p{font-size:13px;line-height:1.7;margin:0 0 6px}
.portfolio-introduction .portfolio-note{font-size:12px}
.portfolio-filter-status:empty{display:none}
.portfolio-filter-status{padding:64px 24px;text-align:center;color:#888;background:#fff;border:1px solid #e5e5e5;font-size:16px;line-height:1.7;margin:28px 0 0}
.portfolio-list-page footer{border-top:1px solid #e3e3e3}
.portfolio-list-page footer a[href="#"]{position:fixed;right:5%;bottom:120px;z-index:8;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:12px;background:#3d3d3d;color:#ccc;font-size:0;box-shadow:0 4px 6px #0003}
.portfolio-list-page footer a[href="#"]:before{content:"↑";font-size:36px;font-weight:300}
.portfolio-list-page footer a[href="#"]:focus-visible{outline:2px solid #d71920;outline-offset:4px}
@media(max-width:1000px){.portfolio-list-page .header nav{gap:24px!important}.portfolio-categories{gap:24px}}
@media(max-width:760px){.portfolio-list-page .header{height:auto!important;min-height:90px!important;padding:20px 3%!important;gap:18px!important}.portfolio-list-page .header nav{width:100%!important;justify-content:space-between!important;gap:12px!important}.portfolio-list-page .header nav>a,.portfolio-list-page .header .nav-pending{font-size:14px!important}#portfolio-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.portfolio-list-page .portfolio{padding-top:32px}.portfolio-toolbar{flex-direction:column;gap:16px;margin-bottom:28px}.portfolio-categories{justify-content:flex-start;gap:24px;font-size:15px}.portfolio-list-page .portfolio-heading h1{font-size:28px;line-height:40px}.portfolio-list-page .portfolio-grid figcaption{margin:0 16px;font-size:14px;line-height:1.4}.portfolio-list-page .portfolio-grid figcaption strong{font-size:14px;line-height:1.4}}
@media(max-width:480px){#portfolio-results{grid-template-columns:1fr;gap:28px}.portfolio-categories{gap:20px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.portfolio-categories a{transition:none}}

.portfolio-list-page .portfolio-heading{display:flex;align-items:center;gap:18px}.portfolio-title-character{display:block;width:96px;height:90px;object-fit:contain;flex-shrink:0}.portfolio-toolbar{align-items:center}.portfolio-list-page .portfolio-heading h1{letter-spacing:-1px}@media(max-width:760px){.portfolio-toolbar{align-items:stretch}.portfolio-list-page .portfolio-heading{gap:14px}.portfolio-title-character{width:72px;height:68px}}@media(max-width:380px){.portfolio-list-page .portfolio-heading h1{font-size:25px}.portfolio-title-character{width:64px;height:60px}}

/* Deleted card contents must not reserve a grid column. */
.portfolio-list-page .portfolio-grid>figure[style*="display:none"],.portfolio-list-page .portfolio-grid>figure:has(img[style*="display:none"]):has(figcaption[style*="display:none"]){display:none!important}
