@media (min-width: 901px) {
  #applications .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1150px) {
  #applications .catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #applications .product { padding: 23px; }
}
.threefold-hero .actions { flex-wrap: wrap; }
.threefold-preview { margin-top: 0; }
.threefold-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #090b0d; }
.threefold-panels a { display: block; }
.threefold-panels a:focus-visible { outline: 2px solid var(--ice); outline-offset: -2px; }
.threefold-panels img { max-height: none; }
@media (max-width: 620px) {
  .threefold-panels { grid-template-columns: repeat(3, minmax(165px, 1fr)); overflow-x: auto; }
}
.navlinks a[aria-current="page"] { color: var(--ice); text-decoration: underline; text-underline-offset: .35em; }


.threefold-gallery { margin: 54px 0 38px; }
.threefold-gallery > p { color: var(--muted); }
.threefold-gallery, .threefold-module-group, .threefold-module { scroll-margin-top: 88px; }
.threefold-module-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; justify-content: start; }
.threefold-module-nav a { text-underline-offset: .26em; }
.threefold-module-group { margin-top: 32px; padding: 0; }
.threefold-module-group h3 { margin: 0 0 12px; }
.threefold-module-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.threefold-module { min-width: 0; background: #161a1e; border: 1px solid #344047; border-radius: 12px; overflow: hidden; }
.threefold-module-shot { position: relative; display: block; aspect-ratio: 5 / 6; background: #0c1013; }
.threefold-module-shot img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.threefold-module-shot:focus-visible { outline: 2px solid var(--ice); outline-offset: -3px; }
.threefold-module-copy { padding: 14px 16px 17px; }
.threefold-module-copy h4 { margin: 0 0 6px; font-size: 1.02rem; }
.threefold-module-copy p { margin: 0; color: #b7c0c7; font-size: .92rem; line-height: 1.55; }
@media (min-width: 580px) {
  .threefold-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .threefold-module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
