/* Garages Master | tl-home-types.css
   Homepage part 3 (sections/home-types.liquid), ported from sections/home_parts/types.py CSS
   (REF home.css). Every selector is scoped under the section root .tl-home-types.
   Bento: 2-Post 2x2 (xl), 4-Post wide, Scissor + Parking medium, four compact tiles below; hover/focus
   lifts the tile (soft shadow) and the red rail on its left edge rises to full height. Then the
   equipment strip (five links with icons and counts). */
.tl-home-types .tl-types__g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(296px,auto)) auto;gap:16px}
.tl-home-types .tl-types__c{display:flex;min-width:0}
.tl-home-types .tl-types__c--xl{grid-column:1/3;grid-row:1/3}
.tl-home-types .tl-types__c--wide{grid-column:3/5;grid-row:1}
.tl-home-types .tl-types__t{position:relative;display:flex;flex-direction:column;width:100%;min-width:0;overflow:hidden;border:1px solid var(--tl-line);border-radius:var(--tl-r);background:var(--tl-paper);transition:transform .2s var(--tl-ease),box-shadow .2s var(--tl-ease),border-color .2s}
.tl-home-types .tl-types__t::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--tl-red);transform:scaleY(.22);transform-origin:50% 100%;transition:transform .24s var(--tl-ease);z-index:1}
.tl-home-types .tl-types__t:hover,.tl-home-types .tl-types__t:focus-visible{transform:translateY(-3px);box-shadow:var(--tl-shadow-lg);border-color:var(--tl-line-strong)}
.tl-home-types .tl-types__t:hover::before,.tl-home-types .tl-types__t:focus-visible::before{transform:scaleY(1)}
.tl-home-types .tl-types__img{position:relative;display:block;flex:1 1 auto;min-height:0}
.tl-home-types .tl-types__img img{position:absolute;left:0;top:0;width:100%;height:100%;padding:22px 26px 6px;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s var(--tl-ease)}
.tl-home-types .tl-types__t:hover .tl-types__img img{transform:scale(1.03)}
.tl-home-types .tl-types__img .tl-placeholder-svg{position:absolute;left:0;top:0;width:100%;height:100%;background:transparent}
.tl-home-types .tl-types__tx{display:grid;gap:6px;padding:12px 24px 22px}
.tl-home-types .tl-types__nm{font-family:var(--tl-f-display);font-stretch:100%;font-weight:800;font-size:clamp(19px,1.6vw,23px);line-height:1.12;letter-spacing:-.012em;color:var(--tl-ink)}
.tl-home-types .tl-types__m{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;font-size:14px;color:var(--tl-ink-3)}
.tl-home-types .tl-types__n .tl-num{font-weight:650;color:var(--tl-ink-2)}
.tl-home-types .tl-types__p .tl-price{font-size:15px}
.tl-home-types .tl-types__go{position:absolute;right:16px;top:16px;color:var(--tl-ink);background:var(--tl-paper)}
.tl-home-types .tl-types__t:hover .tl-types__go,.tl-home-types .tl-types__t:focus-visible .tl-types__go{background:var(--tl-red);border-color:var(--tl-red);color:var(--tl-ink)}
.tl-home-types .tl-types__c--xl .tl-types__img img{padding:44px 44px 8px}
.tl-home-types .tl-types__c--xl .tl-types__tx{padding:8px 32px 30px}
.tl-home-types .tl-types__c--xl .tl-types__nm{font-size:clamp(24px,2.5vw,34px)}
.tl-home-types .tl-types__c--xl .tl-types__m{font-size:15px}
.tl-home-types .tl-types__c--xl .tl-types__p .tl-price{font-size:19px}
.tl-home-types .tl-types__c--wide .tl-types__t{flex-direction:row-reverse;align-items:stretch}
.tl-home-types .tl-types__c--wide .tl-types__img{flex:1 1 56%}
.tl-home-types .tl-types__c--wide .tl-types__img img{padding:26px 58px 22px 8px}
.tl-home-types .tl-types__c--wide .tl-types__tx{flex:0 0 44%;align-content:end;padding:24px 8px 24px 28px}
.tl-home-types .tl-types__c--wide .tl-types__nm{font-size:clamp(21px,2vw,27px)}
.tl-home-types .tl-types__c--sm .tl-types__t{flex-direction:row;align-items:center;min-height:104px}
.tl-home-types .tl-types__c--sm .tl-types__img{flex:0 0 96px;height:96px}
.tl-home-types .tl-types__c--sm .tl-types__img img{padding:10px 6px 10px 14px}
.tl-home-types .tl-types__c--sm .tl-types__tx{flex:1 1 auto;min-width:0;gap:4px;padding:14px 16px 14px 8px}
.tl-home-types .tl-types__c--sm .tl-types__nm{font-size:17px;font-stretch:96%;font-weight:700}
.tl-home-types .tl-types__c--sm .tl-types__m{font-size:13px;gap:0 10px}
.tl-home-types .tl-types__c--sm .tl-types__p .tl-price{font-size:14px}
.tl-home-types .tl-types__eq{display:flex;align-items:stretch;margin-top:16px;border:1px solid var(--tl-line);border-radius:var(--tl-r);background:var(--tl-paper-2);overflow:hidden}
.tl-home-types .tl-types__eh{flex:0 0 172px;display:flex;align-items:center;padding:18px 22px;color:var(--tl-ink-3);border-right:1px solid var(--tl-line)}
.tl-home-types .tl-types__el{flex:1 1 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--tl-line)}
.tl-home-types .tl-types__el li{display:flex;background:var(--tl-paper)}
.tl-home-types .tl-types__e{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:12px 16px;transition:background .16s var(--tl-ease)}
.tl-home-types .tl-types__e:hover{background:var(--tl-red-tint)}
.tl-home-types .tl-types__ei{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:var(--tl-r-sm);border:1px solid var(--tl-line);color:var(--tl-red);background:var(--tl-paper)}
.tl-home-types .tl-types__ei .tl-ic{width:20px;height:20px}
.tl-home-types .tl-types__et{display:grid;gap:2px;min-width:0}
.tl-home-types .tl-types__en{font-weight:650;font-size:14.5px;line-height:1.25;color:var(--tl-ink)}
.tl-home-types .tl-types__e:hover .tl-types__en{color:var(--tl-red-ink)}
.tl-home-types .tl-types__ec{font-size:12.5px;color:var(--tl-ink-3)}
@media (max-width:1099px){
.tl-home-types .tl-types__eq{flex-direction:column}
.tl-home-types .tl-types__eh{flex:none;padding:12px 18px;border-right:0;border-bottom:1px solid var(--tl-line)}
}
@media (max-width:899px){
.tl-home-types .tl-types__g{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:12px}
.tl-home-types .tl-types__c--xl,.tl-home-types .tl-types__c--wide{grid-column:1/-1;grid-row:auto}
.tl-home-types .tl-types__c--xl .tl-types__img{flex:none;aspect-ratio:16/10}
.tl-home-types .tl-types__c--xl .tl-types__img img{padding:26px 26px 4px}
.tl-home-types .tl-types__c--xl .tl-types__tx{padding:8px 22px 22px}
.tl-home-types .tl-types__c--wide .tl-types__img{aspect-ratio:4/3}
.tl-home-types .tl-types__c--wide .tl-types__img img{padding:18px 44px 18px 4px}
.tl-home-types .tl-types__c--md .tl-types__img{flex:1 0 auto;aspect-ratio:4/3}
.tl-home-types .tl-types__c--md .tl-types__img img{padding:16px 16px 2px}
.tl-home-types .tl-types__tx{padding:10px 16px 18px}
.tl-home-types .tl-types__el{grid-template-columns:repeat(2,minmax(0,1fr))}
.tl-home-types .tl-types__el li:last-child{grid-column:1/-1}
}
@media (max-width:559px){
.tl-home-types .tl-types__c--sm{grid-column:1/-1}
.tl-home-types .tl-types__c--sm .tl-types__t{min-height:92px}
.tl-home-types .tl-types__c--sm .tl-types__img{flex-basis:84px;height:84px}
.tl-home-types .tl-types__c--wide .tl-types__t{flex-direction:column}
.tl-home-types .tl-types__c--wide .tl-types__img{flex:none;aspect-ratio:16/10}
.tl-home-types .tl-types__c--wide .tl-types__img img{padding:18px 18px 2px}
.tl-home-types .tl-types__c--wide .tl-types__tx{flex:none;padding:10px 16px 18px}
.tl-home-types .tl-types__c--md .tl-types__nm{font-size:18px}
.tl-home-types .tl-types__c--md .tl-types__m{font-size:13px;gap:0 10px}
.tl-home-types .tl-types__go{right:10px;top:10px}
.tl-home-types .tl-types__c--md .tl-types__go{display:none}
.tl-home-types .tl-types__e{gap:10px;padding:12px}
.tl-home-types .tl-types__ei{width:34px;height:34px}
}
@media (max-width:419px){
.tl-home-types .tl-types__el{grid-template-columns:minmax(0,1fr)}
.tl-home-types .tl-types__e{min-height:60px}
}
