.a11__grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  width: 20rem;
}

.a11__grid-item {
  width: 50%;
}

.a11__grid-link {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  height: 10rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  -webkit-transition: -webkit-transform ease .3s;
  transition: -webkit-transform ease .3s;
  transition: transform ease .3s;
  transition: transform ease .3s, -webkit-transform ease .3s;
  z-index: 1;
}

.a11__grid-link::after {
  background: url("../../../img/layout/bbt-grid-menu-overlay.webp") top center no-repeat;
  background-size: cover;
  content: '';
  height: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  -webkit-transition: opacity ease .3s;
  transition: opacity ease .3s;
  width: 0;
  z-index: 1;
}

.a11__grid-link::before {
  background: url("../../../img/layout/ico-search.svg") center center no-repeat;
  content: '';
  height: 2rem;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: opacity ease .3s;
  transition: opacity ease .3s;
  width: 2rem;
  z-index: 2;
}

.a11__grid-link:hover {
  -webkit-box-shadow: 0 8px 16px 0 rgba(29, 37, 51, 0.1);
  box-shadow: 0 8px 16px 0 rgba(29, 37, 51, 0.1);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 2;
}

.a11__grid-link:hover::before {
  opacity: 1;
}

.a11__grid-link:hover::after {
  height: 100%;
  opacity: .8;
  width: 100%;
}

.a11__grid-link:hover .n1-menu__title {
  opacity: 1;
}

.a11__grid-image {
  display: none;
}

@media screen and (min-width: 768px) {
  .a11__grid {
    width: 40rem;
  }

  .a11__grid-item {
    width: 25%;
  }
}


@media screen and (min-width: 910px) {
  .a11__grid {
    width: 54rem;
  }

  .a11__grid-item {
    width: 25%;
  }

  .a11__grid-link {
    height: 13.5rem;
  }
}

@media screen and (min-width: 80em) {
  .a11__grid {
    width: 70rem;
  }

  .a11__grid-item {
    width: 25%;
  }

  .a11__grid-link {
    height: 17.5rem;
  }
}

@media screen and (max-width: 47.9375em) {
  .a11__grid-container .wrapper {
    margin: 0;
    max-width: none;
  }
}
