/* Reuse TABU type, colors and existing full-size portfolio viewer. */
.works-page{--gallery-bg:#242322;--gallery-ink:#eee7e1;--gallery-muted:#d1c7c1;--gallery-rose:#d6a3ad;background:var(--gallery-bg);color:var(--gallery-ink)}
.works-page .seo-header{border-color:#625751}.works-page .seo-breadcrumbs{color:var(--gallery-muted);margin:12px 0 8px}.works-page a:hover{color:var(--gallery-rose)}.works-page .seo-brand img{background:#faf7f4;padding:2px}.works-page h1{max-width:none;margin:0 0 14px;font-size:clamp(29px,4vw,52px)}.works-page .seo-related a{color:var(--gallery-rose)}
.works-message{font-size:13px;color:var(--gallery-rose)}.works-message:empty{display:none}.works-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;align-items:start}.works-item{margin:0;min-width:0}.works-photo{display:block;min-height:44px}.works-photo picture,.works-photo img{display:block;width:100%;height:auto}.works-photo img{background:#292625;border:1px solid #9e858180;border-radius:2px}.works-item figcaption{font-size:12px;line-height:1.6;color:var(--gallery-muted);margin-top:12px}.works-empty{color:var(--gallery-muted);padding:24px 0}
@media(max-width:1000px){.works-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}}@media(max-width:600px){.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.works-item figcaption{font-size:11px}.works-page .seo-header>.seo-book{width:100%}.works-page h1{margin-bottom:10px}}

/* Editorial img height:auto must not override the established full-size viewer. */
.works-page .tabu-photo__image{width:100%;height:100%;max-height:100%;object-fit:contain}
