/* Article offers and in-body diagrams used by both preview servers. */
.article-offers {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 850px;
  margin: 20px 0 24px;
  padding: 14px 16px;
  border: 1px solid #b9c8fa;
  border-radius: 12px;
  background: var(--soft);
}
.article-offers-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #c9d4fb;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-dark);
}
.article-offers-icon::before {
  content: "%";
  display: grid;
  place-items: center;
  width: 29px;
  height: 21px;
  border: 2px dashed currentColor;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-8deg);
}
.article-offers h2 { margin: 0 0 3px; font-size: clamp(18px, 3.5vw, 22px); }
.article-offers p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.article-offers-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #a6b8f5;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.article-offers-link:hover { border-color: var(--blue-dark); text-decoration: underline; }

.article-visual {
  max-width: 850px;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faff;
}
.article-visual figcaption {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(19px, 3.5vw, 24px);
  font-weight: 750;
  line-height: 1.3;
}
.article-visual-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-visual-steps li {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.article-visual-steps strong { font-size: 16px; line-height: 1.35; }
.article-visual-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.article-graphic {
  display: grid;
  place-items: center;
  width: 57px;
  height: 44px;
  margin-bottom: 3px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue-dark);
}
.article-graphic i {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.article-graphic i::before, .article-graphic i::after { position: absolute; content: ""; }
.article-graphic--receipt i { width: 18px; height: 24px; border-radius: 3px; }
.article-graphic--receipt i::before {
  top: 5px;
  left: 3px;
  width: 8px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 4px, 0 8px;
}
.article-graphic--box i { width: 25px; height: 19px; }
.article-graphic--box i::before { top: 0; left: 8px; width: 5px; height: 9px; background: #a7bafd; }
.article-graphic--box i::after { top: 1px; left: 9px; width: 1px; height: 8px; background: currentColor; }
.article-graphic--check i { border-radius: 50%; }
.article-graphic--check i::before {
  top: 3px;
  left: 7px;
  width: 6px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(42deg);
}
.article-graphic--clock i { border-radius: 50%; }
.article-graphic--clock i::before { top: 3px; left: 8px; width: 2px; height: 7px; background: currentColor; }
.article-graphic--clock i::after { top: 9px; left: 8px; width: 5px; height: 2px; background: currentColor; }
.article-graphic--route i { width: 23px; height: 15px; border: 0; border-right: 2px dashed; border-bottom: 2px dashed; border-radius: 0 0 6px 0; }
.article-graphic--route i::before, .article-graphic--route i::after { width: 7px; height: 7px; border: 2px solid; border-radius: 50%; background: var(--soft); }
.article-graphic--route i::before { bottom: -4px; left: -5px; }
.article-graphic--route i::after { top: -4px; right: -4px; }
.article-graphic--door i { width: 17px; height: 23px; border-radius: 3px 3px 0 0; }
.article-graphic--door i::before { top: 10px; right: 2px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.article-graphic--phone i { width: 15px; height: 24px; border-radius: 5px; }
.article-graphic--phone i::before { bottom: 2px; left: 4px; width: 4px; height: 1px; background: currentColor; }
.article-graphic--tag i { width: 22px; height: 17px; border-radius: 6px 3px 3px 6px; transform: rotate(-19deg); }
.article-graphic--tag i::before { top: 5px; left: 3px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.article-graphic--wallet i, .article-graphic--card i { width: 25px; height: 17px; }
.article-graphic--wallet i::before { top: 4px; right: -2px; width: 9px; height: 6px; border: 1px solid; border-radius: 3px; background: #d3defc; }
.article-graphic--card i::before { top: 3px; left: 0; width: 21px; height: 3px; background: currentColor; }
.article-graphic--cart i { width: 21px; height: 14px; margin-bottom: 4px; border-radius: 2px 2px 5px 5px; transform: skewX(-9deg); }
.article-graphic--cart i::before { top: -3px; left: -6px; width: 6px; height: 2px; background: currentColor; }
.article-graphic--cart i::after { bottom: -8px; left: 2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 10px 0; }
.article-graphic--rooms i { width: 22px; height: 20px; border-radius: 2px; }
.article-graphic--rooms i::before { top: 0; left: 8px; width: 2px; height: 16px; background: currentColor; }
.article-graphic--rooms i::after { top: 7px; left: 0; width: 18px; height: 2px; background: currentColor; }
.article-graphic--battery i { width: 22px; height: 13px; border-radius: 3px; }
.article-graphic--battery i::before { right: -5px; top: 2px; width: 3px; height: 5px; border-radius: 0 2px 2px 0; background: currentColor; }
.article-graphic--battery i::after { top: 2px; left: 2px; width: 13px; height: 5px; background: currentColor; }

@media (max-width: 580px) {
  .article-offers { grid-template-columns: 44px minmax(0, 1fr); gap: 9px 11px; padding: 12px; }
  .article-offers-icon { width: 44px; height: 44px; }
  .article-offers-link { grid-column: 2; justify-self: start; }
  .article-visual { padding: 12px; }
  .article-visual-steps { grid-template-columns: 1fr; gap: 8px; }
  .article-visual-steps li { grid-template-columns: 57px 1fr; column-gap: 10px; }
  .article-graphic { grid-row: span 2; margin: 0; }
}

@media (max-width: 560px) {
  .article-page .top .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 6px 10px;
  }
  .article-page .top .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 8px;
    margin: 0;
    font-size: 14px;
  }
  .article-page .top .nav a {
    min-height: 44px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .article-page .top .header-register {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .article-page .top .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
