.category-grid>.category-card:last-child{grid-column:auto}
.category-gallery-cta{grid-column:span 2;display:flex;align-items:center;position:relative;overflow:hidden;padding:clamp(32px,5.5vw,88px);background:linear-gradient(135deg,color-mix(in srgb,var(--blue) 10%,var(--paper)),var(--paper) 80%);border:1px solid color-mix(in srgb,var(--blue) 17%,transparent)}
.category-gallery-cta:before,.category-gallery-cta:after{content:'';position:absolute;right:0;top:0;width:clamp(180px,24vw,390px);aspect-ratio:1;border:1px solid color-mix(in srgb,var(--gold) 28%,transparent);border-radius:50%;transform:translate(46%,-38%);pointer-events:none}
.category-gallery-cta:after{transform:translate(33%,-24%)}
.category-gallery-copy{position:relative;z-index:1;max-width:530px}
.category-gallery-copy .eyebrow{color:var(--gold);margin-bottom:24px}
.category-gallery-copy h3{font-size:clamp(44px,5.3vw,82px);line-height:1.04;margin-bottom:24px}
.category-gallery-copy h3 em{color:var(--muted)}
.category-gallery-copy p{font-size:13px;line-height:1.9;max-width:360px}
.category-gallery-copy .button{margin-top:32px;max-width:100%}
@media(min-width:651px) and (max-width:850px){.category-gallery-cta{padding:32px}.category-gallery-copy .eyebrow{font-size:8px;margin-bottom:18px}.category-gallery-copy h3{font-size:44px;margin-bottom:18px}.category-gallery-copy p{font-size:12px}.category-gallery-copy .button{margin-top:24px;gap:18px}}
@media(max-width:650px){
  .category-gallery-cta{grid-column:1/-1;padding:40px 28px}
  .category-gallery-copy h3{font-size:clamp(44px,9vw,60px)}
  .category-gallery-copy .eyebrow{font-size:8px;margin-bottom:20px}
  .category-gallery-copy p{font-size:12px}
  .category-gallery-copy .button{gap:18px;padding-inline:20px;margin-top:26px}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta{grid-column:auto;min-width:0;padding:clamp(12px,3vw,20px)}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta .category-gallery-copy{width:100%;min-width:0}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta :is(.eyebrow,p){display:none}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta h3{font-size:clamp(27px,7.2vw,42px);margin-bottom:18px}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta .button{display:grid;grid-template-columns:minmax(0,1fr) 14px;align-items:center;width:100%;font-size:11px;line-height:1.4;white-space:normal;gap:4px;padding:12px 6px;margin-top:0;min-height:44px;text-align:left}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta .category-gallery-button-label{min-width:0;overflow-wrap:anywhere}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta .button:focus-visible{outline-offset:2px}
  .has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta .button .icon{width:14px;height:14px;flex-shrink:0}
}
@media(max-width:365px){.has-gallery-cta>.category-card:nth-last-child(2):nth-child(odd)+.category-gallery-cta .button{width:calc(100% + 12px);max-width:none;margin-inline:-6px}}
