/* Согласованный макет статьи об НДС;
   остальные статьи не меняются. */
.article-nds .mag-body .pair.balanced {
  grid-template-columns:minmax(0,1fr) 240px;
  align-items:start;
  gap:32px;
  max-width:850px}
.article-nds .mag-body .pair.rev.balanced {
  grid-template-columns:240px minmax(0,1fr)}
.article-nds .mag-body .pair.balanced .fig img {
  width:100%;
  height:auto;
  max-height:305px;
  object-fit:contain}
.article-nds .mag-body .pair.balanced .cap {
  font-size:11px;
  line-height:1.5}
@media(max-width:700px) {
  .article-nds .mag-body .pair.balanced,.article-nds .mag-body .pair.rev.balanced {
  grid-template-columns:1fr;
  gap:20px}
.article-nds .mag-body .pair.balanced .fig {
  max-width:220px;
  margin-left:auto;
  margin-right:auto}
.article-nds .mag-body .pair.balanced .cap {
  max-width:260px;
  margin-left:auto;
  margin-right:auto}
.article-nds .mag-body .pair.rev.balanced>div:first-child {
  order:2}

}
.article-nds .mag-body .article-facts {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  max-width:850px;
  margin:40px auto 48px;
  padding:26px 0;
  border-top:1px solid var(--line-dark);
  border-bottom:1px solid var(--line-dark);
  clear:both}
.article-nds .article-facts>div {
  min-width:0}
.article-nds .article-facts b {
  display:block;
  font-size:clamp(28px,3vw,42px);
  font-weight:300;
  line-height:1.1;
  letter-spacing:-.04em;
  color:var(--coral);
  margin-bottom:12px}
.article-nds .article-facts span {
  display:block;
  max-width:23ch;
  font-family:var(--mono);
  font-size:12px;
  line-height:1.6;
  color:var(--on-dark-mute)}
.article-nds .mag-body .pair.balanced {
  clear:both;
  margin-top:32px;
  margin-bottom:36px}
.article-nds .mag-body .pair.balanced>div {
  min-width:0}
.article-nds .mag-body .pair.balanced .fig img {
  max-height:305px}
.article-nds .mag-body table {
  display:table;
  max-width:850px;
  table-layout:auto}
.article-nds .mag-body th,.article-nds .mag-body td {
  overflow-wrap:normal}
@media(max-width:700px) {
  .article-nds .mag-body .article-facts {
  grid-template-columns:1fr;
  gap:0;
  margin:30px auto;
  padding:0}
.article-nds .article-facts>div {
  display:grid;
  grid-template-columns:135px minmax(0,1fr);
  gap:16px;
  padding:18px 0;
  align-items:start}
.article-nds .article-facts>div+div {
  border-top:1px solid var(--line-dark)}
.article-nds .article-facts b {
  font-size:28px;
  margin:0}
.article-nds .article-facts span {
  font-size:11px}
.article-nds .mag-body table {
  display:block;
  overflow-x:auto;
  max-width:100%}

}
.article-nds .mag-body table {
  width:100%;
  table-layout:fixed}
.article-nds .mag-body table th,.article-nds .mag-body table td {
  white-space:normal;
  overflow-wrap:break-word}
@media(min-width:1181px) {
  .article-nds .mag-body>table,.article-nds .mag-body>.article-facts {
  width:var(--wide);
  max-width:var(--wide);
  margin-left:calc(50% - var(--main) / 2);
  margin-right:0}
.article-nds .mag-body>.pair.balanced {
  width:var(--wide);
  max-width:var(--wide);
  margin-left:calc(50% - var(--main) / 2);
  margin-right:0}

}
@media(max-width:1180px) {
  .article-nds .mag-body table {
  max-width:var(--main)}
}
@media(max-width:700px) {
  .article-nds .mag-body table {
  table-layout:auto}
.article-nds .mag-body th,.article-nds .mag-body td {
  min-width:85px}
}

