/* iNoti homepage image integration — load AFTER home.css and mobile.css.
   Apply the matching server-rendered snippets before first paint.
   This file changes image boxes only; it does not replace the site stylesheet. */

/* The supplied campaign artwork is 3:1. Reserve that space before loading.
   The old mobile rule used 5:2, which stretched the same artwork. */
.special-offer-wraper .mainBannerSwiper {
  aspect-ratio: 3 / 1;
  background-color: #f7f3f9;
}
.special-offer-wraper .mainBannerSwiper .swiper-slide,
.special-offer-wraper .mainBannerSwiper .inoti-campaign {
  display: block;
  width: 100%;
  height: 100%;
}
.special-offer-wraper .mainBannerSwiper .inoti-campaign img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.special-offer-wraper .mainBannerSwiper .swiper-pagination-bullet {
  background-color: #66236a;
}

/* Original hero widths/positions are retained. The wave already has an
   intentionally stretched decorative box; do not give it height:auto. */
html[lang^="fa"] .main-topic .motion .guy {
  background: transparent;
}
.main-topic .subject h1.text {
  color: inherit;
  margin-top: 0;
}
.main-topic .motion .guy .banner-man {
  height: auto;
  aspect-ratio: 699 / 553;
  object-fit: contain;
}
.main-topic .motion .mini-circles img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.new-services .ns-img,
.new-services .hobab {
  height: auto;
  object-fit: contain;
}
.voice-service .bolandgoo > img {
  aspect-ratio: 1;
  object-fit: contain;
}
/* Picture wrappers replace the two hidden/visible img elements in each
   about row. Explicit columns make the sizes values deterministic.
   Desktop content width = viewport - 200px. Column gap = 50px. */
.about-us .top-div,
.about-us .bottom-div {
  display: grid;
  grid-template-columns: 60% minmax(0, 1fr);
  column-gap: 50px;
  align-items: center;
}
.about-us .top-div .flexCol,
.about-us .bottom-div .flexCol {
  width: auto;
  margin-left: 0;
  min-width: 0;
}
.about-us .inoti-about {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 15px;
}
.about-us .inoti-about-top { aspect-ratio: 620 / 379; }
.about-us .inoti-about-bottom { aspect-ratio: 868 / 334; }
.about-us .inoti-about img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  flex: initial;
  object-fit: contain;
}

.inoti-statistics {
  width: min(100%, 900px);
  padding-inline: 16px;
}
.inoti-statistics h2 {
  margin-bottom: 24px;
}
.inoti-statistics .statistics-circles-row {
  gap: 12px;
}
.inoti-statistics .statistics-circles-row .statistics-circle {
  width: min(156px, calc((100% - 12px) / 2));
  gap: 4px;
  text-align: center;
}
.inoti-statistics .statistics-circles-row .statistics-circle .sc-background {
  inset: 0;
}
.inoti-statistics .statistics-circles-row .statistics-circle .sc-title {
  color: #4b1750;
  width: 72%;
  margin: 0;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.5;
  text-wrap: balance;
}
.inoti-statistics .statistics-circles-row .statistics-circle .sc-number {
  color: #292524;
  margin: 0;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) {
  .about-us .top-div {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .about-us .bottom-div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .about-us .top-div .flexCol,
  .about-us .bottom-div .flexCol { width: 100%; margin: 0; }
  .about-us .inoti-about-top { aspect-ratio: 868 / 334; }
  .about-us .inoti-about-bottom { aspect-ratio: 342 / 178; }
}

@media (max-width: 600px) {
  .inoti-statistics .statistics-circles-row .statistics-circle {
    max-width: 140px;
  }
}
