.photos-row {
  display: flex;
  flex-wrap: wrap;

  .photos-row__item {
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    min-height: 270px;
    flex: 0 1 33.3333%;

    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    color: #ffffff;

    background: #6dacde;
    padding: 30px;

    &:hover {
      span {
        text-decoration: underline;
      }
    }

    span {
      position: relative;
      z-index: 1;
      max-width: 85%;
    }

    img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      transition: $fast-transition;
    }

    &:hover img {
      transform: scale(1.05);
    }

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: 1;
      background: rgba(0, 50, 116, 0.3);
    }
  }
}
