.hew-shortcode-intro {
  --hew-shortcode-columns: 3;
  --hew-shortcode-max-rows: 0;
  --hew-shortcode-hover-scale: 1.03;
  --hew-shortcode-hover-y: 8px;
  --hew-shortcode-hover-duration: 260ms;
  direction: rtl;
  position: relative;
  width: 100%;
  padding: 34px 30px;
  background-color: #fff;
  border: 1px solid #f0eeff;
  border-radius: 34px;
  color: #150b66;
}

.hew-shortcode-intro__header {
  margin-bottom: 28px;
}

.hew-shortcode-intro__header-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hew-shortcode-intro__header-main.is-icon-left {
  flex-direction: row-reverse;
}

.hew-shortcode-intro__header-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.hew-shortcode-intro__title {
  margin: 0;
  color: #150b66;
  font-size: 38px;
  line-height: 1.3;
  font-weight: 800;
}

.hew-shortcode-intro__description {
  margin: 0;
  color: #777398;
  font-size: 17px;
  line-height: 1.8;
}

.hew-shortcode-intro__header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  min-width: 74px;
  height: 74px;
  border-radius: 24px;
  color: #6a61ff;
}

.hew-shortcode-intro__header-icon.has-box {
  background-color: #f7f4ff;
  border: 1px solid #edeaff;
  box-shadow: 0 12px 30px rgba(84, 77, 145, .08);
}

.hew-shortcode-intro__header-icon.is-plain {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hew-shortcode-intro__header-icon-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 28px;
  line-height: 1;
}

.hew-shortcode-intro__header-icon-inner i,
.hew-shortcode-intro__header-icon-inner svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.hew-shortcode-intro__header-icon-media {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-image: var(--hew-header-icon-url);
  mask-image: var(--hew-header-icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.hew-shortcode-intro__search {
  margin-bottom: 20px;
}

.hew-shortcode-intro__search-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  padding: 0 24px;
  background: #fff;
  border: 1px solid #e9e7f7;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(83, 76, 142, .06);
}

.hew-shortcode-intro__search-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: #54507d;
  flex: 0 0 auto;
}

.hew-shortcode-intro__search-icon svg {
  width: 100%;
  height: 100%;
}

.hew-shortcode-intro__search-input {
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #5d587f;
  font-size: 17px;
  line-height: 1.8;
  text-align: right;
}

.hew-shortcode-intro__search-input::placeholder {
  color: #9a96b5;
}

.hew-shortcode-intro__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hew-shortcode-intro__filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid #ebe9f7;
  border-radius: 22px;
  background: #fff;
  color: #211a5f;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 7px 20px rgba(84, 77, 145, .04);
}

.hew-shortcode-intro__filter:hover {
  border-color: #d9d5ff;
  transform: translateY(-1px);
}

.hew-shortcode-intro__filter.is-active {
  background: linear-gradient(135deg, #6860ff 0%, #433cff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(79, 73, 255, .2);
}

.hew-shortcode-intro__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 7px;
  border-radius: 12px;
  background: #f2f0ff;
  color: inherit;
  font-weight: 700;
}

.hew-shortcode-intro__filter.is-active .hew-shortcode-intro__filter-count {
  background: rgba(255, 255, 255, .15);
}

.hew-shortcode-intro__grid {
  display: grid;
  grid-template-columns: repeat(var(--hew-shortcode-columns), minmax(0, 1fr));
  row-gap: 20px;
  column-gap: 22px;
}

.hew-shortcode-intro__card {
  min-height: 120px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #efedff;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(83, 76, 142, .06);
  transition: transform var(--hew-shortcode-hover-duration) ease, box-shadow var(--hew-shortcode-hover-duration) ease;
  transform-origin: center center;
}

.hew-shortcode-intro__card-inner {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.hew-shortcode-intro__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hew-shortcode-intro__copy-col {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.hew-shortcode-intro__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  direction: rtl;
}

.hew-shortcode-intro__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 9px;
  border-radius: 11px;
  background: #f2f0ff;
  color: #625bff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.hew-shortcode-intro__shortcode-wrap {
  min-width: 0;
  text-align: center;
}

.hew-shortcode-intro__shortcode {
  display: inline-flex;
  max-width: 100%;
  color: #c13d59;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  direction: ltr;
  unicode-bidi: isolate;
}

.hew-shortcode-intro__shortcode-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 5px 14px;
  background-color: #fff0f5;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hew-shortcode-intro__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #eae7ff;
  border-radius: 11px;
  background: #f5f2ff;
  color: #5a52ff;
  cursor: pointer;
  transition: .2s ease;
  flex: 0 0 auto;
}

.hew-shortcode-intro__copy svg {
  width: 16px;
  height: 16px;
}

.hew-shortcode-intro__copy:hover,
.hew-shortcode-intro__copy.is-copied {
  background: #5149ff;
  color: #fff;
  border-color: #5149ff;
}

.hew-shortcode-intro__item-description {
  margin: 0;
  color: #6e698f;
  font-size: 15px;
  line-height: 1.9;
  text-align: right;
  direction: rtl;
}

.hew-shortcode-intro__card[hidden] {
  display: none !important;
}

.hew-shortcode-intro[data-card-hover="none"] .hew-shortcode-intro__card:hover {
  transform: none;
}

.hew-shortcode-intro[data-card-hover="zoom"] .hew-shortcode-intro__card:hover {
  transform: scale(var(--hew-shortcode-hover-scale));
}

.hew-shortcode-intro[data-card-hover="lift-up"] .hew-shortcode-intro__card:hover {
  transform: translateY(calc(var(--hew-shortcode-hover-y) * -1));
}

.hew-shortcode-intro[data-card-hover="lift-down"] .hew-shortcode-intro__card:hover {
  transform: translateY(var(--hew-shortcode-hover-y));
}

.hew-shortcode-intro[data-card-hover="zoom-up"] .hew-shortcode-intro__card:hover {
  transform: translateY(calc(var(--hew-shortcode-hover-y) * -1)) scale(var(--hew-shortcode-hover-scale));
}

@media (max-width: 1024px) {
  .hew-shortcode-intro__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .hew-shortcode-intro {
    padding: 24px 18px;
  }

  .hew-shortcode-intro__header-main {
    gap: 14px;
  }

  .hew-shortcode-intro__header-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
  }

  .hew-shortcode-intro__header-icon-inner {
    width: 22px;
    height: 22px;
    font-size: 22px;
  }

  .hew-shortcode-intro__title {
    font-size: 28px;
  }

  .hew-shortcode-intro__description {
    font-size: 15px;
  }

  .hew-shortcode-intro__search-wrap {
    min-height: 66px;
    padding: 0 17px;
  }

  .hew-shortcode-intro__filter {
    padding: 9px 14px;
  }

  .hew-shortcode-intro__grid {
    grid-template-columns: 1fr;
  }
}
