/* Decorative artwork for the homepage's four version-protection features. */
.home-page .protection-item {
  position: relative;
  min-width: 0;
}

.home-page .protection-item-heading {
  min-height: 17px;
  line-height: 1.5;
}

.home-page .protection-item .protection-item-number {
  display: block;
  width: fit-content;
  color: var(--muted);
  font-size: 11px;
}

.home-page .protection-item-art {
  position: absolute;
  top: 29px;
  right: 16px;
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 6px 7px rgba(35, 67, 106, .13));
  pointer-events: none;
  user-select: none;
}

.home-page .protection-item-copy {
  position: relative;
  max-width: calc(100% - 94px);
  min-width: 0;
}

.home-page .protection-item-copy h3 {
  margin: 16px 0 8px;
  line-height: 1.4;
}

.home-page .protection-item-copy p {
  margin: 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

html[data-theme="dark"] .home-page .protection-item-art {
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .24));
}

@media (max-width: 1120px) {
  .home-page .protection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-page .protection-item {
    min-height: 188px;
    padding: 18px 16px;
  }

  .home-page .protection-item-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
  }

  .home-page .protection-item .protection-item-number {
    align-self: flex-start;
  }

  .home-page .protection-item-art {
    position: static;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }

  .home-page .protection-item-copy {
    max-width: none;
  }

  .home-page .protection-item-copy h3 {
    margin-top: 12px;
  }
}
