.mod-bnas {
  .module-heading {
    text-align: center;
  }

  .inline-bnas {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 0 30px;

    /* margin-bottom: 155px; */
    @media (width < 1024px) {
      padding: 30px 60px 60px;
    }

    @media (width < 768px) {
      padding: 30px 30px 60px;
    }
  }

  .single-bna {
    .bnacase-imgset {
      /* Desktop Styles */
      @media (width >= 1024px) {
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
      }
    }
  }

  .section-outro {
    margin-top: 1em;
  }

  .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    column-gap: 16px;

    .owl-dot {
      width: 16px;
      height: 16px;
      background-color: transparent;
      border: 1px solid var(--light-color);
      border-radius: 50%;

      &.active {
        background-color: var(--light-color);
      }
    }
  }

  .owl-prev,
  .owl-next {
    color: var(--light-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;

    &:active {
      color: var(--primary-color);
    }

    .fal {
      font-size: 23px;

      /* Tablet Styles */
      @media (width >= 768px) {
        font-size: 52px;
      }
    }
  }

  .owl-prev {
    /* Tablet Styles */
    @media (width >= 768px) {
      left: -40px;
    }

    /* Desktop Styles */
    @media (width >= 1024px) {
      left: -50px;
    }
  }

  .owl-next {
    /* Tablet Styles */
    @media (width >= 768px) {
      right: -40px;
    }

    /* Desktop Styles */
    @media (width >= 1024px) {
      right: -50px;
    }
  }
}

.inline-bnas {
  /* border: 3px solid var(--secondary-alt); */
  position: relative;
  margin-top: 100px;
  margin-bottom: 100px;

  /* padding: 30px 30px 0; */
  /* z-index: 0; */
  /* Tablet Styles */
  @media (width >= 768px) {
    display: flex;
    justify-content: center;
    /* padding: 80px 40px; */
    /* padding: 80px; */
  }

  .bnacase-imgset {
    /* display: grid;
    row-gap: 10px;
    border: 1px solid $primaryHighlight;
    padding: 10px;
    position: relative; */

    &:hover,
    &:active,
    &:focus {
      .overlay {
        opacity: 1;
      }
    }

    /* >div {
      &:nth-last-child(2) {
        .label {
          display: block;
        }
      }
    } */

    .overlay {
      /* display: none; */
      display: flex;
      opacity: 0;
      position: absolute;
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
      transition: all 0.3s;

      .more-icon {
        width: 130px;
        height: 130px;
        background-color: rgb(from var(--primary-color) r g b / 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }

  .bnacase-imgset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2px;
    row-gap: 10px;
  }

  img {
    margin: 0;
    width: auto;
    height: 100%;
  }

  .before,
  .after {
    position: relative;

    .label {
      font-size: 14px;
      line-height: 1em;
      font-weight: var(--fw-regular);
      display: none;
      text-transform: uppercase;
      color: var(--secondary-color);
      position: absolute;
      left: 50%;
      bottom: -20px;
      transform: translate(-50%, 100%);
    }
  }
}

.mod-bna-button {
  /* display: block; */
  padding: 20px;
  text-align: center;
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* transform: translateY(50%); */
  /* z-index: 1; */
  /*
  @media (width >= 768px) {
    position: absolute;
    bottom: 0;
  } */
}

.pb-bnas {
  &.inline-bnas {
    padding: 0;
    margin: 0;
    border: none;
  }

  .case-group {
    .bnacase-imgset {
      margin-bottom: 20px;
      column-gap: 2px;
    }
  }
}
