/* Styles for advantages.hbs — the "ویژگی‌های صراف" feature row.
   Ported from the legacy `components/pages/home/homeAdvantage/HomeAdvantage.vue`;
   the 1000 breakpoint and every size below are the legacy values. */

.advantages {
  display: flex;
  flex-direction: column;
}

/* The sprite only defines <symbol>s; it must never occupy layout space. */
.advantages-icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* The legacy rule set only `font-size` and let the heading inherit its colour
   and weight from the UA. Both are pinned here instead: this app gives `body` a
   colour of its own, so inheriting would quietly shift the heading. */
.advantages-title {
  color: var(--gray-900);
  font-size: 21px;
  font-weight: 700;
  text-align: center;
}

.advantages-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 1000px) {
  .advantages-title {
    font-size: 36px;
  }

  .advantages-cards {
    flex-direction: row;
    margin-top: 40px;
  }
}
