.tiles__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  list-style-type: none;
}
.content .tiles__item,
.content .tiles__list {
  margin: 0;
}
.tile {
  border: 2px solid var(--dark-blue);
  border-radius: 0 20px 20px 20px;
  color: var(--dark-blue);
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
  padding: 10px 25px;
  position: relative;
  overflow: hidden;
  width: 300px;
}
@media screen and (min-width: 440px) {
  .tile {
    height: 300px;
  }
}
@media (hover: hover) {
  .tile {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .tile:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }
}
.tile--bg-color {
  background-color: var(--background-color);
}
.tile--bg-image {
  background-image: linear-gradient(var(--overlay-color), var(--overlay-color)),
    var(--background-image);
  background-repeat: no-repeat;
  background-position: 50%, var(--background-position);
  background-size: cover;
}
@media (hover: hover) {
  .tile--bg-image {
    position: relative;
  }
  .tile--bg-image > * {
    position: relative;
    z-index: 2;
  }
  .tile--bg-image:after {
    background: inherit;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
    z-index: 1;
  }
  .tile--bg-image:hover:after {
    transform: scale(1.1);
  }
}
.tile--center {
  text-align: center;
}
.tile--center .tile__icon-wrapper {
  margin: 0 auto;
}
.tile--center .tile__button,
.tile__icon-wrapper {
  justify-content: center;
}
.tile__icon-wrapper {
  align-content: center;
  border: 2px solid var(--dark-blue);
  border-radius: 0 10px 10px 10px;
  display: flex;
  height: 80px;
  padding: 10px;
  width: 100px;
}
.content .tile h2 {
  font-size: 2.2rem;
  margin: 7px 0;
}
.content .tile p {
  color: var(--dark-gray);
  line-height: 2.4rem;
  margin: 0 0 7px;
}
.tile__button {
  align-content: center;
  display: inline-flex;
  margin-top: auto !important;
  align-items: center;
}
.tile__button-icon {
  margin-right: 8px;
}
.tile__button .tile__button-text {
  border-bottom: 1px solid transparent;
  transition: border 0.4s ease;
}
.tile__button:hover .tile__button-text {
  border-color: var(--dark-blue);
}
@media screen and (min-width: 440px) {
  .tiles.alignwide .tile {
    height: 400px;
    padding: 50px 40px;
    width: 400px;
  }
}
