/* Compact two-column estimates with readable titles and the full scope visible. */
@media (max-width: 767px) {
  main section.ec-compact .ec-intro {
    max-width: 38em;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  main section.ec-compact .example-calc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    align-items: stretch;
  }

  main section.ec-compact .example-calc-list .example-calc-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e2e6e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
  }

  main section.ec-compact .example-calc-list:not(.showAll) .example-calc-item,
  main section.ec-compact .example-calc-list.showAll .example-calc-item {
    display: flex;
  }

  main section.ec-compact .example-calc-list .example-calc-item .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    margin: 0 0 14px;
    overflow: hidden;
    border-radius: 7px;
    background: #f1f3f4;
  }

  main section.ec-compact .example-calc-list .example-calc-item .img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
    object-position: center !important;
    border-radius: 0;
  }

  main section.ec-compact .example-calc-list .example-calc-item :is(h3,h2:where(.production-h3)) {
    min-height: 2.56em;
    margin: 0 0 12px;
    color: #30363b;
    font-family: inherit;
    font-size: clamp(17px, 4.6vw, 19px);
    font-weight: 650;
    line-height: 1.28;
    letter-spacing: -0.015em;
    text-align: left;
  }

  main section.ec-compact .example-calc-list .example-calc-item .ec-key-specs {
    margin: 0 0 12px;
    padding: 0;
  }

  main section.ec-compact .example-calc-list .example-calc-item .ec-key-specs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 5px;
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px solid #edf0f2;
    color: #626b73;
    font-size: clamp(12px, 3.3vw, 13px);
    line-height: 1.4;
  }

  main section.ec-compact .example-calc-list .example-calc-item .ec-key-specs li:nth-child(n+3) {
    display: block;
  }

  main section.ec-compact .example-calc-list .example-calc-item .ec-key-specs li span {
    float: none;
    flex-shrink: 0;
    color: #353b40;
    font-weight: 550;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  main section.ec-compact .example-calc-list .example-calc-item .ec-key-specs li:nth-child(n+3) span {
    display: inline-block;
    margin-left: 3px;
    text-align: left;
  }

  main section.ec-compact .example-calc-list .example-calc-item .ec-key-specs li:last-child {
    border-bottom: 0;
  }

  main section.ec-compact .example-calc-list .example-calc-item .footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e1e6e9;
  }

  main section.ec-compact .example-calc-list .example-calc-item .footer span:not(.price) {
    display: inline;
    color: #626b73;
    font-size: 12px;
    line-height: 1.35;
  }

  main section.ec-compact .example-calc-list .example-calc-item .footer .price {
    margin-top: 5px;
    color: #30363b;
    font-size: clamp(20px, 5.45vw, 24px);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
}

@media (max-width: 359px) {
  main section.ec-compact .example-calc-list {
    gap: 12px 10px;
  }

  main section.ec-compact .example-calc-list .example-calc-item {
    padding: 9px;
  }

  main section.ec-compact .example-calc-list .example-calc-item .footer span:not(.price) {
    font-size: 11px;
  }
}
