.listing-page .compact{
  justify-content:flex-start;
  padding-top:140px;
}
.listing-page .listing-head{
  width:min(1120px,100%);
  margin-bottom:8px;
}
.listing-page .listing-head h1{
  margin-bottom:12px;
  max-width:100%;
  overflow-wrap:anywhere;
}
.listing-page .listing-summary{
  max-width:760px;
  margin:0 0 22px;
  color:var(--muted);
}
.listing-page .search{
  width:min(1120px,100%);
  display:grid;
  grid-template-columns:minmax(240px,1fr) minmax(170px,230px) minmax(130px,180px) auto;
  gap:12px;
  align-items:stretch;
  margin:18px 0 30px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(7,17,31,.62);
  backdrop-filter:blur(14px);
}
.listing-page .search input,
.listing-page .search select{
  min-width:0;
  width:100%;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(3,7,18,.65);
  color:var(--text);
  padding:12px 14px;
}
.listing-page .search button{
  min-width:112px;
  cursor:pointer;
}
.listing-page .grid{
  width:min(1120px,100%);
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.listing-page .media-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:100%;
  overflow:hidden;
}
.listing-page .media-card img{
  width:calc(100% + 44px);
  aspect-ratio:16/10;
  height:auto;
  object-fit:cover;
  margin:-22px -22px 18px;
  display:block;
  background:rgba(86,216,255,.08);
}
.listing-page .media-card span{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-bottom:10px;
  border:1px solid rgba(86,216,255,.22);
  border-radius:999px;
  padding:5px 10px;
  background:rgba(86,216,255,.08);
  color:#d9f7ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.listing-page .media-card h2{
  margin:0 0 10px;
  font:700 clamp(18px,1.7vw,24px)/1.22 "Space Grotesk",Inter,sans-serif;
  min-width:0;
  overflow-wrap:anywhere;
}
.listing-page .media-card h2 a{
  color:white;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.listing-page .media-card h2 a:hover{
  color:var(--cyan);
}
.listing-page .media-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  overflow-wrap:anywhere;
}
.listing-page .pagination{
  width:min(1120px,100%);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:28px;
  position:static;
  inset:auto;
  flex-direction:row;
  align-items:center;
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
}
.listing-page .pagination span{
  display:contents;
}
.listing-page .pagination a,
.listing-page .pagination strong{
  min-width:38px;
  min-height:38px;
  display:inline-grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:8px;
  padding:8px 12px;
  color:white;
  text-decoration:none;
  background:rgba(7,17,31,.62);
}
.listing-page .pagination strong{
  color:#03111f;
  background:linear-gradient(135deg,var(--cyan),var(--magenta));
}
.listing-page .side-list{
  width:min(1120px,100%);
}
.research-listing .media-card{
  min-height:230px;
}
.projects-listing .media-card,
.blog-listing .media-card{
  min-height:330px;
}
html[data-theme="light"] .listing-page .search,
html[data-theme="light"] .listing-page .pagination a,
html[data-theme="light"] .listing-page .side-list{
  background:rgba(255,255,255,.82);
  box-shadow:0 16px 44px rgba(30,60,95,.08);
}
html[data-theme="light"] .listing-page .search input,
html[data-theme="light"] .listing-page .search select{
  background:rgba(255,255,255,.9);
  color:#0f172a;
}
html[data-theme="light"] .listing-page .media-card h2 a{
  color:#0f172a;
}
html[data-theme="light"] .listing-page .media-card h2 a:hover{
  color:var(--blue);
}
html[data-theme="light"] .listing-page .media-card span{
  color:#075985;
  background:rgba(14,165,233,.1);
  border-color:rgba(14,165,233,.22);
}
html[data-theme="light"] .listing-page .pagination a,
html[data-theme="light"] .listing-page .pagination strong{
  color:#0f172a;
}
@media(max-width:1050px){
  .listing-page .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .listing-page .search{
    grid-template-columns:1fr 1fr;
  }
  .listing-page .search input,
  .listing-page .search button{
    grid-column:1/-1;
  }
}
@media(max-width:680px){
  .listing-page .compact{
    padding-top:110px;
    padding-left:20px;
    padding-right:20px;
  }
  .listing-page .listing-head,
  .listing-page .search,
  .listing-page .grid,
  .listing-page .pagination,
  .listing-page .side-list{
    width:100%;
    max-width:100%;
  }
  .listing-page .listing-head h1{
    font-size:clamp(30px,9vw,40px);
    line-height:1.04;
  }
  .listing-page .grid,
  .listing-page .search{
    grid-template-columns:1fr;
  }
  .listing-page .media-card,
  .projects-listing .media-card,
  .blog-listing .media-card,
  .research-listing .media-card{
    width:100%;
    max-width:100%;
    min-height:auto;
  }
  .listing-page .pagination{
    width:100%;
    position:static;
    inset:auto;
    display:flex;
    flex-direction:row;
    align-items:center;
    background:transparent;
    border:0;
    border-radius:0;
    padding:0 0 4px;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .listing-page .pagination a,
  .listing-page .pagination strong{
    flex:0 0 auto;
  }
}
