.ages .ages-list {
  display: flex;
}
.ages .ages-item {
  flex-basis: 25%;
}
.ages .ages-item:last-child .ages-link {
  border-right: none;
}
.ages .ages-item:last-child .ages-link i svg {
  height: 45px;
}
.ages .ages-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 140px 0 90px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #576303;
  transition: all 0.3s ease;
}
.ages .ages-link .age-image {
  max-height: 324px;
  margin-bottom: 45px;
}
.ages .ages-link i {
  height: 53px;
  margin-bottom: 32px;
}
.ages .ages-link i svg {
  height: 53px;
  width: 100%;
}
.ages .ages-link .age-descr {
  margin-bottom: 80px;
  color: #FFFFFF;
  text-align: center;
  font-weight: 500;
  line-height: 36px;
  max-width: 310px;
  opacity: 0.7;
}
.ages .ages-link span.cheese-link {
  padding: 15px 45px;
  background-color: #576303;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  text-align: center;
  letter-spacing: 0.18px;
}
.ages .ages-link:hover {
  background-color: #F5E6B7;
}
.ages .ages-link:hover i svg path {
  fill: #576303;
}
.ages .ages-link:hover .age-descr {
  color: #576303;
}
.ages .ages-link:hover span.cheese-link {
  border-color: #F5E6B7;
}
.ages .ages-link:hover span.cheese-link:hover {
  pointer-events: none;
}

@media screen and (max-width: 1440px) {
  .ages .ages-item .age-image {
    max-height: 225px;
  }
  .ages .ages-item:last-child .ages-link i svg {
    height: 35px;
  }
  .ages .ages-item i {
    height: 42px;
    margin-bottom: 24px;
  }
  .ages .ages-item i svg {
    height: 42px;
  }
  .ages .ages-item .age-descr {
    line-height: 30px;
    margin-bottom: 75px;
  }
  .ages .ages-link {
    padding: 90px 0 50px 0;
  }
  .ages .ages-link span.cheese-link {
    font-size: 16px;
    line-height: 24px;
    padding: 13px 38px;
  }
}
@media screen and (max-width: 1200px) {
  .ages .ages-list {
    flex-wrap: wrap;
  }
  .ages .ages-item {
    flex-basis: 50%;
  }
  .ages .ages-item:nth-child(2) .ages-link {
    border-right: none;
  }
  .ages .ages-item .age-image {
    display: none;
  }
  .ages .ages-item:last-child .ages-link i svg {
    height: 27px;
  }
  .ages .ages-item i {
    height: 34px;
  }
  .ages .ages-item i svg {
    height: 34px;
  }
  .ages .ages-item .age-descr {
    margin-bottom: 24px;
    max-width: 400px;
  }
  .ages .ages-link {
    justify-content: space-between;
    height: 100%;
    padding: 57px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}
@media screen and (max-width: 768px) {
  .ages .ages-list {
    flex-wrap: wrap;
  }
  .ages .ages-item {
    flex-basis: 100%;
  }
  .ages .ages-item i {
    margin-bottom: 0;
  }
  .ages .ages-item i svg {
    width: auto;
  }
  .ages .ages-item .age-descr {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 0;
  }
  .ages .ages-item span.cheese-link {
    min-width: 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    position: relative;
  }
  .ages .ages-item span.cheese-link span {
    display: none;
  }
  .ages .ages-item span.cheese-link:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("../icons/triangle-right.svg");
    background-size: 100% 100%;
    width: 11px;
    height: 12px;
  }
  .ages .ages-item span.cheese-link:hover {
    background: none;
  }
  .ages .ages-link {
    flex-direction: row;
    gap: 55px;
    justify-content: space-between;
    align-items: center;
    padding: 50px 32px;
  }
}
@media screen and (max-width: 576px) {
  .ages .ages-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 20px;
    padding: 32px 15px;
  }
  .ages .ages-link i {
    order: 1;
  }
  .ages .ages-link .age-descr {
    order: 3;
    grid-column: span 3;
    max-width: 100%;
    text-align: left;
    font-size: 14px;
    line-height: 22px;
  }
  .ages .ages-link span.cheese-link {
    order: 2;
    justify-self: flex-end;
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
  }
  .ages .ages-link span.cheese-link:before {
    height: 9px;
    width: 8px;
    margin-left: 1px;
  }
}