/* Portfolio and case pages. The brand card and close come from home.css, this is only what is theirs. */
.w-all>*:last-child:nth-child(odd){grid-column:auto}
@media(min-width:721px){.w-all>*:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - clamp(6px,.7vw,9px));justify-self:center}}

/* related work on case pages: real cards */
.c13-more .wt.acase.surf{display:flex;flex-direction:column;padding:8px;border-radius:var(--r3);color:var(--chalk);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.c13-more .wt.acase.surf:hover{transform:translateY(-4px)}
.c13-more .wt.acase .i{border-radius:16px;overflow:hidden}
.c13-more .wt.acase .t{padding:14px 10px 12px;text-align:center;justify-content:center}
.c13-more .wt.acase h3{font-size:clamp(18px,1.5vw,21px);line-height:1.24;letter-spacing:-.02em;text-wrap:balance}
@media(max-width:720px){.c13-more .wk.asmall .wt.acase.surf{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px}.c13-more .wt.acase .t{padding:6px 8px 6px 0;text-align:left;justify-content:flex-start}}

/* the link row under related work: real buttons */
.c13-mmoney{margin-top:clamp(18px,2vw,26px)}
.c13-mmoney .btn{white-space:normal;text-align:center}

/* Portal card inside a case: Portal rule, white button */
body .carec.vzb .btn,body .carec.vzb .btn.pri{background:var(--chalk);color:var(--ink);border-color:var(--chalk);box-shadow:0 8px 40px -10px rgba(243,245,240,.5)}
body .carec.vzb .btn:hover{background:#fff;color:var(--ink)}

/* next case at the end of a case: the same real card */
.wt.surf.w-next{display:flex;flex-direction:column;padding:10px;border-radius:var(--r3);color:var(--chalk);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.wt.surf.w-next:hover{transform:translateY(-4px)}
.wt.surf.w-next .i{border-radius:16px;overflow:hidden}
.wt.surf.w-next .t{padding:16px 12px 12px;align-items:center}
.wk:has(>.w-next){max-width:760px;margin-inline:auto}
/* case table header: the tools' 50px .th thumb rule shrank it and hid the second column */
.c13-tbl>.th{width:auto;height:auto;overflow:visible;border-radius:0;background:none;font-size:14.5px;font-weight:600;letter-spacing:0;text-transform:none}
