.works_listing{display:grid;grid-template-columns:180px minmax(0,1fr);gap:50px;max-width:1380px;margin:auto}
.works_listing .categories {
  position: sticky;
  top: 100px;
  align-self: start;
  z-index: 2;
  background: #727171;
}
.categories h2{font-size:27px;margin-bottom:40px}
.categories a{display:block;margin-bottom:20px}
.works_listing a:is(:hover, :focus-visible) {
  color: inherit;
  text-decoration: none;
}
.works_listing .categories a.active,
.works_listing .categories a.active > p { color: #e50b72; }
.works_results > .webgene-blog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 10px}
.work_card_photo{margin-bottom:10px}
.work_card_photo img{width:100%;aspect-ratio:1.8167}
.work_card > p, .work_card > h2 { font-size: 15px; font-weight: inherit; line-height: inherit; letter-spacing: 1px; }
.work_card .category_text{font-size:12px;letter-spacing:3px}
.works_results > .webgene-blog > .webgene-pagination { grid-column: 1 / -1; }
.webgene-pagination ul{display:flex;justify-content:center;gap:10px;margin-top:70px}
.webgene-pagination a{width:40px;height:40px;display:grid;place-items:center}
.webgene-pagination .selected{color:#fff;background:#1c1e29}
@media (max-width: 1080px) {
.works_listing{gap:25px;grid-template-columns:150px minmax(0,1fr)}
}
@media (max-width: 900px) {
  .works_results > .webgene-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
.works_listing { grid-template-columns: minmax(0, 1fr); }
.works_listing .categories {
  position: static;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-block: 14px;
}
.works_listing .categories h2 { margin-bottom: 0; }
.works_listing .cate_wrap { flex: 1 1 240px; min-width: 0; }
.works_listing .cate_wrap > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.works_listing .cate_wrap a { margin-bottom: 0; }
}
@media (max-width: 576px) {
.works_results > .webgene-blog { grid-template-columns: minmax(0, 1fr); }
}
.works_page .categories h2{font-size:18px}
.work_card { display: block; }

.work_card_photo { overflow: hidden; }
.work_card_photo > img { transition: transform .4s ease, filter .4s ease; }
.work_card:is(:hover, :focus-visible) .work_card_photo > img { transform: scale(1.055); }
@media (hover: hover) and (pointer: fine) {
  .work_card_photo > img { filter: grayscale(1); }
  .work_card:is(:hover, :focus-visible) .work_card_photo > img { filter: grayscale(0); }
}
body.firefox .work_card .work_card_photo > img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .work_card_photo > img { transition: none; transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) {

  .work_card.pending:not(:focus-within) { opacity: 0; }
  .work_card.active:not(:focus-within) > .work_card_photo {
    animation: proud-frame-in .75s cubic-bezier(.22, 1, .36, 1) backwards;
  }
  .work_card.active:not(:focus-within) > p {
    animation: proud-copy-in .55s ease-out .12s backwards;
  }
  .work_card.active:not(:focus-within) > .category_text { animation-delay: .19s; }
  .works_results .webgene-item:nth-child(even) > .work_card.active:not(:focus-within) > .work_card_photo { animation-delay: .08s; }
}

.work_card .work_card_photo > img.work_card_logo {
  box-sizing: border-box;
  padding: clamp(12px, 2vw, 24px);
  background: #fff;
  object-fit: contain;
  filter: none;
  transform: none;
}
