.mag-long .sofa-products .ml-card {
  display: flex;
  flex-direction: column;
}

.mag-long .sofa-photo {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.mag-long .sofa-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.mag-long .sofa-products .ml-card > a:last-child {
  margin-top: auto;
}

.mag-long .sofa-catalog-link {
  margin-top: 22px;
  font-weight: 700;
}

.mag-long section[aria-labelledby="kontrola"] table {
  min-width: 0;
}

.mag-long section[aria-labelledby="kontrola"] h3 {
  margin-top: 28px;
}

.mag-long blockquote.ml-example {
  margin-inline: 0;
}

.mag-long blockquote.ml-example p {
  margin-bottom: 0;
}

@media (min-width: 651px) and (max-width: 820px) {
  .mag-long .sofa-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
