/*
 * Keep the four quick-access illustrations independent from the older
 * feature-card sprite. These are presentation-only overrides: card markup,
 * labels, links, and interactions remain unchanged.
 */
#features #searchCard > img,
#features #foodOrderCard > img,
#features #hamnegarCard > img,
#features #moreFeaturesCard > img {
  display: none !important;
}

#features #searchCard::before,
#features #foodOrderCard::before,
#features #hamnegarCard::before,
#features #moreFeaturesCard::before {
  content: "";
  display: block !important;
  flex: 0 0 auto;
  width: 82px !important;
  height: 72px !important;
  border-radius: 0 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  box-shadow: none !important;
  filter: none !important;
}

#features #searchCard::before {
  background-image: url("./assets/home-quick-icons/quick-classmates.svg") !important;
}

#features #foodOrderCard::before {
  background-image: url("./assets/home-quick-icons/quick-food.svg") !important;
}

#features #hamnegarCard::before {
  background-image: url("./assets/home-quick-icons/quick-hamnegar.svg") !important;
}

#features #moreFeaturesCard::before {
  background-image: url("./assets/home-quick-icons/quick-more.svg") !important;
}

@media (min-width: 760px) and (max-width: 899px) {
  #features #searchCard::before,
  #features #foodOrderCard::before,
  #features #hamnegarCard::before,
  #features #moreFeaturesCard::before {
    width: 64px !important;
    height: 64px !important;
  }
}

@media (max-width: 759px) {
  #features #searchCard::before,
  #features #foodOrderCard::before,
  #features #hamnegarCard::before,
  #features #moreFeaturesCard::before {
    width: clamp(42px, 13vw, 54px) !important;
    height: clamp(42px, 13vw, 54px) !important;
  }
}
