/* AvtoAmbebi: preserve the original AutoXeber AZ two-column VS layout.
 * Only comparison cards are affected; editorial titles stay unmodified.
 */
.x1ucbmxb .x1rg5m3m > .xtwb3bc {
  min-width: 0;
  width: 100%;
  height: 100%;
}

/* Fixed text space stops new CMS titles from shifting card height or metadata.
 * IMPORTANT: keep display:grid, NOT flex-direction:column; each car has a column.
 */
.x1ucbmxb .x1rg5m3m .xkwawim {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  min-width: 0;
  width: 100%;
  height: 148px;
  flex: 0 0 148px;
  padding: 28px 16px 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.x1ucbmxb .x1rg5m3m .xkwawim > .x19o4458,
.x1ucbmxb .x1rg5m3m .xkwawim > .x12w17a8 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  max-height: 4.2em;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  font-size: 20px;
  line-height: 1.05;
}
.x1ucbmxb .x1rg5m3m .xkwawim > .x19o4458 {
  grid-column: 1;
  text-align: left;
  justify-self: start;
}
.x1ucbmxb .x1rg5m3m .xkwawim > .x12w17a8 {
  grid-column: 2;
  text-align: right;
  justify-self: end;
}
.x1ucbmxb .x1rg5m3m .xkwawim > .x12w17a8:empty {
  display: none;
}
/* When an article lacks two parseable model names, retain the full title. */
@supports selector(:has(*)) {
  .x1ucbmxb .x1rg5m3m .xkwawim:has(> .x12w17a8:empty) > .x19o4458 {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* Narrower phones still display both models side by side. */
@media (max-width: 440px) {
  .x1ucbmxb .x1rg5m3m .xkwawim {
    column-gap: 12px;
    padding-inline: 12px;
  }
  .x1ucbmxb .x1rg5m3m .xkwawim > .x19o4458,
  .x1ucbmxb .x1rg5m3m .xkwawim > .x12w17a8 {
    font-size: 18px;
    line-height: 1.1;
  }
}
/* Keep the already-approved featured duel overflow protection. */
.x1ucbmxb > .x11dzb8b .xyt0hv9 { min-width: 0; }
.x1ucbmxb > .x11dzb8b .xyt0hv9 > .x1ixnfgn {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  hyphens: auto;
}
.x1ucbmxb > .x11dzb8b .xyt0hv9 > .x1ixnfgn:empty { display: none; }
