.LinkTilesIcon {
  /* Set the link container to be a flex item */
  /* Focus-visible outline */
}

.LinkTilesIcon .header-link {
  text-align: right;
  margin-top: -50px;
}

.LinkTilesIcon .title {
  margin-top: 20px;
}

.LinkTilesIcon .link-tile-container {
  position: relative;
  min-height: 150px;
  margin-bottom: 20px !important;
  flex-direction: column;
  /* Stack content vertically */
  margin-left: 0px !important;
}

.LinkTilesIcon .link-tile-container a {
  text-decoration: none;
  display: block;
  /* Ensure the link behaves as a block element */
  position: relative;
  height: 100%;
  /* Ensure the link fills the entire height of the tile */
}

.LinkTilesIcon .tile {
  border-radius: 5px;
  border: 1px solid #1fafff;
  background-color: #ffffff;
  height: 100%;
  /* Make the tile fill its container */
  padding: 20px;
  flex-direction: column;
  /* Stack child elements vertically */
  justify-content: space-between;
  /* Distribute space between the elements */
  box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 16px -8px;
  cursor: pointer;
}

.LinkTilesIcon .tile:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 8px 0px;
}

.LinkTilesIcon img {
  object-fit: contain;
  width: 100px;
  display: block;
  margin: auto;
  filter: grayscale(100%);
  opacity: 40%;
  transition: filter 0.3s ease;
}

.LinkTilesIcon img:hover {
  filter: grayscale(0%);
  opacity: 100%;
}

.LinkTilesIcon .tile-title {
  margin-top: auto;
  text-align: center;
  margin-bottom: 0;
}

.LinkTilesIcon .icon-container {
  text-align: center;
  margin-bottom: 5px;
}

.LinkTilesIcon .icon-container i {
  font-size: 30px;
  color: #ffffff;
}

.LinkTilesIcon a:focus-visible {
  outline: 4px solid black;
  /* Black outline on focus */
}

/* --------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------- BOOTSTRAP MEDIA QUERIES --------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------- */
