.text-image-with-tooltips {
  & .wrapper {
    background: var(--bg-col);
    position: relative;
  }

  & .description {
    display: flex;
    width: fit-content;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: content-box;
    max-width: var(--descr-max-width);

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      position: static;
      max-width: unset;
      width: auto;
      padding-top: 0 !important;
    }

    & .label {
      width: fit-content;
      min-height: 31px;
      border-radius: 88px;
      padding: 3px 16px;
      font-weight: 400;
      line-height: 24px;
      letter-spacing: 0px;
      align-content: center;
    }

    & .rte {
      margin-top: 32px;

      > *:first-child {
        margin-top: 0;
      }

      > *:last-child {
        margin-bottom: 0;
      }

      & a {
        color: inherit;
      }
    }
  }

  & .left-column {
    text-align: center;
  }

  & .button {
    display: block;
    margin: var(--gap-from-1024) auto 0;

    @media screen and (max-width: 1024px) {
      margin-top: var(--gap-before-1024);
    }
  }

  & .left-column--right {
    flex-direction: row-reverse;
    @media screen and (max-width: 1024px) {
      flex-direction: column;
    }
  }

  & .col {
    min-width: 50%;
    max-width: 50%;
    @media screen and (max-width: 1024px) {
      min-width: unset;
      max-width: unset;
    }
  }

  & .right-column {
    max-width: calc(var(--page-width) / 2);
    display: flex;
    padding: var(--gap-from-1024);

    @media screen and (max-width: 1024px) {
      max-width: unset;
      padding: var(--gap-before-1024);
    }
  }

  & .image-wrapper {
    position: relative;

    & img {
      display: block;
    }

    & .image {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    & .tooltip {
      display: block;
      --offset-value: 40px;
      position: absolute;
      background: var(--bg-col);
      border: 2px solid var(--bord-col);
      box-shadow: 0px 0px 10px 3px var(--bg-col);
      transform: translate(-50%, -50%);
      width: 20px;
      height: 20px;
      border-radius: 300px;
      transition: box-shadow 0.2s ease-in-out;
      color: rgba(255, 255, 255, 1) !important;
      box-sizing: border-box;
      padding: 4px;
      z-index: 1;
      cursor: pointer;

      & .icon {
        width: 100%;
        height: 100%;

        & img {
          display: block;
          height: 100%;
          width: 100%;
          transition: transform 0.2s ease-in-out;
        }
      }
    }

    & .tooltip.tooltip--clicked {
      box-shadow: 0px 0px 3px 3px var(--bg-col);

      & .icon img {
        transform: rotate(45deg);
      }
    }

    & .no-shadow {
      box-shadow: none !important;
    }
  }
}

.text-image-with-tooltips--heading {
  font-family: Aeonik;
  font-size: 52px;
  font-weight: 250;
  line-height: 100%;
  letter-spacing: -0.78px;
}

.text-image-with-tooltips--heading strong {
  font-weight: 400;
}

.tippy-box[data-theme~="text-image-with-tooltips"] {
  background-color: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
  min-width: 310px;
  min-height: 242px;
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  height: 100%;

  @media screen and (max-width: 1024px) {
    min-width: 128px !important;
    max-width: 178px !important;
    min-height: 128px;
  }

  & .tippy-content {
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    align-self: stretch;
  }
}

.tooltip--text-image-with-tooltips {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .h0,
  h1,
  .h1,
  h2,
  .h2,
  h3,
  .h3,
  h4,
  .h4,
  h5,
  .h5,
  h6,
  .h6 {
    color: rgba(255, 255, 255, 1) !important;
    font-family: "PP Neue Montreal";
    font-size: 28px;
    font-weight: 375;
    line-height: 110%;
    letter-spacing: -0.42px;
  }
}

.tooltip--text-image-with-tooltips p {
  font-family: "PP Neue Montreal";
  font-size: 16px;
  font-weight: 375;
  line-height: 130%;
}

.tooltip--text-image-with-tooltips:after {
  content: none;
}

@media screen and (max-width: 767px) { 
  .text-image-with-tooltips--heading {
    font-size: 32px;
    letter-spacing: -0.48px;
  }

    .tooltip--text-image-with-tooltips {

      .h0,
      h1,
      .h1,
      h2,
      .h2,
      h3,
      .h3,
      h4,
      .h4,
      h5,
      .h5,
      h6,
      .h6 {
        font-size: 20px;
        letter-spacing: -0.3px;
      }
    }
  
    .tooltip--text-image-with-tooltips p {
      font-size: 12px;
    }
}