/* Informational audience rows keep their divider without a hover frame. */
@layer dn-service-card-interactions {
  html body.dn-service-cards main #segments.tgr-audience .tgr-audience-item {
    border-width: 1px 0 0 !important;
    border-color: #404743 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    background: transparent !important;
  }
}
html body.dn9-document--reklama-v-telegram #segments .tgr-audience-head {
  grid-template-columns: minmax(0, 1fr);
}
html body.dn9-document--reklama-v-telegram #segments .tgr-audience-item--services {
  --tgr-audience-icon: url('../images/icons/lucide/bot.svg');
}
html body.dn9-document--reklama-v-telegram #segments .tgr-audience-item--events {
  --tgr-audience-icon: url('../images/icons/lucide/users-round.svg');
}

/* The same compact card proportions, numbers and artwork insets as Avito. */
html body.dn9-document--reklama-v-telegram #process > .telegram-process__shell {
  max-width: 100rem !important;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__intro {
  padding-left: 0;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: clamp(185px, 14.5vw, 245px) auto;
  align-content: start;
  min-height: 0;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid #e1e6e9;
  background: linear-gradient(155deg, #fff 60%, #f9fafb);
  box-shadow: none;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__number {
  top: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid #a5d49d;
  border-radius: 13px;
  background: #f5f6f7;
  color: #198638;
  font-size: 17px;
  letter-spacing: normal;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__step > img {
  grid-column: 1;
  grid-row: 1;
  width: calc(100% - 16px);
  max-width: 100%;
  height: calc(100% - 24px);
  margin: 24px 8px 0;
  align-self: start;
  object-fit: contain;
  object-position: center bottom;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__step-copy {
  grid-column: 1;
  grid-row: 2;
  margin-top: 20px;
  min-width: 0;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__step-copy h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  text-wrap: pretty;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__step-copy p {
  max-width: none;
  font-size: 16px;
  line-height: 1.5;
  color: #53616b;
}
html body.dn9-document--reklama-v-telegram #process .telegram-process__step:not(:last-child)::after {
  display: block;
  top: 36%;
  right: -14px;
  width: 14px;
  height: 14px;
  border-width: 2px 2px 0 0;
  border-color: #4bae3c;
  border-radius: 0;
  filter: none;
}
@media (max-width: 1279px) {
  html body.dn9-document--reklama-v-telegram #process .telegram-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  html body.dn9-document--reklama-v-telegram #process .telegram-process__step {
    grid-template-rows: 230px auto;
  }
  html body.dn9-document--reklama-v-telegram #process .telegram-process__step:nth-child(2n)::after {
    display: none;
  }
}
@media (max-width: 639px) {
  html body.dn9-document--reklama-v-telegram #process .telegram-process__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  html body.dn9-document--reklama-v-telegram #process .telegram-process__step:not(:last-child)::after {
    display: none;
  }
}
