.shell .navigation .tech-menu .dropdown{gap:18px;grid-template-columns:repeat(8,minmax(0,1fr));box-sizing:border-box}
.shell .tech-menu:not([open])>.dropdown{display:none}.shell .tech-menu[open]>.dropdown{display:grid}
.shell .dropdown .tech-category-card{display:flex;flex-direction:column;min-width:0;padding:16px 14px 14px;border:1px solid #e1e1e1;border-radius:18px;background:#fff;color:#111;text-decoration:none;transition:border-color .2s}
.tech-category-picture{display:flex;align-items:center;justify-content:center;aspect-ratio:4 / 3;width:100%;background:#fff;margin-bottom:16px}
.tech-category-picture img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.tech-category-name{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:45px;padding-top:12px;border-top:1px solid #eee;font-size:15px;line-height:1.4;font-weight:500}
.tech-category-name svg{flex:0 0 16px;width:16px;height:16px;color:#999;transition:transform .2s,color .2s}
.shell .dropdown .tech-category-card:hover,.shell .dropdown .tech-category-card:focus-visible{border-color:#777;background:#fff;color:#111}
.tech-category-card:hover .tech-category-name svg{transform:translateX(3px);color:#111}
@media(min-width:761px){header.shell{position:relative;z-index:40}.main-nav,.navigation,.navigation .tech-menu{position:static}.shell .navigation .tech-menu .dropdown{position:absolute;top:100%;left:0;right:0;width:auto;max-width:none;padding:28px 25px 32px;margin:0;border:0;border-top:1px solid #eee;border-bottom:1px solid #ddd;border-radius:0;background:#fff;box-shadow:0 18px 25px #00000012;max-height:calc(100dvh - 185px);overflow-y:auto;z-index:50;align-items:stretch}.tech-menu::after{display:none}.tech-menu[open]::after{display:block;position:absolute;left:var(--tech-bridge-left,0);right:auto;top:var(--tech-bridge-top,100%);width:var(--tech-bridge-width,220px);height:var(--tech-bridge-height,30px);content:'';z-index:49}}
@media(min-width:1750px){.shell .dropdown .tech-category-card{padding:20px 18px 16px}.tech-category-name{font-size:17px}}
@media(min-width:761px) and (max-width:1160px){.shell .navigation .tech-menu .dropdown{gap:10px;padding:20px 18px}.shell .dropdown .tech-category-card{padding:10px 8px;border-radius:12px}.tech-category-name{font-size:12px;gap:3px;min-height:46px}.tech-category-name svg{width:12px;height:12px;flex-basis:12px}.tech-category-picture{margin-bottom:10px}}
@media(max-width:760px){.shell .navigation .tech-menu .dropdown{position:static;left:auto;right:auto;top:auto;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;padding:16px 0 20px;margin:0;gap:12px;border:0;border-radius:0;box-shadow:none;max-height:none;overflow:visible}.shell .dropdown .tech-category-card{min-height:0;padding:13px 12px 14px;border:1px solid #e1e1e1;border-radius:14px}.tech-category-name{font-size:14px;min-height:42px}.tech-category-picture{margin-bottom:12px}.tech-menu::after{display:none}}
@media(prefers-reduced-motion:reduce){.shell .dropdown .tech-category-card,.tech-category-name svg{transition:none}.tech-category-card:hover .tech-category-name svg{transform:none}}

/* Keep category labels aligned regardless of the source image's proportions.
   The absolute image cannot enlarge the flex item's intrinsic height. */
.tech-category-card .tech-category-picture{position:relative;display:block;flex:0 0 auto;box-sizing:border-box;width:100%;min-width:0;min-height:0;height:auto;aspect-ratio:4 / 3;overflow:hidden}
.tech-category-card .tech-category-picture>img{position:absolute;inset:0;display:block;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;object-fit:contain;object-position:center}
