.olympus-icon-cards > .acf-innerblocks-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2%;
}

.olympus-icon-card > .acf-innerblocks-container > *:first-child {
  margin-top: 6px;
}

.olympus-icon-card > .acf-innerblocks-container > *:last-child {
  margin-bottom: 0;
}

.olympus-icon-card {
  width: 32%;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 8px;
}

.olympus-icon-cards.ace .olympus-icon-card,
.olympus-icon-cards.triumph .olympus-icon-card {
  flex-direction: column;
  align-items: center;
}

.olympus-icon-card-icon-wrap {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  padding: 7px;
  background: var(--wp--preset--color--secondary);
  color: white;
  border-radius: 4px;
}

.olympus-icon-cards.triumph .olympus-icon-card-icon-wrap,
.olympus-icon-cards.ace .olympus-icon-card-icon-wrap {
  background: transparent;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.olympus-icon-cards.triumph .olympus-icon-card-icon-wrap:before,
.olympus-icon-cards.triumph .olympus-icon-card-icon-wrap:after {
  content: "";
  width: 100%;
  height: 4px;
  background: var(--wp--preset--color--secondary);
}

.olympus-icon-cards.triumph .olympus-icon-card-icon-wrap > svg,
.olympus-icon-cards.ace .olympus-icon-card-icon-wrap > svg {
  display: block;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  color: var(--wp--preset--color--primary);
}

.olympus-icon-cards.col4 .olympus-icon-card {
  width: 23.5%;
}

.olympus-icon-cards.accelerator .olympus-icon-card {
  transition: all 200ms ease;
  cursor: pointer;
}

.olympus-icon-cards.accelerator .olympus-icon-card:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

@media (max-width: 1050px) {
  .olympus-icon-cards.col4 .olympus-icon-card {
    width: 49%;
  }
}

@media (max-width: 880px) {
  .olympus-icon-card,
  .olympus-icon-cards.col4 .olympus-icon-card {
    width: 49%;
  }
}

@media (max-width: 520px) {
  .olympus-icon-card,
  .olympus-icon-cards.col4 .olympus-icon-card {
    width: 100%;
  }
}
