.anth-home .anth-bento {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.anth-home .anth-bento-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(25px, 3vw, 31px);
  text-align: center;
  color: var(--text);
  margin: 0 0 40px;
}

.anth-home .anth-bento-title em {
  font-style: normal;
  color: var(--teal);
}

.anth-home .anth-bento-grid-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.anth-home .anth-bento-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.anth-home .anth-bento-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
}

.anth-home a.anth-bento-card {
  cursor: pointer;
}

.anth-home a.anth-bento-card:hover .anth-bento-card-text h3 {
  text-decoration: underline;
}

.anth-home .anth-bento-card--tall {
  aspect-ratio: 3 / 3.5;
}

.anth-home .anth-bento-card--wide {
  aspect-ratio: 16 / 8.5;
}

.anth-home .anth-bento-card .anth-media {
  position: absolute;
  inset: 0;
}

.anth-home .anth-bento-card-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 3, 8, 0.92) 0%, rgba(0, 3, 8, 0.25) 55%, transparent 78%);
}

.anth-home .anth-bento-card-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
}

.anth-home .anth-bento-card-text h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 7px;
}

.anth-home .anth-bento-card-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  line-height: 1.42;
  margin: 0;
  max-width: 340px;
}

@media (max-width: 900px) {
  .anth-home .anth-bento-grid-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .anth-home .anth-bento-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  .anth-home .anth-bento-card--wide {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .anth-home .anth-bento {
    padding: 48px 0;
  }
  .anth-home .anth-bento-grid-top,
  .anth-home .anth-bento-grid-bottom {
    grid-template-columns: 1fr;
  }
  .anth-home .anth-bento-card--tall {
    aspect-ratio: 16 / 10;
  }
}

.anth-home .anth-bento-card .anth-media img,
.anth-home .anth-bento-card .anth-media video {
  transition: transform .6s ease, opacity 0.5s ease;
}
.anth-home a.anth-bento-card:hover .anth-media img,
.anth-home a.anth-bento-card:hover .anth-media video {
  transform: scale(1.06);
}