.box-link {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-block-end: 0;
  padding: var(--spacing-larger);
  border: 1px solid var(--color-grey-lighter);
  border-block-end: var(--spacing-smallest) solid var(--color-accent);
}

.box-link:hover,
.box-link:focus,
.box-link:focus-within {
  background-color: var(--color-grey-lightest);
}

.box-link:active {
  background-color: var(--color-grey-lighter);
}

.box-link:active a {
  border: none;
  background: transparent;
}

.box-link__link {
  margin-bottom: 0;
  text-decoration: none;
}

a.box-link__link:active,
a.box-link__link:hover,
a.box-link__link:focus-within,
a.box-link__link:focus {
  border: none;
  background: transparent;
  box-shadow: none;
}

.box-link__image {
  margin-bottom: var(--spacing);
}

.box-link__content {
  position: relative;
  margin-bottom: 0;
  padding-bottom: var(--spacing-largest);
}

.box-link__title {
  margin-bottom: 0;
}

.box-link__title {
  display: block;
  width: 100%;
  margin-bottom: 0;
  text-align: center;
  text-decoration: none;
  color: var(--color-accent);
  font-size: var(--font-size-1x-large);
  font-weight: 500;
}

.box-link__link::after {
  position: absolute;
  inset: 0;
  content: "";
}

.box-link img {
  max-width: var(--spacing-xxxlarge);
  height: auto;
  max-height: var(--spacing-xxxlarge);
  margin: 0 auto;
}

.box-link .lgd-icon {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 auto;
  margin-block-start: calc(var(--spacing-large) * -1);
  padding: 0;
}

.box-link .lgd-icon svg {
  width: var(--spacing-large);
  height: var(--spacing-large);
}

.box-link .lgd-icon svg path {
  fill: var(--color-accent);
}
