.features-standout-module {
  .wrapper__text {
    @media (min-width: 768px) {
      margin-bottom: 40px;
    }
  }

  .wrapper__cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 30px;

    .cards-column {
      --gap: 14px;
      display: flex;
      flex-direction: column;
      gap: var(--gap);
      flex: 1 1 0;
      min-width: 0;
    }

    @media (max-width: 767px) {
      flex-direction: column;
      gap: 20px;

      .cards-column {
        flex: 1 1 auto;
        width: 100%;
      }
    }
  }

  .wrapper__buttons {
    margin-top: 40px;

    @media (max-width: 767px) {
      margin-top: 24px;
    }
  }

  .feature-card {
    --faq-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --min-height: 40px;
    border-radius: 20px;
    min-height: var(--min-height);
    p {
      margin: 0 0 1rem;
    }
    .button {
      font-size: 14px;
      padding: 5px 15px;
    }
    .button.button--tertiary-arrow-blue {
      padding: 0;
    }
  }

  .feature-card--text {
    padding: 0px 6px;
    cursor: pointer;

    .feature-card__header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding-left: 18px;
    }

    .feature-card__title {
      font-size: 14px;
      font-style: normal;
      font-weight: 800;
      line-height: 40px;
      color: var(--font-color);
    }

    .feature-card__icon {
      flex: 0 0 auto;
      line-height: 0;

      svg {
        display: block;
        circle {
          fill: var(--bg-color, currentColor);
          transition: fill 0.3s linear;
        }
      }
      path {
        fill: var(--icon-color, currentColor);
      }
    }

    &:hover .feature-card__icon svg circle {
      fill: var(--bg-hover, var(--bg-color));
    }

    .feature-card__body {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 480ms var(--faq-ease);
      height: auto;

      > div {
        overflow: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition:
          opacity 420ms var(--faq-ease),
          transform 420ms var(--faq-ease);

        p {
          font-size: 14px;
          font-style: normal;
          font-weight: 600;
          color: #55627d;
          line-height: 26px;
        }
        > p:last-child {
          margin-bottom: 0;
        }
      }
    }

    .feature-card__button {
      margin-top: 12px;
    }

    &.open {
      .feature-card__icon {
        transform: rotate(180deg);
      }
      .feature-card__body {
        grid-template-rows: 1fr;
        > div {
          opacity: 1;
          transform: translateY(0);
          padding: 9px 19px 19px;
        }
      }
    }
  }

  .feature-card--image {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(var(--min-height) * 4 + 3 * var(--gap));
    .feature-card__image {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vw;
      border: 0;
      margin: 0;
      padding: 0;
      font: inherit;
      cursor: pointer;
      outline: none !important;
      background: none;
     transition: transform 0.3s ease-in-out;
      &:focus-visible {
        outline: 2px solid var(--sky-blue, #00b1e2);
        outline-offset: -2px;
      }
       &:hover{
        transform: scale(0.95);
       }
    }

    .feature-card__content {
      padding: 13px 19px 19px;
      p {
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        color: #55627d;
        line-height: 26px;
      }
    }

    .feature-card__button {
      padding: 0 20px 20px;
    }
  }

  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;

    &.open {
      display: flex;
    }

    .lightbox__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(237, 241, 244, 0.4);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .lightbox__dialog {
      position: relative;
      max-width: min(90vw, 960px);
      max-height: 90vh;
      outline: none;
    }

    .lightbox__image-wrapper {
      // border-radius: 20px;
      // overflow: hidden;
      // box-shadow: 0 20px 60px rgba(32, 23, 81, 0.35);
    }

    .lightbox__image {
      display: block;
      max-width: 100%;
      max-height: 90vh;
      width: auto;
      height: auto;
    }

    .lightbox__close {
      display: none;
      position: absolute;
      top: -16px;
      right: -16px;
      width: 34px;
      height: 34px;
      border: 0;
      padding: 0;
      background: transparent;
      cursor: pointer;
      line-height: 0;

      svg {
        display: block;
      }
    }

    &.lightbox--show-close .lightbox__close {
      display: block;
    }
  }
}
