


.popup__inner {
  padding: 0 0 0 0;
  .popup__content {
    display: flex;
    flex-wrap: wrap;
    
    .text-desc {
      width: 60%;
      padding: 80px 75px;
      gap: 2.4rem;
     
    }
  }
}
.popup__close {
  path {
    fill: black;
  }
  &:hover {
    svg {
      transform: rotate(90deg);
    }
  }
}

.popup {
  display: block;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;

  .text-image {
    width: 100%;

    a.popup-trigger {
      color: var(--white);
      font-size: 12px;
      order: 2;
      &.disabled {
        pointer-events: none;
        opacity: .6;
        order: 1;
      }
    }
    .text-image__left {
      width: 63%;
      padding: 40px 60px 40px 60px;
      p {
        margin-bottom: 1rem;
      }
    }
    .text-image__right {
      width: 37%;
      
    }
    
    .text-image__title, .text-image__text, .text-image__buttons, .text-image__text * {
      color: white;
    }

    .button {
      background-color: var(--primary);
      a {
        color: white;
      }
      &:hover {
        background-color: white;
        a {
          color: var(--primary);
        }
      }
    }
  }
  .video--desc {
    position: absolute;
    p {
      color: white;
      line-height: 1.7;
    }
  }

  video {
    width: 100%;
    object-fit: cover;
  }
  &::before {
    content: "";
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--black);
    opacity: 0.64;
  }
  &__content {
    .buttons {
      margin-top: 4rem;
    }
  }
  &__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-self: flex-start;
    margin: auto;
    max-width: 1300px;
    max-height: 80vh;
    width: 100%;
    height: auto;
    background-color: var(--primary);
    padding: 0 0 0 0;
    border-radius: 6px;
   
    p {
      &.c-pad {
        border-top: 1px solid var(--gray-light);
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
      }
    }
  }
  &__video {
    padding-top: 56.25%;
    height: 0;
    background-color: var(--black);
    iframe,
    video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      z-index: 1;
      opacity: 0;
      &.video--loaded {
        z-index: 2;
        opacity: 1;
      }
    }
  }
  &__close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    cursor: pointer;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: 1px solid white;
    svg {
      width: 15px;
      height: 15px;
      transition: transform .3s ease-in-out;
      transform-origin: center center;
    }

    &:hover {
      svg {
        transform: rotate(90deg);
      }
    }
  }
}

[data-type="share"] {
  .popup__inner {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-self: flex-start;
      margin: auto;
      max-width: max-content;
      max-height: 80%;
      width: 100%;
      height: auto;
      background-color: var(--grey);
      padding: 3.2rem 4.4rem 3.2rem 3.2rem;
      border-radius: 0rem; 
      .share-icons {
        gap: 4px;
        margin-top: 12px;
        margin-bottom: 30px;
        .share-icon {
          position: relative;
        }
      }
      &:after {
        content: '';
        left: 0;
        bottom: 0;
        height: 12px;
        width: 100%;
        background-color: #050505;
        opacity: .12;
        position: absolute;
        width: 100%;
      }
  }
  .popup__inner__video {
    padding-top: 56.25%;
    height: 0;
    background-color: var(--black);
    iframe,
    video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      z-index: 1;
      opacity: 0;

      &.video--loaded {
        z-index: 2;
        opacity: 1;
      }
    }
  }
  .popup__inner__close {
    position: absolute;
    top: 3.3rem;
    right: 3.7rem;
    cursor: pointer;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    width: 1.4rem;
    height: 1.4rem;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}
