* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #4c515a;
  font-family: Avenir Next, Avenir, Helvetica Neue, Lato, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.theme-dark body {
  background: #343434;
}

[data-lab-locale="en"] [data-lab-copy="zh"], [data-lab-locale="zh"] [data-lab-copy="en"] {
  display: none;
}

.lab-page[data-astro-cid-r3ukcg3x] {
  min-height: 100vh;
  background: #fff;
}

html.theme-dark .lab-page[data-astro-cid-r3ukcg3x] {
  background: #343434;
}

.lab-content[data-astro-cid-r3ukcg3x] {
  width: auto;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 36px;
}

h1[data-astro-cid-r3ukcg3x] {
  margin: .83em 0 32px;
  color: inherit;
  font-size: 1.5em;
  line-height: 1.2;
}

html.theme-dark h1[data-astro-cid-r3ukcg3x] {
  color: #999;
}

.lab-grid[data-astro-cid-r3ukcg3x] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.lab-item[data-astro-cid-r3ukcg3x] {
  min-width: 0;
}

.lab-card[data-astro-cid-r3ukcg3x] {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 8px;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 1px #0000000d;
  color: #333;
  text-decoration: none;
  transition: transform .2s ease-in;
  will-change: transform;
}

.lab-card[data-astro-cid-r3ukcg3x] > [data-astro-cid-r3ukcg3x] {
  position: relative;
  z-index: 1;
}

.lab-card[data-astro-cid-r3ukcg3x]:before, .lab-card[data-astro-cid-r3ukcg3x]:after {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  border-radius: 5px;
  content: "";
  transition: opacity .2s ease-in;
  will-change: opacity;
}

.lab-card[data-astro-cid-r3ukcg3x]:before {
  box-shadow: 0 7px 25px #00000008, 0 4px 12px #00000008;
}

.lab-card[data-astro-cid-r3ukcg3x]:after {
  box-shadow: 0 4px 30px #0000001a;
  opacity: 0;
}

.lab-card[data-astro-cid-r3ukcg3x]:hover, .lab-card[data-astro-cid-r3ukcg3x]:focus-visible {
  transform: translateY(-1px);
}

.lab-card[data-astro-cid-r3ukcg3x]:hover:before, .lab-card[data-astro-cid-r3ukcg3x]:focus-visible:before {
  opacity: 0;
}

.lab-card[data-astro-cid-r3ukcg3x]:hover:after, .lab-card[data-astro-cid-r3ukcg3x]:focus-visible:after {
  opacity: 1;
}

.lab-card[data-astro-cid-r3ukcg3x]:focus-visible {
  outline: 2px solid #5b5bfa;
  outline-offset: 3px;
}

.lab-card[data-astro-cid-r3ukcg3x]:active:before {
  opacity: 1;
}

.lab-card[data-astro-cid-r3ukcg3x]:active:after {
  opacity: 0;
}

html.theme-dark .lab-card[data-astro-cid-r3ukcg3x] {
  background-color: #2d2d2d;
  color: #ccc;
}

.figure[data-astro-cid-r3ukcg3x] {
  display: block;
  overflow: hidden;
  margin: -1.75rem -1.75rem 0;
  border-radius: .25rem .25rem 0 0;
  font-size: 0;
  line-height: 0;
  text-align: center;
}

.figure[data-astro-cid-r3ukcg3x] img[data-astro-cid-r3ukcg3x] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(.1);
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: filter .2s ease-in;
  will-change: filter;
}

.lab-card[data-astro-cid-r3ukcg3x]:hover img[data-astro-cid-r3ukcg3x], .lab-card[data-astro-cid-r3ukcg3x]:focus-visible img[data-astro-cid-r3ukcg3x], .lab-card[data-astro-cid-r3ukcg3x]:active img[data-astro-cid-r3ukcg3x] {
  filter: none;
}

.info[data-astro-cid-r3ukcg3x] {
  display: flex;
  min-height: 50px;
  margin-top: 1.875rem;
  margin-bottom: .75rem;
  padding: 0;
  flex-direction: row;
  font-size: 12px;
}

.item-title[data-astro-cid-r3ukcg3x] {
  display: flex;
  min-width: 0;
  flex: 3;
  flex-direction: column;
}

.item-title[data-astro-cid-r3ukcg3x] strong[data-astro-cid-r3ukcg3x] {
  margin: 0 0 2px;
  padding: 0;
  font-size: 14px;
  line-height: 1rem;
}

.item-title[data-astro-cid-r3ukcg3x] small[data-astro-cid-r3ukcg3x] {
  color: #00000080;
  line-height: 1rem;
}

html.theme-dark .item-title[data-astro-cid-r3ukcg3x] small[data-astro-cid-r3ukcg3x] {
  color: #ffffff80;
}

.action[data-astro-cid-r3ukcg3x] {
  flex: 1;
  text-align: right;
}

.btn-get[data-astro-cid-r3ukcg3x] {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid #5b5bfa;
  border-radius: 20px;
  background-color: #5b5bfa;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.lab-card[data-astro-cid-r3ukcg3x]:hover .btn-get[data-astro-cid-r3ukcg3x], .lab-card[data-astro-cid-r3ukcg3x]:focus-visible .btn-get[data-astro-cid-r3ukcg3x] {
  border-color: #7c7cfb;
  background-color: #7c7cfb;
}

.description[data-astro-cid-r3ukcg3x] {
  display: -webkit-box;
  height: 5rem;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

@media screen and (width <= 767px) {
  .lab-grid[data-astro-cid-r3ukcg3x] {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .lab-card[data-astro-cid-r3ukcg3x] {
    padding: 1.25rem 1.75rem 1.75rem;
    border-top: 1px solid #0000000f;
    border-radius: 0;
    box-shadow: none;
  }

  .lab-card[data-astro-cid-r3ukcg3x]:before, .lab-card[data-astro-cid-r3ukcg3x]:after {
    display: none;
  }

  .figure[data-astro-cid-r3ukcg3x] {
    margin: 0;
    border-radius: .25rem;
  }

  .figure[data-astro-cid-r3ukcg3x]:before {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    border: 1px solid #0000000f;
    border-radius: .25rem;
    content: "";
  }

  .figure[data-astro-cid-r3ukcg3x] img[data-astro-cid-r3ukcg3x] {
    height: 160px;
    object-fit: cover;
  }

  .description[data-astro-cid-r3ukcg3x] {
    height: 3.725rem;
    -webkit-line-clamp: 3;
  }
}

@media screen and (width <= 389px) {
  .lab-content[data-astro-cid-r3ukcg3x] {
    padding-inline: 16px;
  }

  .lab-card[data-astro-cid-r3ukcg3x] {
    padding: 1rem 1rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-card[data-astro-cid-r3ukcg3x], .lab-card[data-astro-cid-r3ukcg3x]:before, .lab-card[data-astro-cid-r3ukcg3x]:after, .figure[data-astro-cid-r3ukcg3x] img[data-astro-cid-r3ukcg3x] {
    transition: none;
  }
}
