/* KIT CRATES hub pages (category landing pages) */
.hub-hero{position:relative;background:#000;color:#fff;overflow:hidden;isolation:isolate}
.hub-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5;z-index:-1}
.hub-hero.has-image::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.75));z-index:-1}
.hub-hero__inner{padding-block:clamp(40px,7vw,96px);display:grid;gap:14px;justify-items:start}
.hub-hero.has-image .hub-hero__inner{min-height:min(52vh,460px);align-content:end}
.hub-hero__crumbs{display:flex;gap:10px;font:700 13px/1 var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:#9aa09a}
.hub-hero__crumbs a:hover{color:var(--yellow)}
.hub-hero__title{font-size:clamp(48px,9vw,140px);line-height:.86}
.hub-hero__text{color:#cfd3cf;max-width:56ch;margin:0}
.hub-hero__text p{margin:0}
.hub-hero .btn{margin-top:10px}
.hub__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hub__grid--3{grid-template-columns:repeat(3,1fr)}
.hub__tile{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--radius);background:var(--paper);color:#fff;isolation:isolate}
.hub__grid.has-lead .hub__tile:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
.hub__media{position:absolute;inset:0}
.hub__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.hub__tile:hover .hub__media img{transform:scale(1.05)}
.hub__ph{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(160deg,#2a2d2a,#0b0d0b)}
.hub__tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.78));z-index:1;transition:opacity .3s}
.hub__count{position:absolute;top:12px;left:12px;z-index:2;padding:6px 9px;background:rgba(0,0,0,.7);backdrop-filter:blur(4px);font:700 12px/1 var(--font-display);letter-spacing:.06em;text-transform:uppercase;border-radius:2px}
.hub__label{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px;display:grid;gap:4px}
.hub__label b{font:800 clamp(22px,2vw,30px)/1 var(--font-display);text-transform:uppercase;letter-spacing:.01em;text-wrap:balance}
.hub__label small{font:500 13px/1.3 var(--font-body);color:#d6d9d6}
.hub__grid.has-lead .hub__tile:first-child .hub__label{padding:24px}
.hub__grid.has-lead .hub__tile:first-child .hub__label b{font-size:clamp(30px,3.4vw,48px)}
.hub__arrow{position:absolute;right:12px;bottom:14px;z-index:3;width:38px;height:38px;border-radius:50%;background:var(--yellow);color:#000;display:grid;place-items:center;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}
.hub__arrow svg{width:16px;height:16px;transform:rotate(-90deg)}
.hub__tile:hover .hub__arrow{opacity:1;transform:none}
.hub__tile:hover .hub__label{padding-right:60px}
.hub__label{transition:padding .2s}
.section--dark .hub__tile{background:#1a1c1a}
@media (max-width:1100px){.hub__grid,.hub__grid--3{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.hub-hero__inner{gap:10px}.hub__grid,.hub__grid--3{grid-template-columns:repeat(2,1fr);gap:8px}.hub__grid.has-lead .hub__tile:first-child{grid-column:span 2;grid-row:span 1;aspect-ratio:16/10}.hub__label{padding:12px}.hub__label b{font-size:20px}.hub__arrow{opacity:1;transform:none;width:30px;height:30px;right:10px;bottom:10px}.hub__arrow svg{width:13px;height:13px}.hub__tile .hub__label{padding-right:48px}}
@media (max-width:600px){.hub__count{top:8px;left:8px;padding:5px 7px;font-size:11px}.hub__label small{display:none}.hub__grid.has-lead .hub__tile:first-child .hub__label{padding:14px}.hub__grid.has-lead .hub__tile:first-child .hub__label b{font-size:30px}.hub__grid.has-lead .hub__tile:first-child .hub__label small{display:block}}

/* mobile */
.hub-hero__bg{display:block}
.hub-hero__bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width:900px){
  .hub-hero__inner{padding-block:28px 32px;gap:10px}
  .hub-hero.has-image .hub-hero__inner{min-height:0}
  .hub-hero--m-short.has-image .hub-hero__inner{min-height:min(36svh,300px)}
  .hub-hero--m-medium.has-image .hub-hero__inner{min-height:min(48svh,400px)}
  .hub-hero--m-tall.has-image .hub-hero__inner{min-height:min(64svh,540px)}
  .hub-hero__title{font-size:clamp(44px,13vw,72px)}
  .hub-hero__text{font-size:16px;max-width:none}
  .hub-hero .btn{margin-top:4px;min-height:46px;font-size:17px}
}
