.dome-people-shortcode,
.dome-people-shortcode * {
  box-sizing: border-box;
}

.dome-people-shortcode {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 70px 24px 95px;
  color: #fff;
  background: #fff;
}

.dome-people-shortcode > .title {
  margin: 0 0 90px;
  color: #808080;
  font-size: clamp(2.2rem, 3.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  text-align: center;
}

.dome-people-shortcode .people-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1470px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dome-people-shortcode .person {
  position: relative;
  flex: 0 1 calc((100% - 80px) / 3);
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #ddd;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.dome-people-shortcode .link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  padding: 0 42px 42px;
  color: #fff;
  text-decoration: none;
}

.dome-people-shortcode .link::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 1;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.dome-people-shortcode .person:hover .link::before,
.dome-people-shortcode .person:focus-within .link::before {
  opacity: 0;
}

.dome-people-shortcode .content {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.dome-people-shortcode .name {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.35rem, 1.55vw, 1.95rem);
  font-weight: 700;
  line-height: 1.1;
}

.dome-people-shortcode .name::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: rotate(45deg) translateX(-0.12em);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dome-people-shortcode .person:hover .name::after,
.dome-people-shortcode .person:focus-within .name::after {
  opacity: 1;
  transform: rotate(45deg) translateX(0);
}

.dome-people-shortcode .position {
  display: block;
  color: inherit;
  font-size: clamp(1rem, 1.15vw, 1.45rem);
  font-weight: 300;
  line-height: 1.25;
}

@media screen and (max-width: 960px) {
  .dome-people-shortcode {
    padding: 55px 20px 75px;
  }

  .dome-people-shortcode > .title {
    margin-bottom: 50px;
  }

  .dome-people-shortcode .people-list {
    gap: 24px;
  }

  .dome-people-shortcode .person {
    flex-basis: calc((100% - 24px) / 2);
  }

  .dome-people-shortcode .link {
    padding: 0 28px 30px;
  }
}

@media screen and (max-width: 600px) {
  .dome-people-shortcode {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dome-people-shortcode .people-list {
    display: block;
  }

  .dome-people-shortcode .person {
    width: 100%;
    margin-bottom: 24px;
  }

  .dome-people-shortcode .person:last-child {
    margin-bottom: 0;
  }
}
