/* Homepage content uses the same centered frame as the supply panel. */
body:has(.home-a) {
  --home-frame: 1160px;
  --home-gutter: 18px;
  --home-inset: max(var(--home-gutter), calc((100% - var(--home-frame)) / 2));
}
.home-a > .a-section {
  padding-inline: var(--home-inset);
  padding-block: clamp(28px, 4vw, 55px);
}
.home-a > .market-mast > .container,
body:has(.home-a) .site-header > .header-inner,
body:has(.home-a) :is(.footer-grid,.footer-bottom) {
  box-sizing: border-box;
  width: min(var(--home-frame), calc(100% - 2 * var(--home-gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
.home-a .a-section-title { margin-block-end: clamp(12px, 2vw, 22px); }
.home-a .catalog-card-media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.home-a .catalog-card-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-a > .a-consultation > .consultation-form { max-width: 720px; }
@media (max-width: 680px) {
  body:has(.home-a) { --home-gutter: 12px; }
}
