/* how we work */
.abcpttefgcards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25em;
}

.abcpttefgcard {
  position: relative;
  flex: 1 1 14em;
  max-width: 24em;
  min-height: 18em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1em;
  padding: 1.8em 1.4em;
  border-radius: 1.5em;
  background: linear-gradient(to top, color-mix(in srgb, var(--primary-color) 24%, transparent), transparent 60%), var(--secondary-color);
  transition: transform 0.45s ease, opacity 0.9s ease;
}

.abcpttefgcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
  pointer-events: none;
  transition: border-color 0.35s;
}

.abcpttefgcard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--primary-color);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) left top / 38px 38px no-repeat, linear-gradient(#000 0 0) right top / 38px 38px no-repeat, linear-gradient(#000 0 0) left bottom / 38px 38px no-repeat, linear-gradient(#000 0 0) right bottom / 38px 38px no-repeat;
  mask: linear-gradient(#000 0 0) left top / 38px 38px no-repeat, linear-gradient(#000 0 0) right top / 38px 38px no-repeat, linear-gradient(#000 0 0) left bottom / 38px 38px no-repeat, linear-gradient(#000 0 0) right bottom / 38px 38px no-repeat;
}

.abcpttefgcard:hover::before {
  border-color: color-mix(in srgb, var(--primary-color) 60%, transparent);
}

.abcpttefgcard:hover [class*="efgicon"] {
  border-color: var(--primary-color);
}

.abcpttefgno {
  font-size: clamp(0.7rem, 0.68rem + 0.1vw, 0.8rem);
  font-weight: 600;
  line-height: 1.5;
  color: color-mix(in srgb, var(--primary-color) 70%, var(--helper-color));
}

.abcpttefgcardtitle {
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.abcpttefgrule {
  width: 2.25em;
  height: 2px;
  border: 0;
  background-color: var(--primary-color);
}

.abcpttefgtext {
  color: color-mix(in srgb, var(--helper-color) 75%, transparent);
}

@media (min-width: 1024px) {
  .abcpttefgcard {
    flex-basis: 16em;
  }
}
